vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add Advertising after first post - Postbit Alteration (https://vborg.vbsupport.ru/showthread.php?t=126107)

dieselpowered 10-16-2006 07:18 PM

Only problem with this hack is after you edit a post, you will notice the box stays but the content is gone. Hit refresh, and then all is good. Must be playing havok with the AJAX or something.

OoogleeMooglee 10-16-2006 07:33 PM

Is there a way to edit this so that it only displays the ad if someone actually replies to a thread? I have an ad that displays on the bottom of every forum page and when there is a new post with no replies, the ad shows up under the first post which (because there are no replies yet) ends up right on top of my bottom ad. Any thoughts?

oldfan 10-18-2006 02:41 AM

Quote:

Originally Posted by oldfan
why is it messing up my page format?
http://www.metallifukinca.com/showth...8672#post48672


bump :)

gamesmastervide 10-20-2006 04:16 PM

i read through that link but anyway to make it viweable by certain usergroups?? I have a vip system and I would like to remove ads for vips...

I tried this
<if condition="$post[postcount] == 1 AND in_array($GLOBALS[usergroupid], array(6,9,14))">

but it did not work no groups could see it i got the same prob for certain forums aswell using that code on the link provided in this post...

oldfan 10-24-2006 05:31 AM

Quote:

Originally Posted by oldfan
bump :)

anyone?

toonysnn 10-25-2006 01:00 AM

Nice hack, installed.
I modified it a bit to show a bit diffrently like a normal post, to make it seem like someone is posting so they will read it :p Thanks.

Prince 11-05-2006 04:03 PM

Quote:

Originally Posted by Farjad
Quick Reply Issue FiX:

HTML Code:

<if condition="(!$GLOBALS['FIRSTPOSTID'] and !$GLOBALS['vbulletin']->GPC['ajax'])">

where exactly is this code supposed to go?

Mecho 11-05-2006 05:46 PM

Quote:

Originally Posted by Farjad
Quick Reply Issue FiX:

HTML Code:

<if condition="(!$GLOBALS['FIRSTPOSTID'] and !$GLOBALS['vbulletin']->GPC['ajax'])">

Tnx Man .. its ok now

Mecho 11-05-2006 05:50 PM

Quote:

Originally Posted by Prince
where exactly is this code supposed to go?


Find this code in postbit_legacy :
Quote:

<if condition="!$GLOBALS['FIRSTPOSTID']">
Replace with :
Quote:

<if condition="(!$GLOBALS['FIRSTPOSTID'] and !$GLOBALS['vbulletin']->GPC['ajax'])">
;)

UncoderMom 11-06-2006 04:23 PM

How do I get this only to show for showthread. Its gone all wacky in the new groups hack!

It was showing in my pms but that didn't bother me. I just don't know if it was a legal content area.


All times are GMT. The time now is 02:23 PM.

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.01121 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
  • (2)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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