![]() |
Random Banner/Reply BG
I am customizing Mist's Random Banner hack for use in Firefly's Fast Reply. I'm trying to get the textarea background to come up as random BG's, but it doesnt seem to be working. This is what I have in showthread.php:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
And btw, I am not and will not take credit for this if/when I get it to work. Mist can release it as his own if he wishes. |
BTW, In showthread.php, I've placed the code underneath this:
PHP Code:
|
dont you need ".jpg" on the end? also you could do it like this
PHP Code:
|
Well, from my understand, the file is defined here:
PHP Code:
Also, PHP Code:
PHP Code:
So I've tried a few different things, still to no avail. But I WILL have this working before I put my board up :D |
i know i have to set the max number, but i dont have to type each file in, that part doesn't matter, if you want to do it your way do this
PHP Code:
|
Okay, I see what your saying now. I misunderstood you at first. Let me go give this a try, and I'll come back with the results.
|
Okay, well I've tried, still nothing. I'm not getting any errors, but the BG just isnt showing up. Help?
|
are you sure the html for the bg is correct?
try this for the code in showthread.php above this PHP Code:
PHP Code:
|
Above? Hmmm, I assumed below.:D Okay, I'll go give it a shot.
|
Quote:
the way you make then is good, but displaying it isn't it. your doing this: qrback$num this will generate: qrback1 or qrback2 and increase the numbers to the max you have set. your just telling it to show $num with qrback before it. not showing anything from the array to do the array correclty: $array_name[$value]. so for you it would be: $qrback[$num]. that would show them hope this helps |
All times are GMT. The time now is 03:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|