Thread: Mini Mods - Cel User Always Online
View Single Post
  #38  
Old 03-14-2014, 11:48 AM
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Location: www.webmastersun.com
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Also one of the ways a user may not appear online, that logged in, and you have them set to stay logged in, is if they manually clicked on the log out button. Because what that does is remove their info from the session table, unless of course Cellarius wrote something it to prevent that, I am not sure though, as I have not looked into the code.
I think so, It may be reason why user didn't appear online

Quote:
Originally Posted by cellarius View Post
You need to log the user in once to create a valid entry in the session table, and you need the cron to simulate user activity. And no, what you suggest is not possible - that's just not how vB works.

If it is really too much trouble for you to install this, enter some userids or usergroup ids in the AdminCP and then log in the users you want this for once, then I'm sorry. This addon does what you asked for in the other thread, in the only way possible that I can think of. If it does not meet your comfort standards, then don't use it. You can always hope someone will come up with a better idea.

I really just whipped this up to help you out. I don't even have use for this myself. (And to tell the truth, this "it's too hard to use, make it easier, do it different although I have no clue myself"-attitude reminds me of why I once decided not to do stuff like that anymore...)
I thought it can be easier but no, it depends on vB works, I see that and appreciated your efforts although it's in beta version.

I thought have a better way without using cron job and session, just creating a tick button in user profile to update their status immediately and show them on forum home. But if it's impossible with the way vB works then I can accept that.

For me, a great add-on is easy in using and full functions what a user needs and can run well on all versions or their configurations.

I see because this is only your beta version.

Thanks Cellarius!
Reply With Quote
Благодарность от:
ozzy47
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01159 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_box_bit
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete