vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Randomly positioned ad in between postbits in showthread (https://vborg.vbsupport.ru/showthread.php?t=98057)

durapuma 05-24-2006 04:41 AM

Quote:

Originally Posted by durapuma
Hello again,

i have just restore the "postbit" template and have add the code to the postbit_lecacy template. But it don't run :(

Whats the problem :( :( ?

I will click on install, if it runs ;)

Please remember my question - i need to install the hack quickly!!

Thanks

.Tim 05-26-2006 10:26 PM

Works perfect! Thanks.

dssart 05-28-2006 04:08 AM

Doesn't work. Thanks anyways...



Quote:

Originally Posted by T.S.
Try this
Code:

<if condition="$post[posts] >=50">

Jimbo's code

</if>



T.S. 05-28-2006 05:12 AM

Quote:

Originally Posted by dssart
Doesn't work. Thanks anyways...

I just noticed that I placed the < the wrong way. I turned it around and tried it on my own forum, but still couldn't get it working. I am still learning.

sross 05-31-2006 12:24 AM

Hi, so is the ad displayed right after the 1st post on the page? I would like it to do the following.. is this possible:

a page has 2 posts the ad appears after post one, the page has 4 posts the ad appears after post2, page with 10 posts on it the ad appears after post5. This way the ad is always kept in the center of the postings. Thanks for any info!

T.S. 05-31-2006 07:23 AM

Quote:

Originally Posted by sross
Hi, so is the ad displayed right after the 1st post on the page?

This plugin displays the ad in a different random position with each page load.

UK Jimbo 05-31-2006 10:04 AM

Quote:

Originally Posted by sross
Hi, so is the ad displayed right after the 1st post on the page? I would like it to do the following.. is this possible:

a page has 2 posts the ad appears after post one, the page has 4 posts the ad appears after post2, page with 10 posts on it the ad appears after post5. This way the ad is always kept in the center of the postings. Thanks for any info!

I could write this for you. Drop me a PM with an idea of how much you're willing to spend on it.

Netdesignz 06-09-2006 08:47 AM

Sorry to sound dumb and ask this question but after reading through this whole thread im still confused.
This is the first mod ive installed so please bear with me.

Ive manged uploading the xml :)

But this edit the postbit is baffling me as i cant find the file i need to edit. Ive looked through all the files i have there and there is no file called that..Can someone explain in noob terms plz :(

UK Jimbo 06-09-2006 09:05 AM

"postbit" and "postbit_legacy" are the name of "templates". Sets of "templates" are stored in "styles".

Check out the "styles & templates" section in the vB documentation here

Shout if you have any problems.

T.S. 06-19-2006 11:23 AM

Any 3.6 update coming out? This version works for me on 3.6 but doesn't quite look right. :banana:


All times are GMT. The time now is 07:58 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.03487 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
  • (1)bbcode_code_printable
  • (5)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