Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2012, 05:44 PM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Remove User From Usergroup after certain amount of time

Is there a way to remove someone from a usergroup after a specific amount of time?

For example they join a group, then are kicked out of it after exactly 30 days?
Reply With Quote
  #2  
Old 12-05-2012, 06:15 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jezlad View Post
Is there a way to remove someone from a usergroup after a specific amount of time?

For example they join a group, then are kicked out of it after exactly 30 days?
Only with the help of a cronjob. Currently I don't remember if the system keeps the date of joining a usergroup. If yes, it's easy. Otherwise is a bit more complicated.

Chris
Reply With Quote
  #3  
Old 12-08-2012, 11:01 AM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, any idea where I can find this information?

--------------- Added [DATE]1354968173[/DATE] at [TIME]1354968173[/TIME] ---------------

Ok I've looked within the active users of a usergroup and it seems the join date into the usergroup is there.

So it can be done?
Reply With Quote
  #4  
Old 12-08-2012, 11:13 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Give me sometime to prepare a file for you.

Chris

--------------- Added [DATE]1354968982[/DATE] at [TIME]1354968982[/TIME] ---------------

Is the usegroup an additional usergroup or you're changing (upgrading) the primary usergroup?
Reply With Quote
Благодарность от:
Panzer Max
  #5  
Old 12-08-2012, 01:09 PM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its a primary group, once the month is up I need the users to revert back to their previous group - or move back to registered users.
Reply With Quote
  #6  
Old 12-13-2012, 02:50 AM
Pixelduck Pixelduck is offline
 
Join Date: Nov 2012
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The paid subs work like this, set it to public joinable, 31 days and it will kick them out
Reply With Quote
Благодарность от:
Panzer Max
  #7  
Old 12-18-2012, 06:06 PM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pixelduck View Post
The paid subs work like this, set it to public joinable, 31 days and it will kick them out
Im confused...

If I set up a paid group they have to pay to join it. I don't want them to pay, I just need a group that will allow them to join and be removed in 31 days.
Reply With Quote
  #8  
Old 12-21-2012, 04:35 PM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pixelduck View Post
The paid subs work like this, set it to public joinable, 31 days and it will kick them out
I tried this with a test account. I set it to 1 day instead of 31 as a trial and it didn't remove the user from the group...

Any ideas how to do this?
Reply With Quote
  #9  
Old 02-05-2013, 02:43 PM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
Reply


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


All times are GMT. The time now is 08:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04370 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete