Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
I am sorry to post this here but I was hoping to get this issue more exposure. TheX was gracious enough to help and offer suggestions in the Newsfader thread in 6.3 Beta Mods, but the solutions didn't work for us. And this is beyond my limited capabilities.

We have a 6.3.1.1 board, hacked in Newsfader and it works great. However I want to display it above the forum summary table - not within the first table row (just like Netwerkin). I believe the change should be made in public_forum_sumamry.pl but need a little more help. We do not use JCTemplates.

Thanks for any help.

Sponsored Links
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
OK, try this smile

In public_forum_summary.pl, replace everything between the lines "# Run The News Fader" and "# End News Fader Stuff" with this:

Code
		# Run The News Fader
&ReadNews;
$Top .= qq~<a name="NEWSWIRE"><TR><TD colspan="$ColSpan" align="left" bgcolor="$vars_style{TableStripColor}">
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
NS4 = (document.layers);
IE4 = (document.all);
FDRboxWid = $NewsWidth;
FDRboxHgt = 43;
FDRborWid = 0;
FDRborCol = "$vars_style{AltColumnColor1}";
FDRborSty = "solid";
FDRbackCol = "$vars_style{AltColumnColor1}";
FDRboxPad = 0;

FDRtxtAln = "$vars_news_fader{nfalign}";
FDRlinHgt = "10pt";
FDRfntFam = "$vars_style{FontFace}";
FDRfntCol = "$vars_style{TextColor}";
FDRfntSiz = "9pt";
FDRfntWgh = "bold";
FDRfntSty = "normal";
FDRlnkCol = "$vars_style{LinkColor}";
FDRlnkDec = "underline";
FDRhovCol = "$vars_style{VisitedLinkColor}";

FDRgifSrc = "$vars_config{NonCGIURL}/fade.gif";
FDRgifInt = 60;

FDRblendInt = "$vars_news_fader{nfspan}";
FDRblendDur = 1;
FDRmaxLoops = 100;

FDRendWithFirst = true;
FDRreplayOnClick = true;

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

<SCRIPT LANGUAGE='JavaScript1.2' TYPE='text/javascript'>
prefix="";
arNews = [
$NewsGreet
$NewsStats
$the_page
]
</SCRIPT>

<SCRIPT LANGUAGE='JavaScript1.2' SRC='$vars_config{NonCGIURL}/fader.js' TYPE='text/javascript'>
</SCRIPT>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{TableStripTextColor}"><B>$vars_news_fader{nftitle}</B></FONT>
</td></tr>
<tr>
$NewsTable
<td colspan="$NewsCols" bgcolor="$vars_style{AltColumnColor1}" align="left">
<table border="0" cellpadding="0" cellspacing="0" width="$vars_style{TableWidth}">
<tr>
<td width="100%" align="center" height="49"><div id="elFader" style="position:relative;visibility:hidden;width:$NewsWidth"><div align="center"><font face="$vars_style{FontFace}" size="$vars_style{TextSize}">News Fader</font></div></div>
</td>
</tr>
</table>
</td>
</tr>~;
} else {
$Top .= "";
}

# End News Fader Stuff

Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
Thank you very much for the help CTM, but this caused a complete meltdown of the public_forum_summary.pl. I'll fumble around some more, but don't have high hopes.



$NewsTable

night have something to do with it...

- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey joe, you got a link to what happens? I'll check it out for you...

I have a feeling this part:

Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
Allen, I'll put the script back in and run it then post the result. It may be a little while, our board is kind of busy today.

Thank you very much for your offer to help. I wish I had more aptitude for this stuff. frown tipsy

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)