Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cel User Always Online Details »
Cel User Always Online
Mod Version: 4.2.002, by cellarius (Coder) cellarius is offline
Developer Last Online: Feb 2017 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (3 votes - 5.00 average) Installs: 17
Released: 13 Mar 2014 Last Update: 14 Mar 2014 Downloads: 104
Not Supported Uses Plugins Additional Files Translations  

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

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 13 Mar 2014, 13:05
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Cellarius, your missing the contents to upload.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to.
All my mods are updated on OzzModz to do the version checking there instead of here. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​
Reply With Quote
  #3  
Old 13 Mar 2014, 13:44
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
I see the xml file there...
Reply With Quote
  #4  
Old 13 Mar 2014, 14:30
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Seem you uploaded missing files


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where is cel_user_always_online.php file ?

Imported XML file and config in option ACP but didn't show users on Who is online on my forum

I didn't understand this
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.
I removed cron job function at footer template, it is reason cause error and didn't show users online by IDs ?

Last edited by webmastersun; 13 Mar 2014 at 14:45.
Reply With Quote
  #5  
Old 13 Mar 2014, 17:36
dandanch dandanch is offline
 
Join Date: Nov 2008
I'll wait until the files are updated, but this looks promising;
Reply With Quote
  #6  
Old 13 Mar 2014, 22:51
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Sorry, I misclicked when uploading. Got the xml instead of the zip next to it - sorry, folks!
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #7  
Old 13 Mar 2014, 23:26
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
It happens to all of us brother.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to.
All my mods are updated on OzzModz to do the version checking there instead of here. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​
Reply With Quote
  #8  
Old 13 Mar 2014, 23:42
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
any screen shoot please
Reply With Quote
  #9  
Old 13 Mar 2014, 23:43
dandanch dandanch is offline
 
Join Date: Nov 2008
Just ran this on test server and got this error:

Database error in vBulletin 4.2.2:

Invalid SQL:

UPDATE session
SET lastactivity = NOW
WHERE userid IN (1);

MySQL Error : Unknown column 'NOW' in 'field list'
Error Number : 1054
Request Date : Friday, March 14th 2014 @ 12:37:17 AM
Error Date : Friday, March 14th 2014 @ 12:37:17 AM
Script : http://localhost/admin/cronadmin.php...on&cronid=1623
Referrer : http://localhost/admin/cronadmin.php?do=modify
Username : admin
Classname : vB_Database
MySQL Version : 5.1.72-cll
Reply With Quote
  #10  
Old 13 Mar 2014, 23:48
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Your cron brings an error

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #11  
Old 13 Mar 2014, 23:51
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Hm. It seens something went wrong when packing the thing. That clearly is an old version of the file. Let me check that out. I'm going to remove the file until for a moment.

Really sorry, guys - I should not have whipped this up during my lunch break...
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #12  
Old 13 Mar 2014, 23:58
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
OK, I just reuploaded. For those who already installed: just replace the includes/cron/cel_user_always_online.php file, no changes in the product xml.

Thanks for your patience
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #13  
Old 14 Mar 2014, 00:00
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by tanzeelniazi View Post
any screen shoot please
What do you expect to see? This addon just keeps certain users online permanently.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #14  
Old 14 Mar 2014, 00:04
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Do members need to login first then it keeps them logged in before this works or does it matter
Reply With Quote
  #15  
Old 14 Mar 2014, 00:11
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Yes, they need to log in once, so there is a entry for them in the session table that can be updated.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:41.

Layout Options | Width: Wide Color: