Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
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....
Sponsored Links
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

Sponsored Links
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

Sponsored Links
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
}
}

Page 2 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
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 20221218)