The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I apologize for asking but is there a News Fader hack for vB 1.1.6? There was one in this thread
http://www.vbulletin.com/forum/showt...threadid=16131 however, newshackforvb2.txt (the instructions???) are unreadable. I also read PeF's newsfader hack which was very cool however, when I go to insert the lines of code some of them are not there. Is this due to the version or is this the fact that I use *.php3 files? Thanks for any help! Eric Show Your Support
|
Comments |
#2
|
|||
|
|||
The fader i posted will work for you just open the file with notepad
|
#3
|
|||
|
|||
thanks for the reply funky, I tried a couple of things actually and this is what I see.
************************************************** ** ????????HACK??????ͩ????http://vbb.yesky.net??????????2001.04.23 ?????????????????ļ???NEWSFADER.PHP??FADER.js??new shackforvb2?????DZ??ļ??? ????ADMIN/INDEX.PHP ???ң? <tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr bgcolor="#3F3849"><td><font color="#BCB6CD"> <b>????????</b> </font></td></tr></table> <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add">????</a> | <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify">?༭</a> </td></tr> ???????ӣ? <tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr bgcolor="#3F3849"><td><font color="#BCB6CD"> <b>????</b> </font></td></tr></table> <a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=add"> ???? </a> | <a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> ?? </a> </td></tr> ??????index.php ???ң? $permissions=getpermissions(); if (!$permissions['canview']) { show_nopermission(); } ?????????ϣ? // Hack newsfade $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); // End Hack newsfad ??ģ?壺forumhome ?ҵ??? <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 ???????ӣ? <SCRIPT LANGUAGE='JavaScript1.2' TYPE='text/javascript'> prefix=""; arNews = [ $newsfadebits ] </SCRIPT> <SCRIPT LANGUAGE='JavaScript1.2' SRC='fader.js' TYPE='text/javascript'></script> </head> <body> ????Щ????$header֮ǰ?? ???ң? $unregwelcomemessage </table> <!-- /text --> <br> <!-- main --> ?????????ϣ? <table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="1" width="100%" border="0"> <TR bgcolor="{tableheadbgcolor}" id=cat><TD colspan=6> <normalfont color="{categoryfontcolor}">??̳????????</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">??̳????</div></div> </td></tr> <table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="1" width="100%" border="0"> <tr align="center"> ?ϴ?NEWSFADER.PHP????̳ADMINĿ¼ ?ϴ?FADER.JS????̳Ŀ¼???Ϳ????ˡ? ϣ????ϲ??????????????ͩ??????http://vbb.yesky.net ************************************************** * I can make out some of it but, I am not completely comfortable with making any adjustments with out fully understanding what it is exactly I am looking at. If anyone has a "non-corrupted" version of this file if you could e-mail it to me that would awesome!!!!! Thanks Funkie and everyone else in advance! Eric |
#4
|
|||
|
|||
Thats not from the attachment I put up m8 d/l the one from my post
If still no joy I'll email it to you |
#5
|
|||
|
|||
Funkie thanks for all the help!!!!
If you could e-mail it to me that would be awesome. THANKS! Eric |
#6
|
|||
|
|||
as the email button dosn't allow attachments
here it is anyway |
#7
|
|||
|
|||
Funkie,
Hey good to go!!!! Thanks for all the help Funkie. I really appriciate it! Eric |
#8
|
|||
|
|||
This hack is just I used.
But i think I would had post it in english. This newsfader hack is can use in every vb Version. I like it! I can translate into english for you: newshackforvb2: 1)open ADMIN/INDEX.PHP find?? <tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr bgcolor="#3F3849"><td><font color="#BCB6CD"> <b>Announcement</b> </font></td></tr></table> <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add">add</a> | <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify">edit</a> </td></tr> just below it,add this?? <tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr bgcolor="#3F3849"><td><font color="#BCB6CD"> <b>Forum news</b> </font></td></tr></table> <a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=add"> add</a> | <a href="newsfade.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> edit</a> </td></tr> 2)open??index.php find?? $permissions=getpermissions(); if (!$permissions['canview']) { show_nopermission(); } just below it add this?? // Hack newsfade $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); // End Hack newsfad 3)edit 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 Just below it,add?? <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: this should be added before "$header"?? then find?? $unregwelcomemessage </table> <!-- /text --> <br> <!-- main --> just below it,add this code?? <table bgcolor="#FFFFFF" cellpadding="4" cellspacing="1" width="100%" border="0"> <TR bgcolor="#6C6081" id=cat><TD colspan=6> <normalfont color="#F5D300">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">Forumnews</div></div> </td></tr> <table bgcolor="#FFFFFF" cellpadding="4" cellspacing="1" width="100%" border="0"> <tr align="center"> upload NEWSFADER.PHP to you vb/ADMIN upload FADER.JS to your vb/ this all!! |
#9
|
|||
|
|||
this zipfile is in enhlish!
easy and clean for all vBulletin Version 1.*/2.* |
#10
|
|||
|
|||
ehm..
The fade does not start! I use IE6. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|