UBB.Dev
Posted By: Slurpee [6.0x] News Fader V2.1 Hack! - 03/22/2001 9:56 PM
Ok 2.1 is out, I recommend that people upgrade to this version from 2.0. It does fix a minor, but annoying bug.

* Fixed bug in the display of the fader. Javascript code was being duplicated throughout the Main Forums page causing long page loads for some.

There are update instructions for those that are updating from 2.0. For those that have versions older than 2.0, you will just want to re-install the whole hack from the new readme file, there have been many changes since those older versions.

Download:
News Fader V2.1

Old Versions:
Download: News Fader V2.0
Download: News Fader V1.4
Download: News Fader V1.3
Download: News Fader V1.2
Download: News Fader V1.1

[color:#000000" SIZE="1][ July 19, 2001 01:45 PM: Message edited by: Slurpee ][/color]
Posted By: Greg Hard Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:16 PM
Problem. http://www.h-realms.com/cgi-bin/ultimatebb.cgi
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:23 PM
Hmmm...looks like you didn't turn it on MM. Go into the News Fader Settings and turn the News Fader on by clicking the radio button. I turn it off by default so you can get it all set up first.
Posted By: Greg Hard Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:26 PM
Its on now. Now look!
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:35 PM
slurpee still didnt work!
Posted By: Greg Hard Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:36 PM
no go.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:43 PM
Hey guys if you ICQ, drop me an email and I'll give you my username to see if we can get this real quick. It's just a tables issue.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:47 PM
i found the problem
you hafta add..
$newslinefader
into the html part!
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:52 PM
even after doing so it give me error's!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 10:58 PM
Jigga - I found the error. The chunk of code above, change all occurrences there of $Colspan to the number "6". That will fix the problem. If you want the headlines centered, look for all the code in hack that says "left" and just make it "center". I like my news fader aligned left so that's why it is that way.

Directions fixed.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 11:07 PM
n/m i got it to work now!~
Posted By: Orb Re: [6.0x] News Fader V2.1 Hack! - 03/22/2001 11:47 PM
very nice work there
but how do i get the
forum/topics/post/last post/moderators bar
underneath the fader instead of on top
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:17 AM
Minor typo in the colspan portion of the instructions, Slurp. Otherwise, this now works perfectly!<br><br>Replace:<br><br>if ($vars_news_fader{nfon} eq "ON") {<br>$newslinefader= qq~<TR bgcolor="$vars_style{CategoryStripColor}"><TD colspan="6"><br><FONT SIZE="$vars_style{TextSize}" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}"><B>$vars_news_fader{nftitle}</B></FONT><br></td></tr><br><tr><br><td colspan="$6" bgcolor=$vars_style{AltColumnColor1} align=center><br><table border=0 cellpadding=0 cellspacing=0 align="center" width="$vars_style{TableWidth}"><br><tr> <br><td colspan="$6" bgcolor=$vars_style{AltColumnColor1} align=center valign=top width=100% height=43><div id="elFader" style="position:relative;visibility:hidden;width:550"><div align="center"><font face="$vars_style{FontFace}" size="$vars_style{TextSize}">News Fader for DHTML Browser.</font></div></div><br></td><br><br>With:<br><br>if ($vars_news_fader{nfon} eq "ON") {<br>$newslinefader= qq~<TR bgcolor="$vars_style{CategoryStripColor}"><TD colspan="6"><br><FONT SIZE="$vars_style{TextSize}" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}"><B>$vars_news_fader{nftitle}</B></FONT><br></td></tr><br><tr><br><td colspan="6" bgcolor=$vars_style{AltColumnColor1} align=center><br><table border=0 cellpadding=0 cellspacing=0 align="center" width="$vars_style{TableWidth}"><br><tr> <br><td colspan="6" bgcolor=$vars_style{AltColumnColor1} align=center valign=top width=100% height=43><div id="elFader" style="position:relative;visibility:hidden;width:550"><div align="center"><font face="$vars_style{FontFace}" size="$vars_style{TextSize}">News Fader for DHTML Browser.</font></div></div><br></td>
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:29 AM
Damn typos!! Ok fixed and updated zip file. Thanks Alien.
Posted By: sirox Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:41 AM
Grr, now I get to throw the one I worked on out tipsy
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:41 AM
No, thank YOU! laugh

Least I could do, Slurp. I'm loving all the new stuff, and trying to post the bug reports as quickly as I can, so everyone can get all this new stuff up as painlessly as possible!

Now, I'm looking forward to the "move hack". wink

...and will it be compatible with the newbie hack?
Posted By: Magnum Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 1:03 AM
Orb, I think moving the $newslinefader from here

} # end mods column

$Top .= "$newslinefader";

to here will do the job

# this is the table displayed on regular forum pages
my $Top = qq~
$newslinefader

Magnum wink

[ March 22, 2001: Message edited by: Magnum ]
Posted By: Orb Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 1:22 AM
Quote
quote:

thanks very much did the job nicely
this is a great hack
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 1:39 AM
The move hack is almost done alien, and so far it seems to be compatible with the newbie hack as I have it running on my board.
Posted By: Fuzion Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 1:52 AM
Very Nice work Slurpee. I can not wait till the move hack. smile
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:05 AM
Okay, I'll be ready when you are!
Posted By: vietnight Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:14 AM
ok i have install the hack, but when to cp and click on Primary Settings -> News Fader Settings, i get an error saying "You do not have permission to access this area.
ยป Use your browser's back button to return."

i can get in to other setting fine, but that one, any idea
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:17 AM
Looks like you forgot to make the documented changes in the cp.cgi file. Did you do that?
Posted By: vietnight Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:26 AM
yes i did that..
Posted By: vietnight Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:29 AM
i get it work now
i was missing

this section
if (($ubb eq "set_vars_news_fader") && ($status eq "Administrator")) {
require "$vars_config{CGIPath}/cp_news_fader.cgi";
&SetNewsFaderSettings; exit;
} #end set_vars_news_fader
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 2:50 AM
Hey Slurpee,

Here's some bugfixes, feedback, feature suggestions, and an feature addition all rolled into one post:

BUGFIX
-------
Where: Install Doc
Line: cp_vars_news_fader.cgi -> To your cgi-bin folder (CHMOD this file 755)
Change to: cp_news_fader.cgi -> To your cgi-bin folder (CHMOD this file 755)

SUGGESTION
-------------
Where: Install Doc
Line: Control Panel Lines
Suggestion: change the equality checks to ' instead of " because this is what 6.01 is using now
Example Line: if (($ubb eq "vars_news_fader") && ($status eq "Administrator")) {
Example Change to: if (($ubb eq 'vars_news_fader') && ($status eq 'Administrator')) {

SUGGESTION
------------
Where: Install Doc
Line:

if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~
$vars_news_fader{nftitle}








~;
} else {
$newslinefader = "";
}

Change to:

if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~
$vars_news_fader{nftitle}









~;
} else {
$newslinefader = "";
}

Reason: Chops off a few bytes wink

BUGFIX
-------
Where: Install Docs
Lines:

Look for:
~;
} # end mods column

$Top .= "$newslinefader";

Change to:

Look for:
~;
} # end mods column

$Top .= '';

NEW FEATURE
--------------
Where: cp_news_fader.cgi
BEFORE: &cp_confirm("News Headlines and Settings Updated");
ADD: &ClearSummaryCache;
What it does: Clears the summary cache whenever you updated News Settings so you won't have to go into Maintenance and do it manually

FEATURE REQUEST
-------------------
* ability to choose an icon to be associated with News Fader (like a newspaper or something)
* ability how high the display headlines ar (i.e., 10 from top, 20 from top in relation to the FDRborWid argument
* ability to choose left, center, or right alignment
* Version and Coypright Info for the Hack @ the bottom of the template smile

Great job Slurp! Keep up the great work

qasic
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 3:25 AM
I'm having a problem. The News Fader does not show up http://forums.ultanime.net . I'm allmost positive I added all the code right and I have the thing turned on, it just doesn't show. Any ideas?

*EDIT*
BTW my current version is UBB 6.01 and I did clear the catche to =/

[ March 22, 2001: Message edited by: M_E_W ]
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 3:42 AM
[B]Why do i get the following error on ultimatebb.cgi page? I can use my Control panel ok but not my board.B]

Ive installed it to the letter, about 20 times, can someone help me please, ive used the updated version, and im using ubb6gold

Content-type: text/html
Software error:
syntax error at /web/sites/63/bbs/www.bbs.f2s.com/ubb/Templates/public_forum_summary.pl line 182, near "with:" Unmatched right bracket at /web/sites/63/bbs/www.bbs.f2s.com/ubb/Templates/public_forum_summary.pl line 184, at end of line frown
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 3:43 AM
public_forum_summary.pl probably was not uploaded/updated properly.

q
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 3:47 AM
It was i have looked with i microscope over and over again, on all files. trust me!!
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 3:54 AM
There's only one way you can get that error - hacking the file incorrectly. Re-hack it again.

And that post was referring to M_E_W too.

q
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:07 AM
Quote
quote:
Allright, I'm going to re-try it now. I'll tell you my results, just a couple min....
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:07 AM
Double typo Look for:

~;
} # end mods column

$Top .= "$newslinefader";

Replace that code with:
~;
} # end mods column

$Top .= "$newslinefader";

(should be) Look for:

~;
} # end mods column

Add after:
$Top .= "$newslinefader";

Or replace with:
~;
} # end mods column

$Top .= "$newslinefader";
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:10 AM
Ok il try it one last time, brb.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:17 AM
ive integrated whos online into this!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:19 AM
Well I tried to do the hack again like you said and it still doesn't work >_<. I don't know what's wrong I followed everything exactly again.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:34 AM
Ok im the same as M_E_W ive tried it again, no sofware errors this time, but it wont show up on my board, yeh its turned on.

Whats happening guys? Your doing a grand job, it would be cool if i can get it to work!!!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:39 AM
Quote
quote:
Yeah I don't get any errors, but it just doesn't want to show up. Did you people that got it working change some of the code from the readme file? Because I just can't figure out why it won't work for me and decimator and it works for all of you people.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:47 AM
They must of done M_E_W its impossibe for 2 people to have exactly the same problems, no doubt lots of others to, its just that most people wont bother posting they will just wait for an update or bug fix, ive installed lots of hacks and they all work fine, but this one does not, it has lots of bugs that have been pointed out above, i found one myself, and thats without looking. lol

But guys im not picking, you are doing a great job, and we do apreciate it honest!!!
But when it wont work for a few of us it just so unfair..

frown
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:52 AM
Quote
quote:
I think someone will be able to help us soon, we just have to wait I guess.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:55 AM
Will adjust and make those fixes, and look into the feature requests.

Did you guys remember to turn the fader on in the News Fader Settings? I know it's obvious, but you may have overlooked it.
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:58 AM
Yeah Slurpee I turned it on and it still doesn't come up frown. Any other ideas on what I may have did wrong?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:05 AM
BTW, there are no code bugs, the fixes above are typo mistakes I made with code to look for, an extra " or an added word, but the added code is correct.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:06 AM
I may have the problem!!

When looking for the bad typo
~;
} # end mods column

$Top .= "$newslinefader";

Replace that code with:
~;
} # end mods column

$Top .= "$newslinefader";

(Which sould be)

look for:
~;
} # end mods column

and add after:
$Top .= "$newslinefader";

If you were to search through the script for ~;
} # end mods column you will find there is two of them, one a bit further down, now are adding $Top .= "$newslinefader"; to the wrong line? If so then this could be the bug, il try it and il let you know...

BRB...
mad
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:11 AM
Booya...I fixed it laugh

*EDIT*
I was going to the first instance of
} # end mods column

when you have to go to the second one. Maybe you should write that in the page so people don't get mixed up ^^;;. Well anyways thanx for your help everyone, eventhough I made a boo-boo smile. I should've searched more carefully.

[ March 22, 2001: Message edited by: M_E_W ]
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:14 AM
decimator - yes it is in two different places, BUT the next line is the key. You want the one that starts with $Top not $Row, as is properly documented.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:18 AM
Ok guys i have the fixed version!
Fixed the bad typo!

-------------------------------------------

| News Fader Hack (For UBB 6.0, Gold [Earthquake])
| Version: 1.0
| By: Slurpee (Brett Norton)
| Web Site: http://www.vhlinks.com
-------------------------------------------------------------------------------------

This hack will fade in news headlines that you dictate via the control panel in a table row above your forums.
If you are curious how it looks, visit my forums at http://www.vhforums.com for an example.

This is a pretty extensive hack, so make sure and back up all your files first BEFORE making any changes.

First thing is to upload the contents of this zip file to the following folders:
fade.gif -> To your non-cgi folder
fader.js -> To your non-cgi folder
newsfader.txt -> To your non-cgi folder
cp_vars_news_fader_.pl -> To your Templates directory
cp_news_fader.cgi -> To your cgi-bin folder (CHMOD this file 755)
vars_news_fader.cgi -> To your variables folder (most likely your cgi-bin folder)- CHMOD this file 777

Ok next the files that need to be edited:

** EDIT CP.CGI **

Look for the following code:
if (($ubb eq "set_cats") && ($status eq "Administrator")) {
require "$vars_config{CGIPath}/cp_forums.cgi";
&set_cats; exit;
} #end set_cats

Underneath this add:
if (($ubb eq "vars_news_fader") && ($status eq "Administrator")) {
require "$vars_config{CGIPath}/cp_news_fader.cgi";
&NewsFaderSettings; exit;
} #end vars_news_fader

if (($ubb eq "set_vars_news_fader") && ($status eq "Administrator")) {
require "$vars_config{CGIPath}/cp_news_fader.cgi";
&SetNewsFaderSettings; exit;
} #end set_vars_news_fader

** DONE - SAVE AND CLOSE CP.CGI **

** EDIT UBB_FORUM_SUMMARY.CGI **

Look for the following code:
} #each cat
$ThisHTML .= &Cat_Page_Bottom;
} #end cat only view

Underneath that code add the following:
sub ReadNews {
$the_page = "";
$newspage = "$vars_config{NonCGIPath}/newsfader.txt";
open(NEWS,"<$newspage");
@lines = ;
close(NEWS);
$the_page = join('', @lines);
}

** DONE - SAVE AND CLOSE UBB_FORUM_SUMMARY.CGI **

** EDIT CP_COMMON.PL TEMPLATE **

Look for the following code:
document.writeln("");

Underneath, add the following:
document.writeln("");

** DONE - SAVE AND CLOSE CP_COMMON.PL TEMPLATE **

** EDIT PUBLIC_FORUM_SUMMARY.PL TEMPATE **

Look for:
# FORUM SUMMARY PAGE - HTML FRAGMENTS

Underneath add:
require "$vars_config{VariablesPath}/vars_news_fader.cgi";

Look for:
return($PageTop);

} ## END PAGE TOP

Underneath that add this:
# Start News Fader Stuff
if ($vars_news_fader{nfgreet} ne "") {
$NewsGreet = qq~"$vars_news_fader{nfgreet}","",~;
} else {
$NewsGreet = "";
}

if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~
$vars_news_fader{nftitle}








