#1 (permalink)  
Old 08-11-2008, 08:40 PM
Roma Roma is offline
Junior Member
 
Join Date: Apr 2008
Posts: 13
Default Deleting a plugin

I hope someone can help.

I am having trouble with the adsense deluxe plugin, using the programmer's adsense code (I have discovered a common problem, on looking through digitalpoint forum) and I can't recode the php file (which is supposed to work). Therefore I want to use the installer but to delete this plugin and later add adsense manager - can anybody help me with this?

When I have tried to delete this plugin in wp admin, or rename in php file, the whole site goes blank. It would appear that the wp won't work without this particular plugin - any suggestions?

I could do completely through fantastico, but I like the look of plropro wp template.

thanks
Roma
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-11-2008, 08:54 PM
mario_a mario_a is offline
Member
 
Join Date: Apr 2008
Posts: 96
Default

Hi Roma,

The code to display the Adsense ads using the Adsense Deluxe plug-in is embedded into a few files in the PLRPro theme. To disable the plug-in without affecting your blog, you need to remove all instances of the Adsense deluxe PHP code.

More specifically, here's what you need to do :

1) In your WP Admin panel, go to Design->Theme Editor
2) On the right, click on "Header (header.php)" and delete the following code :

<?php adsense_deluxe_ads('leader'); ?>

3) On the right, click on "Sidebar (sidebar.php)" and delete the following code :

<?php adsense_deluxe_ads('rect'); ?>

4) On the right, click on "Single Post (single.php)" and delete the following code :

<?php adsense_deluxe_ads('main'); ?>

5) On the right, click on "Page Template (page.php)" and delete the following code :

<?php adsense_deluxe_ads('main'); ?>

That should take care of the problem.

If you're still having issues, let me know.

Regards,
Mario
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-11-2008, 10:51 PM
Roma Roma is offline
Junior Member
 
Join Date: Apr 2008
Posts: 13
Smile Thank You So Much

Mario

Thanks so much for your hard work in putting this answer together for me, I really appreciate it.

Luckily for me, I've been working on this for the past hour, and what I found was that if I went to google pasted in banner code - it said 'page not found' - however, when I pasted in half banner code - it put in my adsense.

On trying the above with the other 2 adsense blocks, putting in 200 x 200 instead of 250 - did not work. However upon going to the default - it appeared that because the leader code was working - the others 'clicked in'. So, all in all, as usual an eventful IT evening.

But, at least now, I know what works and can continue putting blogs 'out there'.

Hopefully, this post will help someone else who experiences this.

Useful, knowing about how to delete this plugin - might need that at some time.

Thanks
Roma
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT. The time now is 02:20 PM.


vBulletin style developed by Transverse Styles

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0