How do I put counters in my pages to show who's logged in?
How Many Online?
To show how many users are logged in, paste the following script in the
desired location of your page, then change myAccountID to your PULPchat Account ID.
How Many and User List
To show a list of current users, paste this script in the
desired location of your page. Remember to change myAccountID to your PULPchat Account ID.
Output from this script looks like:
5 Users Online:
BobbySue
JoeDude48
moof
JennyP
theWHOPPer
IMPORTANT:
- The link to chat_count_js.php should be used ONLY ONCE
per page! If you need to show the counters in more than one place on a page, use the link to
chat_count_js.php before the first script only.
- Do not automatically refresh a page with a counter faster than every 30 seconds.
- If the counter does not work, make sure your Account ID is correct and in lower case.
- If your counter still does not work, you may need to replace "pulpchat.com" with
"pulp1.design215.com/pulpchat". If your chat room is on a different server from pulp1,
substitute your server name + "/pulpchat/".
Examples:
"http://pulpchat.com/chat_count_js.php?chat=myAccountID"
"http://pulp1.design215.com/pulpchat/chat_count_js.php?chat=myAccountID"
"http://128.121.20.48/pulpchat/chat_count_js.php?chat=myAccountID"
Back to Questions
