|
|
#42719
05/09/2000 2:31 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Making progress!
I can get the "Add News" screen.
BUT.... I enter text in the box.....and click "add"....
and i get ANOTHER blank screen!
|
|
|
#42720
05/09/2000 2:37 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Fixed it. Missed a "CP" ![[Linked Image]](http://ubbcodehacking.com/ubb/wink.gif) Thanks!
|
|
|
#42721
05/09/2000 2:39 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
NBAustin hehe...hm here your last chance before you'll better try an update
# ##find in cpanel3.cgi: #
if ($action eq "news") { &get_cookie; $User_name = $UserName; $Pass = $Password; &VerifyAdmin($UserName, $Password); if ($Proceed eq "true") { &NewsFader; } }
# ## and replace with: #
if ($action eq "news") { &get_cookie; #retrieves all current cookies
if ($cookie{UserNameCP}) { $UserName = "$cookie{UserNameCP}"; $Password = "$cookie{PasswordCP}"; $User_name = $UserName; $Pass = $Password; &VerifyAdmin($UserName, $Password);
if ($Proceed eq "true") { &NewsFader; } } }
# ## done #
|
|
|
#42722
05/09/2000 2:44 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Works fine now. Didn't need the last fix you offered. Thank you for your patience and help!
Now..... We need to make the box taller (or whatever needs to be done) to handle 2 lines of text! If you go too long, it gets cut off, and only partially shows a tip of the 2nd line's text.
|
|
|
#42723
05/09/2000 2:54 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
try in Ultimate.cgi: FDRboxHgt = 50; or 45?
and
50>
News Fader für DHTML Browser. | demo
|
|
|
#42724
05/09/2000 3:03 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Thank you.
I'll play around with that.
5.39 doesn't suck! I just have so many hacks, I can't upgrade. I have extra text fields and truncation crap for news article posting, and I have to comply with copyright laws.
I tried an upgrade a while back and none of my stuff worked.
Thanks again for your patience and help [aa]!
|
|
|
#42725
05/09/2000 3:08 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I wish we could edit our posts here.
Is there a way we can fit more text on the one line? It seems the box can accomodate a longer text line.
|
|
|
#42726
05/20/2001 4:24 PM
|
Joined: May 2001
Posts: 7
Junior Member
|
Junior Member
Joined: May 2001
Posts: 7 |
Yeah, I read over and over again about this rant of the news fader and it all seems cool but just exactly where do I get it??? Should have told that a long time ago eh?
|
|
|
#42727
05/21/2001 3:13 AM
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
I installed the hack and everything works perfectly. Except when the userdefined news finishes the hack stops and I would get "Error on Page" message below.
It doesn't want to loop! help please..
Like a phoenix rising from the ashes..
|
|
|
#42728
05/21/2001 3:20 AM
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
sorry forgot to add my URL.. here it is:
http://www.demna.org:81/~barsa/cgi-bin/Ultimate.cgi
Like a phoenix rising from the ashes..
|
|
|
#42729
05/21/2001 7:18 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
Make sure you don't end your custom news with a ,
|
|
|
#42730
05/22/2001 2:07 AM
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
yeah am sure my news doesn't inclue a "," but when I add an entry the script adds it automatically if I inserted for instance "testing testing" the script will save it as: "testing testing","",
Like a phoenix rising from the ashes..
|
|
|
#42731
05/22/2001 5:18 AM
|
Joined: Jun 2000
Posts: 59
Member
|
Member
Joined: Jun 2000
Posts: 59 |
You have to make sure the last line doesn't have a comma, the script inserts it and we never got around to fixing it.
I do not offer support by EMail or ICQ, please post your question at UBBDev....
|
|
|
#42732
05/22/2001 7:50 PM
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
Thanks man!! yeaah FINALLY it worked!.. I didnt know that I have to "manually" delete the last comma in the userdefined field! this bug should have been noted in the installation readme file!
Thanks again!
Like a phoenix rising from the ashes..
|
|
|
#42733
05/29/2001 1:28 AM
|
Joined: Feb 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 4 |
The newscript works beautifully (2.5) in 5.47e, except for the welcome our newest user, message. Fixed by adding to the else statement as shown below.
In the Ultimate.cgi file: if ($NEWS_REG ne "") { if ($DisplayMemberTotal ne "true") { &GetMemberListArray; my $TotalMembers = @members; @lastmember = reverse(@members); $LastReg = $lastmember[0]; $LastRegCoded = $LastReg; chomp($LastReg); $LastRegCoded =~ tr/ /+/; chomp($LastRegCoded); } else { if ($LastReg eq "") { @lastmember = reverse(@members); $LastReg = $lastmember[0]; $LastRegCoded = $LastReg; chomp($LastReg); $LastRegCoded =~ tr/ /+/; chomp($LastRegCoded); } }
## # Replace with : ##
if ($NEWS_REG ne "") { if ($DisplayMemberTotal ne "true") { &GetMemberListArray; my $TotalMembers = @members; @lastmember = reverse(@members); $LastReg = $lastmember[0]; $LastRegCoded = $LastReg; chomp($LastReg); $LastRegCoded =~ tr/ /+/; chomp($LastRegCoded); } else { if ($LastReg eq "") { &GetMemberListArray; @lastmember = reverse(@members); $LastReg = $lastmember[0]; $LastRegCoded = $LastReg; chomp($LastReg); $LastRegCoded =~ tr/ /+/; chomp($LastRegCoded); } }
[ May 29, 2001 02:33 AM: Message edited by: dynomite ]
|
|
|
#42734
05/29/2001 3:54 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Can someone tell me what this hack does please?
|
|
|
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.
|
|
Posts: 190
Joined: June 2000
|
|
Forums63
Topics37,571
Posts293,923
Members13,848
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|