Adsense plugin?

Adsense plugin?

Postby mikepassmann on Thu Nov 24, 2005 4:27 am

Hello @all,
I would like to integrate some google adsense-code between the "text" and "extended text". Maybe somebody out here has written a plugin inserting the code? Or do YOU know an other solution?
Thanks a lot for your help.
Greetings
Mike
mikepassmann
 
Posts: 55
Joined: Wed Jul 27, 2005 3:54 pm

Postby phunkphorce on Thu Nov 24, 2005 11:23 am

I think this topic has already been discussed here previously, can you try searching for "adsense" and similar keywords?
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby Guest on Thu Nov 24, 2005 11:27 am

Sorry, phunkphorce - but that's what I've done. I have not found any usefull hint to solve the problem. And I'm not able to create a plugin for it and only want to know, if there is somebody who has done it.
Guest
 

Postby phunkphorce on Fri Nov 25, 2005 9:50 am

phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby Guest on Tue Nov 29, 2005 4:17 am

Sorry phunkphorce, but that's not the problem here! I've integrated adsense into header and/or footer a while ago. But I want to put it between "text" and "extended_text". Guess what I mean?
Greetings.
Mike
Guest
 

Postby jondaley on Tue Nov 29, 2005 7:26 am

I think you want a "filter" plugin. I have not written one, so I cannot help you farther than that. I don't think there is an event for the extended text, though you probably want to parse the post text, and look @more@ and put your stuff there.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby phunkphorce on Tue Nov 29, 2005 3:37 pm

In that case, it's not so easy. Those links are internally generated so you will have to do as Jon says, create a plugin that modifies the text of the plugin dynamically.
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby heriniaina on Wed Apr 11, 2007 7:39 am

I think I'll add this as option in the LT > 1.1 adsense plugin

http://hery.blaogy.org/2007/04/11/googl ... fetype-11/
heriniaina
 
Posts: 68
Joined: Thu Mar 09, 2006 11:57 am


Return to Plugin Development Team

cron