Fork me on GitHub
Subscribe 6

Ticket #935 (fixed enhancement)

Auto-promotion improvements

  • Created: 2014-01-02 16:49:15
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 1.5.8
  • Component: usability
  • Priority: normal

Two things come to mind:

  • For users with an "upcoming" promotion (as in, they're in a group that can be promoted), in their profile, add a "Promote now" button that changes their group to the one they would be promoted to. I often do this manually for users that are obviously legitimate, even before they reach their five posts. Whether this should be on the "Administration" tab or on any other page (or all) in the profile, I don't know yet.

  • In the admin panel, offer a shortcut for mass-promoting all users that would be promoted the next time they make a post (for only then the promotion criteria is checked).

Inspired by this topic.


Askelon 2014-01-03 06:59:28

I'd vote for the Profile's Administration section to add the 'Promote now' button, that should be the more logical place since that's already the place of Group changing tool. It could be a simple button added to the Group changing section.

quy 2014-01-03 07:31:42

Since moderators can be enabled to ban users, they should also be allowed to promote users by adding another group setting. Personally, I would love to delegate this to moderators and not have to do it myself as the administrator.

Franz 2014-01-03 08:08:24

Sounds sensible, Quy. I don't think moderators can view the administration tab in users' profiles, so quite a bit of refactoring might have to be done.

Please open another ticket for this, though.

quy 2014-01-03 16:33:23

Moderators do have access to Administration tab when ban users is enabled.

Franz 2014-01-08 23:13:17

  • Milestone changed from 1.5.6 to 1.5.7.

Askelon 2014-01-14 09:17:42

I could work a bit on this today, so here's a simple question: do we provide the ability to change the User Group to any existing group (except Admin or Mod, of course), or only to the next available group through promotion? Allowing Moderators to change Groups would be simpler, but it may not be what's intended here?

Note: huh, this question would be more appropriate in #936, I mixed up tickets.

Comment edited 1 times (Diff)

Franz 2014-01-14 09:29:26

Yeah, #936 should be implemented first.

In my opinion, mods should only be able to promote users, not change their group in general.

AracornRed 2014-01-16 15:16:13

Regarding the auto-promote functionality I posted about initially, I think anytime a new group is created with a "promote users" setting, or anytime the "promote users" setting is changed for an existing group, any users whom that change applies to should be promoted automatically.

Since we allow admins or mods to promote users manually, we'd have to make sure that those automatic changes don't *demote* any users who were manually promoted ahead of their time.

Franz 2014-01-16 15:29:27

I wouldn't do it automatically, to be honest. That might not be intended.

Instead, as written in the ticket description, I'm in favor of displaying a simple link right next to the auto-promotion selector. This would be a two-step process, but wouldn't force anything down our throats.

Franz 2014-01-16 15:31:12

On the other hand, of course, these users will be promoted automatically, anyway, once they make their next post.

So maybe I'm just overly careful here. I can't really come up with a realistic example of why you would not want this done automatically (and transparently, really) - what do you think?

AracornRed 2014-01-16 15:55:49

I think it should be automatic. smile  As I said, as long as it doesn't undo any manual promotions.

When I upgraded to 1.5 and set my groups and promotions, I was surprised they didn't take effect immediately to be honest.  It just seems like the natural behavior.

Franz 2014-01-16 16:11:45

Well, that's why we have that warning text there. wink

In all seriousness, I'll basically run this query:

UPDATE users SET group_id = <target_group> WHERE group_id = <source_group> AND posts >= <promotion_limit>

That should not get us into trouble, I think...

Franz 2014-02-03 23:41:22

Okay, users will now automatically be promoted when configuring the promotion for a group.

Franz 2014-02-03 23:41:37

Commit 3339707 to fluxbb master

#935: Auto-promote all affected users when configuring promotion for a group.

Franz 2014-02-03 23:47:52

Commit ff60f89 to fluxbb master

#935: Update language string.

Franz 2014-02-03 23:52:53

What do you guys think about a - pretty visible - promotion button visible on every profile page underneath the profile menu?


I'd obviously have to style it a bit more, but I kinda like it. Just not sure whether it's a little too central for such a use case...

quy 2014-02-06 20:08:44

Moderator groups should be excluded from this feature. I don't see a case where a regular user would be promoted to a moderator group or a moderator be promoted to higher group since there isn't one.

quy 2014-02-07 20:27:13

Where you have it is definitely visible. Ticket #936 has it under Administration which is one additional click. I prefer it under Administration to keep all administrative functions in one place.

Franz 2014-02-26 00:22:29

Commit a1d9b6f to fluxbb master

#935: Add backend action to promote a user if he is ready.

Franz 2014-02-26 15:04:12

Commit 599c79d to fluxbb master

#935: Simplify promotion query.

quy 2014-05-07 16:59:06

How about a text link next to or below Posts # in viewtopic? Usually, you are reading the post to determine to promote the user or not so it would be a logical location without having to go to another page to do the promotion.

Franz 2014-05-07 20:07:46

Probably a good idea.

I guess that my suggestion was kind of a compromise between having it on every topic page (which I was afraid would clutter up everything) and having it barely accessible - thus putting it somewhat in reach with one click.

But your suggestion sounds sensible.

quy 2014-07-04 17:02:57

Commit ba45b1c to fluxbb master

#935: Add language string.

quy 2014-07-07 23:09:24

Commit 3aaeb4e to fluxbb master

#935: Add promote link to topic page.

Franz 2014-07-11 15:52:35

Commit c180901 to fluxbb master

Merge pull request #113 from Quy/935-promote-viewtopic

#935: Add promote link to topic page.

quy 2014-07-13 16:06:58

Why is promotion to Moderator groups allowed?

Franz 2014-07-14 09:26:31

Do you think that's too dangerous?

quy 2014-07-14 15:24:36

Potentially yes. You can accidentally promote a regular group to a moderator group.

Personally, I would not automatically promote users to a moderator group based on number of posts. This should manually be done on a per user basis by an administrator.

Franz 2014-07-14 16:14:39

You'll have to be careful with which permission you give to moderators, of course.

But in general, I'm not sure there is a huge danger!?

adaur 2014-08-10 16:28:57

I'm with quy on this one. Moderator groups should not be listed in the select menu. On my website, I had selected the mod group by inadvertence.

Otherwhise, this is fixed, right?

Franz 2014-08-18 14:11:55

  • Status changed from open to fixed.

True. We can open another ticket / forum topic if you think promoting to moderators is too dangerous.

Franz 2014-10-20 11:50:54

  • Milestone changed from 1.5.7 to 1.5.8.

chris98 2014-12-18 21:06:12

Is this shown regardless in viewtopic.php? Would it not be better to only show it if the user is ready to be promoted but hasn't been yet?

quy 2014-12-18 21:36:18

It is only displayed when applicable.

chris98 2014-12-19 11:57:16

Ah I was looking at the first if statement added in viewtopic thinking it would be there, and didn't check the second.