PDA

View Full Version : Adding Currently Active Users to template


ChillyBob
06-13-2002, 01:12 PM
I have altered my error_nopermission_loggedout template to look like the attached image. This is the default page guests will see when they go to my site.

I would like to allow people to see how many currently active users are online. There should be a number where the arrow is pointing (on the attached image) I tried putting $totalonline but that obviously doesn't work. I saw a hack that uses either PHP or SSI but I don't think either of them work in the template.

Does anyone know hoe I can do this?

ChillyBob
06-15-2002, 07:01 PM
Is this not possible then? :cry:

GuruXL
06-15-2002, 11:28 PM
i will have a solution in a few minutes

GuruXL
06-15-2002, 11:32 PM
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr>

add that to the "error_nopermission_loggedout" template, where you have the "Current Users Online"

Hope that helps, cheers

ChillyBob
06-16-2002, 09:41 AM
Thanks for your time but the $whatever remarks don't seem to work.

GuruXL
06-16-2002, 11:02 PM
hmm...i will look into this..see what I can come up with...