Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Modification Name: News Fader

Author(s): Brett

Description: This mod puts a row at the top of your forum summary that fades text that you put in thru the CP.

Demo: Click Here

Download Link: https://www.ubbdev.com/ubb/upload/00006378/NewsFader6.6.zip

# of Downloads: [img]http://www.pavioni.com/scripts/dl.php/read/NewsFader6.6.zip[/img]

Credits: Slurpee, LK, Gizzy

Instructions / Other Info: This has a different Javascript from dynamicdrive.com, that finally works with mozilla. smile

(Don't forget to upload ALL the templates) wink

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
Originally posted by Brett:
Instructions / Other Info: This has a different Javascript from dynamicdrive.com, that finally works with mozilla. smile
cool

thanks laugh


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
he updated my script! oh my! lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Okay, I made a couple minor changes to get rid of the news fader name and added the $TBT and $TBB around it but even before I did that there were some issues. If you look here you'll see what I mean. It fades in but doesn't fade back out. I also turned the news image off in the CP but it's still there and it jumps around a lot. Any ideas?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
lol thats a great error! if it wasn't for mozilla i'm sure it'd still be using the original java...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Yeah, I'm gonna tweak it to see what I can do. What about colored fonts? When I assign a color it gets more funky.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Not a clue, with any luck brett made a change log of everything he did hehe...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I removed it for the time being, I'll put it up on a test board to see what I can do with it. It's close but I liked the colored text in the old one but I use Opera most of the time now so that one wouldn't show up.

Joined: Jun 2003
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1
cool

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the color is hardcoded into fader.js You'll have to tweak the rgb colors to make it look fine for your color scheme. I would really like it to take the colors of the cells it's in.

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I realize that the colors are hard coded, but the old version (IE only) did the colors and it looked great. I couldn't get this one to fade out, it just faded in. It just seemed a bit *off*. I've used a ton of code from DynamicDrive in the past and they have some great stuff.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the only way I found in this script to get defined colors to work involved getting rid of the fade part, so they just appeared and disappeared.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

can someone tell me, how I can get a break between newsfader and forums at the forums page?

http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi


Webmaster of d-talk & Kabel-Forum.com
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
After the news fader code;

Code
$ns
Add;

Code
$TBB


$TBT
That *should* do it.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you very much Randy M


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi, but now something with the newsfader table does not work...

http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi

What can I do?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I hope that brett knew everything currently worked for 6.6 minus the cp portions...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Of course i know that everything worked...for ie(and some versions of ns) only. tipsy

I haven't had much time to work on this as i wanted to. And since thanksgivings here, i probably won't get on it until friday, if i don't somehow get it today.

d-talk: What do you mean, does not work? confused

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Brett,

look at my site and watch the newsfader

http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi

The table of the fader is not correct

Look at the jpg...

[Linked Image]


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
in public_forum_summary.pl

change:


to:


then

change:


to:


then you'll need to clear your cache
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
The timing of the fade is off unfortunately and even in IE it only fades in, not out. That's not Brett's fault, it's the script. The older version faded in and out nicely (and in color) without the long wait in between. *shrugs*

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi again,

nothing has changed.....:-(


Webmaster of d-talk & Kabel-Forum.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
should be

(at least that's what it looks like to me)

- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
looks like you've fixed it shocked

like the design thumbsup


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
...but I nee a break between Newsfader and Forums....what can I do..


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Compaire the install instructions between 6.4 and 6.6, see if it's just the fader script thats changed; if so, replace the fader script with the old one... btw, the cp files will be differant... most people like the old version even though it's not compatable with some browsers smirk...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Gizzy,

I have replaced the fader script to the old one, but this does not work...


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
*goes off to write new port*

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
rofl al; make it Operation: Old Version....


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I actually already got it working, I just hope I can stay awake long enough to write the install.txt tonight

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Remember!! Use the old fader.js file with this mod.

This is unsupported by me unless it works

https://www.ubbdev.com/ubb/upload/00020028/NewsFader66.txt

The only step that changed was that really long one in public_forum_summary.pl

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
you gotta be kidding me...

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
*hugs Brett* it's ok

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Weird Al,

I build in your new code, but now I can not see anny fader at my board

http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi

Can you help?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
rotfl...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
didn't notice that the old version wanted $vars_newsfader{nfon} to eq "ON", where the new version checks to see if it's equal to 1.

Updated txt and fixed d-talks board

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thanks a lot Weird Al!!! thumbsup thumbsup thumbsup


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
btw: if anyone notices the fonts getting... "fuzzy" when fading, there is a little issue with users using ClearType from Microsoft. Disabling Cleartype will make it look perfect again

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I ended up using a script from DynamicDrive and an iframe. I have to edit the text in the script itself but it works great in all the browsers I've tested.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Randy: have a link?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Sure, Click here .

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Does anyone know where I can find the OLD fader.js?

- MT

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
you might try the archived mod forum... I don't think that file changed for years smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I know one! check the 6.4/6.5 port! lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Zip file updated. It now fades in and out, and is still mozilla friendly. wink

Just reupload the fader.js and search the instructions for the addition in public_forum_summary.pl for the differences.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
does it still only due black to white, white to black? I need it to take the colors of the page, no matter which css style I use

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I just tried it and it still has issues in Opera. I'm going to keep using the one I have now in the iframe. Thanks for trying Brett, this function just doesn't like cross browser compatibility in UBB.

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Quote
Originally posted by Weird Al:

didn't notice that the old version wanted $vars_newsfader{nfon} to eq "ON", where the new version checks to see if it's equal to 1.

Updated txt and fixed d-talks board
I just tried to re-install this mod after doing some other work and I'm having the same problem. I've re-installed it like three times and I still don't get anything to fade. I even used your new updated code. What changes do I have to make to get this to work properly?

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
So it doesn't show up at all?

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Well, I get the box and all, but that's it. Funny thing is, no errors are generated. I can't explain it. Everything else works beautifully. Any ideas?

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
did you upload the old verion of fader.js in the 6.3+ version?

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I uploaded the version from 6.4 and when that didn't work, I tried the one from 6.6... Is there a link to one that I should use? I'd like to re-import this hack and be done with it. wink

Thanks,

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the 6.4 version is the one you should use

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Man, I can't tell you how much this bugs me! I had this working before when it was one of the first mods I added. Now, I can't add it in at all. Everything comes up fine, but it doesn't fade. Nothing, nada, zip, ziltch. No text is written to the page. All I get is a box (as if I had no text in the CP).

I've checked the error_log file and nothing's there. I've looked over the code and found nothing that should be modified in leu of other mods being added.

I just can't figure it out. If anyone can help solve this mystery please help. FYI, I already have the following mods installed with complete success:

Wordlets
AIM
Authority
Backup
Calendar
Stats
MegaMod
LastTotalMembers
Smilies
QuickReply
Thumbnail

Good luck!

- MT

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Nobody has any suggestions for this?

- MT

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Have you upload fader.js ?


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Absolutely.... I can't figure it out. Fader.js should be in the UBB folder, right? That's where I put it. I'm sure there's a real simple answer to this that I'm missing, but I just don't see it.

- MT

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Quote
Originally posted by Brett:

Zip file updated. It now fades in and out, and is still mozilla friendly. wink

Just reupload the fader.js and search the instructions for the addition in public_forum_summary.pl for the differences.



Brett, does it use colors now?

Originally posted by Matt Torbin:
[qb]
Absolutely.... I can't figure it out. Fader.js should be in the UBB folder, right? That's where I put it. I'm sure there's a real simple answer to this that I'm missing, but I just don't see it.

- MT
[/qb]
You are correct, it should be in the ubb (noncgi) directory.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I hate to give up on this one, but it's just not happening. I've gone over and over and over it. I can't seem to figure it out:

1) No error messages are being created.
2) No CGI errors.

It's just not working. It's almost as if a different hack that installed earlier is over-riding this hack.

If anyone has had this issue or knows how to get around it, please let me know because I'm at a loss.

- MT

Joined: Jan 2004
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jan 2004
Posts: 3
Just uploaded the hack w/ Weird Al's mod and the 6.4 fader.js. The newsfader automatically started working on my BB. Thanks for the mod, but where is the edit for it located in the CP of 6.6? I cannot find where to turn it on/off and where to enter text.

Thanks

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
In the left bar, there should be a link saying "Newsfader" or something similar

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
*Feature Request* Have an option to make the news fader attached/detached from the main island...

Quote
quote:
Gizzy: know what'd be nifty for the news fader?
Gizzy: an option to make it attached/detached to the main island
Weird Al: no, but I'm sure you'll tell me
Gizzy: have like a wordlet that inserts/removes
lol
Weird Al: the $TBB
$TBT ;-)
Gizzy: lol yar ;-)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2004
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jan 2004
Posts: 3
I do not have anything on the left hand side of the control panel for the newsfader. I was confused in the install notes that it said the cp.cgi would be modified, but then the install mentioned cp2_lib.cgi. I'm assuming the cp.cgi gets it info from this, but if it does not then that is my problem since I never edited the cp.cgi in any way.

