Jump to content

 

becomarius

Member Since 09 Feb 2012
Offline Last Active Today, 03:11 PM
-----

Topics I've Started

Prupose For Future

Today, 08:26 AM

1. NO ACTION for status change

every status changes now is "Increase" or "decrease" but must be NO ACTION to for some status

maybe i just wat to inform the customer

 

2. BULK CHANGE STATUS

If we can check ex:10 orders and deleted them. Why shoul can`t cange status for all

Some hosts load to much that ajax for each order to change the status... if i have 30 orders per day... i must to whait 15 minutes to change status for each one

 

3. AUTO REFRESH order page

When comes new one... i must to see it ..there... in orders page... now i must to F5 F5 F5 F5 F5 REFRESH REFRESH REFRESH REFRESH 

Or notice in to title tab (1) ..like yahoo mail

 

Sorry for typo... i can`t change the title of topic


Common.php Error

18 February 2018 - 08:10 PM

Hi all again

 

I just make masiv changes with csv file for all product title H1

And change all seo-names

 

and i have this...now

[18-Feb-2018 22:00:02 Europe/Bucharest] PHP Notice:  Undefined index: REMOTE_ADDR in /home/xxxxxx/public_html/app/functions/fn.common.php on line 1927

and the place

/ The function returns Host IP and Proxy IP.
//
function fn_get_ip($return_int = false)
{
    $forwarded_ip = '';
    $fields = array(
        'HTTP_X_FORWARDED_FOR',
        'HTTP_X_FORWARDED',
        'HTTP_FORWARDED_FOR',
        'HTTP_FORWARDED',
        'HTTP_forwarded_ip',
        'HTTP_X_COMING_FROM',
        'HTTP_COMING_FROM',
        'HTTP_CLIENT_IP',
        'HTTP_VIA',
        'HTTP_XROXY_CONNECTION',
        'HTTP_PROXY_CONNECTION');

    $matches = array();
    foreach ($fields as $f) {
        if (!empty($_SERVER[$f])) {
            preg_match("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $_SERVER[$f], $matches);
            if (!empty($matches) && !empty($matches[0]) && $matches[0] != $_SERVER['REMOTE_ADDR']) {
                $forwarded_ip = $matches[0];
                break;
            }
        }
    }

    $ip = array('host' => $forwarded_ip, 'proxy' => $_SERVER['REMOTE_ADDR']);

    if ($return_int) {
        foreach ($ip as $k => $_ip) {
            $ip[$k] = empty($_ip) ? 0 : sprintf("%u", ip2long($_ip));
        }
    }

    if (empty($ip['host']) || !fn_is_inet_ip($ip['host'], $return_int)) {
        $ip['host'] = $ip['proxy'];
        $ip['proxy'] = $return_int ? 0 : '';
    }

    return $ip;
}

//
// If there is IP address in address scope global then return true.
//
function fn_is_inet_ip($ip, $is_int = false)
{
    if ($is_int) {
        $ip = long2ip($ip);
    }
    $_ip = explode('.', $ip);

    return
        ($_ip[0] == 10 ||
        ($_ip[0] == 172 && $_ip[1] >= 16 && $_ip[1] <= 31) ||
        ($_ip[0] == 192 && $_ip[1] == 168) ||
        ($_ip[0] == 127 && $_ip[1] == 0 && $_ip[2] == 0 && $_ip[3] == 1) ||
        ($_ip[0] == 255 && $_ip[1] == 255 && $_ip[2] == 255 && $_ip[3] == 255))
        ? false : true;
}

// Workaround for PHP < 5.4

I have no idee :(


4.2.4 To 4.7.1 Sp2 - Big Step

30 January 2018 - 10:14 PM

Hi all

 

I have at https://www.domain.com V4.2.4

I install at: http://subdomain.domain.com V4.7.1

 

In fact i create a new website there... i move, products, users, orders, settings, all i want

Now it is the big challenge

 

Which is the easy way to move 4.7.1 to root domain ?!

 

I now it is the more ways and settings and i don`t want to miss something.

My customer don`t must to see any major change or downtime

 

Thanks


Product Location

29 January 2018 - 10:59 AM

I now i see somewhere an addon for this (also with location per product on order page)... but i don`t find it now

 

Product location means.. the shelf from warehouse

 


Error Quantity

28 January 2018 - 07:54 PM

Hi all

 

Atach image

 

In fact for that product was set minimum 100 quantity

How i can large wide that, to show last zero to ?