Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 25. Nov 2024, 03:17

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: user online
PostPosted: 5. Aug 2006, 16:55 
Offline

Joined: 26. Jul 2006, 18:59
Posts: 15
Hi! Thanks for this great gallery, it works just fine!
i am missing one little thing. Is there by any chance the possibility to integrate a function which shows how many users are online at this moment? Like "2 users online" or else? or perhaps it is integrated but i havent found it yet?!
greeting farnsi


Top
 Profile  
 
 Post subject:
PostPosted: 7. Aug 2006, 08:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

It's actually there ;).
in the counter.inc.php - you would just to print it from there.
it's stored in the file counter/useronline.txt

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 8. Aug 2006, 12:26 
Offline

Joined: 26. Jul 2006, 18:59
Posts: 15
ok, thats fine, but what shall i do?! this gallery is the first time i work with php and i don't exactly know what to do. could you give me some short advice, please?! :D


Top
 Profile  
 
 Post subject:
PostPosted: 8. Aug 2006, 13:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
at the very end of counter.inc.php (before the ?>)

add something like:

echo "Online: " . $user;

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 8. Aug 2006, 16:28 
Offline

Joined: 26. Jul 2006, 18:59
Posts: 15
Thank you very much, it's working just the way i wanted it to! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
powered by phpbb | Datenschutz/ Privacy policy