UBB.Dev
Posted By: Oblivion Knight [6.3.x] [beta] News Fader - 07/05/2002 4:44 PM
Just a quick port from the 6.2 version..
Please note that I haven't had permission to port this hack, and if anyone involved with the hack wishes me to take down the zip file, please let me know.

Name: News Fader

Description: Places a category at the top of your Forum Summary which is only used for News. Several peices of news can be placed and they will fade on to each other.

Demo: http://www.caso.co.uk/uo/cgi-bin/ultimatebb.cgi

Link: ZIP File

Requirements: UBBâ„¢ 6.3.0, Valid UBB.classicTM License
Posted By: LK Re: [6.3.x] [beta] News Fader - 07/05/2002 5:07 PM
I think ubb_forum_summary.cgi part should be:[code][/code]
Posted By: Oblivion Knight Re: [6.3.x] [beta] News Fader - 07/05/2002 6:59 PM
Zip updated with LK's 'stuff' wink
Posted By: Allusivekudos Re: [6.3.x] [beta] News Fader - 07/05/2002 7:04 PM
Is there any way I can make this smaller? Less wide? It works very well! TY!
Posted By: Josh Chapman Re: [6.3.x] [beta] News Fader - 07/05/2002 7:47 PM
In your CP under Fader Settings I believe it is you can set the width.
Posted By: Allusivekudos Re: [6.3.x] [beta] News Fader - 07/05/2002 8:00 PM
That's what I thought, but it doesn't change the width of the actual Forum, rather the typing I think.... Unless it's supposed to, then there might be an error.
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 07/05/2002 8:01 PM
The width is determined by your board width, the width that can be assigned if the width of the text only.
Posted By: Oblivion Knight Re: [6.3.x] [beta] News Fader - 07/05/2002 9:54 PM
The width of the tables are defined in Style Templates. I believe the News Fader should just match the table width you specify..
Posted By: lekin Re: [6.3.x] [beta] News Fader - 07/06/2002 7:29 PM
I installed in my forum, but i use JC Template and it was not right, you can to help me?
link : http://www.expertsteam.com/forum/cgi-bin/ultimatebb.cgi
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 07/06/2002 10:16 PM
What do you want to change?
Posted By: lekin Re: [6.3.x] [beta] News Fader - 07/07/2002 12:14 AM
The News Fader this not in the correct place.
He is below of where it has "FORUM" "TOPICS"... and it must be above of this.
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 07/07/2002 1:22 AM
I have the JC templates but I removed that line your talking about. Did you place the fader code right after "sub Normal_Table_Top {" in public_forum_summary.pl?

I seem to remember something about it being after the "end mods column" and that would have the effect that you're seeing. I don't have the code in from of me so I can't be sure...anyone else?
Posted By: Ed Re: [6.3.x] [beta] News Fader - 07/10/2002 8:33 AM
News Fader shifted the width of the individual columns on my board. Is there a way to set column widths?
Posted By: Olliey2k Re: [6.3.x] [beta] News Fader - 07/21/2002 4:12 PM
Can someone give me the new URl to the zip file? because i cant get to this one
Posted By: Grummel Re: [6.3.x] [beta] News Fader - 07/22/2002 9:58 AM
me too smile
thx
Posted By: maurice Re: [6.3.x] [beta] News Fader - 07/22/2002 12:42 PM
quote:
I have the JC templates but I removed that line your talking about. Did you place the fader code right after "sub Normal_Table_Top {" in public_forum_summary.pl?

I did that and somehow it gets screwed up with the JC public_forum_summary.

Can you show us how you did it at yours TheX
Posted By: pamela Re: [6.3.x] [beta] News Fader - 07/28/2002 4:21 AM
Is there another source for this zip? I'm getting a file not found.
Posted By: ViRuS2k Re: [6.3.x] [beta] News Fader - 08/02/2002 12:43 AM
the links dont work frown

can you fix please also why cant i find text versions becuse i cant seem to find the hack file software ??

