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
  #32  
Old 05-31-2006, 09:47 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

must be something else then.

Never mind.
Reply With Quote
  #33  
Old 08-05-2006, 08:35 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This could be a usefull mod for my board as well. I want to be able to promote members that:

Have more than a certain amount of reputation
+ are giving both positive and negative ratings
+ have a join date of more than 2 months ago
+ last visited of less than a month ago

Any chance on adding these functions?
Reply With Quote
  #34  
Old 10-10-2006, 07:57 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you add another promotion based on birthday ?? Because my forum has adult section !!
Reply With Quote
  #35  
Old 10-10-2006, 08:41 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this be ported to 3.6.2?
Is this hack still supported?
Reply With Quote
  #36  
Old 10-16-2006, 02:24 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any plans for a hack like this or update to this hack for 362? based on promotion / demotions based on post or login in last so many days?
Reply With Quote
  #37  
Old 02-04-2007, 03:18 PM
Stifler Stifler is offline
 
Join Date: Jan 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this when i run promotionpost from cron..
Quote:
Database error in vBulletin 3.5.7:

Invalid SQL:
SELECT user.userid, user.usergroupid as usergroupid, user.joindate as joindate, user.lastvisit as lastvisit, user.lastpost as lastpost, user.posts as posts, post.userid as huserid, count(postid) as totalpost
FROM vb_user LEFT JOIN vb_post ON user.userid = post.userid
WHERE dateline >= 1168016694 AND dateline < 1170435894 AND lastpost > 1170003894 AND lastvisit > 1170003894 AND joindate <= 1170003894 AND posts >= 45 AND usergroupid = 2 GROUP BY huserid HAVING totalpost >= 40;

MySQL Error : Unknown table 'user' in field list
Error Number : 1109
Reply With Quote
  #38  
Old 02-09-2007, 08:13 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bumppp !!!
Reply With Quote
  #39  
Old 04-30-2007, 10:42 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work for 3.6.5? did anyone try it?
Reply With Quote
  #40  
Old 05-02-2007, 01:59 PM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, a lot of time without reading this thread but I never supported this hack. It is working very well in vb 3.6.5.
Reply With Quote
  #41  
Old 06-26-2007, 11:13 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this hack work in VB 3.6 ?
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 02:23 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.04503 seconds
  • Memory Usage 2,293KB
  • 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
  • (1)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
  • (2)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