The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cel User Always Online Details »» | |||||||||||||||||||||||||||
What does it do?
This addon simply lets you define one or several users (or usergroups) that will be always shown as online in the Who's Online section and other parts of the forum. How does it work? It adds a cron job that updates the last activity entry in the session table for the given users. It is set to run every ten minutes. If your session length is shorter, you will need to adapt the cron job. (You can check your session timeout at AdminCP->Settings->Options->Cookies and HTTP Header Options, it needs to be more than 600, 900 is default). How to install Just download, upload the contents of the UPLOAD folder to your forum root, and import the product file of the addon. Then go to AdminCP->Settings->Options and enter the userid(s) of the users (or usergroup ids) you want to be always online in the Cel User Always Online section. Then the users need to log in once manually, to get things started. Other versions of vB? This addon should work with every Version of vB4, and most likely on vB3, too (not tested). Download Now
Show Your Support
|
5 благодарности(ей) от: | ||
dandanch, elsa23, madness85, Nirjonadda, tbworld |
Comments |
#22
|
|||
|
|||
To the op if you could make it that it picks all registered members per group you pick and auto loads them then it would work better
|
#23
|
||||
|
||||
Quote:
Not interested in using cron job for Mod. |
#24
|
||||
|
||||
Quote:
Also, if you're testing this on a test installation with no real traffic, the cronjob will not be executed and your users will be logged out, too. I've been testing with an auto page refresh addon for chrome, refreshing the forum home page every 10 sec to simulate traffic. Have my test users logged in on my test board for over seven hours straight now. |
#25
|
||||
|
||||
I'll look into that.
|
#26
|
||||
|
||||
I honestly would not have thought that you would want this for whole usergroups (using this on a large scale will spam your Who's online and confuse your users). Since the usergroup is not in the session, it will require an additional query. I'll think about it.
|
#27
|
||||
|
||||
This will not happen. I just coded this since it was requested and I had an idea for a quick fix. If it is too cumbersome for you to add an userid to the list in the options, or it is somehow against your standards to use a cron job in an addon, then just don't use this. Good luck in finding another method.
|
#28
|
||||
|
||||
Since you posted this in the other thread:
Quote:
BTW: If you want any answers from me, post in this thread. I will not monitor any other threads, and I don't do support by PN unless I request you contact me. Plus: Note that this addon is marked as beta, and as not supported. Also, you won't get any more answers if you don't mark the addon as installed. |
#29
|
||||
|
||||
Quote:
must wait for 15 minutes to Cron runs ? |
#30
|
||||
|
||||
You need to log in every user at least once, so there is an entry in the session table that can be updated. If you don't do that, it will not work.
The cron runs every ten minutes, and you'll notice a difference only if 1) more time goes by than your normal session timeout (since after that time the user would normaly be no longer shown as currently online) 2) that user does not have any other activity during that time, since then he would be shown as currently online anyway. I wonder how you would even tell if this addon works if you don't wait at least as long as your session timout. (But keep in mind there needs to be activity on your board for the cron to run, as explained above). Once again: If you want further answers, mark this addon as installed. I have asked you to do that before, and I think its not too much to ask. I will ignore further questions until you do that. |
#31
|
||||
|
||||
New version: 4.2.002
- added option to select usergroups to be always online - fixed inactivity issue on profile page. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|