#43273
04/22/2001 4:42 PM
|
Joined: Apr 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 3 |
I don't know if someone else has already posted this before. If so, sorry. I have made an extremely simple addition to the Who's Online hack that shows the link and number directly underneath the Registered Members. It seems a good place to put it. To see what I mean, have a look here It's just a few words of script added to Ultimate.cgi . If anyone is interested, let me know here and I'll post the details.
|
|
|
#43274
04/22/2001 6:15 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Easy
$CurrentCount = $MemberCount + $GuestCount;
And then print "$Currentcount";
Thats just to get the number of people online, the ofcourse you add the link to the online.cgi file via html, if you want.
Nice and easy to do, looks good.
I can't afford a good signature editor
|
|
|
#43275
04/22/2001 6:15 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
That's pretty easy in Ultimate.cgi Find: Replace with:
|
|
|
#43276
04/23/2001 4:29 AM
|
Joined: Apr 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 3 |
Yup, that's it, GoTorankusuKu. I did say it was "extremely simple" didn't I? But I like the effect. Sometimes the simplest things are quite effective. Now I just wish I had more active members to make the number look more impressive!
|
|
|
#43277
04/23/2001 10:27 AM
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
This is the code I have $MemberLine = " $AbsPosts Threads made by $TotalMembers Metallica fans. Welcome $LastReg back..."; and when I add this hack to it, I get a server error
|
|
|
#43278
04/23/2001 11:08 AM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
|
|
|
#43279
04/23/2001 11:58 AM
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Ugh, thanks but I'm still getting an error
|
|
|
#43280
04/23/2001 6:27 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Can you post the changed code, its probably just a syntax error. Also check your error log, it will tell you in which exact potision in the file the error occured, which makes it much easier to fix.
I can't afford a good signature editor
|
|
|
#43281
04/23/2001 7:50 PM
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
quote:</font><HR>Originally posted by GoTorankusuKu: Replace this: <BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code: this is the code I used and I'm getting a misconfigation error With:
|
|
|
#43282
04/23/2001 8:14 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
OIC, I forgot something, here's the right code It should work now.
|
|
|
#43283
04/23/2001 8:46 PM
|
Joined: Apr 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 3 |
Metallifukinca, you seem to be missing the backslash () before the final
|
|
|
#43284
04/23/2001 8:50 PM
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Yep that did it GoTorankusuKu, thanks. What about non-members, can we use this too ?
|
|
|
#43285
04/23/2001 10:30 PM
|
Joined: Nov 2000
Posts: 169
Member
|
Member
Joined: Nov 2000
Posts: 169 |
try this [ April 23, 2001 10:33 PM: Message edited by: indoe ]
Some men live for others and make their presence known Some men live in seclusion and choose to live alone... Some men live for justice and walk inside the law But of these men, the group I'm in are the men behind the wall... - Gato Suertudo
|
|
|
#43286
04/29/2001 9:42 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
When you say non members, do you mean people browsing your site as guests. Like I have on my board in the who's online down the bottom, but you want to display it at the top? Is that what you are after?
I can't afford a good signature editor
|
|
|
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: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|