fanbolero
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Social AutoConnect] Reposition the Facebook button on the login screenI would prefer not to alter the wp-login.php file, because if I upgrade WP, the change will go away.
The problem is that the FB button appears after the password field on the login form, before the “remember me” and “login” button.
This is very confusing to users. I added some text to the FB button image, but it does not improve things.Check this screen grab so you can see what I mean.
http://www.fanbolero.com/login.jpgIs there a way to change the code on your plugin so it appears after the “login” (Acceder) button or before the “user” field?
Thanks again
Forum: Plugins
In reply to: [Football Pool] Shortcode for Current user ScoreThanks AntoineH,
It works like a charm!!!
Forum: Plugins
In reply to: [Social Count Plus] Ad a comma to numbersThank you Claudio!!
It works perfectly.A suggestion for a future release:
I have a dark theme on my blog. I manually changed the color for the texts in your plugin on counter.css. It would be nice to have an option for selecting light/dark text color.Thanks again for the wonderful plugin.
Forum: Plugins
In reply to: [Social Count Plus] Ad a comma to numbersThanks!! I will wait for it.
Forum: Plugins
In reply to: [Social Count Plus] Ad a comma to numbersThank you Claudio!
What file (and line) on your plugin should I modify with the number_format function?Forum: Plugins
In reply to: [Simple Ads Manager] [Plugin: Simple Ads Manager] Doesnt count clicksfor it to work you have to change sam-layout.js to:
( function( $ ) { $( function() { $( 'body' ).off( 'click', '.sam_ad' ).on(' click', '.sam_ad', function() { var $me = $( this ), adId = $me.attr( 'id' ); $.ajax({ type: "POST", url: samAjax.ajaxurl, data: { action: "sam_click", sam_ad_id: adId, _ajax_nonce: samAjax._ajax_nonce }, async: true }); }); }); })( jQuery );Forum: Plugins
In reply to: [Simple Ads Manager] [Plugin: Simple Ads Manager] Doesnt count clicksFor some reason the solution is not working in Chrome, it works on Firefox and Safari. Yet to test iE
Forum: Plugins
In reply to: [Simple Ads Manager] [Plugin: Simple Ads Manager] Doesnt count clicksI did it!!!
The problem was that SAM was giving a different ID syntax to the SWF file. I simply changed the syntax for the $id variable to reflect the one used by images.
To count clicks for SWFs, edit line 70 in ad.class.php from:$id = "ad-".$ad['id'].'-'.rand(1111, 9999);to:
$id = "a".rand(10, 99)."_".$ad['id'];Another Goodie:
If you want SAM to display a substitute image in case the browser doesn’t have flash, change line 78:$text = __('Flash ad').' ID:'.$ad['id'];for:
$filename = substr($file,0,strlen($file)-4).".jpg"; $linkname = substr($flashvars,11,strlen($flashvars)-13); $text = "href='".$linkname."'><img src='".$filename."' width='".$width."' height='".$height."' / ></a>";and line 93:
<div id='$id'>$text</div>to:
<a id='$id' class='sam_ad' $textNote: for this to work you have to add a substitute jpg image with the same name and path as your swf file.
When creating the SWF you have to define clickTag in “flashvars” with the destination path, like so:{clickTag:"http://www.yoursite.com/destination.html"}xnau,
The validation settings for all the fields are set to “Yes”, and for email I left the default regex. The fields are textlines, dropdowns and the last one is a textarea.