Luis Fatorbinario
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-SpamShield] Javascript error when a new user try to registerHi Scott,
As I stated above this is the first project that demands CloudFlare, usually I don’t even use it. WP-SpamShield is the number one tool I install after deploying a website, it’s a great product without any doubts even in the free version.
Since after I disable it because of the conflict (yes. Rocket Loader and Minify were both ON), I didn’t even test it anymore because of the project’s deadline. But on my first opportunity I will try it with both again.
Thanks for your support and time. You have a great product and I hope to use WP-SpamShield for years yet.
Regards
LuisForum: Plugins
In reply to: [WP-SpamShield] Javascript error when a new user try to registerThanks for the replies.
I had to turn WP-SpamShield off to solve the problem 2 weeks ago and for my surprise the registration bots and spammers are not trying my server anymore.
CloudFlare has some sort of protection that blocks them.
So my conclusion is. If a client demands CloudFlare I turn WP-SpamShield OFF otherwise is ON.
Thanks again. I will do that.
Thanks for your time Jeremy,
Somehow I knew this was the only explanation, seems like they are limiting all apps that have access to Facebook.
You guys should consider a function to hide the widget if there is an error because the empty box is too big and weird to keep the widget on.
Do you know a php trick to add on functions.php to do that? I like the widget.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Facebook Like BoxHi guys,
Just started using Facebook LikeBox and it is not showing “sometimes” like people are saying.
Playing around I have found that when I’m logged in on Facebook as a fanpage Jetpack facebook like only shows a blank space, but when I login with my personal Facebook profile it shows fine.
My website is: http://fatorbinario.com/
*Everything is updated, even Jetpack last version.Hello again,
Inserting this code on my child theme functions.php also did the trick:
if ( ! isset( $content_width ) ) { $content_width = 728; }Very nice job you guys are doing with Jetpack. Keep up the great work and many thanks for your time.
*You can close the thread as resolved
Hi Jeremy,
Thank you for your time to have a look on this.
Yes, the issue remains..
On posts I am adding via content filter:
add_filter('the_content', 'custom_ad'); function custom_ad($content){ global $post; $custom_adsense = ""; if (!wp_is_mobile()){ $custom_adsense = banner_affiliate("top"); } return $custom_adsense . $content; }And on home page:
if (!wp_is_mobile()){ echo banner_affiliate("top"); }* The banner_affiliate function is just a random picker returning a banner with the link, like this:
$banner = '<div style="text-align: center; margin-top: 5px; margin-bottom: 5px;"><a href="https://www.digitalocean.com/?refcode=8b5c9969b2af" target="_blank"><img src="http://en.fatorbinario.com/wp-content/uploads/2015/04/DigitalOcean-Coupon-Banner.jpg" width="728" height="90"></a></div>';Here is a link to my website, see on any post that the banner is resized by Photon. Also notice on front page it does not, it’s the same pict:
http://en.fatorbinario.com/tutorial-vps-hosting-a-wordpress-website-part-1-introduction/
And as I said above the problem can be hacked, pointing to the “i2.wp.com” repository and using the ?resize parameter, but I have to do that for each banner.
Thanks once again.
Darn.. Now I noticed the board tried to execute the code messing up with the function, sorry. Here is the correct one. Set pict size as you like.
//Shortcode for BWS PDF & Print function SetPrintButtonsShortcode() { $printer_icon = '<a href="' . get_permalink() . '?&print=print"><img src="/wp-content/plugins/pdf-print/images/print.gif" alt="Print" width="18" height="18"></a>'; $pdf_icon = '<a href="' . get_permalink() . '?&print=pdf"><img src="/wp-content/plugins/pdf-print/images/pdf.png" alt="PDF" width="18" height="18"></a>'; return '<span style="word-spacing:14px;">' . $pdf_icon . " " . $printer_icon . '</span>'; } add_shortcode('setprintbuttons', 'SetPrintButtonsShortcode');Forum: Themes and Templates
In reply to: [Twenty Fourteen] Update Issue with Featured PostsI think the update messed with styles..
I have 2 websites, both Twenty Fourteen same plugins, customizations and versions.
One is the English version, updated yesterday with no problem. All pugins also updated just fine.
The other one is Portuguese-BR. I’m so glad I had a backup.
Trying to update the Theme a error said the update broke because there was no style.css.
After deleting the Theme and reinstalling, I use child-theme reinstalled the main one, all my sidebars, footer and custom widgets gone. And once again I’m glad I had a backup.I also moved the function to theme’s child functions.php.
Nice. Thanks again David.
Rated the plugin. It’s a great one and i hope you guys keep this tool for a long time yet.
WoW it works!
Many thanks for this.
The correct code is:
function gzopen($filename , $mode, $use_include_path = 0 ) { return gzopen64($filename, $mode, $use_include_path); }No “string” before $filename
I hope people find this post to fix on their install too..