PDA

View Full Version : [ADDON] News fader addon custom for each forum!


01-26-2001, 11:41 AM
This is easy go to modify forum, edit that forum then where is has 'Header template' add name of your choice is 'forum1header'
then goto add template add the name that you cose..
ie 'forum1header'
the code for this header needs to look like this..

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>$bbtitle - powered by vBulletin</title>
$cssinclude
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
FDRboxWid = 500;
FDRboxHgt = 25;
FDRborWid = 1;
FDRborCol = "#336699";
FDRborSty = "solid";
FDRbackCol = "#336699";
FDRboxPad = 4;
FDRtxtAln = "center";
FDRlinHgt = "12pt";
FDRfntFam = "arial, helvetica";
FDRfntCol = "#ffffff";
FDRfntSiz = "12pt";
FDRfntWgh = "normal";
FDRfntSty = "normal";
FDRlnkCol = "blue";
FDRlnkDec = "";
FDRhovCol = "red";


FDRgifSrc = "";
FDRgifInt = 60;

FDRblendInt = 4;
FDRblendDur = 1;
FDRmaxLoops = 1;

FDRendWithFirst = false;
FDRreplayOnClick = false;

FDRjustFlip = false;
FDRhdlineCount = 0;
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
prefix="http://yourHomepage.de";

arNews = [
"trinity was here",
"The time now is $timenow.",""
]

//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--

document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='fader.js' TYPE='text/javascript'><\/SCRIPT>");
//-->
</SCRIPT>
</head>
<body>
$header

<table align="center" bgcolor="#808080" cellpadding=4 cellspacing=1 border=0 width="100%">
<tr bgcolor="#336699" valign="bottom" align="center">
<td width=100% height=25 colspan=6>
<div id="elFader" STYLE="position:relative;visibility:hidden;width:500">
</div>
</td></tr>
</table>


Hope you like cya

Also Thanks tO PeF for tha origanal Hack;) i forgot to mention you when i 1st posted, dOh

[Edited by trinity679 on 01-26-2001 at 09:55 AM]

01-26-2001, 11:48 AM
Originally posted by trinity679
you might notice that i use the fader.gif which the hack doesn't


Because of Netscape problems with JavaScripting I was forced to remove fader.gif. That's the reason why it's not included. :)

Nice add-on, tho.

01-30-2001, 08:47 PM
i get a linkStr.length is null or not a object
i see it but it doesnt cycle
any ideas whats wrong?

01-31-2001, 08:38 AM
Yeah i had this same problem then i clocked it i found in the add new part (template or script) the last line doesn't have a comma(,) at the end of it,
here's sample code>>>>

prefix="http://*********/vbb/";

arNews = [
"Edit your profile here","member.php3?action=editprofile",
"Members list","memberlist.php3",
"Check your mailbox or send private message","private.php3",
"Who's online","online.php3?action=onlineusers",
"View latest post's","search.php3?action=getnew",
"All lines have comman @ end but the last","",
"This line doesn't have a comman @ the end",""
]


Hope it help's

cya

01-31-2001, 11:29 AM
works great thanx:)