Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
I have incorporated a text fader into my site but it isn't quite finished yet but will be soon, who is interested in this? check it out here


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Sponsored Links
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
like the ones that's in my sig?

sure

------------------
Moderator of UBB 5.45 and Hacks Compatibility

D r. D o l l a r z
M o d e r a t o r

Joined: May 2000
Posts: 19
Member
Member
Offline
Joined: May 2000
Posts: 19
Hey Dr Dollarz


Congrats for Mod. [Linked Image]

Greetings
http://crazywhite.virtualave.net

Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
thanks [Linked Image]

------------------
Moderator of UBB 5.45 and Hacks Compatibility

D r. D o l l a r z
M o d e r a t o r

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
You can include me in that 'interested' list, I could use this function nicely.

------------------
Administrator
Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Sponsored Links
Joined: Mar 2000
Posts: 305
Member
Member
Offline
Joined: Mar 2000
Posts: 305
ADD ME TOO THIS!

I'd make one, it would be easy. but I'm too lazy.

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I'm working on a JS news fader which shows your annoucements. It's in it's last beta stages.

Just a thought [Linked Image]

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
I am VERY interested!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey Cal... your JS NewsFader really looks nice on the http://www.islandncs.com/cgi-bin/ubb/Ultimate.cgi site... sswwwweeeeet!

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
That's not mine. Dark_wizard did that himself. Mine is better in 3 ways:

1) It's looks better (automatically takes ubb style settings and is centered

2) Uses JS not Java

3) Show UBB annoucements, rather than set headlines

Just a thought [Linked Image]

Sponsored Links
Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
this woudl b cool....my users will like it [Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
hey mr dark, you can add me in your list too.

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Ok...heres the deal....Cal says his is better....you saw his thread above about his features but here is mine:

  • * Netscape and IE compatable
    * Addition of clickable URL's
    * Message will pause when you place your mouse over it allowing you to click on the URL.
    * Mine is a Java Applet (small drawback)

I am trying to finish it up, when it is complete I will post it here. If everyone thinks Cal's is better then I will not continue to work on it. The choice is yours... [Linked Image]


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jan 2000
Posts: 67
Member
Member
Offline
Joined: Jan 2000
Posts: 67
The small drawback - its an applet is a HUGE drawback- no-one will use it IMVHO

CAL

How are you going to pass extended HTML strings to js var's? Its tough

------------------
http://www.cpfc-bbs.com/

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Dammit - I'm supposed to have quit, but I just can't help myself.

Basically, the only bug as I see it is that mine isn't NS compatible yet (due to a tiny problem that i'll fix this week). My links are clickable (duh) and my headlines are taken straight from UBB annoucements (thus, no need to enter information twice).

For the moment, email me for hack support since I will no longer be posting to this board. Hope to see you all soon.

Just a thought [Linked Image]

Joined: May 2000
Posts: 118
Member
Member
Offline
Joined: May 2000
Posts: 118
Quote
quote:
Yes Please keep working on yours

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590

here is my version.
-no problems with Netscape and IE!

options:
-greet to the last registered member
-UBB-Announcements
-user-defined news per cp
-Admin-Login

I write the code here on weekend

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
[aa] I'm impressed...the interface is nice and is far better than mine or Cal's, can you ICQ me with a URL so I can see it in action? [Linked Image]


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I like it, where can i get the instructions for it [Linked Image]

Joined: May 2000
Posts: 118
Member
Member
Offline
Joined: May 2000
Posts: 118
Oh my god that is amazing!