~;
} else {
$newslinefader = "";
}

# Run The News Fader
&ReadNews;

# End News Fader Stuff

Look for:
sub Normal_Table_Row {
my $Row = qq~





Underneath add the following:






Look for:
~;
} # end mods column

$Top .= '';

return ($Top);
} #end normal_table_top


sub Cat_Table_Top {

Replace with:

~;
} # end mods column
$Top .= "$newslinefader";

$Top .= '';

return ($Top);
} #end normal_table_top


sub Cat_Table_Top

{** DONE - SAVE AND CLOSE PUBLIC_FORUM_SUMMARY.PL TEMPLATE **

Ok now you're done. Re-upload these four files. Next go into the Control Panel, Primary Settings -> News Fader Settings,
configure all of your settings and news headlines. Clear your cache and the next time you view your forum summary page,
the News Fader should be there.

[Fixed typo error in cp_news_fader.cgi]
[Fixed the edits in PUBLIC_FORUM_SUMMARY.PL]

Enjoy!

[ March 22, 2001: Message edited by: decimator ]
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:21 AM
Guys I have fixed all my typos and added some new code to cp_news_fader.cgi per qasic's suggestions. Now the code you have now will work fine, but if you want the cache to clear out after every News Fader update you make and have the code version number on the script, download the new 1.2 version here. I will also alter my first post so that people can download 1.2 there as well. You guys gotta remember this is BETA, that's why it's in this forum. I appreciate people catching some of the silly typos.

News Fader 1.2 - http://www.vhlinks.com/pages/ubbhacks/News_Fader_1.2.zip

PS - Qasic, I will look into adding some of your suggestions for a future release, shouldn't be that hard.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 5:28 AM
You got too many $Top .= ''; routines in there, but it's right other than that. Guys just use my 1.2 code, all the typos are fixed.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:00 AM
Good work slurpee, and i apreciate your fast response in this hack.

Keep up the good work work mate!!!!!
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:07 AM
Thanks Slurp. These Control Panel Modules that we're coming out with totally rock!

q
Posted By: Webdaddie Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:42 AM
Did you update the code in public_fourm_summary.pl

I'm still getting an error in there:

cgi-bin/ubb/Templates/public_forum_summary.pl line 89, near "for:"
Posted By: vietnight Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:44 AM
i have three error when i reinstall the 1.2

style="position:relative;visibility:hidden;width:550">





to this

style="position:relative;visibility:hidden;width:550">



~;
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:54 AM
Hmm I just checked my download for 1.2 and my file doesn't look like that vietnight.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:57 AM
Webdaddie, my code shouldn't have anything to do with line 89 of that file. confused
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 7:04 AM
yea that image choice is one im lookin forward to.......i could add it in if you like?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 7:07 AM
Jigga - Go ahead, just send the code and I'll add it and give you credit.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 7:09 AM
sweet
first thing tomarrow morning ill hook that up!
smile
maybe even a upload script to go with it....so you can upload it!
Posted By: shadowstyle Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:20 AM
Great hack slurpee!!!
But when i go to my forum.
Only the title off the fader shows up.
And after a few seconds i get this error message..

Row 253

linkStr.Length is null or not an object.

It's JavaScript error so what did i do wrong??

GrtZ,
Shadow
Posted By: ViRuS2k Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:22 AM
I WAS WONDERING IF ITS POSSIBLE IF I ALREADY HAVE THE NEWS FADER INSTALLED AND I WANTED TO INSTALL IT AGAIN BUT I ONLY WANTED TO USE THIS ONE FOR WHEN I SHURE THE BOARD DOWN AND PEEP WANTED TO NOO WHY IN GOOD STYLE laugh

Help Would Be Apresiated tnx in advance....
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:51 AM
Shadow - Can you give me a URL to your board?
Posted By: shadowstyle Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:54 AM
I'll post the url when i come back from school!!
it's still a test site!!

I also noticed the error only shows up in IE not in Netscape!!

GrtZ
Shadow

I'm OOooooff
Posted By: PsxBasement Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 11:08 AM
well i have the same all installed and dubbelchecked and in the cp turned on but no newsfader, did download the 1.2 version and reinstall it again and still no newsfader only what is working is the cp control , so it's strange..

Grtx.

[Linked Image]
Posted By: PsxBasement Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 11:51 AM
so hehe thnx but i allready fixed it, and it works Super..

Thnx 4 making this great mod


[Linked Image]
Posted By: dyang Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:09 PM
Can someone help i installed the hack i turned it on in cp but i see no news in the main page. What am i doing wrong?
Posted By: MrBill Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:13 PM
Well I always loved this hack. But it causes IE to shut down. If I turn it off no problem. Turn it on and IE 5.5 shuts down. Anyone else with this problem? I see it working on other boards.
Posted By: PsxBasement Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:14 PM
look good what version you are using the 6.0 or the 6.01 i did install the version 4 6.01 op a 6.0 and that did not work 4 me, and ya , just see if you did not forget annything

1e adjust the news settings and then clear cache ( very importend )

Grtx
Wizkid

[Linked Image]
Posted By: dyang Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 12:24 PM
Never mind went through the instructions again and it's fixed. Great hack Slurpee [Linked Image]
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:02 PM
News Fader v1.3
In This Version:

[*]Image addon

[*]Image Ability To Turn On/Off

[*]Align Feature

Download: http://www.411hype.com/ubb/News_Fader_1.3.zip
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 4:24 PM
do some ppl feel this hack the hiegh is too big?
cause i was gonna add that imato 1.3 but i didnt know if it was worth it? confused
Posted By: Stang5_0 Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:20 PM
You guys that said that it was not showing up even though it was turned on, what are some of the things you did to fix it?

Same thing here, not showing up confused
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 6:46 PM
Looks good Jigga, I just made a couple changes to make sure people now this is Version 1.3 on the readme.txt file. So I've uploaded 1.3 to my server too.

News Fader 1.3 - http://www.vhlinks.com/pages/ubbhacks/News_Fader_1.3.zip

Will also edit the title of this thread and throw the link to 1.3 with Jigga's additions in the first thread.

Stang - Doublecheck to make sure the changes you made to public_forum_summary.pl are correct and that the News Fader is turned on.
Posted By: Stang5_0 Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 7:31 PM
Cool, it is showing up now, but of course one hitch.....
All changes happen, except the actual news text itself... I'm sure I can write my own txt file, no problem, but any ideas why the news updates done in the CP don't show up?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 7:42 PM
Are your headlines showing up properly in the control panel?? Have you tried to clear out your cache?
Posted By: Stang5_0 Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:04 PM
Yes and yes.....
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:26 PM
Stang, it looks like it's working to me I was just on your board. Did you get it working?
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:28 PM
At school and on a Mac right now so I can't test but I think that JM's 1.3 hack had extra text along the lines of "DHTML Javascript Fader" or something that could be removed from the install docs to save space?

LMK.

q
Posted By: acidbox Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:41 PM
Slurpee,

Great hack!. Do you plan on including upgrade documents in your hacks? It is hard to find the right code to change because in your install file, you list the default code. Those of us who already have 1.2 have to go back and compare the install from 1.2 and 1.3 to make sure we don't miss anything, or change anything that isn't supposed to be changed. Just a suggesion.... thanks..
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:45 PM
Nah that's always been there, I believe it is there to show something when someone doesn't have javascript enabled, I could be wrong though. Qasic, you are able to see the Fader using a Mac with IE 5.5?? Some people reported problems with that on my site. Can you see mine?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:48 PM
Acid box, yes I will include some an upgrade.txt script to point out the changes from 1.2 to 1.3. If you want to hang back a few, I can redo the zip with upgrade directions.
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:52 PM
Running IE 4.5 on a Mac. I see the text fine but there's no fade ... it just changes. The White Background Graphic (for the layer iirc), is a little bix extended pass the table but that's a minor design issue (i.e, the white overlaps the table on the right so that there's a tiny bit of white that goes past your red border and onto the black background of your forum). This white stuff only extends to the right AND NOT to the bottom.

Hope this helps.

q

qasic
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 8:59 PM
Slurpee in my contol panel. the alignment/image/ect is there in text but, i cant click on them or anything, what could be the prob?

Thnanks man! frown
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:13 PM
Ok 1.3 now contains an upgrade.txt files so that you can quickly get from 1.2 to 1.3 without guessing what to change. NOTE: I will be releasing 1.4 later today, trying to clean up the table codes a bit more with some variables.

Qasic, really it runs over on the right?? Crap I have worked hard to stop that, I HATE that. Will look into that, and thanks. Doesn't show up that way on a PC.

decimator - I'm not quite following. When you go into the News Fader setting, the new settings are there, but you can't click on them?? Well you should only have to toggle the image on/off, the align and image input. What isn't working?
Posted By: Stang5_0 Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:14 PM
Yes thank you!

But I still can't edit it from the CP and make it stick, and for some reason it seems limited on how much stuff I can type when I edit the txt file in notepad. Too much, and nothing shows up at all....
Posted By: MrBill Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:22 PM
Ok, used 1.3 zip and its working fine. Nice job. I love this hack.
Posted By: Slim2g Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:25 PM
Thanx, this is cool but I need help. I can't get it to display my message. I type it in and it keeps repeating the message the other admin put in. But when I open up my control panel, it says it is displaying what I typed. Please help.
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:29 PM
Slurpee none of links are working the text is there, but the links are not active...
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:35 PM
OK guys SEVERAL things:

1. I just noticed that the new align option that Jigga implemented isn't actually called anywhere so that isn't working. Easy fix, I will have that done in seconds.

2. I am fixing the table colspan tags to work a little better.

3. Also fixing another width issue so that the fader doesn't run over the right table border on some browsers.

4. So 1.4 is coming out, so if you have 1.3 you might want to upgrade to 1.4 to be sure everything is working right. I will have it done in about 20 mins.

Qasic - Could you look at my forum again on that Mac and verify that that white isn't running over the border again.

decimator - You mean on the fader, you have put URL's in and they aren't showing up on it?? Make sure that you don't use " inside each headline, but '. Links should look like this, Yahoo.com

Slim - Clear out your cache and see if your headlines are being written to the newsfader.txt file in your non-cgi folder.

[ March 23, 2001: Message edited by: Slurpee ]
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:43 PM
No what i mean slurpee is that Quote: number one in your topic above, same aplies to the image settings, nothing happens when to click on them, they are not active links, meaning they are just usless text.. With no use...

Thanks frown
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:48 PM
Quote
quote:
JM Addons: image on/off, image url, align left/right/center
(none of these work)
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 9:57 PM
OH OH OH!! The align part is not working because Jigga forgot to include the variable in the proper place in the public_forum_summary.pl file. I have already fixed that for 1.4, so hang on there. smile Now the image thing absolutely works in 1.3, once you turn it on, put the URL to your image in the the space. You also have to make some changes to the public_forum_summary.pl file. Download the my 1.3 zip again and follow the upgrade instructions completely, or wait about 30 minutes for 1.4 (which is what I would do if I were you).

[ March 23, 2001: Message edited by: Slurpee ]
Posted By: no1knows Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 10:08 PM
hey, good work on the enws fader, i was wodering whther it could be placed in my header code instead of on the ultimatebb.cgi page, i realise this would take quite a lot of editing, but c wot u can do wink
thx wink
no1knows
Posted By: no1knows Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 10:12 PM
hey, good work on the news fader, i was wodering whether it could be placed in my header code so it could be displayed accross the whole site instead of on the ultimatebb.cgi page, i realise this would take quite a lot of editing, but c wot u can do wink
thx
no1knows
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/23/2001 11:15 PM
Ok 1.4 is out, I highly recommend everyone switch to this version as it is much improved. Some of the things in this version:

* Fixed Fader Align Variable Problem
* Cleaned Up Table Codes
* Adjusted News Fader Image Path (complete URL input is not necessary)
* Changed some wording in the control panel

There are update instructions for those that are updating from 1.3. For those that have 1.2, you will probably want to look at the readme.txt file for the changes or upgrade to 1.3 and then 1.4. Changing my first post and the thread title...again.

Download: News Fader V1.4

Old Versions:
Download: News Fader V1.3
Download: News Fader V1.2
Download: News Fader V1.1
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 12:23 AM
sorry bout the problems!
upgraded!
Posted By: ascully Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 12:24 AM
The 1.4 is great slurpee i upgraded from 1.3
But now when i choose center align it dosnt actually go in the center its slightly off.

Why is this?
Thanks in advance
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 12:28 AM
some bugs in the html tables stuff which is unnecesary!
i can fix it but i dont want to disrupt slurpee, he might be working on that?
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 12:30 AM
Yeah, everything is confirmed working for 1.4 except that alignment issue. smile

Very nice work, guys.

Fix when ya can...
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 12:45 AM
Jigga - Let me see what you got. smile

The thing is aligning but keep this in mind....The fixed width for the NewsFader is 480, which you will see in two places on your public_forum_summary.pl file. That width makes the fader fit perfectly on an 800 x 600 in display. So the thing is centering correctly, just based on the 480 width, you can change that width to whatever you want, but keep in mind that people viewing on smaller resolutions will have the thing sticking out past your table which looks awful! So picked 480 to be on the safe side. If ANYONE knows another way to do this, so that it will actually center across the entire table and not stick out past the end no matter the res, let me know.
Posted By: PsxBasement Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:09 AM
1e of all great work we did miss this all , but now something else i run 6.0 gold version and as me a lot of people do to, now i dont want to upgrade and upgrade annymore so i want to stay 4 now with 6.0 now the problem , the new versions you make are 4 6.01 etc etc Great , but please dont forget the people who run the 6.0 version or the beta's thats what i did want to say and 2e man i love this hack the 6.0 version that is ;))

Thanks and keep it up Slurpee '

Grtx
Wizkid


[Linked Image]
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:14 AM
typo in 1.4 upgrade txt: Look for this:
Replace that code with:

should be
Look for this:
# Start News Fader Stuff
if ($vars_news_fader{nfgreet} ne "") {
$NewsGreet = qq~"$vars_news_fader{nfgreet}","",~;
} else {
$NewsGreet = "";
}
if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsImg = qq~~;
} else {
$NewsImg = "";
}
if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsTable = qq~$NewsImg~;
} else {
$NewsTable = "";
}
if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~
$vars_news_fader{nftitle}


$NewsTable






~;
} else {
$newslinefader = "";
} # Run The News Fader
&ReadNews;

# End News Fader Stuff

Replace that code with:

# Start News Fader Stuff

# determine colspan
$ColSpan = 3;
if ($vars_display{ShowMods} eq 'yes') { $ColSpan++; }
if ($vars_display{ForumTotalOption} eq 'Both') {
$ColSpan = $ColSpan + 2;
} else {
$ColSpan++;
}

if ($vars_news_fader{nfgreet} ne "") {
$NewsGreet = qq~"$vars_news_fader{nfgreet}","",~;
} else {
$NewsGreet = "";
}

if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsImg = qq~~;
} else {
$NewsImg = "";
}
if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsTable = qq~$NewsImg~;
} else {
$NewsTable = "";
}

