The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#32
|
||||
|
||||
![]()
Can I use the vbulletin variables like {tableheadcolor} in the .js file?
THANK YOU ![]() ![]() ![]() ![]() ![]() ![]() |
#33
|
||||
|
||||
![]()
No you can't I find out
![]() All is working! Thanks FWC!! and Arrow for this hack!! |
#34
|
|||
|
|||
![]()
Thank You, Thank You, Thank You !!
It's working great ! |
#35
|
||||
|
||||
![]()
One question, i added:
PHP Code:
PHP Code:
but it dont scrolls to the next news item, it only says welcome to our newest member ![]() Does anyone know how 2 fix this? |
#36
|
||||
|
||||
![]()
I had the same problem, the solution is on page 1 of this hack, you need to move ALL the code below a certain point.
|
#37
|
||||
|
||||
![]()
Anyone know how I can have birthdays auto-show in there for 1 day?
|
#38
|
|||
|
|||
![]()
that would be sweet, the birth day thingy!
|
#39
|
||||
|
||||
![]() Quote:
PHP Code:
PHP Code:
![]() |
#40
|
||||
|
||||
![]() Quote:
PHP Code:
|
#41
|
||||
|
||||
![]()
Or maybe this hack helps:
https://vborg.vbsupport.ru/showthrea...threadid=20344 |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|