Any ideas...the fader looks great on the site, except for the lack of being able to modify.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
cp.cgi isn't modified. cp2_lib.cgi is the file modified, and that's the file that would show the link on the left.

Make sure you did both of those steps correctly

Joined: Jan 2004
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jan 2004
Posts: 3
Thank Weird Al.....all appears to be working flawlessly now! Guess I forgot to upload or an error in uploading the cp2_lib.cgi.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Hey Brett, this site says it's fader is not only cross compatible, but will also work like the old one...

http://www.webreference.com/dhtml/column13/allCode2.html

care to give it a shot?

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That code is designed for NS4 and IE4, not web standards.


UBB.classic: Love it or hate it, it was mine.
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
well IE6 wasn't designed for web standards either tipsy

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Okay, after playing around with Brett's info--and not getting the fader to appear, I read through th rest of the forum and saw Ian Spencer's revisions.

So I gave that a shot.

The fader appears! YAY!

Only there seems to be an *issue* ...

Here's what I keep getting:

Quote
quote:
A Trojan Has Been Detected and Cleaned!

The file C:WINDOWSLOCAL SETTINGSTEMPORARY INTERNET FILESCONTENT.IE52TC7UXU5ULTIMATEBB[21].HTM was infected by the Univ.script/99 trojan and has been deleted to the complete the clean process
This is a McAfee VirusScan message.

