AdSense-Deluxe And ButtonSnap Fix
Posted on November 2006 at about 1:23 am by hwaIf you are using AdSense-Deluxe together with other WordPress plugins that is using ButtonSnap Class Library to create Quicktags button for WordPress Editor, then most probably the buttons created by ButtonSnap won't show up.
However, after playing around with the JavaScipt inside AdSense-Deluxe (shame to say that i'm not very familiar with JavaScipt
), finally i came out a solution that's extremely easy and still maintain the AdSense-Deluxe drop down option in WordPress Editor.
Follow these simple step to do the AdSense-Deluxe and ButtonSnap fix:
Step 1: Open up adsense-deluxe.php with your favorite editor, then search for the following two line.
document.getElementById('quicktags').innerHTML +=
...
Step 2: Then replace the quicktags with ed_toolbar, become like this.
document.getElementById('ed_toolbar').innerHTML +=
...
After that you are done, the button created by ButtonSnap should appear together with AdSense-Deluxe drop down option.
Notes: I tried this plugin in WordPress 2.1 Ella but it doesn't work for me, so i guess this fix doesn't apply to WordPress 2.1.
Technorati Tags: WordPress, WordPress Plugin, WordPress Tips, WordPress Hacks, AdSense, AdSense-Deluxe, ButtonSnap, Fix, Tips, Hacks








3 Responses Add your own
December 19th, 2006 at 3:25 am
Thanks for this fix. I made a try and it worked perfectly.
Quote ThisDecember 19th, 2006 at 6:03 am
glad to know that the fix really works
Quote ThisMay 20th, 2007 at 1:54 am
beautiful. that has been an annoyance for so long. thanks!
Quote ThisLeave a Reply