Joined: Jan 2000
Posts: 170
Member
Member
Offline
Joined: Jan 2000
Posts: 170
Not bad i like it, i hope you'll finish it soon [Linked Image]

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Count me in. I hope it will be backwards compatible with versions like 5.39. [Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
okay, tomorrow evening is finished it wink
This enables you in the forumdisplay the display and fadeIn of news that you can define on yourself
For this you can choose between several options ("generell settings").
You also can add, delete and edit userdefined news on the controlpanel ("add news").


Joined: May 2000
Posts: 118
Member
Member
Offline
Joined: May 2000
Posts: 118
Yes! Excellent Hack, In 24 Hours I am gonna have this hack installed!

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
This looks great.

Looking forward to adding this in!

------------------
Administrator
Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Jan 2000
Posts: 170
Member
Member
Offline
Joined: Jan 2000
Posts: 170
I hope you don't make it in german like in your example [Linked Image]

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
aaarrgggghhhhh!! how much longer....this is a nice addition...can't wait... [Linked Image]


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Is this English correct?

dialog generell settings:

NEWS FADER

Enables showing and fading of the news in the Forum-overview. It is possible to integrate the UBB's current announcements, if turned on.
You can also create userdefined news by controlpanel under "Add News"


Options:

"Show the lastest reg. Member"
"Do not show the lastest reg. member"
"Show current UBB-Announcements"
"Do not Show current UBB-Announcements"
"Show userdefined news"
"Do not show userdefined news"


Dialog NEWS ADDON in CP

ADD NEWS

To add a new newsline use the first editbox. HTML and links are allowed. But please use ' instead of ".
If the whole line should link to a page then use the second editbox to enter the link. No " again.

Add Newsline:
Add Newsline-Link (Optional):


EDIT / DELETE NEWS

The contents of this editbox are the userdefined newslines.
Here you can edit or delete old newslines. Change the text in this editbox and press "update" when you're done.
a news datarecord consists of "topic", "link",
Ensure after editing that the last datarecord may not have an comma as last character!!!


hmm?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
generell ---> general
lastest ---> latest

rest is OK [Linked Image]

hope you will post it very soon

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
newsfader v2.2 (beta!)


DEMO (temp!)

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
AWESOME!!

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
exit(0); # comply with SafePerl

This doesn't exist in 5.39 in both Ultimate.cgi and cpanel3.cgi. Where should I put the subs?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
go to the bottom of the file and add the code

in cpanel3.cgi directly underneath

ENDIT
}


and in Ultimate.cgi underneath

RegHTML
} ## END Register SR ##



5.39? huih [Linked Image]

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Underneath what?

"exit(0); # comply with SafePerl" does not exist in version 5.39, and there are 2 instances of this in the instructions. Once in Ultimate.cgi, and once in cpanel3.cgi.

Where do i put the subs that follow "exit(0); # comply with SafePerl" in your hack instructions in version 5.39?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Good job, this hack works perfectly and like the feature to add news lines via controlpanel. Its a keeper

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks [aa]! [Linked Image]

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
no luck here...I get "Done, but with errors on page", must be conflicting with another javascript....not sure...checked the code three times.....[aa] if your on ICQ me at 29478259 thx.DW


I do not offer support by EMail or ICQ, please post your question at UBBDev....

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
oops!

One more....

5.39 doesn't have FloodCheck.

This doesn't exist in cpanel2.cgi:

print qq(



Flood Check?


Where do i put the code?

Thanks in advance!
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Ok.
I click on "Add News" in the CP, submit my Identification, and i get a blank screen.

What did I do wrong?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
arrgs... wink

Dark_Wizard:
I am not Java expert however try the java routine from originalhack:







but the code is [censored], it won't work with NS and did many errors at the HTML code...


NBAustin:

Add the code directly underneath:


&InputRadioRow("#dedfdf", "Cookie Option", "If you are setting up more than one UBB on a domain, you should elect to have cookies set to the precise directory that that UBB is running in. If you are only running one UBB on your domain, then you can set your cookies more broadly. The default is to set BROADLY.", " Set Cookies to This UBB CGI Directory Only

Set Cookies Broadly - Entire Domain");
print<


and... the blank screen...hmmm this is a beta-bug with adminpass-cookie. i'll fix the error.

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
here is my error as reported by Internet Explorer 5.1


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I also get an ugly red box to the right of the news headline. i saw your fix for this, but colspan="4" is nowhere in my ultimate.cgi file.

Any thoughts?
You can see it here .

Thanks in advance.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Dark_Wizard

did you set those variables in the general settings and only set that switches you really want to use at the cp...?

This is a beta version wink

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
No change [aa].

Still have the box.

PS... The "Announcements" headline should be underlined like the last regged member is so people know to click on it.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Would anyone know why it doesnt show the users name for newest registered member

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Quote
quote:
Yes...I have tried everything...just userdefined, then just announcements, then both...all the variables are set...do you want me to email my Ultimtae file? If so give me your email address....


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin change in ...



to:





KillmAll:

change in ultimate.cgi:


if ($NEWS_REG eq "ON") {
if ($DisplayMemberTotal ne "true") {
&GetMemberListArray;
my $TotalMembers = @members;
@lastmember = reverse(@members);
$LastReg = $lastmember[0];
$LastRegCoded = $LastReg;
chomp($LastReg);
$LastRegCoded =~ tr/ /+/;
chomp($LastRegCoded);
}


to:

if ($NEWS_REG eq "ON") {
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);
}
}


or install "show the latest reg. memberhack"!
Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
that doesn't work either...I tried it on a clean 5.45b test board and it doesn't work. Can anyone help?


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
have you made any headway on this?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin

for underlined links change in Ultimate.cgi

FDRlnkDec = "none";

to:

FDRlnkDec = "underline";



Dark_Wizard -> aa@german-elite-board.com

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin

here is the fix for blank screen:

in cpanel3.cgi find:


sub NewsFader {
&get_cookie;
&VerifyAdminCP($UserName, $Password);
if ($Proceed eq "true") {

and change to:


sub NewsFader {
&VerifyAdminCP($UserName, $Password);
if ($Proceed eq "true") {


---------------------

i added the changes made so far to the description. current version is 2.2

newsfader v2.2 (beta!)


DEMO (temp!)

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
[aa],

made the change, and it's still comes up blank.

I noticed this:

$newspage = "$CGIPath/newzline.cgi";

Did I miss something? I don't remember any instructs for a newzline.cgi file.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Dark_Wizard hmmm....

if the following doesn't work it's not the fault of the hack:


    [*] all options must be set to 'show...'

    [*] create a userdefined test-newsline

    [*] create an announcement to be shown in all forums

    [*] check if there is a file called 'newzline.cgi' in your cgi-bin and if there is a userdefined message in it.


errm... did the newslinehack 1.1 work for you?

please note that i made some changes in yours and cal's routine:


if ($AnnouncementBlock ne "") {$AnnouncementBlock .= ",n";}
$AnnouncementBlock .= qq("$LatestTitle","$CGIURL/ubbmisc.cgi?action=getannounce&ForumNumber=1&Start=$StartJulian&End=$EndJulian&Session=$SessionLogin");


to:

if ($AnnouncementBlock ne "") {$AnnouncementBlock .= "$SEP_On";}
$AnnouncementBlock .= qq("$LatestTitle","$CGIURL/ubbmisc.cgi?action=getannounce&ForumNumber=1&Start=$StartJulian&End=$EndJulian&Session=$SessionLogin"$SEP_U);


NBAustin the file creates itself if it doesn't already exist

ps. i will change some things on the error-handling soon

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
What u posted for me worked perfect [aa].

Thanks

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I guess i need this "newsline hack".

I wish i had known this. Can someone direct me to it? Evidently this is why "Add News" comes up blank.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
the bug with the blank page at actualisations has been fixed. i had to change some things for this, because only the admin should be able to run it wink

everyone with a previous version installed has to do this changes:

#
##in cpanel3.cgi find:
#

if ($action eq "news") {
&NewsFader;
}

#
## replace with
#

if ($action eq "news") {
&get_cookie;
$User_name = $UserName;
$Pass = $Password;
&VerifyAdminCP($UserName, $Password);
if ($Proceed eq "true") {
&NewsFader;
}
}

#
## in cpanel3.cgi delete:
#

sub NewsUpdateMessage {
&get_cookie;
if ($cookie{UserNameCP}) {
$UserName = "$cookie{UserNameCP}";
$Password = "$cookie{PasswordCP}";
&VerifyAdminCP($UserName, $Password);
if ($Proceed eq "true") {
&NewsFader;
} else {
exit;
}
}
}

#
## in cpanel3.cgi replace
## sub NewsFader, sub updatenews and sub addnewsline
# with:

sub NewsFader {
$Password = $Pass;
$Username = $User_name;
&VerifyAdminCP($Username, $Password);
if ($Proceed eq "true") {
require "Styles.file";
open(NEWS,"<$CGIPath/newzline.cgi");
@lines = ;
close(NEWS);
$the_page = join('', @lines);

print<
NewZ$HeaderInsert

S E T N E W S L I N E S




















ADD NEWS $a_message


To add a new newsline use the first editbox. HTML and links are allowed. But please use ' instead of ".

If the whole line should link to a page then use the second editbox to enter the link. No " again.
Newsline:


Newsline Link (Optional):

























EDIT / DELETE NEWSLINES $u_message

The contents of this editbox are the userdefined newslines.

Here you can edit or delete old newslines. Change the text in this editbox and press "update" when you're done.


a news datarecord consists of "topic", "link",

Ensure after editing that the last datarecord may not have an comma as last character!!!












by AA 2000



NEWZHTML
}
}

sub updatenews {
$Pass = $in{'Pass'};
$User_name = $in{'User_name'};
&VerifyAdminCP($User_name, $Pass);
if ($Proceed eq "true") {
$new_page = $in{'new_page'};
@newstuff = $new_page;
open(NEWS,">$CGIPath/newzline.cgi");
print NEWS join('', @newstuff);
close(NEWS);
$a_message = "";
$u_message = "$User_name, The NEWS-database have been successfully updated.";
&NewsFader;
exit;
}
}

sub addnewsline {
$Pass = $in{'Pass'};
$User_name = $in{'User_name'};
&VerifyAdminCP($User_name, $Pass);
if ($Proceed eq "true") {
$newitem = $in{'new_item'};
$subject = $in{'subject'};
$currentnews = ""$subject","$newitem"";
$hmhm = "";
open(NEWS,"<$CGIPath/newzline.cgi");
@newslines = ;
close(NEWS);
foreach $item(@newslines)
{
$hmhm .= $item;
}
if ($hmhm ne "") {$currentnews .= ",n";}
$hmhm = $currentnews.$hmhm;
@newslines = $hmhm;

open(NEWS,">$CGIPath/newzline.cgi");
foreach $line(@newslines)
{
print NEWS "$line";
}
close (NEWS);
$u_message = "";
$a_message = "$User_name, The new Newsline successfully added!";
&NewsFader;
exit;
}
}

#
##done
#

all instructions can be found here:



current version 2.3

Demo: here

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
sorry. DEMO: here

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Can anyone help me with this that has javascript experience? If you go to my page and click on the icon in the lower left hand corner with the java error it will display the error like this http://www.islandncs.com/error.gif
then view source and see line 48 has nothing there...am I missing something when I post the news? It says it's missing the ] am I supposed to add this somewhere? Please help...


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
[aa],

I just made all those changes, and it still comes up blank when submit my identification to "Add News".

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Dark_Wizard

the following entries in UltBB.setup ?

$NEWS_REG = qq(ON);
$NEWS_ANNC = qq(ON);
$NEWS_UDEF = qq(ON);

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
Now what the hell is this?

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin

#
##in cpanel3.cgi find:
#

sub NewsFader {
$Password = $Pass;
$Username = $User_name;
&VerifyAdminCP($Username, $Password);
if ($Proceed eq "true") {
require "Styles.file";

#
## and replace with:
##

sub NewsFader {
require "Styles.file";

#
## in cpanel3.cgi find:
##

NEWZHTML
}
}

#
## and replace with:
##

NEWZHTML
}

#
##done
#

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Try again [aa].

Still get a blank page.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin

$NEWS_REG = qq(ON);
$NEWS_ANNC = qq(ON);
$NEWS_UDEF = qq(ON);

Settings from CP!

$NEWS_REG = qq(ON); ->> "Show the latest reg. Member"
$NEWS_REG = qq(OFF); ->> "Do not Show the latest reg. Member"

.
.
.

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Evidently it's not creating that newzline.cgi file.

It accepts my identification, but puts up a blank page and the browser says DONE at the lower left.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin grrr... are they sure that they have a UBB? wink

delete your f*** cookies!

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Of course i have a UBB!

It's 5.39.

Everything else accepts my cookies just fine.

"Add News" accepts my cookie, but puts up a blank page. It is NOT creating that newzline.cgi file.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin ok, find in cpanel3.cgi and Ultimate.cgi newzline.cgi and change to newzline.txt

your chmod of cgi-bin is 755?

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I'm running on NT. I don't need to CHMOD.

Why change to a txt file? Are we grasping at straws now? Experimenting?

Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Quote
quote:


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Quote
quote:
It's a cookie issue.....try creating the newzline.cgi file and give the rights as follows: -rw-r--r-- see if that helps....


I do not offer support by EMail or ICQ, please post your question at UBBDev....
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
just dumped the cookies and redid them. No change.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin

find in cpanel3.cgi and Ultimate.cgi $CGIPath/newzline.txt or *.cgi wink

and change all to: $NonCGIPath/newzline.txt

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
I created and uploaded in ascii. I don't have a clue as to setting rights.

No change.

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
No change. Still blank.

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Maybe I should reinstall this hack?
This is going nowhere.

I think it's a backward compatibility problem. This was written for the newer versions, not for versions like 5.39.

Any more ideas before I scrap and start over?

Everything works except "Add News".

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
NBAustin SOORRRRRY!

DEMO 5.39: here!


in 5.39 "&VerifyAdminCP{blah..." ???

change all "&VerifyAdminCP...."

to "&VerifyAdmin...." (delete "CP" !!!!

damn

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks.

Now...which files? Just Ultimate.cgi & cpanel3.cgi or all of the ones listed in the hack?

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
&VerifyAdminCP does not exist in any of the files.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
in cpanel3.cgi!

if ($action eq "news") {
&get_cookie;
$User_name = $UserName;
$Pass = $Password;
&VerifyAdmin($UserName, $Password);
if ($Proceed eq "true") {
&NewsFader;
}
}
if ($action eq "updnews") {
&updatenews;
}
if ($action eq "addnews") {
&addnewsline;
}

....

sub NewsFader {
$Password = $Pass;
$Username = $User_name;
&VerifyAdmin($Username, $Password);
if ($Proceed eq "true") {

require "Styles.file";

...

sub updatenews {
$Pass = $in{'Pass'};
$User_name = $in{'User_name'};
&VerifyAdmin($User_name, $Pass);
if ($Proceed eq "true") {

...

sub addnewsline {
$Pass = $in{'Pass'};
$User_name = $in{'User_name'};
&VerifyAdmin($User_name, $Pass);
if ($Proceed eq "true") {


and rechange:

NEWZHTML
}

to

NEWZHTML
}
}

Joined: Jan 2000
Posts: 395
Member
Member
Offline
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!

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Fixed it. Missed a "CP" [Linked Image]

Thanks!

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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
#

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



demo
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
try in Ultimate.cgi:

FDRboxHgt = 50; or 45?

and

50>
Joined: Jan 2000
Posts: 395
Member
Member
Offline
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]!

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

Joined: May 2001
Posts: 7
Junior Member
Junior Member
Offline
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?

Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Make sure you don't end your custom news with a ,

Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Joined: Jun 2000
Posts: 59
Member
Member
Offline
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....
Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Joined: Feb 2001
Posts: 4
Junior Member
Junior Member
Offline
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 ]

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Can someone tell me what this hack does please?

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
Posts: 70
Joined: January 2007
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 20240506)