vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   >>--ARROW ADS---> Hack (https://vborg.vbsupport.ru/showthread.php?t=51380)

Dribbles 05-30-2003 12:57 PM

Is there a way I can use a simple code to place banners anywhere I want instead of fixed positions? ie- something like $bannerhere ... that way I can sort of mix them up using the same code in between posts, in the header, and even use the sig mod to add them to some usergroups' sigs.

For instance, I see:

$showsponsorforumbit
$showthisad

Is $showthisad just the universal code for the banner bank? I won't be using forum sponsors, forum-specific banners, etc etc. Just a banner bank with maybe a rotation of 8-10 banners. Is $showthisad the only one I need to add to the header, postbit, sigs, etc etc? thanks :)

trafix 05-30-2003 01:03 PM

you can ust the "$showthisad2" anywhere (in theory)

Dribbles 05-30-2003 01:06 PM

thanks :) $showthisad2 with a 2 at the end as opposed to the $showthisad one?

trafix 05-30-2003 01:09 PM

yep the same string as you put in the header

Dribbles 05-30-2003 01:13 PM

thnx a million

DannyITR 06-06-2003 03:49 PM

i found this. Mabye it has something to do with my randomization problem.


http://www.mysql.com/doc/en/Mathematical_functions.html
"As of MySQL 3.23.52, MySQL changed the way
RAND() functions, such that you MUST supply a
SEED to get an actual random number. If you do
not, each new connection will return close to the
same number as the previous new connection. An
example to test this would be to run the follow
command multiple times in a row. mysql -u
username -p -e'select rand()' A basic way to seed
this would be to run RAND(NOW())."

... maybe that's why !?

i tried it manually with rand(now()) and it always returns ad # 11 .. so
that's no good either

DannyITR 06-09-2003 07:49 PM

anyone?

DannyITR 09-27-2003 03:26 PM

It was my mysql version.

Are there banner hack for VB3 betta?

trafix 09-27-2003 03:34 PM

apparently...

VB3 Gold may have optional banners advertising

DannyITR 09-27-2003 06:35 PM

Do you think this hack can be adapted to vb3?


All times are GMT. The time now is 02:03 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.01197 seconds
  • Memory Usage 1,729KB
  • 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)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