if ($vars_news_fader{nfimgon} eq "OFF") {
$NewsCols = $ColSpan;
} else {
$NewsCols = $ColSpan - 1;
}

if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~

$vars_news_fader{nftitle}


$NewsTable







~;
} else {
$newslinefader = "";
}

# Run The News Fader
&ReadNews;

# End News Fader Stuff

--------------------------------------------

And typo in FDRtxtAln = "center";

Replace it with:
FDRtxtAln = "$vars_news_fader{nfalign}";

The text - FDRtxtAln = "$vars_news_fader{nfalign}"; is already in the repacement code..

So if you was to look for FDRtxtAln = "center"; you woulnt find it..

[ March 23, 2001: Message edited by: decimator ]
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:34 AM
Great work slurp but the centre alignment is all over the place, you need to re look at this issue...

Im usin 800x600 and is isnt center, eve though its set as centre, cache was cleared, your nearly there mate, as image and everthing else is working!!

What do you think is the problem?

Good man!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:42 AM
Decimator - Take a screen shot of it "centered" on your board and let me see it. Will look at the upgrade script for my couple typos.

BTW - Those using 6.0 should be able to use this code too.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:47 AM
Ok typos fixed, zip file updated. Decimator I was confused on what you thought the second typo was, didn't quite understand that one.
Posted By: no1knows Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:52 AM
hey slurpee, i was wondering how hard it would be to place the news fader in the header/footer of the ubb so it can be displayed throughout the site?

cheers
no1knows
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:54 AM
In the header??? Hmmmm.....I really don't know, might require a little thought.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:58 AM
Guys take a look at this screenshot of my board. I have the fader aligned "center," on 800 X 600 resolution, and it is completely centered. So you guys aren't getting this result?
Posted By: no1knows Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:58 AM
yeh thats wot i thought, but the news fader throughout the site would be nice wink

i dont see how it could be that hard, but then again i cant do nuffin in cgi, so u tell me wink
Posted By: Stinkyface Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 2:16 AM
Sure its centered for you - your board is much narrower than a normal 800x600 because of the menu-frame on the right side.

In a normal fullscreen board the newsfader uses only half of the screen (at 800x600) I changed the width to 700 and that worked well with 800x600. What a pity that I normally run higher resolutions wink Isnt it possible to change the absolute number to a relative one - e.g. 95% or so?

And then I have a question - is it possible to center the text vertically??? If so, how do I make this work? *g*
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 2:23 AM
Stinky - Exactly, that's the problem with the fader, that you can't seem to use like a 100% or something on it like a table, you have to put in absolute values, so I use like 480. I would suggest if you aren't using your board with a menu next to it like me to change those two instances of 480 to 700, unless someone knows a better way, which I asked before. I would love to know a way to do this where it would work universally for any resolution and table size.

To center the fader vertically, change the valign in the cell the fader is in from "top" to "center." (That is in the public_forum_summary.pl template file)
Posted By: sagat Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 2:46 AM
Sorry slurpee the typo i mensioned was wrong, im tierd. lol
** EDIT PUBLIC_FORUM_SUMMARY.PL TEMPLATE **

(Here is what you put in the first instance)
Look for this:
Replace that code with:

Should be

Look for this:


And slurpee before you upgraded to 1.4 the alinment was ok, its just that is wasnt centred vecticaly in the table, now it is centred but not aligned horizontaly, im sure you know what i mean, so if you revert back to 1.3 or 1.2 where it was aligned proper horizonticaly couldnt you then add whatever you did in 1.4 to vertically align it?


wink
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 3:02 AM
Ok found, corrected, and updated zip.
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 4:13 AM
Slurpee I just re-downloaded the zips and did the hack for 1.4 and if you look at my news fader it's not centered properly even when I do the center in the Control Panel. How do I fix this?

http://forums.ultanime.net
Posted By: was Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 7:15 AM
i set my table at 900 and it center the text perfect after that laugh
Great work on the hack guys
Posted By: ascully Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 7:37 AM
Still not centered for me in center mode.
If it helps it was perfect on newsfader 1.3 once upgraded to 1.4 it went funny.
I look at the page with 1024x768 res which seems to be the norm these days
Thanks slurpee

[ March 23, 2001: Message edited by: ascully ]
Posted By: qasic Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:19 AM
I would change $NewTable to this

$NewsTable = qq~$NewsImg~;

to center the image smile

q
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:35 AM
A couple things:

If your fader isn't centering properly, it is because the width of the fader text is too narrow. Change the two occurrences of "480" in public_forum_summary.pl to a larger value until the text is centered. Unfortunately that's the only way to fix that issue, it really depends on what screen resolution you view the board at. Unfortunately as well you can't use a term like 100% (like on tables) on those fader values which would really help. But I have a workaround in process, see below.

Now I am going to work on a V 2.0 this weekend, which will be vastly improved, and include the following:

* More cleaned up HTML code.
* Ability to display total topics and total posts in the fader.
* Ability to vertically align the fader, either top, bottom, or center.
* Ability to change the fader width depending on what resolution you want. For example, a 800 x 600 display, a 1024 x 768, etc.

Should be done by Sunday.
Posted By: ascully Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:51 AM
Thankd slurpee ill leave it as it is and upgrade to 2.0 at weekend when your done

Your help is much appreciatted
thanks
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 1:56 PM
this hack is really something, great job. it looks so good, and makes my board look much more professional.
Posted By: Bubble Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 7:11 PM
JM, how come the news image not appear on my board? where do i turn it on?
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 7:22 PM
Quote
quote:
Well Bubble here is what you do to turn it on. First go into your UBB Control Panel then go into the Primary Settings now finaly go to News Fader Settings which should be under General Display settings in the Primary Settings. If you have any problems or can't get it to work post again and we'll try to help you out smile.
Posted By: Bubble Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:36 PM
i got it up running and everything. Work perfect. HOwever, this sucker not appear for me.

[Linked Image]
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:42 PM
Well you have to upload that icon to your NonCGI Directory then in the News Fader Settings in the box where it asks for the path to the icon you just put in
the name of the icon you uploaded to your noncgi directory. If you seem to have any more problems just ask smile.

~ M_E_W
Posted By: Bubble Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:52 PM
if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsImg = qq~~;
} else {
$NewsImg = ""; <<<== is this the one?
}
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 8:58 PM
Quote
quote:
Before trying to change any coding make sure you have done this.

Go into you News Fader Settings > Turn the Use Image On > in the url put forum1.gif or whatever you named the icon and make sure it's uploaded to your NonCGI folder. If you have done that and it didn't work then post that so we can try to find out what you did wrong in hacking the code.
Posted By: Bubble Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 9:12 PM
urghhhhhhh...this is all i got. I dont' see any box where i can enter the url for the image. I install 1.4

here is the screen shot of news faders setting:

[Linked Image]

and here is the document i use.

| News Fader Hack (For UBB 6.01, Gold [Earthquake])
| Version: 1.4
| By: Slurpee (Brett Norton)
| Web Site: http://www.vhlinks.com
-------------------------------------------------------------------------------------

This hack will fade in news headlines that you dictate via the control panel in a table row above your forums.
If you are curious how it looks, visit my forums at http://www.vhforums.com for an example.

This is a pretty extensive hack, so make sure and back up all your files first BEFORE making any changes.

First thing is to upload the contents of this zip file to the following folders:
fade.gif -> To your non-cgi folder
fader.js -> To your non-cgi folder
newsfader.txt -> To your non-cgi folder
cp_vars_news_fader.pl -> To your Templates directory
cp_news_fader.cgi -> To your cgi-bin folder (CHMOD this file 755)
vars_news_fader.cgi -> To your variables folder (most likely your cgi-bin folder)- CHMOD this file 777

Ok next the files that need to be edited:

** EDIT CP.CGI **

Look for the following code:
if (($ubb eq 'set_cats') && ($status eq 'Administrator')) {
require "$vars_config{CGIPath}/cp_forums.cgi";
&set_cats; exit;
} #end set_cats

Underneath this add:
if (($ubb eq 'vars_news_fader') && ($status eq 'Administrator')) {
require "$vars_config{CGIPath}/cp_news_fader.cgi";
&NewsFaderSettings; exit;
} #end vars_news_fader

if (($ubb eq 'set_vars_news_fader') && ($status eq 'Administrator')) {
require "$vars_config{CGIPath}/cp_news_fader.cgi";
&SetNewsFaderSettings; exit;
} #end set_vars_news_fader

** DONE - SAVE AND CLOSE CP.CGI **

** EDIT UBB_FORUM_SUMMARY.CGI **

Look for the following code:
} #each cat
$ThisHTML .= &Cat_Page_Bottom;
} #end cat only view

Underneath that code add the following:
sub ReadNews {
$the_page = "";
$newspage = "$vars_config{NonCGIPath}/newsfader.txt";
open(NEWS,"<$newspage");
@lines = ;
close(NEWS);
$the_page = join('', @lines);
}

** DONE - SAVE AND CLOSE UBB_FORUM_SUMMARY.CGI **

** EDIT CP_COMMON.PL TEMPLATE **

Look for the following code:
document.writeln("");

Underneath, add the following:
document.writeln("");

** DONE - SAVE AND CLOSE CP_COMMON.PL TEMPLATE **

** EDIT PUBLIC_FORUM_SUMMARY.PL TEMPLATE **

Look for:
# FORUM SUMMARY PAGE - HTML FRAGMENTS

Underneath add:
require "$vars_config{VariablesPath}/vars_news_fader.cgi";

Look for:
return($PageTop);

} ## END PAGE TOP

Underneath that add this:
# Start News Fader Stuff

# determine colspan
$ColSpan = 3;
if ($vars_display{ShowMods} eq 'yes') { $ColSpan++; }
if ($vars_display{ForumTotalOption} eq 'Both') {
$ColSpan = $ColSpan + 2;
} else {
$ColSpan++;
}

if ($vars_news_fader{nfgreet} ne "") {
$NewsGreet = qq~"$vars_news_fader{nfgreet}","",~;
} else {
$NewsGreet = "";
}

if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsImg = qq~~;
} else {
$NewsImg = "";
}
if ($vars_news_fader{nfimgon} ne "OFF") {
$NewsTable = qq~$NewsImg~;
} else {
$NewsTable = "";
}

if ($vars_news_fader{nfimgon} eq "OFF") {
$NewsCols = $ColSpan;
} else {
$NewsCols = $ColSpan - 1;
}

if ($vars_news_fader{nfon} eq "ON") {
$newslinefader= qq~
$vars_news_fader{nftitle}


$NewsTable







~;
} else {
$newslinefader = "";
}

# Run The News Fader
&ReadNews;

# End News Fader Stuff

Look for:
sub Normal_Table_Row {
my $Row = qq~





Underneath add the following:






Look for:
~;
} # end mods column

$Top .= "";

Replace that code with:
~;
} # end mods column

$Top .= "$newslinefader";

** DONE - SAVE AND CLOSE PUBLIC_FORUM_SUMMARY.PL TEMPLATE **

Ok now you're done. Re-upload these four files. Next go into the Control Panel, Primary Settings -> News Fader Settings,
configure all of your settings and news headlines. Clear your cache and the next time you view your forum summary page,
the News Fader should be there.

Enjoy!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/24/2001 9:18 PM
Well I would just say for you to re-download the hack verion 1.4 and go through the instructions again and make sure you didn't miss anything. Also if you were upgrading from 1.3 make sure you are readin the upgrade instructions and not the readme smile. I hope that will fix your problem.
Posted By: toibs Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 3:04 AM
Slurpee,

Excellent Hack smile
Having one problem installing tho - well in fact all appears ok, and the default test message appears, but any text that i change in that box (even if i leave most of it as is and remove 1 character) never changes on the message that comes up. If i go back into the cp, the original text is still there, as if it hasn't accepted the save.

Strangely enough tho, it Does seem to accept it, since the fact that if i turn it off in the cp it disappears (as it should do!!).

Checked all the CHMOD's....Cleared Caches etc
Running on UBB 6.01 / Newsfader 1.4

TIA smile

Paul

[ March 24, 2001: Message edited by: toibs ]
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 10:55 AM
Bubble - You need to re-upload the cp_vars_news_fader.cgi and cp_news_fader.cgi files that are included with the 1.4 zip. They have the new image stuff.

Toibs - After you input the headlines, is the text writing to the newsfader.txt file? If it isn't, it could be that file permissions for the non-cgi directory are off. Also try re-uploading the cp_news_fader.cgi file.
Posted By: toibs Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 11:50 AM
Slurpee,

Doh!! Hadn't set any permissions on newsfader.txt, so it was still 644. Therefore of coz it couldn't write to it!!

All working loverly now tho smile Thanx for this!

Paul
Posted By: Jedimark Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 12:15 PM
AGH! It wont work for me... I am instaling this from scratch.. not upgrading it.. I have followed all the instructions correctly Im sure. I have switched it on in the cp and cleared the cache etc... but nothing shows up on the main page!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 5:20 PM
Quote
quote:
Try re-uploading the files and making sure they are CHMOD'ed correctly.

~ M_E_W
Posted By: Jedimark Re: [6.0x] News Fader V2.1 Hack! - 03/25/2001 7:37 PM
Yer yer... done all that... still not working!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 12:17 AM
Jedimark - Is the whole fader area not coming up, or is the news fader itself just not working??

Update on 2.0**
Will try to get it finished today and get it up tonight for those that want it.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 12:47 AM
SWEET!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 3:02 AM
Awesome! I can't wait for 2.0 laugh
Posted By: AgentX Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 4:19 AM
Slurpee,

Great hack, thanks! laugh A couple of things, you will be making a control panel addition later won't you? smile. Also, visit this forum . Any ideas why the text in the fader itself isn't centered properly?

I have been following this thread but all the fixes for this that I tried screwed up the forum. Hope you can help. Keep up the great work!

AgentX
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 4:46 AM
The hack is already control-panel integrated, has been the whole time. Go to the control panel, Primary Settings -> News Fader Settings

Try changing the two instances of "480" in public_forum_summary.pl to a larger number to get the fader centered better. Try 700.
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/26/2001 4:54 AM
slurpee check ur email!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 12:19 AM
Jigga - did you get it running?

Update on 2.0 - I am holding off its release until I can find/create a hack that will allow me to show the total board posts and topics in the fader. I can show the total posts by the users files, but most people don't like that. There was one hack on here to track total posts and topics, but that variable must be used in conjunction with the Registered Member Line, which I don't want. So stay tuned.
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 11:28 AM
ok the hack works great, i just have question:

i would like to change the font /size/face of the fader to match my style.

can anyone tell me which file(s) to modify to do this?
Posted By: theangel Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 1:01 PM
Oh boy... I reinstalled the hack many many times... and it shows up, but the fader doesn't run. The browser says tehre's a error in ultimatebb.cgi on line 204, but I doesn't change anything there!

The Board: das Leben

Can anybody help me please?
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 1:05 PM
i have had no problems with this hack, apart from the text not been aligned right when i told it to in CP.

