Adriano Faria Posted February 26, 2013 Share Posted February 26, 2013 File Name: Promote Members by Reputation Points/Likes File Submitter: Adriano Faria File Submitted: 25 Feb 2013 File Category: Promotion Supported Versions: IP.Board 3.4.x This hook will promote members when they reach the number of reputation points/likes set for each group on Manage Member Groups. A new tab will be (named Promote) added on Manage Member Groups. There you can choose for which group those users will be promoted and you will type the number of reputation points/likes that each user must gain in order to be promoted.Compatibility: IP.Board 3.4.X IP.Board 3.3.X here to download this file Link to comment Share on other sites More sharing options...
Maxxius Posted February 26, 2013 Share Posted February 26, 2013 Nice mod though it show be able to set a secondary group also. I want members to advance in groups through post count and through reputation - secondary group so a member would have the best of both groups. Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 26, 2013 Author Share Posted February 26, 2013 The idea is to work exacly like default feature from IP.Board: primary group. Link to comment Share on other sites More sharing options...
Maxxius Posted February 26, 2013 Share Posted February 26, 2013 so you will not be considering that? secondary group involvement I mean. Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 26, 2013 Author Share Posted February 26, 2013 Not now... Will think about it. Link to comment Share on other sites More sharing options...
Maxxius Posted February 28, 2013 Share Posted February 28, 2013 good, at least there is hope :) Link to comment Share on other sites More sharing options...
Ozpicious Posted March 18, 2013 Share Posted March 18, 2013 Does this work with negative reputation levels? Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 18, 2013 Author Share Posted March 18, 2013 Does this work with negative reputation levels? Honestly, didn't test it. Why use this ? To promote a -100 neg. points a XXX group ? Link to comment Share on other sites More sharing options...
Petre Banu Posted May 16, 2013 Share Posted May 16, 2013 Hey, Adriano - I just purchased this and it is not working... I uploaded into the root folder and it is not showing into the "Applications Not Installed". Can you check if you included everything needed into the zip file? Thanks. Edit: Never mind - it is a hook not an app. You should update the installation instructions. It seems to work as intended. Link to comment Share on other sites More sharing options...
mat206 Posted August 6, 2013 Share Posted August 6, 2013 This plugin isn't quite working. It seems to be also including secondary groups when deciding to promote users. So let's say I have three levels of users A > B > C that promote in this order. A requires a min of 0 rep, B requires 500 rep, and C requires 1000 rep.. If C happens to have A as a secondary group C will be *switched* to B even though it already has enough reputation to remain at C. Also it doesn't seem as though the second level of promotion even works. If A is promoted to B that's where it ends.. the B to C never happens. Link to comment Share on other sites More sharing options...
Adriano Faria Posted August 6, 2013 Author Share Posted August 6, 2013 It doesn't check secondary groups. It works exacly like reputation thingy (by posts) from IP.Board: if ( $user['g_promotion_reps'] != '' ) { list( $gid, $reps ) = explode( '&', $user['g_promotion_reps'] ); if ( $gid > 0 and $reps > 0 ) { if ( $user['pp_reputation_points'] >= $reps ) { IPSMember::save( $member_id, array( 'core' => array( 'member_group_id' => $gid ) ) ); } } } It creates a new column on groups table and compare everytime a like/positive reputation point is given, it checks with that column to change the member_group_id. Link to comment Share on other sites More sharing options...
Passion Posted September 23, 2013 Share Posted September 23, 2013 will this work with the post system so will it work side by side say a group to be promoted once he has 50 post and 50 rep will it work like that Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 23, 2013 Author Share Posted September 23, 2013 Yes, it will work, since they are different stuff. I just don't think it's a good thing to do. You can mess things. Example: you set Group X to 50 posts and Group Y to 100 posts. But if you set 100 likes to Group X, user will come back to Group X.... And when he posts again, will go to Group Y again. Next reputation point, Group X. The ideal is user one OR another. Link to comment Share on other sites More sharing options...
wmarcy Posted February 23, 2014 Share Posted February 23, 2014 Adriano, I need this to check both post count and like count. If post_count => 500 & like_count => 500 promote to next level kind of thing. Doable? Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 23, 2014 Author Share Posted February 23, 2014 Adriano, I need this to check both post count and like count. If post_count => 500 & like_count => 500 promote to next level kind of thing. Doable? My previous post gives an idea. Link to comment Share on other sites More sharing options...
wmarcy Posted February 23, 2014 Share Posted February 23, 2014 So there is no way to add a conditional AND into the equation? Link to comment Share on other sites More sharing options...
Greenie Posted May 1, 2014 Share Posted May 1, 2014 Is it possible to promote user by xx posts and xx reps? Link to comment Share on other sites More sharing options...
Adriano Faria Posted May 1, 2014 Author Share Posted May 1, 2014 Is it possible to promote user by xx posts and xx reps? http://community.invisionpower.com/topic/380392-promote-members-by-reputation-pointslikes/?p=2437753 Link to comment Share on other sites More sharing options...
Greenie Posted May 1, 2014 Share Posted May 1, 2014 Yes but like this lets say this is what i really want to do: I have rank Newbie and rank Member now I put on newbie 25 posts to promote to member And i put on your hook 50 rep to promote newbie to member So it will work then to promote newbie to member on 25 posts and 50 reps or it will promote it directly when it hits 25 posts? :S Link to comment Share on other sites More sharing options...
Adriano Faria Posted May 1, 2014 Author Share Posted May 1, 2014 Nope... one thing works regardless the other. So if you use 25 POSTS to go from newbie to members and 50 LIKES from members to something else, it will work... UNLESS you allow newbie to receive reputation and the user got 50 likes before 25 posts... that's what I say that can confuse you... in this case, he'll go from newbie to something else, skipping MEMBERS. Do you understand ? Link to comment Share on other sites More sharing options...
Greenie Posted May 1, 2014 Share Posted May 1, 2014 Umm yes.. And there is no possible way getting re-coded app to support both post and reputation? Link to comment Share on other sites More sharing options...
Adriano Faria Posted May 1, 2014 Author Share Posted May 1, 2014 There's no way I can control the default feature. Link to comment Share on other sites More sharing options...
Greenie Posted May 1, 2014 Share Posted May 1, 2014 if ( $user['pp_reputation_points'] >= $reps ) { IPSMember::save( $member_id, array( 'core' => array( 'member_group_id' => $gid ) ) ); to something like if ( $user['pp_reputation_points'] >= $reps && $user['pp_posts'] >= $posts ) { IPSMember::save( $member_id, array( 'core' => array( 'member_group_id' => $gid ) ) ); this is not correct for sure $user['pp_posts'] idk how is it managed in ipb :smile: And users could just ignore default feature or remove it or edit it idk ? Link to comment Share on other sites More sharing options...
DJ_Tomcat Posted January 10, 2015 Share Posted January 10, 2015 Hi Adriano, I cannot make this thing working.Users are not promoted to the new group, even if all set.Can you support? BR,Tom Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 10, 2015 Author Share Posted January 10, 2015 Are you alsi using posts promotion? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.