Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Promotion / Demotion System Details »»
Simple Promotion / Demotion System
Version: 1.00, by luroca luroca is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-17-2006 Last Update: 05-25-2006 Installs: 14
Uses Plugins
Additional Files  
No support by the author.

Please, excuse my poor English.
This hack adds a simple system to promote and demote users to certain primary usergroups according to joindate and number of post in a number of days. The posts in the most recent days can be ignored. This is, the posts of today will not be count until have past a number of days.

Installation:
1) Backup your database. If something goes wrong is your problem.
2) Install the product xml.
3) Configure the settings in ACP.
4) Upload the two php files to the folder "cron" of your board.
5) Add a scheduled task for each php.

Note: If you like, change the vbphrases in the product for a better English.

I can´t support this hack, if you can improve it, great.

Versions:
1.00: Initial release.
1.01: Added some options more: Last visit, last post and minimal posts.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-26-2006, 05:06 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man ig ive up this whole thing is loosing me
Reply With Quote
  #23  
Old 05-30-2006, 10:29 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to understand this a bit better.

On the standard system I have a promotion where all users with more than 15 posts ger promoted to a special group.

What I want is to be able to demote members who later on stop posting. IE move them back to the 'registered users' group when they become inactive.

Surely this will put them into a continuous loop ... being demoted for non-activity and then promoted again for having the correct postcount?

Or am I missing something?
Reply With Quote
  #24  
Old 05-30-2006, 01:24 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats exacly what im trying to do :-/
Reply With Quote
  #25  
Old 05-30-2006, 03:53 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I'm not going to install it until I'm clearer on what this does.

I'm wondering if I could demote members to a new group for lazy users ... but would they get moved back if they decide to start posting again?
Reply With Quote
  #26  
Old 05-30-2006, 05:18 PM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
I'm trying to understand this a bit better.

On the standard system I have a promotion where all users with more than 15 posts ger promoted to a special group.

What I want is to be able to demote members who later on stop posting. IE move them back to the 'registered users' group when they become inactive.

Surely this will put them into a continuous loop ... being demoted for non-activity and then promoted again for having the correct postcount?

Or am I missing something?
If you use the same usergroups in normal promotion and simple promotion, the continuous loop can occurr. My lazy usergroup cannot upgrade to active usergroup with normal promotion, only with simple promotion.

Regards
Reply With Quote
  #27  
Old 05-30-2006, 05:29 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So a member gets out of the lazy usergroup as soon as they start posting again?
Reply With Quote
  #28  
Old 05-30-2006, 06:06 PM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
So a member gets out of the lazy usergroup as soon as they start posting again?
If you set latency time > 0, nope. Example, if you set to 3, three days must pass before the user upgrade if he has enought posts. Perhaps in three days he has not enought posts ...

According to your settings, this one can be a very dinamical product :banana:

Btw, I don?t suport this product and you dont click install, what am i doing here?

Regards
Reply With Quote
  #29  
Old 05-30-2006, 09:25 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you. I think it;s our language differences that are confusing me.

Installed now
Reply With Quote
  #30  
Old 05-30-2006, 09:38 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On running the cronjob

MySQL Error : Unknown table 'user' in field list

is it taking table prefixes into account?
Reply With Quote
  #31  
Old 05-31-2006, 06:53 AM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
On running the cronjob

MySQL Error : Unknown table 'user' in field list

is it taking table prefixes into account?
Yes, it use prefixes.
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 12:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04962 seconds
  • Memory Usage 2,297KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete