spankmaster79
Forum Replies Created
-
Forum: Plugins
In reply to: [Like Dislike Counter] Bug in update_post_ul_meta?I also found this bug and fixed it the following way
171: if(strpos($value, $post_id) !== false) { 172: setcookie("ul_post_cnt[$key]",$for_com.$value, time()+1314000); 173: } else { 174: setcookie("ul_post_cnt[$key]",$value, time()+1314000); 175: }
This way people can’t vote again if somebody is commenting again.
Forum: Plugins
In reply to: [YOP Poll] 4.9 breaks functionality in IE8thanks for adding a link to 4.6
Forum: Fixing WordPress
In reply to: Proxy/updates not available after 3.7.1 upgradeSame here, it seems the proxy is using the host and port, but doesn’t us username and password to connet with an authentication header.
Any solutions?
Forum: Plugins
In reply to: [YOP Poll] Loosing global settings on moving wordpressThx for the hint to yop_poll_options.
I move the complete wordpress code to the server. Import the data in the database via a dump. Then execute a move_wordpress.sql which changes all the wordpress hard written domain names to the correct ones.
The problem is, that the domain is saved in the options as serialized String from an Array/Object, which makes the count for the string incorrect.
I’ve added the following lines to my move_wordpress.sql and it works now
UPDATE wp_options SET option_value =
replace(option_value, ‘s:84:”https://older-differentlength-domain/wp-content/themes/twentytwelve/images/loader.gif’, ‘s::66″https://new-domain/wp-content/themes/twentytwelve/images/loader.gif’);UPDATE wp_options SET option_value =
replace(option_value, ‘s:53:”https://older-differentlength-domain/yop-poll-archive/’, ‘s:35:”https://new-domain/yop-poll-archive/’);UPDATE wp_options SET option_value =
replace(option_value, ‘s:42:”yop-poll@older-differentlength-domain’, ‘s:42:”yop-poll@new-domain’);Forum: Plugins
In reply to: [YOP Poll] Poll Results emptyJust figured out that I have the option to display results after vote OR after end date
I need to display results after vote AND after end date.
Forum: Plugins
In reply to: [YOP Poll] %POLL-ANSWER-RESULT-VOTES% not showing upsorry wrong post