check ur ultimatebb.cgi at line 402 would be the 1st thing?
Posted By: theangel Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 1:32 PM
There's no error... and when I run the UBB without the Fader, ther is no errormessage...
Posted By: theangel Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 1:35 PM
Oh... sorry for my postings, the error ist not the script, the error is my browser wink
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/27/2001 11:58 PM
I have a issue my fader doesn't even show up and i installed everything. I'm like ok what did i do wrong? Here's the link check it out http://gamenexus2k.com/cgi-bin/ultimatebb.cgi
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 1:54 AM
Quick question do i have to edit both
~;
} # end mods column

$Top .= "";

Instances
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 2:34 AM
Look closely, they are not the same lines, you do not edit both of them. They are different from each other make sure you edit the right one, from the directions.
Posted By: LoneDragon Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 3:25 AM
When I install the hack (v1.4) it screams a Software Error at me:

Quote
quote:
Line 115-118 read as follows:

Quote
quote:
Which file would be wrong? I've tryed hacking all the files again, but nothing works frown

The Control Panel is OK, and all files are CHMODed correctly, but It won't work confused HELP!!!
Posted By: Childboy Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 3:41 AM
For those who *think* they got it correctly installed and didn't appear, make sure you got this correct

~;
} # end mods column

$Top .= "";

I overlooked and installed into

~;
} # end mods column

$Row .= "";

and it didn't work. So I recommend reuploading public_forum_summary.cgi and try again.

Hope this helps laugh

(For those who didn't know, it works on UBB 6.0 Gold too!)
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 4:48 AM
There is a subroutine called ReadNews that you have to add in that you must have forgotten. Look closely again at the directions for that.
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 5:51 AM
Ok whats wrong here because this is giving me a head ache and thiers no point of us playing post tag


$Moderator


~;
} # end mods column

$Row .= qq~~;

return($Row);
} # end normal table row

sub Normal_Table_Top {

# this is the table displayed on regular forum pages
my $Top = qq~




$vars_wordlets{forum_column}


~;


if (($vars_display{ForumTotalOption} eq 'Both') || ($vars_display{ForumTotalOption} eq 'Topics')) {

$Top .= qq~


$vars_wordlets{topic_column}


~;
} # end topic column


if (($vars_display{ForumTotalOption} eq 'Both') || ($vars_display{ForumTotalOption} eq 'Posts')) {

$Top .= qq~


$vars_wordlets{post_column}


~;
} # end posts column

$Top .= qq~


$vars_wordlets{last_post_column}


~;

if ($vars_display{ShowMods} ne 'no') {

$Top .= qq~


$vars_wordlets{moderator_column}


~;
} # end mods column

$Top .= "$newslinefader";

return ($Top);
} #end normal_table_top


sub Cat_Table_Top

# this is the table displayed on category-only forum pages
my $Top = qq~
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 6:02 PM
i want to change the outcome font face/size

please tell me which file to edit.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 7:47 PM
public_forum_summary.pl is the one to edit.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 8:14 PM
Update on 2.0!

I FINALLY got the Total Topics and Total Posts display to work, so that will be added in 2.0. Fixed the table codes a bit, and will be adding an option so that you can set your fader width depending on the site resolution you like to use, "800 X 600," "1024 x 768" or you can give the width any number you want. I should have this done later this afternoon with instructions and upgrade instructions.
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 8:16 PM
ok thanks.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 8:27 PM
Actually I've changed my mind, we all have so many different resolutions we like to use, I will just leave the field as a number you can input yourself and experiment with what works best for you.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 9:46 PM
Ok 2.0 is done and uploaded!

Here are the changes from V1.4:
* Added ability to display total board posts and/or topics in fader
* Cleaned Up Table Codes
* Added ability to set width of fader depending on screen resolution

Download: News Fader 2.0

If you want an older version, see the first post in this thread.
Posted By: Tovok7 Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:01 PM
Slurpee, maybe U should include a warning that says somehting like: If you have Total Posts and Topics Hack 1.1 by Tovok7 installed pass this step 'cos I think it's my complete hack that you integrated in yours!
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:15 PM
ok i want to make my font size 1, and face verdana like on my stlye template.

i dont know what to edit, could you paste in a search for this to edit please?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:21 PM
Tovok, good call I will do that, and I forgot to credit you and I meant to do that damn it! Updating my zips. smile

CN - Change all the font tags from this part:

Code
code:
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:44 PM
okies wink

thanks again laugh
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:48 PM
Amazing you totally ignored what i posted thanks
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/28/2001 10:58 PM
Phase, let's see there are 7 friggin' pages of posts and I have gotten no less than 50 emails on this hack, so give me a break if I miss a post. :rolleyes:

Your code is in the right place, are you sure you put the code for the $newslinefader in and did you turn it on?
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 12:45 AM
Ok i got it up but now i'm getting a script error. On line 204 i remember this from the other one i'm missing something am i not? And sorry a little stressed from a programming project!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 1:30 AM
Line 204 of which script?
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 1:34 AM
2.0: I'm not getting any total posts or topics working on front page no matter what option I select in the control panel.

It seems to be always off, even though showing 'both' is selected.

Can anyone else confirm, or is it just me and I should go play with my code some more?
Posted By: Igor Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 2:07 AM
Quote
quote:
Same problem on my board
Posted By: Childboy Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 2:15 AM
Same here.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 2:17 AM
Let me look at my directions guys, you all did upload Tovok's Total Posts/Total Topics hack that is included in 2.0 right?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 2:25 AM
Guys I found the problem, I am a MORON sorry, forgot the key part there.

In public_forum_summary.pl:

Look for:
Code
code:

Underneath that add:
Code
code:

I apologize!! Updating zip right now.
Posted By: Childboy Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 2:36 AM
Don't worry, humans make mistakes laugh
Keep up the good work! Looking forward to see more hacks from you smile
Posted By: Jigga-Master Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 3:18 AM
its all good dont worry~ laugh
Posted By: Alien Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 3:21 AM
Trying that fix now! Thanks, Slurp! laugh

...edit: Worked perfectly! Woo!
Posted By: Compboy Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 5:22 AM
All ok. Thx.
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 5:40 AM
Its says line 2o4 char 3 error class not registered. I left the page up if you want to see it. http://gamenexus2k.com/cgi-bin/ultimatebb.cgi
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:19 AM
I'm getting a bunch of script errors on your site Phase, looks like you didn't upload some files in ASCII.
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:25 AM
Ok do they all go in ascii from your hack? I'm almost thier i took down the whose online so i knew whats causing what
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:26 AM
Phase, just got on your board, the News Fader is working just fine. Sure you got javascript enabled on your browser, I checked on IE and Netscape, it's working.
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:32 AM
Ok uploaded it all in ascii same error.
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:34 AM
ok i'll look
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:36 AM
Edited: Fixed
Posted By: Phase Strike Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:42 AM
Nope sorry the fader words don't work and i still get a error
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 6:44 AM
Why Doesn't the download work? Anyone care to email me the addon?


Update: Van Helen was down. Back up again!

smile
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 7:51 AM
Phase, I just looked again and it's working, what browser are you using? Someone else go to his site and tell me I'm not crazy. I'm out for the night fellas, catch ya tomorrow.

Sorry my server was down for a few. BTW, it's Van "Halen," not Van Helen. smile
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 1:12 PM
Good job smile
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 1:24 PM
Slurp,,,,


I need your wisdom. I have your thangy installed and I must say "IMPRESSIVE"!

I however need to know how I can change the color of the...well... I guess the pic fader background color to match the table color.

Here: GimmeTech
So you might see what I'm saying.
____________________________________________

Secondly, How do I get the text to be in the middle of the table. In other words, centered as is horizontally and vertical middle?
_____________________________________________

Thirdly, How would I go about having the
News Fader Greeting have a font color of the numerals (redish) in the Board Stats Display?
_____________________________________________

How do I do this master? Grasshopper seek wisdom. Where to change in the code would be a real asset. laugh


GimmeTech
Posted By: Marvin_FFM Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 1:38 PM
Quote
quote:
Even if this wouldnยดt be an appropriate evidence to proof that, Slurpee [Linked Image]

@ Phase,

I tried to register on this site to check it - after regestering I always get this:
[Linked Image]

After clearing my browser-cache and changing the whole browser to netscape it remains...

Any ideas?
Posted By: theangel Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 8:11 PM
The Fader doesn't run on Microsoft IE5.5 or newer! That's the reason for the Failure on line 204 in ultimatebb.cgi !

And please, why I cant make them 95 percent wide? Only with pixels... that's not so good!
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 8:21 PM
theangel - yeah IE 5.5 has a problem with faders, not just this one. It's the script, not my code. You can't use percentages on the fader, if you could that would solve that problem in a snap, and I wouldn't have included the variable. You have to use pixel width on the fader unfortunately.
Posted By: CNCR Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 8:25 PM
i'm using IE 5.5 and it works fine for me...
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 8:35 PM
Gimme Tech

1. Well if I'm reading you right, it should be the same already. The fader image has the same background tag as the fader itself.

2. If you want it centered horizontally, go into the News Fader control panel and choose "center" alignment, and make sure that the fader width is correct, you might have to experiment a bit with that. For vertical alignment, in public_forum_summary.pl, change this line in the $newslinefader from:
Code
code:
to:
Code
code:

3. For the greeting, add the font color tags in this line from the public_forum_summary.pl:
Code
code:

DON'T USE "" IN THE FONT TAG IN THERE OR THE GREETING WON'T DISPLAY. USE ' OR NOTHING AT ALL.
Posted By: Jedimark Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 9:22 PM
Wots the Board Stats Display because nothing seems to happen if I swith this option on or off!
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 9:25 PM
Slurp,

Thanks for responding to me. Will you check the link up there so you can see what I am saying about the color of the table? It isn't the same color for some reason. I do have 2 table colors though. One lighter one and one darker one. I'd appreciate it if you could click on my link and let me know what I am doing wrong.

Also on changing the font tag. Could you post what it would look like with being changed to the red color you used for the Board Stats Display?

You'll have to forgive me, but I worked rather hard at getting this to work and I don't want to mess it up!
wink

Thanks for the other info too, getting ready to work on it. Again, very impressive hack.

Thank You,
GimmeTech


PS..... I use IE 5.5 with no problems with the fader. Just leave the parenthases"" that was in the default txt file and change the wording. That fixed the error problems for me. If you don't you will get the errors.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 10:05 PM
For the background, try changing these variavbles in public_forum_summary.pl.

FDRborCol = "$vars_style{AltColumnColor1}";
FDRbackCol = "$vars_style{AltColumnColor1}";

Change them to:
FDRborCol = "$vars_style{AltColumnColor2}";
FDRbackCol = "$vars_style{AltColumnColor2}";

See if that does it. Here's how the link for the Board Stats looks, use the same format for the greeting.

$NewsStats = qq~"Current Forum Stats: $AllTopics Topics","",~;
Posted By: bafai Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 10:29 PM
tiny bug Slu..


Quote
quote:
don't put % for width else you will get errors
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 10:37 PM
Slurp,

Your knowledge has improved my page!

All colors are correct and I have the tables set to where I want them.

Still one problem with the text being centered vertically. I tried valighn="center" and valighn="middle".
Neither have been able to get my text centered vertically. I even pulled the text out of the .pl and took a look at it in Dreamweaver as a full table and it looks correct there. It is still hanging at the top though.

Here is the updated look. GimmeTech Forums

I'm close, move me closer please laugh

Thank You
Slurp.

GimmeTech
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 11:02 PM
Bafai - I tell you in the control panel to use pixels, not percentages. It's not a bug.

Gimme - You did spell it "valign" right??? If you didn't that could be the problem. Also, try removing that height=43 tag in there along with adding the valign=center text and see what happens.
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 11:18 PM
Slurp,

Yes it was spelled correctly. I don't think we are on the same page though.

There are 3 items displayed in the text box.
They are:

Board Stats Display:
News Fader Greeting:
Add/Edit News Headlines

Just changing the news text will not vertically align the items. All 3 needs aligned "middle". This is what I am trying to figure out.
GTForums

You do not have to log in now to access the forums. Sorry about that.

Thanks Slurp.
GimmeTech
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 11:25 PM
Gimme, try messing with the valigns in the codes of the $newslinefader code in the public_forum_summary.pl file. I had problems getting it to work too, but I like mine top aligned. You might be on your own on this one. frown
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 11:27 PM
Slurp,

Ok. Thanks. You were greatly appreciated on this. And again, thanks for the Hack. It is great!


GimmeTech
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/29/2001 11:32 PM
Ok man, sorry. If you get, let me know what you did.
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 12:41 AM
confused

Slurp,

I cannot for the life of me get it. I've tried my little html tricks, pulled the code from the page and tried manipulating the tags, I don't know what else to do. I know it can be done. I really don't want to mess with the table size anymore I have it looking sharp at 25. If I could just get the text to valign in the middle for the 3 items I would be one happy camper. Well, I'm happy any way but I would be ecstatic. Please dedicate your every waking moment to my needs. laugh

GimmeTech GimmeTech Forums

Thanks Slurp,
GimmeTech
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 12:45 AM
Homeboy let me look at some code after my lunch and I'll see what I can come up with, and maybe some more suggestions for you. Ok? smile
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 12:46 AM
Yes Master of 'ol News Fader. I wait for thee and appreciate thee precious moments.

LOL
GimmeTech
laugh
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 2:05 AM
All right man, I found the way to do it, I think. I found this board that had it centered and here's how they did, check the source if you want.

Look for this line in public_fourm_summary.pl:

FDRboxPad = 0;

Now change that 0 to whatever you want, I would guess about 7 or 8 would be in the middle. Now keep in mind that width of the fader is only 43, so if you have more than two lines of text it's gonna cut off, so you might want to change those instances of height=43 to something else or change the font size here:

FDRfntSiz = "9pt";

It's up to you man, but that should get ya pretty close.
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 2:12 AM
Ahhhh, No way. Not that easy? I'll go try it and and post to what I come up with.


Thanks Slurp.
GimmeTech
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 2:25 AM
Oh Yes, the Slurp man.

"It's just like an athlon, The knowledge of what trace contacts to connect with pencil lead for the ultimate O/C!"

That was it.
Recap:

For all who are looking, if you are having a hard time getting your text to center or align middle vertical. The place to do it is here. You don't even have to mess with the code nor will it work well if you do.

My fader table size is 25. I set the

FDRboxPad = 6; (Default is 0 or aligns to top)

I missed this altogether. I was trying to tackle this through the code.

Thanks Slurp!
Check out the fader now...... GimmeTech Forums

GimmeTech is H :Dppy
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 2:38 AM
Bingo! Looks good man. smile
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 2:41 AM
laugh
Posted By: Stinkyface Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 5:52 AM
I've installed it now on my UBB - look:

BoardHell

It's a great hack and I like it alot. But unfortunately it seems to work only with IE. The news don't show up with NS6 - is this only for me or has anybody encountered the same problem??? Opposite to previous posts it works perfectly with my IE5.5

PS: Forgot to mention the Board is in German, but I think you don't need to understand German to see that it doesnt work under NS 6 *g*
Posted By: GimmeTech Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 6:12 AM
Quote
quote:

