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
The second post is advertising Details »»
The second post is advertising
Version: 2.0.9, by Asterix_ita Asterix_ita is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.0 Rating:
Released: 04-06-2010 Last Update: 07-16-2012 Installs: 385
Uses Plugins Auto-Templates
Translations  
No support by the author.

I know that there are many addons but I like the special needs, sorry for my bad English

With this addon the second post is not necessarily a post Google Adsense ADS as to release the users was chosen to allow free insertion of HTML Ads.

The addon has the following functions:

1) automatically uses the style of postboard (postbit o postbit_legacy)
2) it is possible to exclude some forum posts from viewing ads
3) it is possible to exclude some groups of users from viewing post ads
4) it is possible to exclude some discussions based on prefix
5) it is possible to customize the user profile virtual ads - nickname and avatar
(usertitle ? Location - Join Date ecc. need to modify the phrase)

I hope it will be useful to some of you.


Regards

Install:

Import product_second_post_ads.xml
Configure in vBulletin Options -> Ads Second Post


This plugin adds:

2 template
postbit_ads_ct_2th
postbit_legacy_ads_ct_2th

2 plugin
Second Post ADS
Cache template
10 phrase

Changelog

2.0.0 only post nr.2 is ads
2.0.1 Added option on every page is the second post ads (post 11)
2.0.2 fixed two error template postbit_legacy - change admin option
2.0.3 fix the code for compatibility vb. 4.0.4 or higher
2.0.4 add option align post ads
2.0.5
  • correct a little imperfection template
  • add possibility of using a second circuit Ads

the second option ads is strongly bound by the general filters: Forums to be Excluded

2.0.6 fix inline mod select/deselect all
2.0.7 fix mini bug
2.0.8 fix dependency version - add two phrases - fix folder upload
2.0.9 fix bug option exclude prefix - fix ads on pm - change dependency version


Translations

Italian Collectiontricks.it
Arabic - Dr.osamA (vers. 2.0.2)
German - Igel1 (vers. 2.0.3)


Download Now

File Type: zip product_second_post_ads_2_0_7.zip (4.8 KB, 191 views)
File Type: zip product_second_post_ads_2_0_8.zip (4.7 KB, 419 views)
File Type: zip product_second_post_ads_2_0_9.zip (4.4 KB, 1009 views)

Screenshots

File Type: jpg 07-04-2010 14-03-55.jpg (31.3 KB, 0 views)
File Type: jpg 07-04-2010 13-40-41.jpg (48.3 KB, 0 views)
File Type: jpg 07-04-2010 13-39-04.jpg (46.9 KB, 0 views)
File Type: jpg 18-05-2010 18-58-52.jpg (107.1 KB, 0 views)
File Type: png 18-05-2010 18-57-00.png (8.6 KB, 0 views)
File Type: jpg 23-09-2010 09-53-00.jpg (38.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
findingpeace, hugh_, m!dn!ght, mapleleaffans, mohammadxxx, sodasusu, SWSUSA

Comments
  #182  
Old 05-30-2012, 08:14 PM
KEKforce KEKforce is offline
 
Join Date: Feb 2007
Location: Holland
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works on 4.2.x with the adjustment above
Reply With Quote
  #183  
Old 06-05-2012, 07:14 PM
Littlerocket Littlerocket is offline
 
Join Date: Dec 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not appearing in AdminCP for me 4.1.5. I have moved the xml into its own xml folder within includes.
Reply With Quote
  #184  
Old 06-05-2012, 11:10 PM
97lt1ta 97lt1ta is offline
 
Join Date: Jan 2012
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instead of the second post is there a way to make it the last post ?
Reply With Quote
  #185  
Old 06-06-2012, 04:27 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for last post: open template postbit_legacy_ads_ct_2th or postbit_ads_ct_2th

find

PHP Code:
<vb:if condition="!$GLOBALS['FIRSTPOSTID']"
replace width

PHP Code:
<vb:if condition="$post[islastshown]"
regards
Reply With Quote
Благодарность от:
97lt1ta
  #186  
Old 06-07-2012, 05:54 AM
shiraz sat shiraz sat is offline
 
Join Date: Jun 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This product is not compatible with version 4.2.0 vBulletin. (Starting with the 4.0.0 compatible / incompatible with 2.4.00 and higher)
Reply With Quote
  #187  
Old 06-07-2012, 08:50 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Read this https://vborg.vbsupport.ru/showpost....&postcount=180
Reply With Quote
  #188  
Old 06-14-2012, 12:08 AM
realdiegodias realdiegodias is offline
 
Join Date: Mar 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unfortunately does not work in version 4.2
Reply With Quote
  #189  
Old 06-14-2012, 11:06 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on my test forum work fine, to install:

Open file product_second_post_ads.xml

serch

PHP Code:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="4.1.9"/> 
change to

PHP Code:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="4.2.99"/> 
Reply With Quote
  #190  
Old 06-22-2012, 01:23 PM
egyptsons's Avatar
egyptsons egyptsons is offline
 
Join Date: Jan 2004
Location: Egypt
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine with vb 4.2.0
Reply With Quote
  #191  
Old 07-13-2012, 01:46 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
I'm sorry

I use this hook template_hook.postbit_end (to the end of postbit_legacy) to enter the second post.

verify the presence of postbit_legacy_ads_ct_2th template on your style.

Regards
I'm using a custom set of styles of my 4.2.0 board and not using the legacy (I use it on my other forum, which works fine). As I'm using the newer postbit, the ads don't show for me... I would follow the above instructions but have no idea what you've said.
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 01:24 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.05317 seconds
  • Memory Usage 2,367KB
  • 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
  • (4)bbcode_php
  • (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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)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