It comes up every time I post a new topic, and then go to the front page to see the "fader"

What on earth is going on, and how do I stop it?!


Sue
adwoff.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
you get norton! lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Although I'm sure that Gizzy's reply is exactly what you wanted wink


There is no trojan horse in this mod. However, alerts don't go off for no reason (most of the time) so I reccomend you look into downloading Ad-aware (lavasoft.de if I remember correctly) and see it that finds anything.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
If you're going to go the spyware approach, go Spybot Search and Destroy; it's free and has more spyware issues than most other programs.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Quote
Originally posted by Gizzy:

you get norton! lol...
Ha ha ha ha tipsy

I actually have the ad-aware program ... and will run it ...

Still, it bugs me that I try to install the fader hack--and I get that kind of a message ... I know very little about viruses/trojans, et al--other than they can really mess up a lot of systems ...

And I know this, until I can figure out WHY this mod is creating this trojan message, I cannot use the fader ... which will really, really, really bum me out ... it's one of my most effective ways of communicating with my members.


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
All-righty, cuz I'm a persistant person (it's da goat in me wink ), I rehacked the files using Brett's directions, and I'm pleased to say that there is no trojan alert coming up any more.

That's the "good news."

The bad news is that my fader is acting very strangely.

I have a graphic on the left. The news appears on the right (I know, duh! tipsy )

Let's say it's 100 pixels wide for the graphic area (which is a bit much) and 600 for the text area.

What is happening now is that it keeps flipping back and forth.

One moment, the graphic area is 100 pixels; the next, it's 600.

Is this making sense?

I'm going to try it using the old script ... and cross my fingers and hope it works ... but if not, this is the *issue* I'm having with this mod.


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Well, the old fader script file created errors, so I went back to the newer one ... it's still behaving strangely, though ... any ideas why?

http://adwoff.com/ubb-test/cgi/ultimatebb.cgi is my test site.


Sue
adwoff.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It's becasue brett's doesn't fade.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Quote
Originally posted by Gizzy:

It's becasue brett's doesn't fade.
Okay. How does one fix the problem of the alternating sizes (i.e. 100 for the graphic/600 for the message ... then 600 for the graphic/100 for the message)?

I really would like to have this mod!


Sue
adwoff.com
Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
I thought I'd share my problem with this news fader, as it may present a clue to where the bugs lie.

I made the mods as described in the .zip in Brett's first post in this thread. I also used the fader.js in that zip.

I'm running UBB 6.6.1, and viewing it on IE6. Everything appears to be working except that the text doesn't show. The text is there, except that it is the same color as the background. The only text in the fader that is the color that it should be (ie. the only text I can see) is the numerical values for the number of posts and the number of topics.

I know the text is there-- if I run my mouse over it as if to highlight it, I can see it in the negative. Why is it doing that?!? I tried going into public_forum_summary.pl and including font color attributes everywhere and still no luck!?

Has anyone gotten this to work on 6.6.1?

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
Clue#2 - Its not reading carriage returns that separate the lines of text. In my CP where you type in the text to be displayed, I have carriage returns at the end of each line. These carriage returns aren't recognized, even if I leave two carriage returns between lines.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Hrm, I will reload this tonight when i get off work in a couple of hours. That would be grand if it was just a color error shocked . I still do want to get this working as i would like to see a cross-browser fader for once on ubb wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I'd like it if it faded smirk... hopefully functioning like the original did for IE wink ..


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
Originally posted by Gizzy:

I'd like it if it faded smirk... hopefully functioning like the original did for IE wink ..
That would be great.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
smartalecs tipsy

It wasn't really helpful to install it on my testboard to see it working great on mozilla 1.6 and IE6. :

Nate: Could i have you replace (in public_forum_summary.pl)
'var tcolor = "$vars_style{CategoryStripColor}";'

to

'var tcolor = "$vars_style{CategoryStripTextColor}";'

? You'll also have to clear the forum summary cache. When i tested it, i was using the default colors. So i may need to create a new variable to insert the faded color too...

Also, line returns in the news fader text indicate individual messages. The only way to have an actual line return is too put the
tag in.

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
I understand that a line return separates the individual messages. For some reason last night, a line return was not separating individual messages.

Anyhow, I made the adjustment to public_forum_summary.pl, double-checked and reuploaded all the hacked files to make sure everything was done right. Checked permissions, went into CP, cleared the forum summary cache, closed my browser and opened a fresh browser window, and went to my test board.

The text is now visible! The fader is very close to working perfectly, but I see two more abnormalities--

First, once the fader begins to display the news fader text, its adding a blank line message between my individual messages. In other words, if my CP news fader text reads:

Quote
quote:
This is a test
Of the emergency broadcast system
then my fader does this:

quote:
[qb]This is a test
---pause for a moment---
(blank line with no words)
---pause for a moment---
Of the emergency broadcast system
---pause for a moment---
(blank line with no words)
---pause for a moment---[/qb]
The second abnormality that I noticed, which is fairly insignificant, is that while the words, "Total Posts" and "Total Topics" fade out, the actual values adjacent them do not fade out, but rather stick around until the words fade out and then disappear. Like I said, this is minor but I figured I'd mention it anyhow.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
ok, i see. making progress smile How about replacing the read_news sub in ubb_forum_summary.cgi with this
Code
sub ReadNews {
my @news = split (/n/, $vars_news_fader{nftext});
my $chr = chr(13);
foreach (0.. $#news) {
$news[$_] = &strip_lead_trail_space($news[$_]);
next if($news[$_] eq '');

$news[$_] =~ s/(<img src=")(.+?)(" border="0")(>)/$1$2$3 /$4/isg;
$news[$_] = &Smilies($news[$_]);
$news[$_] = &UBBCode($news[$_]);
$news[$_] =~ s/(<img border="0" title="" alt=".+?" src=")(.+?)(" />)/$1$vars_config{NonCGIURL}/$2$3/isg;
$news[$_] =~ s/(<img border="0" alt=".+?" title="" src=")(graemlins/.+?)(" />)/$1$vars_config{NonCGIURL}/$2$3/isg;
$news[$_] =~ s/"/\"/isg;
$news[$_] =~ s/$chr//isg;
$the_page .= ($#news == $_) ? qq~"$news[$_]", ""~ : qq~"$news[$_]",n~;
}
}
I saw what you were talking about, and this should clear it up.

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
I made the change, reuploaded, cleared caches, etc.

Still no improvement; still posts a blank line in between individual messages, sorry.

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
I think I'm seeing what Nate is seeing ... or, rather, not seeing. smile

After I enter a topic to the fader, it acts as if there is another message--albeit it, invisible.

A little quirk--one that I can live with for now--since the fader is fading and not *resizing* itself like it did before!


Sue
adwoff.com
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I went to your test board ADWOFF, and saw the problem. I was able to, what it looks like, patch the problem by changing in public_forum_summary.pl the bcolor, and tcolor parts to this:
Code
	var bcolor = "$vars_style{AltColumnColor1}";
var tcolor = "$vars_style{CategoryStripTextColor}";

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
Hmmm... no dice-- problem persists.

I wish I knew more perl and javascript; I've been taking a look at it myself but I'm afraid I won't be of much help until I learn more.

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
The problem is occuring where cp2_newsfader.pl writes the newsfader text to the vars file. If you look at vars_news_fader, there are two carriage returns at the end of each line instead of one.

I'm not sure why it does this, but perhaps a patch like this might work:

In ubb_forum_summary.cgi, change

Code
 sub ReadNews {
my @news = split (/n/, $vars_news_fader{nftext});
my $chr = chr(13);
to

Code
 sub ReadNews {
my @news = split (/nn/, $vars_news_fader{nftext});
my $chr = chr(13);
I would try it myself, but I have since upgraded to 6.7. Any plans to port this to 6.7?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
This should work fine with 6.7

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
I have this installed at my site, but the *delay* between the news events listed is significant.

Is there any way of fixing this?

(Yes, I tried playing with the amount of time between events, and that didn't seem to have any factor in changing the speed.)


Sue
adwoff.com
Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
I don't know how to fix it, but I can show you where the problem is:

Open up a copy of your vars_news_fader.cgi, and look at nftext-- see how it has entered a double carriage return at the end of each line? This hack needs to be re-worked so that it only enters a single carriage return, and then the amount of time between events will work properly.

I know some perl, but not enough to be able to spot what's causing this to happen. Good luck!

Joined: Nov 2003
Posts: 11
Junior Member
Junior Member
Offline
Joined: Nov 2003
Posts: 11
As a work-around, I simply elected to reduce the event time to 1 second, and chose not to leave the "greeting" field blank in the CP->News Fader

Additionally, if the 1 second setting is still too ong for you (actually about 2 seconds), you can always go into the code in public_forum_summary.pl and changed this code:


Code
<script language="JavaScript1.2" type="text/javascript">
<!--
var delay = parseInt('$vars_news_fader{nfspan}') * 1000;
Change 1000 to what you need to make it right... 1000 milliseconds is default... If ou cut it down to 500, then you'll be right at one second total...

Also, if I jump in here:

Code
<td width="100%" height="49" align="$vars_news_fader{nfalign}">
and change the "height" value to 32, I get exactly two lines of text without the cell visibly "growing".... This is especially useful when folks pop up a "less than maximized" window (width), and causes even the shorter headlines to double up.

Also... The

Code
var tcolor = "$vars_style{CategoryStripColor}";
still hasn't been changed to:

Code
var tcolor = "$vars_style{CategoryStripTextColor}";
yet in the download file in the first post.

I think that's all I had to change.
I like this hack...

Here's my board if you want to see it: TurboFord.org

PS - I am using the fader.js in Brett's zip, and it seems to be working fine.


Clay Autery
"More, Better, Faster..."
Joined: Nov 2003
Posts: 11
Junior Member
Junior Member
Offline
Joined: Nov 2003
Posts: 11
Also... when/if new work is done on this hack, it'd be an AWESOME idea in my opinion to add an "optional" FIND/ADD instruction such that you could have the News Fader appear in the Forum level...

I'm assuming, since to get it on the Forum Summary level requires the code hack to public_forum_summary.pl, that to get the fader to appear at the top of each forum, some code would need to be added/changed in public_forum.pl

Why?

Well, a LOT of my readers don't enter the board via the Forums Summary page... I have a LOT of regulars who are linked directly to their favorite forum...

If I use the Fader to put out important info, then these guys miss it a lot of times.

Thanks!


Clay Autery
"More, Better, Faster..."
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
Works great smile

Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
Hey all,

It's me again. smile In my News Fader it seems to be displaying twice the number of posts and topics when it displays total posts and topics than what it really on the board.

OK, not sure what is screwed up here, but I also just noticed that FSUM status was reporting double the total counts as well. Statistics seems to be the only thing reading the true count. Help please? smile

Thanks again...


-GATOR

"Pain is temporary, Pride is forever"
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
Any chance at getting this one looked at please? smile


-GATOR

"Pain is temporary, Pride is forever"
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
uh... remove the code you added to to ubb_forum_summary.cgi for the status mod.

Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
Yep, that fixed it. Much appreciation Al. smile


-GATOR

"Pain is temporary, Pride is forever"
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
It seems any html in the text line to be displayed causes the fade part to fail and the text just appears.

That's why the topic totals just jump on and off - they have a separate font statement.

I removed the < from the front of a link and it faded ok.

Joined: Jan 2003
Posts: 28
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 28
Runs in 6.7.1 just in case anyone was wondering with 1 minor exception. There seems to be a transition period (default of 6 seconds) where the news window is blank.

I tried changing the timeout to 2 seconds and the system information transitions OK now but the stuff I configure (with the ENTER as a separator) still puts in a 6 second delay between news items.

Any thoughts?

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
please delete


Webmaster of d-talk & Kabel-Forum.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Works well in 6.7.2, thanks smile

I've got a mhp if anyone is interested smile


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Instead of having this display in the public-forums_summary would it be possible to have it display in each physical forum instead?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
hmmm... you could probably just remove "_summary" from the install

Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Ok so public_forum_page.pl Ideas of where to add the text and would it be the same as shown in the install docs?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
prolly not, but I'm sure someone who knew what they were doing could do it no problem. In order to save, will do it later tonight or tomorrow night

Joined: Sep 2005
Posts: 44
God Offline
Member
Member
Offline
Joined: Sep 2005
Posts: 44
I installed the newsfader and it is working but it isn't fading properly and sometimes I have to 'submit changes' in the cp about 5-6 times before it takes effect (yes, I cleared the cache).

I tried installed the fader.js from the 6.4 version but then it doesn't work at all.

Could someone please tell me what it is I need to do to make the fading work properly instead of the sporadic manner in which it is working now?

It fades in (but never to full white) and then all of a sudden disappears.

I've read through all 8 pages but I must have missed something because I still can't get it to function.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hello everyone,

can someone help me? News Fader Hack brakes all my tables....

My Board:

http://www.f1-board.com

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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

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

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