ModMySite Support Forum  
Uptime verified by Wormly.com

Go Back   ModMySite Support Forum > aeWebWorks aeDating / BoonEx Dolphin Dating Script > General Issues, Comments, Questions

General Issues, Comments, Questions General issues about aeWebWorks aeDating or BoonEx Dolphin Dating Script

Reply
 
LinkBack Thread Tools Display Modes
Old 04-20-2007   #1 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default View Guests online

Does anyone know how to make it do that you can see how many guests (viewers) are online?
PLAYMATE is offline   Reply With Quote
Old 04-20-2007   #2 (permalink)
 
Kleetus's Avatar
 
Join Date: Jun 2006
Posts: 476
Default

Try to use this code in one of your files or create a new file like "online_users" and include it where you want it to be shown:
PHP Code:
You must login or register to view the code on ModMySite.
You only have to create a txt file called "besucher.txt"
__________________
Dolphin 5.6005
Kleetus is offline   Reply With Quote
Old 04-20-2007   #3 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default Thank you A+++

Thank you lets say I want to place it in the front page where Currently Online is in that box can you guide me ot how and where?
PLAYMATE is offline   Reply With Quote
Old 04-20-2007   #4 (permalink)
 
Kleetus's Avatar
 
Join Date: Jun 2006
Posts: 476
Default

OK, try this:

Look into your templates/tmpl_dfl/scripts/index.php and replace
PHP Code:
You must login or register to view the code on ModMySite.

with
PHP Code:
You must login or register to view the code on ModMySite.

Then place a txt file called "visitors.txt" in your root directory and create a new language string for
PHP Code:
You must login or register to view the code on ModMySite.
It's not tested, but it should work
__________________
Dolphin 5.6005

Last edited by Kleetus; 04-20-2007 at 09:05 AM.
Kleetus is offline   Reply With Quote
Old 04-20-2007   #5 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default language string

On the new language string I go to languages click on create new language then what do I put? I just want to get it right.
PLAYMATE is offline   Reply With Quote
Old 04-20-2007   #6 (permalink)
 
Kleetus's Avatar
 
Join Date: Jun 2006
Posts: 476
Default

Don't create a new language in "Manage Languages" menu !

"Add a new language key" in "Language Strings" menu !

Enter "_Visitors online" in "new language key name"

Select "Category" ("misc" or something else)

And add your discription in "String texts for available languages"

Quote:
Originally Posted by PLAYMATE View Post
On the new language string I go to languages click on create new language then what do I put? I just want to get it right.
__________________
Dolphin 5.6005
Kleetus is offline   Reply With Quote
Old 04-20-2007   #7 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default I am getting this error

Warning: fopen(visitors.txt) [function.fopen]: failed to open stream: Permission denied in /home/jguzman/public_html/templates/tmpl_adl/scripts/index.php on line 108

Warning: flock(): supplied argument is not a valid stream resource in /home/jguzman/public_html/templates/tmpl_adl/scripts/index.php on line 109

Warning: fputs(): supplied argument is not a valid stream resource in /home/jguzman/public_html/templates/tmpl_adl/scripts/index.php on line 110

Warning: flock(): supplied argument is not a valid stream resource in /home/jguzman/public_html/templates/tmpl_adl/scripts/index.php on line 111

Warning: fclose(): supplied argument is not a valid stream resource in /home/jguzman/public_html/templates/tmpl_adl/scripts/index.php on line 112
PLAYMATE is offline   Reply With Quote
Old 04-20-2007   #8 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default Your almost there

Your almost there it is showing up in the box just getting these errors on to screen and messes up the screen a little.
PLAYMATE is offline   Reply With Quote
Old 04-20-2007   #9 (permalink)
 
Kleetus's Avatar
 
Join Date: Jun 2006
Posts: 476
Default

Make the visitors.txt chmod 755
__________________
Dolphin 5.6005
Kleetus is offline   Reply With Quote
Old 04-20-2007   #10 (permalink)
 
PLAYMATE's Avatar
 
Join Date: Mar 2007
Posts: 123
Default Still getting the error

Still getting the error
PLAYMATE is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 06:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC7
Contents Copyright 2003 to the End Of Time - ModMySite.Com