Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mid Post AdsMid Post Advertisements (middle of the post) Details »»
Mid Post AdsMid Post Advertisements (middle of the post)
Version: 1.9, by YankForum YankForum is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 10-06-2010 Last Update: 08-08-2014 Installs: 147
Uses Plugins Auto-Templates
 
No support by the author.

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
[hr]1[/hr]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




[hr]1[/hr]Known Issues :
  • [s]you shouldn't edit your first post , that causes real problems , and you lose all the contents of first post.[/s] (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!
[hr]1[/hr]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
[hr]1[/hr]Installation :
Just Import the Prodcut and configure settings in admincp ( no template edits needed )
DONE
[hr]1[/hr]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
[hr]1[/hr]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 Now

File Type: xml product-adfirstpost 1.9.xml (12.0 KB, 168 views)

Screenshots

File Type: jpg 1.jpg (101.5 KB, 0 views)
File Type: jpg 2.jpg (182.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
eTiKeT?, gundamz, mapleleaffans, Naijasite

Comments
  #32  
Old 10-09-2010, 05:37 AM
Tryppnotic69 Tryppnotic69 is offline
 
Join Date: Nov 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great. Any chance of having an option for the ad to also appear in a vBulletin blog? I have more readers in my blogs than in my forums.
Reply With Quote
  #33  
Old 10-09-2010, 09:07 AM
aseer_al7ob's Avatar
aseer_al7ob aseer_al7ob is offline
 
Join Date: May 2007
Location: Here
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YankForum View Post
i can't understand what exactly is the problem , can u provide me a link to what you say or explain a bit more ? mayb it's one of your mods conflicting with this one ?
See attachments

If in the beginning of the subject image and not text that can not be displayed all subject
Attached Images
File Type: jpg capture1.jpg (91.1 KB, 0 views)
File Type: jpg capture2.jpg (35.3 KB, 0 views)
Reply With Quote
  #34  
Old 10-09-2010, 09:32 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aseer_al7ob View Post
See attachments

If in the beginning of the subject image and not text that can not be displayed all subject
tnx for feedback , but this is not how it works , it doesn't depend on the quality of content , it counts lines (br's) and divide the content in two parts , i tested by posting an image on top of the post and it did work great , this could have conflicting with the image resizer installed on your boards
Reply With Quote
  #35  
Old 10-09-2010, 06:09 PM
demonfatal demonfatal is offline
 
Join Date: Mar 2009
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this usefull mod...
On your site I see the ads in the first and last post of each pages...
Can you share the way with us please?
Reply With Quote
  #36  
Old 10-09-2010, 07:20 PM
bongmatinhoc bongmatinhoc is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. very nice
Reply With Quote
  #37  
Old 10-09-2010, 08:24 PM
Azonaco Azonaco is offline
 
Join Date: Aug 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.
Reply With Quote
  #38  
Old 10-10-2010, 04:00 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demonfatal View Post
Thanks for this usefull mod...
On your site I see the ads in the first and last post of each pages...
Can you share the way with us please?
tnx for installig , the last post ads is a sepereate mod which can be found here and here

Quote:
Originally Posted by bongmatinhoc View Post
Thanks. very nice
tnx urself , please click install if you install it
Quote:
Originally Posted by Azonaco View Post
Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.
i never had article (comments) & CMS on my domain , can please provide me a link or more information , which parts are affected too ?
Reply With Quote
  #39  
Old 10-10-2010, 07:04 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Azonaco View Post
Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.
again tnx for feedback , this been FIXED in version 1.4 (only viewable in showthread) , please check it
Reply With Quote
  #40  
Old 10-10-2010, 08:55 AM
wastemytime wastemytime is offline
 
Join Date: Sep 2006
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really great! The only thing i would need - and maybe others - is an option for Forum Permissions. I do not want it to show it in specific Forums in that way.

Would you consider to add the Option to exclude specific Forums?
Reply With Quote
  #41  
Old 10-10-2010, 11:05 AM
andretan88888 andretan88888 is offline
 
Join Date: Jun 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mark as installed.
Do you accept custom request ?
Please send me private message if you accept it.thanks
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05039 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete