Version: , by epic
Developer Last Online: Aug 2004
Version: 2.2.x
Rating:
Released: 11-20-2001
Last Update: Never
Installs: 5
No support by the author.
newsfaderHACK--ZTSKY,2001.04.23
This zip file has three files:newsfader.php??fader.js??newshackforvb2
******abolve is originally author's info ******
******rehacked to 220??221 by arrow??2001,11,18******
================================================== ===
My zip file has three files:newsfader.php??fader.js??newshackforvb220_22 1en.txt??this file??
First excuse my worse english,let's start to hack
$permissions=getpermissions();
if (!$permissions['canview']) {
show_nopermission();
}
Below it add code??
// newsfade hack start
$newsfadebits = "";
$newsfades=$DB_site->query("SELECT title,pagetext FROM announcement WHERE enddate>='$datenow' AND forumid=0 ORDER BY startdate DESC");
while ($newsfade=$DB_site->fetch_array($newsfades)) {
$newsfadebits.="\"".addslashes($newsfade[pagetext])."\",\"$newsfade[title]\",\n";
}
$newsfadebits = substr($newsfadebits,0,-2);
// newsfade hack end
3??Modify template??forumhome
Find??
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
4??upload newsfader.php to your forum's admin directory;
upload fader.js to your forum's root directory;
upload fade.gif to your forum's root directory,it's ok now!
Can u enjoy it?
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Psychdrone hmmmmm thanks for your help, but it only says welcome to or newest member, by the way i am using 2.2.1 so maybe its a different code?
THANKSA!!
Read the first page of this thread. I explain how to fix that there. You have to move the hack further down in index.php so the $newusername value is determined before this hack. It's always a good idea to read the whole thread before installing a hack. I even read the 15 page ones.
Originally posted by FWC Read the first page of this thread. I explain how to fix that there. You have to move the hack further down in index.php so the $newusername value is determined before this hack. It's always a good idea to read the whole thread before installing a hack. I even read the 15 page ones.
TRUE TRUE
And that vBStats thread was insane! but worth every bit!
Originally posted by Psychdrone hmmmmm thanks for your help, but it only says welcome to or newest member, by the way i am using 2.2.1 so maybe its a different code?
THANKSA!!
I'm having the same problem, I put the code where you said but it doesn't cycle for some reason?
again I misspoke. It cycles to my test message but because I hyperlinked it, it's the same color as the bacground
How do I change the fader background color? and font color on fader itself?
Also, it cylces to my test message and stops. shouldn't it keep going in a circle back to newest member?
The fader background color and font color are at the top of the fader.js file. You can also change the color of the cell around the fader in the forumhome template addition. I am not sure why you wouldn't continuously cycle unless you changed the number of cycles in the fader.js file. I think it defaults to 100.