I definitely feel like I'm in the gates of hell in your forums. wink
No Kidding aside, they look great. Your news fader seems to work great with my IE5.5 too. No problems. NetScape 6 sucks anyhow. Don't worry about it. I found so many idiosyncreses with NS6 and IE5.5 that I gave up trying to get everything to work with both. The fact is Netscape was never a Java compatible browser. I have a java chat room called Volano Chat. Netscape won't even work with that. The stats are that 90 percent use IE. The other 10 percent are divided between NS and the other browsers. So 10percent or less cannot view your news fader. No loss. It's not that I'm a huge fan of Microsoft or anything, but NetScape was never in the market. To many script reading probs amoungst other things.
Posted By: Stang5_0 Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 8:11 AM
Thanx for the hack!!!!
You have great docs, even with the updates, you make life easy!!!!

Keep up the good work man! tipsy
Posted By: bafai Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 8:27 AM
to Slurpee,
for more understandable - please put the date for new version update....
Posted By: [email protected] Re: [6.0x] News Fader V2.1 Hack! - 03/30/2001 7:33 PM
Slurpee - Excellent Hack. All works fine Here.

How do I reduce the hight of the display panel?

Thanks
Posted By: Command Re: [6.0x] News Fader V2.1 Hack! - 04/02/2001 7:43 PM
How do I get the
forum/topics/post/last post/moderators bar
underneath the fader instead of on top?

I have read the posts on this but I'm still not able to get it moved. Using version 2.0 and everything else it working great!

TIA confused
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 04/02/2001 10:15 PM
Hmmm haven't tried it, but in public_forums_summary.pl, changing this line:

# this is the table displayed on regular forum pages
my $Top = qq~

to

# this is the table displayed on regular forum pages
my $Top = qq~$newslinefader

See what happens.

As for changing the fader height, look for the two instances of "43" in the public_forums_summary.pl file and change them to whatever width you want.
Posted By: Command Re: [6.0x] News Fader V2.1 Hack! - 04/02/2001 11:24 PM
That worked great! Thx laugh
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 04/03/2001 1:48 AM
Excellent.
Posted By: AgentX Re: [6.0x] News Fader V2.1 Hack! - 04/06/2001 8:10 AM
Slurpee,

Great hack. Got it to work on my forums but for some reason the news doesn't restart after it gets to the last news item. Is this done on purpose or something that I have done wrong? Hope you can help.

AgentX
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 04/06/2001 6:52 PM
It should keep rotating 100 times.
Posted By: anna the bitch Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 7:13 AM
Just wondering how to keep the news message in the middle even when i resize the explorer window?
like this one :
http://pub9.ezboard.com/bdekumillennium

Thanks to everyone

Newman confused
Posted By: Urban-Warfare Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 9:29 AM
hmmm this seemed not to work for me, it does not show up and in IE the staus bar says "Done, but with errors on page"

The errors listed are:

Line: 30
Char: 1
Error: 'FDmaxLoops' is undefined
Code: 0

and

Line: 3475
Char: 16
Error: Syntax Error
Code: 0

Im using ubb 6.03 with Tovok's Static hack and Total Posts hack, and Active Topics 1.8d on a unix based system.

any help woulod be appciiated..
Posted By: Urban-Warfare Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 9:41 AM
n/m got it to work =) sorry about that.. small little mistake copying and pasting to public_forum_summary.pl
Posted By: Urban-Warfare Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 9:56 AM
hmm i have it working its a great hack, but i do have 1 question...my fading news seems to be aligned: valign="top" ...why is it aligned at the very top?
Posted By: Urban-Warfare Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 10:10 AM
DOH nevermind...sorry agian...

i do have 1 more question (yea yea ur thinkgin jesyus christ just shut up wink but i was wondering i there was a way to get the fader out of the forum list and on top of it...so that the table above it can be below it...if u know what i mean...
Posted By: anna the bitch Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 5:36 PM
HELP !!!!!
Do you know how to put a gradient in the news
fader hack and who's online hack? eek frown tipsy confused laugh

[ April 07, 2001: Message edited by: newman ]
Posted By: BarCode Re: [6.0x] News Fader V2.1 Hack! - 04/07/2001 9:10 PM
One problem.. well one MAJOR problem!!!

If you have in your news welcome message you have an @ it crashes because it has to have a before the @ coz of CGI and arrays and stuff.

I bet its been said before but imma too busy to check 7 pages tipsy
Posted By: kaak Re: [6.0x] News Fader V2.1 Hack! - 04/12/2001 10:13 AM
edit: i am a moron...
Posted By: john80y Re: [6.0x] News Fader V2.1 Hack! - 04/13/2001 1:21 AM
After a few tried I got the fader working good !

Is there anyway to make the words on the fader bigger ?? Especially the first message which is a welcome message !
Posted By: NSA Re: [6.0x] News Fader V2.1 Hack! - 04/13/2001 4:30 AM
Worked like a charm! One install: One success! A thousand thank you's for this hack.

Note: IQ raised from 12 to 19.
Posted By: Joe Siegler Re: [6.0x] News Fader V2.1 Hack! - 04/13/2001 10:58 PM
I installed this on my test board, and it all seems to be working fine in the control panel, but when you actually look at it, the display is odd.
http://www.3drealms.com/cgi-bin2/ultimatebb.cgi

Shouldn't the news be listed before the columns that say "Forum | Topics | Posts | etc"? It 'works', but is displayed incorrectly. I probably fubared something, but I'll check out my code changes to make sure.
Posted By: Joe Siegler Re: [6.0x] News Fader V2.1 Hack! - 04/14/2001 12:29 AM
Check this out - it's a screen dump from my implentation of this hack. If you look above my name on the right side of the screen, it appears that some of the code from the fader portion of the screen is bleeding over onto the column for moderators. (Look above Joe3DR). However, it only appears to be happening in Netscape, not in IE.

[Linked Image]
Posted By: john80y Re: [6.0x] News Fader V2.1 Hack! - 04/14/2001 3:33 AM
How to I get my text to be in the center and not alligned at the top ?
Posted By: ecoeco Re: [6.0x] News Fader V2.1 Hack! - 04/14/2001 10:36 PM
i install the news fader but it donยดt show any text
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 7:44 AM
ecoeco, did you turn it on?
Posted By: ecoeco Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 1:20 PM
yes, see my forum http://alaporhay3.virtualave.net/cgi-bin/ultimatebb.cgi
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 1:29 PM
What's wrong with it?
Posted By: ecoeco Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 2:11 PM
my english isnยดt very good, but the news fader doesnยดt show any text or news
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 2:26 PM
Here it does (IE 6 PP)
Posted By: ecoeco Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 5:08 PM
i use ie 5.5
Posted By: ecoeco Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 5:36 PM
i see this

[img]http://alaporhay3.virtualave.net/dibujo.bmp[/img]
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 04/15/2001 7:06 PM
Make sure your IE supports JavaScript.
Posted By: gene1938 Re: [6.0x] News Fader V2.1 Hack! - 04/16/2001 12:19 AM
I get the same blank news fader screen as above. I have narrowed down my mistake to the public_fourm_summary.pl part-everytime I do it & upload I get all kinds of errors Test Board -could someone take a look? eek
UBB6.03 hacks-News Fader v2.0, whos online, avatar, gradient

[ April 15, 2001 05:26 PM: Message edited by: gene1938 ]
Posted By: knuffel Re: [6.0x] News Fader V2.1 Hack! - 04/16/2001 9:09 AM
Hey gene1938,

I had a quick look at your board and the error you get is slightly different from mine when i installed it the first time.

Are you sure that the news in your cp is correctly configured ?

Try with one line of news ... it should look like this ....

"test",""

you need the second "" if you don't have a link in your news.

Otherwise it would be ...

"test","https://ubbdev.com",
"test2","",
"test3,""

If this works ... than it's in the newssection that your problems is ... the errors are given bij the javascript because it doesn't get the correct values ...

greetz

Knuff
Posted By: DaWhiZKiD Re: [6.0x] News Fader V2.1 Hack! - 04/16/2001 12:33 PM
im getting this error:

syntax error at /home/public_html/cgi-bin/ubb/Templates/public_forum_summary.pl line 411, near "my "

what could it be?

[ April 16, 2001 09:26 AM: Message edited by: DaWhiZKiD ]
Posted By: gene1938 Re: [6.0x] News Fader V2.1 Hack! - 04/16/2001 4:38 PM
knuffel thanks for the reply-I left the txt message as it was in the file @download. I tried changing it to what you said, same trouble. Are there any paths that I can check in*.js file or others?? I just installed ubb code buttons & found I had to add the path in that *.js file. I also had to correct the path to perl from #!/usr/local/bin/perl to #!/usr/bin/perl
Posted By: SpAwN Re: [6.0x] News Fader V2.1 Hack! - 04/18/2001 9:05 AM
eh wrong topic sorry...

[ April 18, 2001 02:26 AM: Message edited by: SpAwN ]
Posted By: infinite2001 Re: [6.0x] News Fader V2.1 Hack! - 04/19/2001 8:58 PM
Weird problem...

The news doesn't change when I want to use my own news. What happens is that I type in my news the way it's supposed to be typed in, and after I click submit, the default news is displayed and when I got back into my CP and check it out, the default news has replaced my inputted news. So it seems something isn't being written to. Any ideas on how to fix this?

Infinite
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 04/20/2001 1:19 AM
Is the News Fader 1.4 compatible with 6.04a? I've just upgraded to 6.04 and when I install the News Fader, I get a 500 error, and I'm sure I installed word for word.
Posted By: yosco Re: [6.0x] News Fader V2.1 Hack! - 04/20/2001 5:20 AM
Get 6.04b There are errors in a. Check Infopop for details.
Posted By: infinite2001 Re: [6.0x] News Fader V2.1 Hack! - 04/20/2001 5:31 AM
Quote
quote:
Posting this again on the new page that was created...assuming people may over look this question.

Infinite
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 04/20/2001 6:11 PM
Hack works fine on 6.04, double-check that you did everything correctly.

Infinite - Permissions on the directory that the newsfader.txt is in needs to be 777. Try changing the permissions of that file to 777 and see what happens.
Posted By: max66 Re: [6.0x] News Fader V2.1 Hack! - 04/22/2001 4:44 AM
Please help, when I install newfader, the news appear in the Forum "board"... under Froum - topics - last posts - moderators-

I use Who's online. How i need to do to make it appears under Above Who's online???
Posted By: SNES Re: [6.0x] News Fader V2.1 Hack! - 04/22/2001 12:10 PM
Quote
quote:
If this wont work, simply DELETE this newsfader.txt...Thats what i done and...it worked smile

[ April 22, 2001 05:11 AM: Message edited by: [GLX]SNES ]
Posted By: GMP Re: [6.0x] News Fader V2.1 Hack! - 04/22/2001 8:56 PM
I get an JavaScript-Error in line 1529 (!) in ultimatebb.cgi saying it is missing a "]", the problem is, that ultimatebb.cgi doesn't have that a lot of lines AND that I can't find any missing "]" wink

I've installed everything correctly, I think, can anyone help plz?
http://www.filmteam.f2s.com/cgi-bin/ultimatebb.cgi

Use User: "test", PW: "123456"

Thanks in advance!
Posted By: Rens Re: [6.0x] News Fader V2.1 Hack! - 04/22/2001 9:54 PM
I'm also getting a Javascript error!
It tells me:

Line: 30
Symbol: 1
Error: 'FDRmaxLoops' is not defined.
Code: 0

At the place where the Newsfader should be there is this text:

$newslinefader

Please check it at: http://members.evolt.org/renslohmann/cgi-bin/ultimatebb.cgi
Use this login info:
User: TestUser
Password: test


Please also mail your solution to renslohmann@hotmail.com
Thank you!
Posted By: GMP Re: [6.0x] News Fader V2.1 Hack! - 04/23/2001 10:29 PM
Forget my recent post, everything workin' fine now!

Thanks anyway, great hack!
Posted By: Foley Is Madness Re: [6.0x] News Fader V2.1 Hack! - 04/24/2001 9:38 PM
Arg..... this code is a pain in the arse frown

What's wrong with my board?
http://theaftershock.netfirms.com/cgi-bin/ultimatebb.cgi

Ummm, if the creator of this code can fix it for me AIM me at: FiM122

thanks FiM!
Posted By: Foley Is Madness Re: [6.0x] News Fader V2.1 Hack! - 04/24/2001 10:14 PM
I give up! tell me when I can install a news fader hack that newbies can install. this one just doesn't seem to work. oh well..... frown
Posted By: e@sy Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 2:37 AM
It's work very good.Thx
Posted By: n30 Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 3:34 AM
ok i installed everything that it said and i turned it on and i get nothin...not even a box for the news to show up in? can somenody help me? here look:
http://refreshxl.tnt.gs/cgi-bin/ultimatebb.cgi
Posted By: Zippy Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 9:27 AM
Slurpee, great hack dude! Just got something to add and plz excuse me if it's been said before. I found that the "newsfader.txt" inside the noncgi directory must be set to chmoded (777 UNIX) (or some other writable permission) or else when you change the fader text in the CP, it'll just stay the same (even though it doesn't give you any error message)... hope this helps someone...
Posted By: Zippy Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 10:07 AM
n30, did u turn ON the newsfader option? Go to Primary Settings ---> News Fader Settings and then check the radio button to ON in the first field... hope this helps... btw slurpee, perhaps you could set the default to ON in future releases so it doesn't confuse some ppl..? just a suggestion....cyaz
Posted By: Daniel Lindberg Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 7:12 PM
Hello, this is my first message on this board ever.

Nice hack this one, though I seem to have at least two problems (left that is). My board is narrowed to 600 pixels, but the news fader don't seem to be...

See here -- http://www.corrsonline.com/cgi-bin/ultimatebb.cgi -- it's too wide frown

Also, the headlines won't rotate...

[ April 25, 2001 12:20 PM: Message edited by: Daniel Lindberg ]
Posted By: Animal Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 7:22 PM
Hmm Hi ya guys...

Well ... You may call me stupid or even mad.. or something, But I have just spendet e half day on reading this thread.. and as I came to the last reply om the 11. page here I thought.. I cant do anything wrong now..

So I tried to do the thing and ... Nothing.. I got no news fader I event the News Fader Panel in the CP panel.. confused who can help me in what went wrong here..?
thx for any Help..
Oh.. think you need to know wich board version use UBB 6.03 and NewsFader 2.0
I followed the instr. from the readme File.. not the Update.. just to keep this cleared..

[ April 25, 2001 12:23 PM: Message edited by: Animal ]
Posted By: Brooke Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 8:28 PM
Hey- Thanks for a great hack. Working great the first time out on 6.04b. Foley, this is one of the easier hacks to install. Make sure you are uploading the files in ASCII and chmod'ing them to 755 and the vars file to 777. Also, take your time and pay attention to where the text is to be added..before or after the example, or replacing the example. Another thing...ALWAYS back-up your files before hacking.

Take a look: http://www.thereeftank.com/cgi-bin/ultimatebb.cgi

Thanks Slurpee and everyone else-
Brooke

[ April 25, 2001 01:33 PM: Message edited by: Brooke ]
Posted By: Daniel Lindberg Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 9:32 PM
Ok, looks like I've solved my own problem.

This will be a problem for anyone using fixed width on the whole board.

This little line in "public_forum_summary.pl"



This line will mess thing up for people like me. If you take the main board table width for the news fader's table that will, together with the cell padding of the main table, become wider than whatever setting you have. In my case 600 pixels became 608 pixels (or something). I suggest the $vars_style{TableWidth} is changed to 100% or something.

[ April 25, 2001 02:33 PM: Message edited by: Daniel Lindberg ]
Posted By: n30 Re: [6.0x] News Fader V2.1 Hack! - 04/25/2001 9:53 PM
hey fungpi im not that stupid...if you read my reply it said i turned it on...its been on and off, i cleared my catch and everything...it wont show up...HELP!!!
Posted By: DarkSign Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 7:58 AM
Err...

I'm testing a UBB 6.04b at the moment. And I couldn't make this hack works.

I got the version 1.4 and install it according to the instructions, but for a reason that i don't know, it isn't working well, I see no news in the main page, it's stopped...
Posted By: Animal Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 9:28 AM
Hi there...
Well I found the mistaks from my first post... but got this problem now.. I hope anyone can help me with this...
html/ubb/Templates/public_forum_summary.pl line 344, near "~;"(Might be a runaway multi-line ~~ string starting on line 337) confused I havent got any idea where I did the mistake. ?
But I must say... its a great Hack keep the work going on Slurp. smile
Posted By: Lost Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 2:33 PM
Ello,

I have installed Version 2,All hacking looked fine..
Got the box along the top of the forum,nice..

But dont get any news what so ever,
Please help..
It looks a great hack..

thanx for all your hard work smile
Posted By: Brooke Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 3:26 PM
DarkSign-
Try version 2. It's working great for me on 6.04b. Be sure to clear your cache and turn the fader on in the cp.

Brooke
Posted By: Burn Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 4:15 PM
I installed this, everything looked OK, except that :-

1) Nothing is displayed in the News....not even the default text.

2) I get an annoying script error.
Line : 184
Char : 4
Error : Invalid property value
Code : 0


