R.F.
Forum Replies Created
-
Forum: Plugins
In reply to: [Nextend Social Login and Register] Sync with mailchimpHallo stefanroma
Look here -> https://mc4wp.com/blog/synchronize-wordpress-users-with-mailchimp/Forum: Plugins
In reply to: [WP-PostRatings] Limit Number of Votes before displaying the Post RatingHi flm1020
Look here -> https://wordpress.org/support/topic/display-posts-by-rating-on-the-loopForum: Plugins
In reply to: [Frontend Edit Profile] Error when updating the formHello
Use the global $wpdb object.Search:
// Update the email address in signups, if present. if ($user->user_login && isset($_POST[ 'email' ]) && is_email($_POST[ 'email' ]) && $wpdb->get_var($wpdb->prepare("SELECT user_login FROM {$wpdb->signups} WHERE user_login = %s", $user->user_login))) { $wpdb->query($wpdb->prepare("UPDATE {$wpdb->signups} SET user_email = %s WHERE user_login = %s", $_POST[ 'email' ], $user_login)); }And Replace with:
// Update the email address in signups, if present. global $wpdb; if ($user->user_login && isset($_POST[ 'email' ]) && is_email($_POST[ 'email' ]) && $wpdb->get_var($wpdb->prepare("SELECT user_login FROM {$wpdb->signups} WHERE user_login = %s", $user->user_login))) { $wpdb->query($wpdb->prepare("UPDATE {$wpdb->signups} SET user_email = %s WHERE user_login = %s", $_POST[ 'email' ], $user_login)); }Forum: Plugins
In reply to: [AdRotate Banner Manager] Showing ads only on single pages (posts)Hello uporabna
If you insert [adrotate group=”1″] directly in a post, ads are shown everywhere? Normally, the banner should appear only in this post. Do you have a link to the post?Forum: Plugins
In reply to: [AdRotate Banner Manager] Showing ads only on single pages (posts)Hello uporabna
I would use a sidebar.best regards R.F.
Forum: Plugins
In reply to: [AdRotate Banner Manager] AdRotate, PHP 5.3 and GoDaddyHello
Please try with the following entry in the .htaccess
AddHandler x-httpd-php5-3 .phpbest regards R.F.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Adrotate vs. Adblock [not resolved]Hello xrundel1
For the Widget use this:
In your Theme –> functions.phpAdd
// Adrotate-Hack require_once WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'rotate' . DIRECTORY_SEPARATOR . 'adrotate-widget.php'; class My_Nicename_Rotator extends adrotate_widgets { function My_Nicename_Rotator() { // or just __construct if you're on PHP5 parent::WP_Widget(false, 'My not blocked AdRotate widget', array('description' => "Show unlimited ads in the sidebar.")); } } add_action('widgets_init', create_function('', 'return register_widget("My_Nicename_Rotator");')); //ENDE Adrotate-HackYou must then use the new widget “My not blocked AdRotate widget”
best regards R.F.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Adrotate vs. Adblock [not resolved]Hello xrundel1
Here is your solution 😉First deinstall the Plugin from your WordPress, then download the plugin again and follow my instructions.
Step one: Rename the Folder from adrotate to rotate.
Step two: Rename the File jquery.adrotate.clicktracker.js (in the Folder adrotate\library ) to clicktracker.js
Step Three: Rename the File jquery.adrotate.dyngroup.js (in the Folder adrotate\library ) to dyngroup.js
Step Four: Rename the File jquery.adrotate.responsive.js (in the Folder adrotate\library ) to responsive.js
Step Five: Open the File adrotate.php and
Find
define("ADROTATE_DB_VERSION", 51);
After ad
define("ADROTATE_FOLDER", 'rotate');
Findinclude_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-setup.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-manage-publisher.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-functions.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-statistics.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-export.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-output.php'); include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-widget.php');Replace with
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-setup.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-manage-publisher.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-functions.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-statistics.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-export.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-output.php'); include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-widget.php');Step Six:
Open the File adrotate-output.php
Findif(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/jquery.adrotate.dyngroup.js', __FILE__), false, null, $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/jquery.adrotate.responsive.js', __FILE__), false, null, $in_footer); // Make clicktracking and impression tracking a possibility if($adrotate_config['stats'] == 1){ wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/jquery.adrotate.clicktracker.js', __FILE__), false, null, $in_footer);Replace with
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/dyngroup.js', __FILE__), false, null, $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/responsive.js', __FILE__), false, null, $in_footer); // Make clicktracking and impression tracking a possibility if($adrotate_config['stats'] == 1){ wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/clicktracker.js', __FILE__), false, null, $in_footer);Find
$output = "\n<!-- This site is using AdRotate v".ADROTATE_DISPLAY." to display their advertisements - https://ajdg.solutions/products/adrotate-for-wordpress/ -->\n";
Replace with
/* $output = "\n<!-- This site is using AdRotate v".ADROTATE_DISPLAY." to display their advertisements - https://ajdg.solutions/products/adrotate-for-wordpress/ -->\n"; */
Step Seven: Upload the ‘rotate’ folder to the ‘/wp-content/plugins/’ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.best regards: R.F.
Forum: Plugins
In reply to: [AdRotate Banner Manager] "Go PRO" messageHello kykoGarcia
You can find older versions here –> https://wordpress.org/plugins/adrotate/developers/Forum: Plugins
In reply to: [AdRotate Banner Manager] Setup of adrotate banners via PHPHello
I want to Show 2 boxes in one line side by side.
You must position the container via CSS .
As An ExampleHere the Div-Container
<div id="container"> <div id="links"><?php echo adrotate_group(1);?></div> <div id="rechts"><?php echo adrotate_group(2);?></div> </div>And here the CSS
#container { text-align: center; } #links { width: 250px; float: left; } #rechts { width: 250px; float: left; }Best regards R.F.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not showing up with AdguardHello Rugged Fellow’s Guide
Will these changes hold up when the plugin is updated?
Unfortunately not , you need to make the changes after each update.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not showing up with AdguardHello
Also, when I do this:
In the File adrotate.php
FIND
define(“ADROTATE_FOLDER”, ‘adrotate’);Replace with
define(“ADROTATE_FOLDER”, ‘rotate’);
I cannot reactivate the plugin after that because it gives me an error
You must then rename the Folder adrotate to rotate (Sorry, I had this issue not specified).
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not showing up with AdguardHello Rugged Fellow’s Guide
Did you also do that here?In the File adrotate.php
FIND
define(“ADROTATE_FOLDER”, ‘adrotate’);Replace with
define(“ADROTATE_FOLDER”, ‘rotate’);
then Activate the Plugin again
In your Theme –> functions.php
Add
// Adrotate-Hack require_once WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'rotate' . DIRECTORY_SEPARATOR . 'adrotate-widget.php'; class My_Nicename_Rotator extends adrotate_widgets { function My_Nicename_Rotator() { // or just __construct if you're on PHP5 parent::WP_Widget(false, 'My not blocked AdRotate widget', array('description' => "Show unlimited ads in the sidebar.")); } } add_action('widgets_init', create_function('', 'return register_widget("My_Nicename_Rotator");')); //ENDE Adrotate-HackYou must then use the new widget “My not blocked AdRotate widget”
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not showing up with AdguardHello
P.S. I use the adrotate-Version 3.10.13In the New-adrotate-Version adrotate.3.11.6 you must
Find (in the File adrotate-output.php
/library/jquery.adrotate.responsive.jsand Replace with
/library/responsive.jsFind
/library/jquery.adrotate.dyngroup.jsand Replace with
/library/dyngroup.jsFind
/library/jquery.adrotate.clicktracker.jsand Replace with
/library/clicktracker.jsOtherwise, you must take all changes from the top post
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not showing up with AdguardHello
In the File adrotate.phpFIND
define("ADROTATE_FOLDER", 'adrotate');Replace with
define("ADROTATE_FOLDER", 'rotate');then Activate the Plugin again
In your Theme –> functions.php
Add
// Adrotate-Hack require_once WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'rotate' . DIRECTORY_SEPARATOR . 'adrotate-widget.php'; class My_Nicename_Rotator extends adrotate_widgets { function My_Nicename_Rotator() { // or just __construct if you're on PHP5 parent::WP_Widget(false, 'My not blocked AdRotate widget', array('description' => "Show unlimited ads in the sidebar.")); } } add_action('widgets_init', create_function('', 'return register_widget("My_Nicename_Rotator");')); //ENDE Adrotate-HackIn the Folder library
Rename the File jquery.adrotate.dyngroup.js to dyngroup.js
Rename the File jquery.adrotate.clicktracker.js to clicktracker.js
Rename the File jquery.adrotate.responsive.js to responsive.js
In the File adrotate-output.php
Find
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/jquery.adrotate.dyngroup.js', __FILE__), false, '0.5.3', $in_footer); if($adrotate_config['clicktracking'] == 'Y') wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/jquery.adrotate.clicktracker.js', __FILE__), false, '0.6', $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/jquery.adrotate.responsive.js', __FILE__), false, '0.4', $in_footer);Replace with
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/dyngroup.js', __FILE__), false, '0.5.3', $in_footer); if($adrotate_config['clicktracking'] == 'Y') wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/clicktracker.js', __FILE__), false, '0.6', $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/responsive.js', __FILE__), false, '0.4', $in_footer);After these changes , you can use the new widget “My not blocked AdRotate widget”