vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - The second post is advertising (https://vborg.vbsupport.ru/showthread.php?t=239981)

KEKforce 05-30-2012 08:14 PM

works on 4.2.x with the adjustment above

Littlerocket 06-05-2012 07:14 PM

Not appearing in AdminCP for me 4.1.5. I have moved the xml into its own xml folder within includes.

97lt1ta 06-05-2012 11:10 PM

Instead of the second post is there a way to make it the last post ?

Asterix_ita 06-06-2012 04:27 PM

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

shiraz sat 06-07-2012 05:54 AM

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)

Asterix_ita 06-07-2012 08:50 AM

Read this https://vborg.vbsupport.ru/showpost....&postcount=180

realdiegodias 06-14-2012 12:08 AM

unfortunately does not work in version 4.2

Asterix_ita 06-14-2012 11:06 AM

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"/> 


egyptsons 06-22-2012 01:23 PM

Works fine with vb 4.2.0
:)

karlm 07-13-2012 01:46 PM

Quote:

Originally Posted by Asterix_ita (Post 2298023)
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.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01353 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete