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.

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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)