The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
it seems that my code will randomize if i run the the script through the browser but it doesnt randomize if i put it in an image page
HTML Code:
<img src="$vboptions[bburl]/banners.php" />
the code is: PHP Code:
|
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
that didnt work...
|
#4
|
||||
|
||||
![]()
Why not do this :
in your code : PHP Code:
Then use an include in your main page you want to show the banner in : PHP Code:
PHP Code:
|
#5
|
||||
|
||||
![]()
That's the wrong way to do it. You need to read the file data, set some header information and then echo it out. Look at attachment.php for an example.
|
#6
|
||||
|
||||
![]()
if you had
HTML Code:
<img src="$vboptions[bburl]/banners.php" />
HTML Code:
$dir = "http://dev.animationation.net/images/banners/"; and if you use it in vb3 why don't we use a template ? and (yes, and T_T) why not mt_rand ? |
#7
|
||||
|
||||
![]()
it outputs the image but it doesnt change the image unless i visit the script directly.
my current code is: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|