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
  #142  
Old 07-10-2011, 11:58 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but the request requires a completely different structure, at the moment you can only have two ads.
Reply With Quote
  #143  
Old 07-11-2011, 08:33 PM
maneri maneri is offline
 
Join Date: Jan 2011
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Asterix:

First, thanks for the mod.

I would like to set $post[islastshown] as in post 139, is it posible to show $post[islastshown] just in case of thread with more than 5 replies ?

I mean, I do not want a thread with just 3 answers and 2 ads, I would like to set the minimum of 5 answers in order the last ad, included in $post[islastshown], to be shown.

Grazie!
Reply With Quote
  #144  
Old 07-19-2011, 05:17 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

change template postbit or postbit_legacy

find:

Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
replace with:

Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1  || ($post[postcount] % $vboptions[maxposts] >= 5 AND  $post[islastshown])">
for Italian users is possible see other options here

regards
Reply With Quote
  #145  
Old 07-23-2011, 06:49 AM
paolpepas paolpepas is offline
 
Join Date: Dec 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I added ADS so long time in some sections.
Now I would like to place an ADS in a new section, keeping even the old ADS.
It's possible?

If I set “yes” in the “Activate the second Ads”
The old ads will disappear and only see the new.
Thank’s

I use the version 2.0.6
Reply With Quote
  #146  
Old 07-23-2011, 06:59 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can only see one AD for section, you can choose between two scripts, but only one is visible
Reply With Quote
  #147  
Old 07-23-2011, 07:35 AM
paolpepas paolpepas is offline
 
Join Date: Dec 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
you can only see one AD for section, you can choose between two scripts, but only one is visible

Ok thank's
Reply With Quote
  #148  
Old 07-25-2011, 10:13 AM
maneri maneri is offline
 
Join Date: Jan 2011
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
find:
Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
replace with:

Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1  || ($post[postcount] % $vboptions[maxposts] >= 5 AND  $post[islastshown])">
Hi Asterix_ita,

Thanks so much for your answer!
Reply With Quote
  #149  
Old 07-26-2011, 06:16 AM
RedPoint RedPoint is offline
 
Join Date: Oct 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi and thanks for the wonderfull mod.
I use for all my sites a central adserver, the OpenX and this mod dont show the openX banners, the code from openX is:

Quote:
<script type='text/javascript'><!--// <![CDATA[
OA_show(5);
// ]]> --></script>
Any idea for this possibility to run openX banners in this mod?
Reply With Quote
  #150  
Old 07-26-2011, 10:38 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not know the circuit and I can not do the tests

I suggest trying the following code

Code:
<script type='text/javascript'>
OA_show(5);
</script>
Reply With Quote
  #151  
Old 07-26-2011, 01:46 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod! Thank you very much. I would like to remove the following parts please:

Attachment 131402

Is it possible?

Thank you!

EDIT: I would also like to bring the ad inside the post a bit down please. It is right at the top. Is it possible to have it completely in the center. From left to right and bottom to top. Thanks.

EDIT AGAIN: Sorry, disregard the above. I managed to get it done myself. Thanks again!

Attachment 131403
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:56 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.05057 seconds
  • Memory Usage 2,363KB
  • Queries Executed 28 (?)
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
  • (5)bbcode_code
  • (3)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
  • (7)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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