tnx
Posted By: ViRuS2k Re: [6.3.x] [beta] News Fader - 08/02/2002 7:55 AM
i cant find the file page not found frown
Posted By: Gladius Re: [6.3.x] [beta] News Fader - 08/02/2002 10:08 PM
Can someone post a download link to this please? I'd like to use this hack, but the link above is dead. frown
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 08/03/2002 11:19 PM
Click me
Posted By: caroth Re: [6.3.x] [beta] News Fader - 08/13/2002 9:00 AM
Here is the News Fader (in Multihack form) for 6.3.1. Click here to download and let me know if you have any problems
Posted By: bizkit73 Re: [6.3.x] [beta] News Fader - 08/19/2002 9:40 PM
Quote
quote:
Originally posted by lekin:
The News Fader this not in the correct place.
He is below of where it has "FORUM" "TOPICS"... and it must be above of this.
I have this same problem. Does anyone know how to correct it?
Posted By: little_joe Re: [6.3.x] [beta] News Fader - 08/23/2002 12:35 AM
Quote
quote:
Originally posted by bizkit73:
quote:
[qb]Originally posted by lekin:
The News Fader this not in the correct place.
He is below of where it has "FORUM" "TOPICS"... and it must be above of this.
[/qb]
I have this same problem. Does anyone know how to correct it?
Me too! I want mine to appear where Netwerkin's is. HELP! help

The hack works great on our V6.3.1.1 UBB except for this.......
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 08/23/2002 3:27 PM
Edit: Grab this text file and good luck. I promise nothing but it only modifies one file and this is exactly how I did it at Netwerkin.

Click me .
Posted By: little_joe Re: [6.3.x] [beta] News Fader - 08/23/2002 4:11 PM
Quote
quote:
Originally posted by TheX:
Edit: Grab this text file and good luck. I promise nothing but it only modifies one file and this is exactly how I did it at Netwerkin.

Click me .
Thanks for posting that but unfortunately we don't use the JCTemplates. frown

Anyone have a fix for standard templates? confused

Your forum look at Netwerkin is amazing! thumbsup
Posted By: RandyM Re: [6.3.x] [beta] News Fader - 08/23/2002 4:23 PM
Try placing the newsfader code right after this

Quote
code:
Code
sub Normal_Table_Top {

instead of just before this

code:
[qb]
Code
	return ($Top);



} #end normal_table_top
[/qb]
Posted By: redhotkitchen Re: [6.3.x] [beta] News Fader - 10/09/2002 11:34 PM
Just installed this hack and while it works fine and dandy, I'm having a couple of aesthetic problems.

You can see it on our boards, here .

Issue #1) I realize that you can set the width of the news fader. We have our boards width set to 660 in the control panel, yet if I set the width of the news fader to be anything above about 530, it makes the width of our boards wider. However, if I made it less than about 550, our text messages break onto the next line. Any ideas on why this is the case? Is it because of the layout I set up for the boards in the header and footer? (It's all in a larger table)

Issue #2) There's extra space underneath the fading headlines. It looks like a paragraph break, but I didn't see one in the source code anywhere. I also thought fade.gif being 640x50 might be part of the problem, so I set it to a shorter and narrower size, but that didn't do anything either. What accounts for this extra space?

I'm stumped on this one, so any help is appreciated. Thanks!

--

Edited to add that I've played around with a couple things, and realize that when it starts off, the cell is one line high, but as soon as it shows my boards statistics, it goes to the height with the extra spacing. In case that helps. smile
Posted By: redhotkitchen Re: [6.3.x] [beta] News Fader - 10/16/2002 5:01 PM
Well at this point in time, I've solved issue #1 in my above post, but not #2. Anyone have any idea why there's extra space under our fader messages, in that same cell? Even setting the fader.gif height to 25px (instead of 50px) didn't help. And the extra height is driving up looney. Hope someone has an idea! Thanks guys! smile
Posted By: Cuzz Re: [6.3.x] [beta] News Fader - 10/16/2002 9:57 PM
Quote
quote:
Originally posted by redhotkitchen:
... And the extra height is driving up looney. Hope someone has an idea! Thanks guys! smile
In public_forum_summary.pl

