PDA

View Full Version : Mid Post Ads



admin
27-05-2012, 10:41 AM
This mod simply lets you put your desired ads or any other codes just in the middle of first post , in each page of a thread .
you can see a live demo here (http://www.yankforum.com/foundation-lipstick/67-upper-lip-hair-removal.html#post129l)

http://s18.postimage.org/cvxy1p0hx/image.jpg (http://postimage.org/image/cvxy1p0hx/) http://s18.postimage.org/9qdcbhhvp/image.jpg (http://postimage.org/image/9qdcbhhvp/)
Known Issues :

you shouldn't edit your first post , that causes real problems , and you lose all the contents of first post. (this is solved in version 1.1)
sometimes it's not exactly in the middle of posts , that's because in logic sometimes there is no real half point , while some posts have even number of lines and some posts have odd number of lines . but it tries to put it to the nearest location to the mid point! http://www.vbulletin.org/forum/images/smilies/smile.gif

Try not to mention following things :
if you think it's against google TOS then don't install it http://www.vbulletin.org/forum/images/smilies/wink.gif but keep in mind you can also use it with other network ads , and keep in mind at no point google directly mentioned it's against their TOS to put adsense in between content , so do not insist http://www.vbulletin.org/forum/images/smilies/biggrin.gif
Installation :
Just Import the Prodcut and configure settings in admincp ( no template edits needed )
DONE http://www.vbulletin.org/forum/images/smilies/smile.gif
Updates
version 1.1 : first post editing bug FIXED
version 1.2 : option ADDED to hide copyright AND adsense input field integrated into mod's settings page
version 1.3 : option ADDED to limit ads to be visible to guests only as requested by jrwap
version 1.4 : The ads get applied to article comments as well on the CMS articles bug FIXED
version 1.5 : option ADDED to disable ads in certain forums ( as requested by wastemytime )
version 1.6 : unicode characters bug FIXED
version 1.7 : option for enabling ads in extra post ADDED
version 1.8 : changed the structure of while loop to maintain performance and speed