The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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 1??Open file: admin/index.php Find?? makenavoption("Add","announcement.php?action=add", "|"); makenavoption("Modify","announcement.php?action=mo dify"); makenavselect("Announcements"); // *** Below it add code?? makenavoption("Add","newsfade.php?action=add","|") ; makenavoption("Modify","newsfade.php?action=modify "); makenavselect("News"); // *** 2??Open file: index.php Find?? $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 Below it add code?? <SCRIPT LANGUAGE='JavaScript1.2' TYPE='text/javascript'> prefix=""; arNews = [ $newsfadebits ] </SCRIPT> <SCRIPT LANGUAGE='JavaScript1.2' SRC='fader.js' TYPE='text/javascript'></script> </head> <body> ??note: add before $header?? Conitue find?? $unregwelcomemessage </table> <!-- /text --> <br> <!-- main --> Below it add code?? <table bgcolor="#0A293E" cellpadding="4" cellspacing="1" width="100%" border="0"> <TR bgcolor="#1D6AA0" id=cat><TD colspan=6> <normalfont color="#000000">Forum news</normalfont></td> </tr> <tr><td colspan=6 bgcolor="#f7f7f7" height=30 valign="top" align="center"> <div id="elFader" style="position:relative;visibility:hidden;width:5 00"><div align="center">Forum news</div></div> </td></tr> <table bgcolor="#0A293E" cellpadding="4" cellspacing="1" width="100%" border="0"> <tr align="center"> 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
|
Comments |
#42
|
||||
|
||||
I cannot get this hack to work for the life of me!
I have followed all instructions in the txt file and in all posts and still nothing. Can someone please tell me were Im going wrong: Running version 2.2.1 Installed the main index txt after this: // get newest member $getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE userid=$numbersmembers[max]"); $newusername=$getnewestusers['username']; $newuserid=$getnewestusers['userid']; And put this txt: $newsfadebits = "\"Welcome to our newest member <b>$newusername</b>\",\"\",\n"; is this correct? Can someone please write a better understanding install txt instructions for 2.2.1 please. I have the news box on the main forum page but I cannot get anything to show or scroll across it. Thanks. |
#43
|
||||
|
||||
If you have all the hack PHP code installed where you say it's installed, it should work. Make sure the new user line is first. Then make sure all the javascript code is installed correctly. Also, it does not work with Nutscrape 6.2. If you are using that, try IE.
|
#44
|
||||
|
||||
can someone convert the text plz, everytime I install this theres always a loose thing I find floating around, it would be greatly appreciated. thanx
|
#45
|
|||
|
|||
ahhhh g*d d****it this thing wont work for nothing
http://www.darkoriface.com/forums/index.php?styleid=7 tell me how stupid i am ... plz |
#46
|
|||
|
|||
????????????????????????????
|
#47
|
||||
|
||||
Did you add the required javascript to your forumhome template?
Did you add the right code to index.php. And read the whole thread. It has to be in the right place, not where the instructions say. |
#48
|
|||
|
|||
Quote:
er i did the instructions ok ill check it out |
#49
|
||||
|
||||
Quote:
|
#50
|
|||
|
|||
ok i got it working
thanx everybody |
#51
|
||||
|
||||
can i use this hack for 3.5.4 i really need it i try to fint the codes that u asked for in index php but i was unable to fint them so im beggin i really need this hack if u can reach me from novalon@hotmail.com ill e waiting thanx...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|