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
  #102  
Old 01-20-2011, 06:50 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Loving this thank you, working fine on vb4.1.1 with vbseo :up:
Reply With Quote
  #103  
Old 02-06-2011, 12:06 AM
keithsan keithsan is offline
 
Join Date: May 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great. Installed.
Been running the default first post add for 20 days and have data.

Will see if this is better. seems so but you never know.

I'm running 468 x 60 banner instead of the full. Anyone with experience know which one translates the best?
Reply With Quote
  #104  
Old 02-08-2011, 04:52 AM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to make this appear at the bottom of a post?
Reply With Quote
  #105  
Old 02-21-2011, 08:38 PM
nukeleo nukeleo is offline
 
Join Date: Sep 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't Work with VBulletin Mobile Sytle
blocking the moble style
view white page error
Reply With Quote
  #106  
Old 02-23-2011, 05:48 PM
ALBCODERS ALBCODERS is offline
 
Join Date: Apr 2009
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod thankyou!
Reply With Quote
  #107  
Old 04-01-2011, 05:00 AM
biggazillakilla biggazillakilla is offline
 
Join Date: Mar 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For what it's worth, I showed (in person) this modification and its output to a Google AdSense employee (someone dedicated to optimizing revenue) to ask whether it would be acceptable to use, and she told me that it probably wouldn't be allowed. She didn't seem terribly interested in finding out who made it or which sites are using it, though.
Reply With Quote
  #108  
Old 04-01-2011, 09:26 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you threatening me ? what I've done was i put 2 horizontal lines around them to make it separate and recognizable from site's content , i always try to respect Google's rules.
have you read mod's documents :
Quote:
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
who said it specifically coded for adsense ? there are loads of ad networks u can use this mod with or many more things to do with this mod
Reply With Quote
  #109  
Old 04-09-2011, 12:00 AM
Chmura Chmura is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello YankForum,

I have installed the mod and am happy with it, but I have one complaint.
After going to http://validator.w3.org/ it gave me two errors

Code:
Line 2397, Column 165: NET-enabling start-tag not immediately followed by null end-tag

…;'><a href='http://www.yankforum.com'/ target='blank'>Yankee Fashion Forum</a>…

This error may occur when there is a mistake in how a self-closing tag is closed, e.g '.../ >'. The proper syntax is '... />' (note the position of the space).
Error Line 2397, Column 204: end tag for element "a" which is not open

…href='http://www.yankforum.com'/ target='blank'>Yankee Fashion Forum</a></span>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
Looks like Hide Authors copyright in footer selected to Yes still didn't completely hide it.
How can I remove it?

Thanks!
Reply With Quote
  #110  
Old 04-24-2011, 01:06 AM
aplinux aplinux is offline
 
Join Date: Oct 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is really a great for me, thank you.
Reply With Quote
  #111  
Old 04-24-2011, 01:05 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Extra post which you want the ads to be shown(optional) - i tried 2 aND 4 both..but it's not showing ads on 2nd or 4th post..so this option isnt working.

i'm on vb 4.1.3
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 06:01 PM.


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.04914 seconds
  • Memory Usage 2,346KB
  • 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
  • (1)bbcode_code
  • (1)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
  • (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
  • (3)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