vasilissk
Forum Replies Created
-
Forum: Plugins
In reply to: [Scroll to Top] MDC Scroll to Top 2.0 not compatible with WP4.6Hello.
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.
Forum: Plugins
In reply to: [Reviews Block for Google] About Screen shows nothingI have other plugins modified to work with 3.2.1 only and don’t work properly with higher versions because updates are not available.
Forum: Plugins
In reply to: [Reviews Block for Google] About Screen shows nothingThe 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.jpgForum: Plugins
In reply to: [Analyticator] Plugin compatibility with WordPress 3.9.1Same problem with wordpress 3.2.1. After authenticating with Google it shows in settings only “Google Analytics integration is currently DISABLED.” nothing else.
Forum: Plugins
In reply to: [Reviews Block for Google] About Screen shows nothingYes 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.
Forum: Plugins
In reply to: [Reviews Block for Google] About Screen shows nothingThe “Debug Bar” didn’t work at all. As a mutter in fact many people have the same problem and submit to developer.
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Tax table ?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
EverywareAll 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.
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Tax table ?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.Forum: Plugins
In reply to: [Plugin: eShop] How option set works?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 NULLwith:
description
varchar(255) NOT NULL DEFAULT ”If you don’t change it once for all it wil never work well.
Same old same problem.
Forum: Plugins
In reply to: [Plugin: eShop] Paypal rederecting information problem.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.
Forum: Plugins
In reply to: [Plugin: eShop] How option set works?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 ”Forum: Plugins
In reply to: [Plugin: eShop] How option set works?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 workEach 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.
Forum: Plugins
In reply to: [Plugin: eShop] Paypal rederecting information problem.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.
Forum: Plugins
In reply to: [Plugin: eShop] How option set works?Any of the changes are noware to be found ??
My guess is it doesn’t work.
Forum: Plugins
In reply to: [Plugin: eShop] How option set works?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.