Forum Replies Created

Viewing 15 replies - 1 through 15 (of 62 total)
  • Hello.

    There is an error at mdc-scroll-to-top-settings.php on line 160 during the activation. Where the variable $icons = []; should be $icons =”; .

    Also in class.mdc-settings-api.php on line 278 and 278 there are errors:
    $label = explode(“|”, $value)[0];
    and
    $disabled = explode(“|”, $value)[1] ? “disabled” : “”;

    should be:
    $label = explode(“|”, $value[0]);
    and
    $disabled = explode(“|”, $value[1]) ? “disabled” : “”;

    I hope it will helps some.

    Thread Starter vasilissk

    (@vasilissk)

    I have other plugins modified to work with 3.2.1 only and don’t work properly with higher versions because updates are not available.

    Thread Starter vasilissk

    (@vasilissk)

    The problem didn’t fixed at all with the new version. In order to replicate the problem re-install the WP 3.2.1 and activate only the google-places-reviews. The result is an empty screen under Settings>About.
    Look the Picture.
    https://www.thebestideasforall.com/images/wordp/5-7-2015%2007-40-12.jpg

    Same problem with wordpress 3.2.1. After authenticating with Google it shows in settings only “Google Analytics integration is currently DISABLED.” nothing else.

    Thread Starter vasilissk

    (@vasilissk)

    Yes I did. I created a new WordPress installation in a testing computer with only “google places reviews” activated and it doesn’t show anything under Settings>About.

    Thread Starter vasilissk

    (@vasilissk)

    The “Debug Bar” didn’t work at all. As a mutter in fact many people have the same problem and submit to developer.

    Thread Starter vasilissk

    (@vasilissk)

    Hi!…

    In the last post you mention it is time concern to create tax table for e-shop.

    Well, after spending a week in front of my computer I made to program the e-shop tax for all over the world.

    My statement is bulky but it worth’s the try.

    The new taxation supports custom tax symbol lake VAT or TAX and 3 taxation charges:
    Tax1 example. 7.5
    Tax2
    Tax3.
    for anyone that wants to have more than one taxation boxes.

    Easy to configure in e-shop-settings, and also in each page there is a check box to set the Tax of choice.

    Also supports taxation charge method options by:
    No Tax
    U.S. States
    Country
    Everyware

    All information is stored in the database and it is easy to use them.
    Also new fields have been entered in Merchant settings for PayPal.
    It requires entering business information location like Country, State for GB, US and Canada, in order to calculate the Tax.

    If you need to learn more about let me know.

    VK.

    Thread Starter vasilissk

    (@vasilissk)

    Temporarily I made some changes in your program to help me out with the tax problem, but I have difficulties to revise every time the files because some variables are changing in each version.
    I don’t understand why you don’t want to add tax table in the program like other plugins. I had to adopt something in order to make it work.

    Thread Starter vasilissk

    (@vasilissk)

    In The new version 5.2.2 you didn’t fix the problem in the install.php file, to replace the value:
    description TEXT NOT NULL

    with:

    description varchar(255) NOT NULL DEFAULT ”

    If you don’t change it once for all it wil never work well.

    Same old same problem.

    Thread Starter vasilissk

    (@vasilissk)

    Hello again.

    I have a new script for the variable <- phone -> for the paypal.php file.

    Replace the line:
    $p->add_field(‘night_phone_a’, $_POST[‘phone’]);

    with:

    $rawPhoneNumber=$_POST[‘phone’];
    $rawPhoneNumber = preg_replace(“/[^0-9|+]/”, “”, $rawPhoneNumber);
    if(strlen($rawPhoneNumber) == 7)
    $rawPhoneNumber = preg_replace(“/([0-9]{3})([0-9]{4})/”, “$1$2”, $rawPhoneNumber);
    else
    if(strlen($rawPhoneNumber) == 10)
    $rawPhoneNumber = preg_replace(“/([0-9]{3})([0-9]{3})([0-9]{4})/”, “$1-$2-$3”, $rawPhoneNumber);
    else
    if(strlen($rawPhoneNumber) == 11)
    $rawPhoneNumber = preg_replace(“/([0-9]{4})([0-9]{3})([0-9]{4})/”, “$1-$2-$3”, $rawPhoneNumber);
    else
    if(strlen($rawPhoneNumber) >= 12)
    $rawPhoneNumber = preg_replace(“/([0-9]{7})([0-9]{3})([0-9]{4})/”, “$1$2$3”, $rawPhoneNumber);
    $phoneChunks = explode(“-“, $rawPhoneNumber);
    $p->add_field(‘night_phone_a’, $phoneChunks[0]);
    $p->add_field(‘night_phone_b’, $phoneChunks[1]);
    $p->add_field(‘night_phone_c’, $phoneChunks[2]);

    I hope this might help someone.

    Thread Starter vasilissk

    (@vasilissk)

    Another Well.

    I found the problem in eShop_install.php

    Line <-753->.

    The description TEXT NOT NULL
    needs to be replaced with
    description varchar(255) NOT NULL DEFAULT ”

    Thread Starter vasilissk

    (@vasilissk)

    Well.

    I did a small survey from all the plugins I have in my stock in which version the option set works and doesn’t. Here is the list:

    4.1.1 works
    4.2.0 works
    4.2.2 works
    4.2.3 works
    4.3.2 doesn’t work
    5.0.4 doesn’t work
    5.1.0 doesn’t work
    5.2.0 doesn’t work

    Each time I unistalled and cleared the database in order to have a clear installation.

    I also found this error wille I was creating the option set:

    WordPress database error Field ‘description’ doesn’t have a default value for query INSERT INTO wp_eshop_option_names SET name=’demo’ made by do_action, call_user_func_array, eshop_admin_options, include

    Option set doesn’t work.

    Thank you.

    Thread Starter vasilissk

    (@vasilissk)

    Hello again.

    Here is the script that I wrote in PHP for paypal.php file.

    It fixes both phone and state issue with the new code.

    The state script converts the state number to abbreviation.

    This is my script:
    ADD a new line after line <300> in paypal.php

    $table=$wpdb->prefix.’eshop_states’;

    $li=$_POST[‘state’];
    $stateList = $wpdb->get_var(“SELECT code FROM $table WHERE id=’$li’ limit 1”);
    $p->add_field(‘state’,$stateList);

    $li=$_POST[‘ship_state’];
    $stateList = $wpdb->get_var(“SELECT code FROM $table WHERE id=’$li’ limit 1”);
    $p->add_field(‘ship_state’,$stateList);

    $p->add_field(‘night_phone_a’, $_POST[‘phone’]);
    function add_field($name, $value) {
    $_POST[‘$name’] = $value;
    }

    also it works with paypal command:
    $p->add_field(‘address_override’,’1′) for extra protection.

    So far so good.

    Thread Starter vasilissk

    (@vasilissk)

    Any of the changes are noware to be found ??

    My guess is it doesn’t work.

    Thread Starter vasilissk

    (@vasilissk)

    Whell, I didn’t understant your quick answer.

    You probably you are talking about the “option sets” in each page.

    This is not what I wrote about.

    a. I clicked on Option Sets under eShop.
    b. I entered a Name: Demo.
    c. I clicked “Create”
    d. I entered “description”
    e. I entered “Oprion” values and “Price”
    f. I clicked “Create”
    g. Option Set Created.

    Where is it?
    It is not under post or pages, or in any of the pages.

    Thank you.

Viewing 15 replies - 1 through 15 (of 62 total)