Any ideas please ? I`m using version 6.0 Beta 8.4 !
Thanks
Posted By: Lost Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 5:22 PM
So it's just me then :)Thank god for that..
Posted By: DarkSign Re: [6.0x] News Fader V2.1 Hack! - 04/26/2001 11:01 PM
I'll try version 1.2 then.. lets se if it works.
Posted By: Viridus Re: [6.0x] News Fader V2.1 Hack! - 04/28/2001 2:49 AM
Hello. I am havin problesm with this hack. I am sure i installed this like perfect, but i always get this errors saying that I don't have permission. Its not some like server page or something, I'm still in the cp.cgi GUI and everything. I get this error message

You do not have permission to access this area.
ยป Use your browser's back button to return.



And yes i do have permission cause i am an admin frown whats wrong.

-viridus
Posted By: Viridus Re: [6.0x] News Fader V2.1 Hack! - 04/28/2001 3:01 AM
woops, got it to work, Sweetness smile

Thanks anwyays.

-viridus
Posted By: Axion420 Re: [6.0x] News Fader V2.1 Hack! - 04/28/2001 9:01 AM
would you mind telling me how you got it working? i had the same problem as you confused
Posted By: Percival Re: [6.0x] News Fader V2.1 Hack! - 04/28/2001 8:48 PM
HELP please.
i am getting errors with the newsfader installed frown

thereยดs no fading.... text not displayed.

can you take a look:

my board

thanks for your support !!
Posted By: Viridus Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 1:29 AM
axion, it was a hackin problem. I rehacked all the files and voila. smile

-viridus
Posted By: Axion420 Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 6:40 AM
ah ok, will give it another try!

Thanks
Posted By: ascully Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 9:44 AM
Any chance of a shw version of this?
Posted By: Stuck Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 10:17 AM
confused Looks like alot of you seem to have got this hack to work great,But how about telling us fools how to get the bloody thing to work

I have hacked this 1 into our ubb version 6.04c several times now...All i get is the box along the top,no News....

Please help...

BTW,it's not just me 3 other admins have also done it on our board,all with the same result... confused frown
Posted By: SNES Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 11:04 AM
Quote
quote:
Doesnt work :(:(:(
Posted By: SNES Re: [6.0x] News Fader V2.1 Hack! - 04/29/2001 11:23 AM
@slurpee:Would it be possible to set the news fader width to "95--->PERCENT<---"???Because i use 95% for table widths and i want to center the nesfadertext!!!
Posted By: Keshitai Re: [6.0x] News Fader V2.1 Hack! - 05/02/2001 6:50 PM
HELP!!
the hack was working great when i was still using 6.04a
but when i upgrade to 6.04c recently, the control page of news fader went blank...........
i don't know why, i'm sure i hack the 6.04c upgrade files correctly
and the board still shows the news fader like before, only that i can only see a blank page in control panel
pls help me...........
Posted By: Rob Re: [6.0x] News Fader V2.1 Hack! - 05/04/2001 3:26 AM
Same here i need help i dont want to uninstall it
Posted By: gene1938 Re: [6.0x] News Fader V2.1 Hack! - 05/04/2001 8:54 AM
after you upgrade you have to reapply the hack to files that were upgraded-just be sure to back up your files, to save your self any head aches.
Posted By: Psyc Re: [6.0x] News Fader V2.1 Hack! - 05/04/2001 7:49 PM
hi,


really nice hack......

i've got a little problem

the news fader doesnt appear on my board

i had ubb604 before and installed the new 604c english version of ubb

and now everything is alright i can configure it at cp control but the fader doesnt appear in front of my ubb

any ideas to make it visible???????
Posted By: Keshitai Re: [6.0x] News Fader V2.1 Hack! - 05/07/2001 10:32 AM
is it possible to change the font size of the news independently? (ie. not affecting other font size)
thanks a lot!
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 05/08/2001 5:20 AM
The fader doesn't appear on my board. Using 6.04d. URL: http://www.ultanime.net/cgi-bin/ultimatebb.cgi

Thanks for any help!
Posted By: Krmge Re: [6.0x] News Fader V2.1 Hack! - 05/09/2001 6:19 PM
thanks for this hack
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 05/10/2001 4:43 AM
*BUMP*

Can someone help me? Look 2 posts up.
Posted By: smokster Re: [6.0x] News Fader V2.1 Hack! - 05/12/2001 12:03 AM
It would be nice if you added "CHMOD" newsfader.txt to '666' in your instructions, it would make a lot more people happier, and life a little bit better.

Just thought I should help you out in your code, it is far better than some I have seen... the LET'S START HACKING in someones code (not going to mention) should be changed to LET'S START PRAYING
Posted By: smokster Re: [6.0x] News Fader V2.1 Hack! - 05/12/2001 1:14 AM
another thing, and you can probably sudgest this quickly, I would rather the news to be above the Forum | topic | Post | Last Post, how can I do this, it just doens't look right underneath those.... again thanks for the extreemly wicked hack.
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 05/12/2001 11:54 PM
*BUMP*

Is anyone going to be able to help us that can't get it working 0.o?
Posted By: HalfBreed Re: [6.0x] News Fader V2.1 Hack! - 05/13/2001 10:15 AM
Is it possible to call SSI events within the news fader?? IE: I have a calendar that I am implementing (Matt Kruse's) and would like to call events/days from that calendar into this news fader.
Posted By: Webdaddie Re: [6.0x] News Fader V2.1 Hack! - 05/16/2001 3:26 AM
Great Hack! I had no trouble installing it with 10 other hacks installed.

(My Board)
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 05/16/2001 4:30 AM
Um this doesn't seem to work for the newest version of Internet Expolor, I guess that's why I'm having errors when I try to use it. B/c anyone under my version in IE can see it fine, but I can't =(.
Posted By: TyRaN Re: [6.0x] News Fader V2.1 Hack! - 05/19/2001 9:11 PM
why i only see this ?

i've triple check all the instruction and i can't find my mistake... anyone can help me?

forget it... i solve my problem and it works perfectly... in the instruction it say:

Code
code:

i change it for:

Code
code:

[ May 19, 2001 04:24 PM: Message edited by: TyRaN ]
Posted By: TyRaN Re: [6.0x] News Fader V2.1 Hack! - 05/24/2001 1:15 AM
is there a way to set the width to 95%... 100%?
Posted By: freeTV Re: [6.0x] News Fader V2.1 Hack! - 05/24/2001 5:41 AM
Quote
quote:
Oui! smile
Posted By: TyRaN Re: [6.0x] News Fader V2.1 Hack! - 05/24/2001 6:30 AM
ok... how????
if i set 95% in the width field, my fader does'nt display the news...
Posted By: freeTV Re: [6.0x] News Fader V2.1 Hack! - 05/24/2001 9:17 PM
Go to Control Panel -> Primary Settings -> News Fader Settings, then change the news fader width to, say, 600 pixels. The default is 700.

freeTV
Posted By: TyRaN Re: [6.0x] News Fader V2.1 Hack! - 05/25/2001 12:56 AM
Quote
quote:
I want to set it to 100%... not 600 or 700...
Posted By: freeTV Re: [6.0x] News Fader V2.1 Hack! - 05/25/2001 7:00 AM
There is no such thing as the percent in news fader!

I think you have mistaken the news fader width with the table width in the Style Template. You can set the table width to 100% in the Style Template, but for the news fader width, it depends or your screen resolution, you have to set it to fit it in the table, therefore, a preferably small number. You news fader has a transparent gif image, and the width of this image is changed accordingly to the number of pixels you define in the News Fader Setting.

I better stop before you get lost.

freeTV
Posted By: steelman Re: [6.0x] News Fader V2.1 Hack! - 05/30/2001 9:02 AM
Hey Free, 'Sup buddy? You adopt this mod?? laugh
If so, you see any reason why it can't be inserted into public_forum_page? Just glancing at the code, I can't see any reason why it shouldn't report correct topic and post numbers for each individual forum (if turned on) and pass along the news to each. Which would prompt one to think, what if I could add a different news file for each forum..?? Imagine...
Posted By: Wanted Re: [6.0x] News Fader V2.1 Hack! - 06/01/2001 5:04 AM
it should contains , Registered # , welcome newest user .
also should contain the ability to adjust the vertical align to the middle it doesn't looks good if you have 1 line message and the line appears in the top .
also it will be nice if you can use diffrent fonts
Posted By: Tech-Ni-Kal Re: [6.0x] News Fader V2.1 Hack! - 06/01/2001 6:06 AM
Quote
quote:
what he said! laugh
Posted By: steelman Re: [6.0x] News Fader V2.1 Hack! - 06/01/2001 7:33 AM
Different fonts should not be a problem. I'm using HTML font commands to change colors and break up my different entries and I'm also including small graphics and smilies in my news. This hack rocks! laugh
Posted By: Hypnotizer Re: [6.0x] News Fader V2.1 Hack! - 06/13/2001 6:46 AM
can sumone please tel me whats wrong with this it says around 'my' at about line 303
please help!


Quote
quote:
[ June 12, 2001 11:50 PM: Message edited by: Hypnotizer ]
Posted By: Hypnotizer Re: [6.0x] News Fader V2.1 Hack! - 06/14/2001 3:30 AM
y wont it work?????

i use to get a page error

now i dont

i've turned it on in cp

but it still wont even show

i'm positive i've hacked it correctly

v2 by the way i used
Posted By: gaulalauk Re: [6.0x] News Fader V2.1 Hack! - 06/14/2001 5:21 AM
Hello Slurpee

On 6.04e...a little problem with the Newsfader2 and Hit Hack 2.0 beta.

If I turn on the "show hits counter on summary page" - thingy, I get a problem with the right side of the tabel on News Fader 2 hack. Between the "Moderators" headline and the moderators namefield in the forumlisting on the summary page, I get only an empty square space on the right site of the fader.
The newsfader will not fill the hole space/with of the forum summary page.

Any idea what this is, and how to solve the problem?

I want to upload an image to show you, but upload is disabled here.
Neither I can give you an url, as I am on dynamic ip, and the board isnt ready to upload.

Where can I post an image for you to see what I mean?

[ June 13, 2001 10:22 PM: Message edited by: gaulalauk ]
Posted By: Sheffield Tunes Re: [6.0x] News Fader V2.1 Hack! - 06/15/2001 12:05 AM
Why do i get this?

Can't locate object method "Fader" via package "Stuff" at /web/sites/31/sheffield-tunes/www.scooter-posse.f2s.com/ubb/Templates/public_forum_summary.pl line 74.

[ June 14, 2001 05:10 PM: Message edited by: Sheffield Tunes ]
Posted By: joey d Re: [6.0x] News Fader V2.1 Hack! - 06/15/2001 5:49 AM
good work on the news fader i had no problems getting it working smile just one question, is there any way to ajust the hight to make the space for the news taller?
Posted By: El_Jefe Re: [6.0x] News Fader V2.1 Hack! - 06/15/2001 6:29 AM
i can't get this one to work.... I get the files all modded and when I try and execute it gives me about 10 errors something about unterminated constants in line .......... if I tell debug to debug it it finally gets clear of all the errors and displays the hack as a catagory but no news...... Tried it twice where am I going wrong most likely?
Posted By: Hypnotizer Re: [6.0x] News Fader V2.1 Hack! - 06/15/2001 4:10 PM
peep

http://members.digitalrice.com/rapzone/ubbcgi/ultimatebb.cgi

i'm getting a blank box with errors, any solutions?
Posted By: El_Jefe Re: [6.0x] News Fader V2.1 Hack! - 06/16/2001 1:28 AM
Okay this is yet another one of those hacks that I try over and over until I finally figure it out. NEED Some help on this one Please! after I installed the newsfader, ran the CP for tne newsfader and cleared my cache I went to my test board at http://www.washingtonceasefire.net/cgi-bin/ubbcgi/ultimatebb.cgi My board now gives me this error: " line # 287,412,650,769,894,1019,1138,1376,1495,1620,1739,1864,1983,2227,2346,2465,2590,2715,2834,2953,3078, and 3197.... Error expected "]"
does that mean tht I have a wayward "[" with no mate somewhere? confused or I overwrote one some where?? In Public_Forum_Summary.pl I found this but it looks right to me.....

I really want this one to work so any assistance will be greatly appreciated laugh Thanks!
I went through all four Modded files and Searched for a lonely "[" and to no
avail..... gettin frustrated.......

[ June 15, 2001 06:44 PM: Message edited by: El_Jefe ]
Posted By: NitroSimSev Re: [6.0x] News Fader V2.1 Hack! - 06/16/2001 2:07 AM
Got it!!!

[ June 15, 2001 08:46 PM: Message edited by: NitroSimSev ]
Posted By: NitroSimSev Re: [6.0x] News Fader V2.1 Hack! - 06/16/2001 2:25 AM
GREAT HACK!!!

[ June 15, 2001 08:46 PM: Message edited by: NitroSimSev ]
Posted By: Hypnotizer Re: [6.0x] News Fader V2.1 Hack! - 06/16/2001 3:42 AM
http://rapzone.source4webmasters.com/cgi-bin/ultimatebb.cgi
why does it only show an empty box???

please help slurpee
Posted By: dizturbd Re: [6.0x] News Fader V2.1 Hack! - 06/19/2001 8:52 PM
Im getting the same problem, it will only show a white rectangle where the news is suppose to go, but the news doesn't show up, i turned it on, and double, or even triple checked everything, i can't figure out what the deal is, can anyone help me? confused
Posted By: MrQ Re: [6.0x] News Fader V2.1 Hack! - 06/19/2001 11:57 PM
anyone think there is a multihack install of this hack?
Posted By: vwdevil Re: [6.0x] News Fader V2.1 Hack! - 06/20/2001 1:50 AM
problems...

http://216.185.53.6/cgi-bin/vw/bbs/ultimatebb.cgi

the news fader refuses to go the same width as the board

[ June 19, 2001 07:06 PM: Message edited by: vwdevil ]
Posted By: afterlab Re: [6.0x] News Fader V2.1 Hack! - 06/22/2001 5:36 AM
Hey Slurp. This is kinda hard to explain but if you look on my main page you may see what I mean.. Check out my ubb by looking in my sig.. Thanks in advance. wink
Posted By: afterlab Re: [6.0x] News Fader V2.1 Hack! - 06/22/2001 5:47 AM
Sorry. I figured it out. Let me join the team by saying.. GREAT HACK! laugh
Posted By: Twizteddd Re: [6.0x] News Fader V2.1 Hack! - 06/27/2001 12:44 AM
ok, i have the news fader installed on my board and it works great. but one problem, the total topics and total posts won't show up newhere??? o.0 i did the hack right so can someone pleaz help. and yes i did press the button for both to show up...
Posted By: Rinkrat Re: [6.0x] News Fader V2.1 Hack! - 06/27/2001 9:55 PM
On My board I'd like to have the fader ABOVE the "Forum Topics Posts Last Post Coaches" line on the table.

What should I move to do that (and where)?
Posted By: Murassmeblade Re: [6.0x] News Fader V2.1 Hack! - 06/28/2001 5:53 PM
ok I noticed slurpee that your UBB has allready been upgrade to 6.05 as has mine

but i did your doc instructions TO THE TEE
and all i get is a white bar at the top of my forum catagories on my forum summary page

in my CP the news fader IS ON and the news image is not

i did how ever figure out why some people are having trouble with thier server writing to the newsfader.txt on my server it need to be chmoded to 775 (and yes i mean 775 because since it is a TXT file if it was 777 it could be writen by anyone from the web) that was they ONLY way i could get the CP to change what its contents are.

anyway i think you should make that a variables file or something not a damn TXT

and uh can you look at my UBB and see whats up?

GSX UBB

oh and i downlaoded the 2.0 zip about an hour before i made THIS post


OH and thank you or anyone for any help i love this hack and great work yadda yadda yadda

[ June 28, 2001 11:04 AM: Message edited by: Murassmeblade ]
Posted By: zoots chosen Re: [6.0x] News Fader V2.1 Hack! - 06/29/2001 2:19 PM
the mod installed fine, but instead of having just 1 fader bar, i have over 14, 1 below every topic. and just to take the piss, neither actually has text or fades.

ive disabled it 4 the min
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 06/30/2001 9:05 AM
Ok to all those having problems, let me just tell you I haven't really had time to respond recently here, so I apologize.

The hack works as documented just fine on 6.05, and earlier verions. If it doesn't work you aren't following the directions carefully enough. Trust me on that, it DOES work. Re-check all of your work.

With regards to width issues. At least 15 people have emailed me asking how to get the fader to work as a percentage, like 50%, 100% of a table cell. It CANNOT BE SET to work like that, it has to be set by character length. That's not my doing, that's just how the fader was written.

Also the reason the news is written as .txt is because I planned to use it as an SSI on my site at some point, so it is done that way for my own benefit. So if you don't like it that way, feel free to write it into a variable file, but I'm not going to be doing that.
Posted By: David Nilsson Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 3:27 PM
Hi, I'm having problems with my news fader, it doesn't show up for me... I think I've done all the things in the readme file... Strange, please help...
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 3:29 PM
URL?
Posted By: Murassmeblade Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 9:42 PM
Im telling you i did EXACTLY as the instructions say can you please just check your instructions and test them as they are written on a test ubb cause its not working on my ubb all i get is a small white bar across the top of my forum/category list where the fader should be

or someone can you help me?

my ubb url is in my other posts up there
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 9:48 PM
That's really weird...

I think it's because of $newslinefader in public_forum_summary.pl

In my forums, I made it like that:
Code
code:
and it worked. Try it yourself.
Posted By: AceWheelie Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 11:31 PM
Murassmeblade

I just had a look at your board and i see the white line

I noticed that you have it above

Forum Topics Posts Last Post Moderators

From memory it should be under them so I would say you have the code in the wrong place in the?

If you tells us what part of the code you put it we may be able to help you fix the problem
Posted By: AceWheelie Re: [6.0x] News Fader V2.1 Hack! - 07/02/2001 11:45 PM
opps sorry must have double clicked frown

[ July 02, 2001 04:46 PM: Message edited by: AceWheelie ]
Posted By: David Nilsson Re: [6.0x] News Fader V2.1 Hack! - 07/03/2001 1:03 AM
LK: My current URL to the forum is www.tavelsjo-bangolf.com/~mange/ubb/cgi-bin/ultimatebb.cgi
Posted By: Djstiggy182 Re: [6.0x] News Fader V2.1 Hack! - 07/03/2001 3:04 AM
Hey, I just installed the hack. Its working really well, but I had to make the altcolumn colors from 1 to 2 for some reason to fit my current color style. Other than that the hack is great, keep it up.
Posted By: Murassmeblade Re: [6.0x] News Fader V2.1 Hack! - 07/03/2001 3:38 AM
After all that gripping and whinning from me

it took the simplest fix from the marvelous LK to help me out lmao gee ::wonders if the doc should be left in such a messy manner:: lol j/k

annyway thanks LK works perfect even aligned in under my WOL like i wanted it in the first place
Posted By: kaukagaul Re: [6.0x] News Fader V2.1 Hack! - 07/14/2001 8:15 PM
Slurpee

Have you though about making the hack so its possible to display different news for each cathegory or forum.

I think it would be great if the newsfader could have shown up in every forum (at least if its enabled for that forum) and show some news related to what that forumgroup has as a main theme.

Also, that would be a nice future, if you are hosting forumgroups for others(letting them have their own forum). That way they can decide their own news to be displaid.

A good idea? laugh

[ July 14, 2001 01:16 PM: Message edited by: kaukagaul ]
Posted By: josh Re: [6.0x] News Fader V2.1 Hack! - 07/14/2001 9:32 PM
This hack does not work with the Ticking Clock Hack. Could someone fix this error so they can both work togeather. Thanks smile.
Posted By: JJS Re: [6.0x] News Fader V2.1 Hack! - 07/17/2001 8:14 PM
Slurpee:

Help. I posted this in the V6 Mod questions but secured no replies...

My newsfader hack is working fine (great hack, btw) yet whenever I attempt to add a hotlink to the text I end up with an error.

Here is the line of text I'm attempting to add:

"Click on this link

Today's Active Topics
","",

The " in the hyperlink has been replaced with a ' as your instructions require--yet I'm still generating the error.

Can you tell me what I'm doing wrong?

Thanks for the help.

AthenaLink's Talkback Forums
Posted By: void 2 Re: [6.0x] News Fader V2.1 Hack! - 07/17/2001 8:40 PM
This is probably a newbie problem, but I am a newbie so:

Why doesnt it update the news fader line after I change it in the CP? It goes right back to the original one frown
Posted By: afterlab Re: [6.0x] News Fader V2.1 Hack! - 07/18/2001 9:32 PM
Hey Slurp.. It's me again. ;D

Well my problem is yet again the same as earlier, so check this out: http://forums.thunderwave.net
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 07/18/2001 10:47 PM
Rzenik - Make sure that you chmoded the newsfader.txt file 777. See if that does it.

Afterlab - What seems to be wrong, it looks ok.
Posted By: JJS Re: [6.0x] News Fader V2.1 Hack! - 07/18/2001 11:20 PM
Slurp:

No words of wisdom for me? frown

I want hotlinks in my newsfader. Must have hotlinks! Hotlinks.

The line of text I've shown above is NOT the last line yet when I enter it exactly as shown I generate an error. I'm using 6.04f.

JJS

AthenaLink's Talkback Forums
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 07/18/2001 11:32 PM
JJS - What you have is correct, didn't want to respond without a real answer. It should work. What is the error you are getting?

[ July 18, 2001 05:33 PM: Message edited by: Slurpee ]
Posted By: JJS Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 12:03 AM
Slurp:

The Fader just gags (nothing displays). As soon as I take the reference to the hotlink out---it goes back to working fine.

JJS
Posted By: kaukagaul Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 3:41 PM
Slurpee, Master of News Fader laugh

I may have a bugreport for you.

I discovered that after installing the News Fader 2.0, and putting some news headlines in the fader, my forum summary page got so big that it took serveral seconds to load the page.

So I right clicked on the page, choosed "View Source" in IExplorer, and found this;
The Newsfader code, along with all your newslineheaders, are repeated in the code as many times as your number of active forums.

If you have 20 forums, then all that code shows up 20 times in html source.
And that make indexfile grow so big, that many people with slow connections must wait forever to get the site loaded.

As I not permanently online for the moment, I have to refer to another site as an example.
Take a look at this site HERE.
When you have loaded the page, right click and view the source html code, then you will see what I mean.

Is there a way to bugfix this, so the newslinefader code appair only once in the html source code?

***************************

I also have discovered something strange.
When I view my page with 800 x 600 resolution the newsheadlines are centered and everything looks and works perfectly.

If I change the resolution to 1024 x 768, the newsheadlines are no longer centered, they show up more to the left side in the fader.

Is there a way to make the headlines show up centered independend what screen resolution is used?


*****************

And, at the end....I might have a "onload" problem that makes conflict with other javascripts.

I have the Top Navigational Bar II installed, and it is working great on the whole UBB, exerpt from on the forum summary page, and the categories page, where the News Fader 2.0 shows up.

I also have the Dynamic-FX Slide-In Menu (v 6.5) installed, and that is showed on EVERY page not conflicting with the News Fader, and not conflicting with the Top Navigational Bar II.

If you are interested to have a look into the problem I would appreciate it. There might be others also using javascript menubars that cant get those to work and dont understand why.

Any idea what could be the problem?

[ July 19, 2001 10:00 AM: Message edited by: kaukagaul ]
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 5:59 PM
You're right.

in public_forum_summary.pl:

Code
code:

[ July 19, 2001 11:00 AM: Message edited by: LK ]
Posted By: kaukagaul Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 6:37 PM
LK thanks a lot [Linked Image]

That redused the heavy load on the page, and the newsfader works as before without any problem.

Thanks laugh
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 6:50 PM
Ah good catch kauk and thanks for the quick fix LK! I will be upgrading to the News Fader to 2.1 to account of this fix. I am also putting the change in a bit different place than LK, but the same result.

Also with regards to the centering changing on resolution change: it is nothing that can be fixed. The News Fader JS code was written in such a way where it can only be defined by characters, not by width percentages. So that's why you have to pick a resolution size you like and deal with the reprecussions of other resolutions being used. It sucks, but I didn't write the code.

Finally I don't know why this hack would conflict with other JS enhancements. I have other JS stuff on my main page and it works fine. All script commands are closed properly, so I don't know what the conflict could be.

Anyways look for upgrade fix if you need it in my file in about 15 minutes.
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/19/2001 7:28 PM
It does conflict with other JavaScript things that are activated onLoad. It's not the news fader's fault, though, I think it's because there can't be 2 onloads in a different place. In the MSN Center hack I added a fix to the News Fader and Hier Menus, that on MSN's onload it will call them. Maybe you can do the same in yours,
Posted By: kaukagaul Re: [6.0x] News Fader V2.1 Hack! - 07/21/2001 10:44 AM
Quote
quote:
LOL laugh

LK, I will try that [Linked Image] [Linked Image] laugh

[ July 26, 2001 10:56 AM: Message edited by: kaukagaul ]
Posted By: JJS Re: [6.0x] News Fader V2.1 Hack! - 07/22/2001 11:13 AM
**GASP** **COUGH** **GAG**

Poor JJS, about to take his last breath, going to the great beyond without any answers to the question he posted above....

**COUGH** **WHEEZE** **SPIDDLE**
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/22/2001 11:39 AM
You can just use ...
LK:

That doesn't work for links in the newsfader.
" has to be replaced by '.

JJS
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 07/22/2001 7:55 PM
:rolleyes: You tried it?
Posted By: Murassmeblade Re: [6.0x] News Fader V2.1 Hack! - 07/24/2001 10:28 PM
I have a problem now that just aserted itself

the fader.js isnt encoded for IE 5.5 and i just upgraded to the latest version of Microsoft Virtual Machine and many other various windows and IBM updates and now the content of the fader does NOT show up at all in the table for it

i have talked to other members that havent gotten these updates and they can still see it, and i have also talked to a friend that has also gone thru many of the same various updates as I an he can not see the content either

and this is realy strange it may help i dont know

i tried to upgrade to 2.1 hoping that maybe you updated the java file and that did help page laoding and all that but for me and my friend all it did was to stop this error screen from popping on the furom summary page laod
[notice that i checked your forums to see if it did that there and it did]
[Linked Image]

if you can privide any help at all i would greatly apreciate it

and so will many other people i think
GSX UBB Click Here

[ July 24, 2001 03:32 PM: Message edited by: Murassmeblade ]
Posted By: nokcellnet Re: [6.0x] News Fader V2.1 Hack! - 07/26/2001 3:04 PM
It works now. laugh

[ July 26, 2001 08:34 AM: Message edited by: nokcellnet ]
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 08/02/2001 7:33 AM
Is there a way to get the news fader text to appear centered now matter what resolution the person viewing it is running at? The CP only allows hard pixel settings, and in experimenting I've had no luck at all....

My top .js menus don't conflict with the fader any more since I moved the call for them from the last entry before the closing body tag to the first one right after the opening body tag.
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/02/2001 11:07 PM
Can't seem to have much success on two hacks. This being one of the two.. I've added everything correctly and for some reason under Primary when I go to NewsFader to start putting in my settings and it brings up nothing to set?!!?!?
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 08/02/2001 11:20 PM
SplitFyre, is cp_vars_newsfader.pl uploaded to the noncgi/Templates directory?

XPert, I think it's impossible because it's not HTML
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/02/2001 11:35 PM
Ok. That file is in the right location and it does show up in my control panel.. but something odd. After making all the necessary changes under NewsFader and then clearing the cache, I relogin to my board and it doesn't show the NewsFader and I checked that I turned it on in the Control Panel. Any thoughts?
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 08/02/2001 11:46 PM
Uploaded cp_newsfader.cgi to the /cgi-bin directory? Modified public_forum_summary.pl and uploaded it to the /noncgi/Templates directory?
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/03/2001 12:55 AM
Hey LK,

I cannot seem to CHMOD any files. Permissions are set properly on the folders but when I try to set permissions on a file through CuteFTP for example it will say:


[cp_affiliates.cgi]
COMMAND:> SITE CHMOD 755 cp_affiliates.cgi
500 'SITE CHMOD 755 cp_affiliates.cgi': command not understood


Thoughts?
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 08/03/2001 1:02 AM
So don't CHMOD, just make sure you hacked/uploaded these files correctly.
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/03/2001 1:12 AM
LK .. no matter what I add. it won't change the size of the affiliate_data.pl file. This permission is obviously not CHMODDED properly. I am trying to figure out how I can CHMOD not through FTP as per my ISP's request.
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/03/2001 9:04 AM
Okay thanks to LK I think I am a little further in being able to successfully deploy this hack. Unfortunately even with the correct permissions it still will not bring up the NewsFader on the board. Anyone have any suggestions? I need help. Thanks! smile
Posted By: G-Cifix Re: [6.0x] News Fader V2.1 Hack! - 08/04/2001 11:49 PM
This is a great hack...

Had some problems fixed it with a friend of mine Coolwarez.. smile

The problem was that when you send a file thru ICQ it won't be ASCII...
i didn't know that and i upped the cp.cgi file and boom didn't do **** ...

We have been busy for the whole damn evening but it finally works and it was worth it...
Great stuff.!!!!!


Greetz laugh
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 1:44 AM
Okay I found something interesting and wanted to find out what everyone's thought were on this. When I looked at other js files that were in the same dir as the newsfader.js file I saw two I think these are UBB6.05 system .js files: navbar.js and dhtmllib.js

Do you think this might be the problem?
Posted By: Variables Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 2:30 AM
When you CHMOD a file that has a _ in it, it often won't work. What you can do is rename the file without the _ and CHMOD it. After that, rename it to the original name. wink
Posted By: 2Fast Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 3:41 AM
I'm getting no errors but I'm also getting no news fader display. Any suggestions?
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 3:47 AM
Same here though.. won't pop up. Is there some options that need to be turned on outside of the NewsFader section under Primary?
Posted By: Crazed Lunatic Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 7:02 AM
http://www.bdxi.f2s.com/cgi-bin/ubb/ultimatebb.cgi
I've got news submitted - why won't it show up?
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 10:43 AM
At least you got the News Fader bar showing up. How do i get it so the stupid Categories show up... argh!
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 10:46 AM
Now I think this might be the issue.

[ August 05, 2001: Message edited by: Splitfyre ]
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 12:31 PM
Have the categories showing, just no newsfader!!! argh! Is there a problem if two other .js files are in the same dir as the fade.js file?
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/05/2001 1:12 PM
Ok. Checked all the files and still no go.. wth!?
Posted By: Splitfyre Re: [6.0x] News Fader V2.1 Hack! - 08/06/2001 12:10 AM
i cannot understand why it's not coming up. Checked all the files and even went and removed the two other .js files that were fader.js was and still no go. I re-uploaded em, cleared cache and still no go.. help!
Posted By: joesmith199 Re: [6.0x] News Fader V2.1 Hack! - 08/08/2001 10:49 PM
after i install this hack and go to the cp it says that FYI. you dont have permission to access this area.

??? i got all the files there. chmod them. everything. but it still shows. without going in the cp i cant turn the fader on anyways.

any clues?
Posted By: LK Re: [6.0x] News Fader V2.1 Hack! - 08/08/2001 10:59 PM
Rehack cp.cgi
Posted By: JungleMonkey Re: [6.0x] News Fader V2.1 Hack! - 08/13/2001 6:34 AM
when is this going to ubb 6.1?
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 08/13/2001 5:45 PM
Not until 6.1 is out of Beta.
Posted By: webwolfe Re: [6.0x] News Fader V2.1 Hack! - 08/14/2001 11:05 PM
Slurpee I installed your hack on two different ubb's, both are ver 6.05

site #1 : this ubb has multiple hacks. I installed news fader 2.0 with MHK and it worked fine, however the total topics/posts are not showing in the display.

I upgraded to newsfader 2.1, it still works but it still doesnt show total topics/posts.

I stripped everything out and manually hacked 2.1 and it still doesnt work.

site #2 : This site is a clean install of ubb 6.05, no hacks. I manually hacked newsfader 2.1 and am getting the exact same problem. The total topics/posts are not showing in the display.

I have noticed mention of this trouble twice in the 27 pages of discussions here, however no one replied to them.

In both cases I did not have the total topic/posts hack preinstalled. I did not skip any steps in your docs.

Any help you can provide would be GREATLY appreciated.

[ August 14, 2001: Message edited by: webwolfe ]
Posted By: Milton Waddams Re: [6.0x] News Fader V2.1 Hack! - 08/18/2001 3:21 AM
I dont understand how so many people can have so many problems with this awesome hack, considering that on the Van Halen forum, it works so perfectly.

What is he doing that makes his work great on his, and many others have problems?
Posted By: Milton Waddams Re: [6.0x] News Fader V2.1 Hack! - 08/18/2001 4:40 AM
Ok dudes, this hack is the BOMB!!!

I tested the 2.1 from scratch (i din't upgrade from an earlier version), and I installed this on an NT machine, and I would consider this hack one of the best ever made.
Works perfect!

Thanks for everything guys. Now lemme see if it works on my linux box, lol laugh

[ August 17, 2001: Message edited by: Milton Waddams ]
Posted By: Milton Waddams Re: [6.0x] News Fader V2.1 Hack! - 08/18/2001 5:30 AM
Ok, update: It doesn't work as good as I thought.

The control panel, layout, everything is showing up nicely except:

The first news header is displayed as a link, except it's not supposed to be. What kind of link you say? Well, it took my second news header and made that the link. No, I DID NOT use the ' mark, I did everything correctly based on the instructions.
Here is what I typed:

"Test news header 1", "This is my second test news header", "Testing my third news header"


As you can see, I separated each header with the quotes marks, and I did not use a comma on the last one, just like the instructions said.

Now, from typing the above, my final result is that the 1st header displays, but it's clickable, and will link to "www.myhost.com/cgi/this is my second test news header"

Do you see what I mean? Im not using the link marks!! What is up with this?

P.S.-- Please remember that this is an NT machine.

[ August 17, 2001: Message edited by: Milton Waddams ]
Posted By: webwolfe Re: [6.0x] News Fader V2.1 Hack! - 08/18/2001 9:05 PM
Slurpee: still waiting on help here...


milton, try typing in the news like the directions state:

"Test news header 1","",
"Test news header 2","",
"Test news header 3",""


when all else fails, RTFM!
Posted By: Warren Rake Re: [6.0x] News Fader V2.1 Hack! - 08/18/2001 10:57 PM
Ok thanks webwolfe, I will try that wink
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 08/22/2001 12:58 AM
I have it running on an NT5 box, and I don't get the post totals but everything else is perfect...

Looks great!

www.netwerkin.com/cgi-bin/ultimatebb.cgi
Posted By: webwolfe Re: [6.0x] News Fader V2.1 Hack! - 08/22/2001 8:15 AM
XperT I am still waiting on slurpee to address this issue. I have also sent him a PM about it with no response.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 08/22/2001 9:54 PM
I didn't get a PM from you webwolfie, I just checked.

As far as the post counts and totals not working, I've looked at the code and it should work fine. Make sure you are putting it EXACTLY where the directions call for it. That's about the best I can say right now, because I know it works, most of us are using it.
Posted By: Intel -*RW*- Re: [6.0x] News Fader V2.1 Hack! - 09/05/2001 11:35 AM
Question:

Is it possible to use an include, or some other statement, to use a text file input as the headlines data in the news fader?

Example: I run newspro on my site and it generates news headlines automatically for me. I would like to use an include or another statement that allows the headlines.txt file that newspro generates to be the input for the headlines fader.

Thanks!

[ September 05, 2001: Message edited by: Intel -*RW*- ]
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/08/2001 1:09 AM
I just updated my Browser to IE 6.0, and I am having trouble with the News Fader. It will not run in IE 6, it brings up an error on line 204 char 3 saying class invalid or something. And it causes other hacks on my board not to work correctly. I turned News Fader off, and everything started to work normal again. Any suggestions?
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 09/08/2001 7:31 AM
Do you have any other .js being called?
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/08/2001 9:45 AM
No, I don't. I just rememberd what is said. It said "Class not Registered" and I have seen this on a few other sites as well. I did a full Browser install, so I should have everything updated.
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 09/08/2001 4:07 PM
Click on Netwerkin in my sig and let me know if you get the error there.
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/08/2001 10:35 PM
Yes I do, same place, Line 204, Char 3, Class Not Registered, on ultimatebb.cgi
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/14/2001 6:31 AM
I've tried reinstalling my browser, but it still gives me the error. Any Clue?
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/14/2001 10:58 PM
Well I'll be, it was a Direct X Problem. I used to have DX 8.1 on my machine, then a week ago I kept getting a dialog box that kepts saying: DirectDraw Beta Expired. So I went back to 8.0, and apparently that didn't help. I tried a new DX Uninstaller, and went to 7.0a, and everything is back to normal. laugh
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 09/19/2001 5:50 AM
Damn, I'm glad you found the error! I'm running XP but my DirectX is up to date and i don't have any issues.
Posted By: Excellent Re: [6.0x] News Fader V2.1 Hack! - 09/20/2001 1:14 AM
I installed 2.1, but I'm not getting total posts and topics showing up..... smirk

I use UBB 6.05...

Anyone has some smart ideas?
(and yes I already turned on the option in CP, doh)
Posted By: Sonic Re: [6.0x] News Fader V2.1 Hack! - 09/20/2001 5:23 AM
Same Here, I just forgot it and continued with my life.
Posted By: RandyM Re: [6.0x] News Fader V2.1 Hack! - 09/20/2001 5:29 AM
Yeah, I gave up on the totals as well.
Posted By: Damoclese Re: [6.0x] News Fader V2.1 Hack! - 09/28/2001 4:57 PM
I may have come up with a possible solution for your Count total problems....

I had the same problem, and the following is what I did to fix it! I cant promise that it will work for you, so please make backups first!

This also assumes that you have already installed the Newsfader hack!

Open "public_forum_summary.pl" in your templates directory!

Find:

Code
code:

Copy and Cut the code and paste it directly below:

Code
code:

Save your changes and upload the file!

Next, Open "ubb_forum_summary.cgi" in your cgi directory

Look for:

Code
code:

Copy and Cut the line:

Code
code:

and paste it below:

Code
code:
(may be slightly different depending on which hacks you have installed!)

Save file and Upload! Job Done!

Please let me know if this solves your problems!
(like I said, It worked for me) laugh
Posted By: diggitydookey Re: [6.0x] News Fader V2.1 Hack! - 09/30/2001 9:34 PM
nice job

worked very well
Posted By: AgentX Re: [6.0x] News Fader V2.1 Hack! - 10/06/2001 10:20 PM
Guys,

I seem to be having a problem with the NewsFader. I'm using version 2.1 on UBB 6.05 on an NT machine, and it won't show up. For example:

http://www.championodds.com/cgi-bin/ultimatebb.cgi

The news fader is turned on, it just won't show. Any ideas?
Posted By: TorN Re: [6.0x] News Fader V2.1 Hack! - 10/18/2001 3:06 AM
Damoclese: Thanks for the topics & count fix...It worked perfectly.. laugh

[ 10-18-2001: Message edited by: TorN ]
Posted By: Crazzeh Timmeh Re: [6.0x] News Fader V2.1 Hack! - 11/25/2001 9:15 AM
I got the news fader to "kinda" show up, the box shows up, but no text. Everything is installed right. No idea what to do.

http://www.coasterdom.com/cgi-bin/ultimatebb.cgi


please help


~C.T.
Posted By: webwolfe Re: [6.0x] News Fader V2.1 Hack! - 11/25/2001 10:31 AM
the fix that Damoclese provided was CORRECT

this is EXACTLY what was wrong.

In the future, when experienced people install your hack, and they ALL complain about the same thing, how about taking us seriously next time instead of forcing someone like Damoclese to come along and fix the problem for you!!
Posted By: Crazzeh Timmeh Re: [6.0x] News Fader V2.1 Hack! - 11/26/2001 1:15 AM
DOH! Im so stupid. I tried updating my browser to IE 6.0, and now it works. Lmao! If anyone else had the same problem, just try that.


~C.T.
Posted By: Slurpee Re: [6.0x] News Fader V2.1 Hack! - 11/26/2001 7:36 PM
Quote
quote:
In the future, perhaps you will start coding your own hacks, and not be so rude when it comes to asking for help. I have no idea what hacks you are running, nor how your UBB is set up. I give you instructions for working on a non-modded board, and it's funny how 99% of the people had it working fine, but the 1% who don't come here and complain as if there is some conspiracy against them. Next time, here's a solution for you...don't install it, unless you know what you're doing. BTW, I have moved on to a 6.1 board, so if you're still using this hack on 6.0 and expect me to troubleshoot it for you, I can't anyway on this version.

[ 11-26-2001 11:40 AM: Message edited by: Slurpee ]
Posted By: BloggerMan Re: [6.0x] News Fader V2.1 Hack! - 11/29/2001 7:03 AM
Arg!
Wheneven I try to change the news, it always goes back to the Example News... I suppose the news I type isn't writing to news.txt or something. Help please?
Posted By: BloggerMan Re: [6.0x] News Fader V2.1 Hack! - 12/07/2001 4:44 AM
darn, I can't get it working
Posted By: Crazzeh Timmeh Re: [6.0x] News Fader V2.1 Hack! - 12/07/2001 5:49 AM
Quote
quote:
I am having the same problem. I am using 6.05 and it isnt working.
Posted By: Crazzeh Timmeh Re: [6.0x] News Fader V2.1 Hack! - 12/08/2001 4:18 AM
ok, i have come up with a fix for version 6.05 (aftershock edition). This is for people who dont have the newsfader show up at all.

In Public_forum_summary.pl (templates) it says to replace:
Code
code:

with:

Code
code:

instead, just copy the

Code
code:

part, and paste it right above:

Code
code:
(located just below the place you were)


this is what the code around it should look like:

Code
code:

Hope that this helps and that you understand it.


~C.T.
Posted By: Def-Beet Re: [6.0x] News Fader V2.1 Hack! - 02/13/2002 9:05 PM
Hi,

Some of my Forummembers say that they can't see links in the news with IE 5 or IE 5.5!

I've got IE 6 and it works. With NS it works, too.

So what could be the problem? Please help!

Bye
Dennis
Posted By: Spikestah Re: [6.0x] News Fader V2.1 Hack! - 02/28/2002 5:44 PM
I upgrades 2.0 > 2.1 and it fixed the arrors i had

showing up nicely
using UBB 6.05

very cool hack smile smile
Posted By: Consolefreak Re: [6.0x] News Fader V2.1 Hack! - 03/29/2002 3:49 PM
could anyone port this hack to 6.2* ? i didn't find it there yet.. frown
© UBB.Developers