Mid Post Ads

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Hello
i decided to share this mod with everybody else , this is a paid hack , i received several PMs asking to share it with everybody else , so i did all credits goes to original author SecondV
What does this hack do ?

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




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!
Try not to mention following things :
if you think it's against google TOS then don't install it 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
Installation :
Just Import the Prodcut and configure settings in admincp ( no template edits needed )
DONE
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
version 1.9 : first post image only (no text) bug FIXED
Enjoy and please please try not to forget to click as Installed if you liked it you can also Nominate it for MOTM , that's optional but clicking as installed is a must

Download product-adfirstpost 1.9.xml
 
Nhưng lỗi rồi ad :(

----------> Bổ sung bài viết lúc 04:01 PM <----------> Bài viết trước lúc 04:00 PM <----------

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'w' in [path]/includes/class_postbit.php(345) : eval()'d code on line 256
 
Lỗi thì uninstall thôi em...
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
8K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
1
Views
3K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
9K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
789
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
942
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
708
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
691
AdminAdmin is verified member.
Admin
Back
Top