find:
code:
[qb]
Code
<td width="100%" height="49"><div id="elFader"
[/qb]
And look for height="49" (that's the default box height) change that "49" to like 30 or something. My boards New Fader is set to 20 or 25 i think, look -->( Planethex UBB Forums )

I think that's what you are asking - yes?

Hope I helped.

smile
Posted By: redhotkitchen Re: [6.3.x] [beta] News Fader - 10/17/2002 6:38 PM
Thanks Cuzz. Unfortunately, I tried that and it didn't seem to help. I've currently got height="20" in that part of public_forum_summary.pl, and even went down to 0px. All that seemed to do was change the height that the little 'jump' in the height directly before the messages appear. I even tried uninstalling it completely and doing it over from scratch. Still the same. smirk

--

Edited to add that I scrapped it and jiggered my own solution which works pretty well for us. smile
Posted By: Simply Angelic Re: [6.3.x] [beta] News Fader - 11/26/2002 5:37 PM
me three
Posted By: Dan The Webman Re: [6.3.x] [beta] News Fader - 12/11/2002 2:20 AM
Will some one make a multihack file for 6.3.1.2 Plz smile smile Just can not seem to get it to work right with the jc's... THANKS!!!
Posted By: caroth Re: [6.3.x] [beta] News Fader - 12/11/2002 8:56 AM
Quote
quote:
Originally posted by Dan The Webman:
Will some one make a multihack file for 6.3.1.2 Plz smile smile Just can not seem to get it to work right with the jc's... THANKS!!!
I don't use JC, but here is my working mhp that I have on 6.3.1.2
http://ubbhacks.turboford.org/newsfader6312.mhp
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 12/11/2002 8:16 PM
No amount of tinkering with the HEIGHT settings seem to change the table height for me, and in the CP, it only shows a blank line where I figure it should say "News Fader"... frown
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 12/11/2002 8:20 PM
Quote
quote:
Originally posted by TheX:
Try placing the newsfader code right after this

code:
[qb]
Code
sub Normal_Table_Top {
[/qb]
instead of just before this

Code
	return ($Top);



} #end normal_table_top

When I tried using this code mod, The NewsFader did not show up for me... Any other thoughts?
Posted By: Jonny_boy Re: [6.3.x] [beta] News Fader - 12/16/2002 1:50 PM
Does this hack work with the new 6.4 version?
Posted By: Oblivion Knight Re: [6.3.x] [beta] News Fader - 12/16/2002 2:17 PM
I'll update the hack soon which should work with 6.4 and fix a lot of the problems you're all having..

Give me a few weeks.. wink
Posted By: Jonny_boy Re: [6.3.x] [beta] News Fader - 12/16/2002 2:20 PM
cool thanks
Posted By: The Initiator Re: [6.3.x] [beta] News Fader - 12/23/2002 10:15 AM
Im on like the 3rd step of this hack, and in the cp_common.pl file it says to find this:
document.writeln("");

HOWEVER, that line is not in my cp_common.pl file.. Im using UBB 6.3.1. Thanks!!!!
Posted By: Oblivion Knight Re: [6.3.x] [beta] News Fader - 12/23/2002 11:08 AM
Yes, cp_common.pl changed in 6.3.1 onwards..

Instead, find this:
Code
          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_mod&r=$ran> - $vars_wordlets_cp{menu_vars_mods}</option>");
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 12/31/2002 5:16 PM
For those of you only wanting 1 line of text at a time, I just found a great fix...

Open: public_forum_summary.pl

Look for FDRboxHgt = 43; -- set number lower (I'm using 15)

Look for height="49" -- again, I'm using 15.

I know the 2nd line has been mentioned previously, but I have not seen where the first has been... I had immediately changed the 2nd line when I installed the hack, but untill I also reduced the 1st number, nothing changed.


* Now, if I can just figure out how in the hell the get the NewsFader on top of the box that says FORUM - TOPICS - POSTS - Etc... I'll be ecstatic! [ smile ]
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 12/31/2002 5:17 PM
Also, any update on getting the blank line in the CP say News fader..?
Posted By: AllenAyres Re: [6.3.x] [beta] News Fader - 12/31/2002 5:40 PM
Did you upload your wordlets file?
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 12/31/2002 6:52 PM
I've had WORDLETS installed for quite awhile now, but if there is a specifc segment of code that I should look for, would it be possible to have somebody post it for me..? wink
Posted By: Gizmo Re: [6.3.x] [beta] News Fader - 01/01/2003 12:09 AM
After:
Quote
quote:
document.writeln("");
You should have something like:
quote:
[qb] document.writeln("");[/qb]
And in your vars_wordlets_mods you should have:
Quote
quote:
news => "News Fader Settings",
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 01/01/2003 12:46 AM
FANTASTIC

It worked like a champ, and should be noted for others with the same problem...
Posted By: Kahuna Re: [6.3.x] [beta] News Fader - 01/04/2003 6:56 AM
I have read through this topic, and found a few questions the same as mine, but no answer. My question is:
When I install this hack, I find that the newsfader appears below the "Forum Name" "Moderator" etc.. Can someone please help me? Thanks!

Kim
Posted By: BRIT Re: [6.3.x] [beta] News Fader - 01/05/2003 11:49 AM
Strange, I installed this and it worked first time for me in 6.3. I noted the above with reference to the cell size, that was my only bug about it, so I'll try and adjust it with that.
Posted By: Gizmo Re: [6.3.x] [beta] News Fader - 01/05/2003 1:20 PM
After:
Code
[/code]You should have (something similar, i ripped it from my 6.4 release)
[code]
That SHOULD place it just above the mentioned fields.
Posted By: Kahuna Re: [6.3.x] [beta] News Fader - 01/05/2003 9:07 PM
when i copy that it doesn't copy spaces, so it is all drawn out horizotnally when i paste it..I am trying to just copy and paste it to replace the old coding..Please help!
Posted By: Kahuna Re: [6.3.x] [beta] News Fader - 01/05/2003 9:54 PM
Didn't work..hmmmm
Posted By: Gizmo Re: [6.3.x] [beta] News Fader - 01/06/2003 12:23 PM
I'll throw my 6.4 news fader in the 6.4 section, take the code from that.
Posted By: The Red Devil Re: [6.3.x] [beta] News Fader - 01/19/2003 10:33 PM
nm, found the answer laugh
Posted By: NetAdmin Re: [6.3.x] [beta] News Fader - 02/05/2003 12:04 AM
Here's a fix for JC Templates, it will stick the fader above the Forum/Topic/Post/Moderators etc.

This fix is assuming you have not hacked the file yet.


[code][/code]
Posted By: Xynta Re: [6.3.x] [beta] News Fader - 02/11/2003 12:16 PM
link is invalid, could anyone upload this one?
Posted By: Felix 10 Re: [6.3.x] [beta] News Fader - 02/20/2003 5:20 AM
"URL" UBB Code not working on this site?!

Here take it from my site. http://romanianational.com/NewsFader[6.3.x].txt


Felix
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 02/21/2003 5:52 PM
I have a new and interesting question that pertains to the spacing in this hack...

I just purchased a new 19" monitor (Sony Multiscan G410), and have obviously increased my screen res. I went from 17" @ 800x600 to the new 19" set at 1024 x 768, but now there is such a large difference in the centering offset of the NewsFader script. I have adjusted the NewsFader CP to reflect 900 pixel width, but now am receiving complaints from the guys with the smaller monitors.

What I would like to do, is have it set as a percentage (95%) to match the characteristics of the rest of the board, to allow for the "float" for various screen resolutions.

I'm still using 6.3.1.2, and need to know if this is a possibility..?
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 02/26/2003 5:49 PM
Any solutions yet..?
Posted By: Felix 10 Re: [6.3.x] [beta] News Fader - 02/26/2003 6:12 PM
Tim, I used both 800x600 and 1024x768 and your table looks perfect on both settings.
I am probably one of the "guys with smaller monitors"?
Posted By: tgreene Re: [6.3.x] [beta] News Fader - 02/27/2003 5:58 PM
Nope, while is is set for on an 800x600 monitor, it is offset to the left on every 1024x768 monitor I view it on... frown
Posted By: Felix 10 Re: [6.3.x] [beta] News Fader - 04/02/2003 6:31 PM
anybody knows how would I enable Moderators to edit/add NewsFader content?
Anybody else did it?

This is the lines that, I think, set the permission in the CP. [code][/code]Thank you
Posted By: autostream Re: [6.3.x] [beta] News Fader - 08/07/2003 9:42 AM
This hack i like the best, I highly recommend it.
thanks a lot
Posted By: Rainner Re: [6.3.x] [beta] News Fader - 11/22/2003 6:28 AM
Hi,

Does anyone have a copy of this hack htey could send me? The link for this one is down also.

Thanks

Rainner

also can befound on yahoo chat rainner468
Posted By: Felix 10 Re: [6.3.x] [beta] News Fader - 12/02/2003 4:34 AM
http://romanianational.com/News_Fader.zip

Hurry up and get it, I dont have much space on my server

smile
Posted By: Ian Spence Re: [6.3.x] [beta] News Fader - 12/02/2003 5:06 AM
why not just use flareupload to host it here, so that it's always available (at least when ubbdev is up)
Posted By: Rainner Re: [6.3.x] [beta] News Fader - 12/09/2003 4:57 AM
Thank you!

Rainner


ps: if you need space to keep mods up, let me know. My servers been online for 5 yrs with 2-T3's.
Posted By: eXtremeTim Re: [6.3.x] [beta] News Fader - 10/21/2004 6:09 AM
Anybody still got this hack?
Posted By: Ian Spence Re: [6.3.x] [beta] News Fader - 10/21/2004 6:34 AM
http://www.netwerkin.com/hackz/newsfader630.zip
Posted By: eXtremeTim Re: [6.3.x] [beta] News Fader - 10/26/2004 3:09 AM
Thanks yet again.
© UBB.Developers