Previous Thread
Next Thread
Print Thread
Rate Thread
#43273 04/22/2001 4:42 PM
Joined: Apr 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 3
I don't know if someone else has already posted this before. If so, sorry. shocked

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.

Sponsored Links
#43274 04/22/2001 6:15 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
#43275 04/22/2001 6:15 PM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
That's pretty easy

in Ultimate.cgi

Find:
Code
code:

Replace with:
Code
code:

#43276 04/23/2001 4:29 AM
Joined: Apr 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 3
Yup, that's it, GoTorankusuKu. I did say it was "extremely simple" didn't I? wink

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! smile

#43277 04/23/2001 10:27 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 frown

Sponsored Links
#43278 04/23/2001 11:08 AM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Replace this:
Code
code:

With:
Code
code:

#43279 04/23/2001 11:58 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Ugh, thanks but I'm still getting an error frown

#43280 04/23/2001 6:27 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
#43281 04/23/2001 7:50 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Code
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:
Code
code:


#43282 04/23/2001 8:14 PM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
OIC, I forgot something, here's the right code

Code
code:

It should work now.

Sponsored Links
#43283 04/23/2001 8:46 PM
Joined: Apr 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 3
Metallifukinca, you seem to be missing the backslash () before the final
Code
code:

#43284 04/23/2001 8:50 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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
Offline
Joined: Nov 2000
Posts: 169
try this

Code
code:

[ 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
Offline
Joined: Oct 2000
Posts: 743
Quote
quote:
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 frown

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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)