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)

imported_infitech 04-14-2006 05:36 AM

This stretches my page

Niall Fernie 04-14-2006 02:38 PM

Now that I have this up and running, can anyone tell me how to modify the first line condition to check for user rank, ie I would also like my Junior members to be able to see the ads. I already have it checking for forums and usergroups. Junior members (less than 30 posts) dont contribute as much content to the site as more senior members so they may as well see the ads.

Thanks in advance for any help.

The Chief 04-16-2006 05:33 AM

Does this work on postbit template, doesn't seem to work on mine, it creates the first post normal, then every post after that just decreases in size, lol..

the last post is super small..??

AzzidReign 04-16-2006 05:47 AM

Sweet! I've been looking for this! Thanks a lot!

I had some troubles, but once I put the code in both postbit and legacy, then the ads started showing up! Brilliant mod! Thanks very much!

UK Jimbo 04-21-2006 09:38 AM

Quote:

Originally Posted by imported_infitech
This stretches my page

Nice forum style - doesn't look very standard to me though.

You probably need to change the HTML accordingly :)

UK Jimbo 04-21-2006 09:41 AM

Quote:

Originally Posted by The Chief
Does this work on postbit template, doesn't seem to work on mine, it creates the first post normal, then every post after that just decreases in size, lol..

the last post is super small..??

Is your postbit standard? Are you sure you pasted the code in correctly.

Without more info it's impossible to speculate what might be wrong.

UK Jimbo 04-21-2006 09:57 AM

Quote:

Originally Posted by arossphoto
I've installed and it's working very well. Will the code above display the ads after the first post and before the last? Would you mind showing me what the whole code for the post bit would look like, and is it possible to show the ads to certain usergroups?

Cheers.

The postbit code should remain the same.

If you look back through the thread you'll see information on how to restrict the ad to appear/hide for given user groups.

Shout if you get stuck.

UK Jimbo 04-21-2006 10:03 AM

Quote:

Originally Posted by sandrodz
installed, works like charm... only concern is if I can set it to display at the end of the last post only? or after the first post only? cause I believe this kind of random placing isn't efficient in my case... thank you!

Trawl back through the thread. Pretty sure this has been done too :)

imported_infitech 04-21-2006 10:24 AM

Thnks UK Jimbo. Already have.

UK Jimbo 04-21-2006 11:43 AM

Quote:

Originally Posted by imported_infitech
Thnks UK Jimbo. Already have.

You should click install then ;)


All times are GMT. The time now is 05:08 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.01428 seconds
  • Memory Usage 1,738KB
  • 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
  • (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