Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 11 1 2 3 10 11
#132177 03/22/2001 2:56 PM
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
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]

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
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.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Its on now. Now look!

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
slurpee still didnt work!

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
no go.

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
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.

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
i found the problem
you hafta add..
$newslinefader
into the html part!

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
even after doing so it give me error's!

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
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.

Sponsored Links
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
n/m i got it to work now!~

Joined: Dec 2000
Posts: 50
Orb Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 50
very nice work there
but how do i get the
forum/topics/post/last post/moderators bar
underneath the fader instead of on top

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
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>


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Damn typos!! Ok fixed and updated zip file. Thanks Alien.

Joined: Feb 2001
Posts: 90
Member
Member
Offline
Joined: Feb 2001
Posts: 90
Grr, now I get to throw the one I worked on out tipsy

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
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?


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
$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 ]
Joined: Nov 2000
Posts: 37
Member
Member
Offline
Joined: Nov 2000
Posts: 37
Orb, I think moving the $newslinefader from here

} # end mods column

$Top .= "
Joined: Dec 2000
Posts: 50
Orb Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 50
Quote
quote:

thanks very much did the job nicely
this is a great hack

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
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.

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Very Nice work Slurpee. I can not wait till the move hack. smile

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Okay, I'll be ready when you are!


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Nov 2000
Posts: 126
Member
Member
Offline
Joined: Nov 2000
Posts: 126
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


I Am lost...
Angel is looking for me, help
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Looks like you forgot to make the documented changes in the cp.cgi file. Did you do that?

Joined: Nov 2000
Posts: 126
Member
Member
Offline
Joined: Nov 2000
Posts: 126
yes i did that..


I Am lost...
Angel is looking for me, help
Joined: Nov 2000
Posts: 126
Member
Member
Offline
Joined: Nov 2000
Posts: 126
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


I Am lost...
Angel is looking for me, help



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

Change to:

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


~;
} 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
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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}






$vars_news_fader{nftitle}






Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
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 ]


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
[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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
public_forum_summary.pl probably was not uploaded/updated properly.

q

Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
It was i have looked with i microscope over and over again, on all files. trust me!!

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
Quote
quote:
Allright, I'm going to re-try it now. I'll tell you my results, just a couple min....


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
$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";
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
Double typo Look for:

~;
} # end mods column

$Top .= "
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
Ok il try it one last time, brb.

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
ive integrated whos online into this!

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
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.


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
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!!!

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
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.


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
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

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
Quote
quote:
I think someone will be able to help us soon, we just have to wait I guess.


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Page 1 of 11 1 2 3 10 11

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)