Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Changing default registered "Member" rank label
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 1:50 am

Hi guys,

 

Is there any way of changing the default user rank for a newly registered user from "Member" to something else?  The basic premise for my forum is so that the newly registered users will get the "Visitor" rank - which they can post in certain forum and when they're approved from an application to being a member, I can change their rank to "Member" along with change in the usergroup.

 

Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 3:22 am

In the forum admin > components > forum ranks there are two options - ranks that automatically change by the number of posts a member has made or special ranks where you manually allocate users into a rank. Does this cover what you need?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 3:33 am

Yellow Swordfish said
In the forum admin > components > forum ranks there are two options - ranks that automatically change by the number of posts a member has made or special ranks where you manually allocate users into a rank. Does this cover what you need?

Not really. I'd like newly registered users to have a "Visitor" rank rather than the default "Member" rank that is shown below the avatar portrait when a new account is created.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 8:46 am

guess we are not understanding what you want...  a rank of Member is just a name... change it to Visitor if you want on forum - components - ranks... I think we give you two New Member and Member, but you can make it whatever you want...  changing ranks is then based on number of forum posts... you can have as many different levels as you like...  Each rank can also have a badge...

Additionally, there is a category of special rank...  this are simply a rank you can assign users too...  they too have a badge...  there is no criteria for getting a special rank so you manually put users in special ranks...

Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 9:59 am

Hmm. Here's the scenario which I wish to do:

 

1. New user registers to the forum

2. User is assigned user group "Visitor" automatically.

3. User is assigned "Visitor" rank automatically.

 

Here's what is currently happening:

 

1. New registers to the forum

2. User is assigned user group "Visitor" automatically.

3. User is assigned "Member" rank automatically.

 

Ranks based on posts aren't pertinent to my forums. I then manually change the rank to "Member" from the special ranks section.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 10:34 am

Looks like it is the 'automatic' bit that might be the issue. I am not as familiar with ranks as I perhaps should be so we really need Steve for discussion - but he is away for a couple days.

A new registrant will pick up the rank assigned in the first 'Forum Ranks' list. So ignoring the number of posts mechanism it sounds like you want to rename this one 'Visitor'.

The next bit is the bit SP does not currently do which is to trigger a rank change upon a user Group change. so this means a manual movement into a Special Rank which you would call 'Member'. Now I am going to raise this for discussion this end as I can see some sense in a possible linkage between User Group and Rank.

An alternative would be to display the User Group name as an alternative which is OK if users are restricted to single user group membership.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 10:59 am

Yellow Swordfish said

An alternative would be to display the User Group name as an alternative which is OK if users are restricted to single user group membership.

That would be a good idea 🙂 Any method on going about this change in the code?

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 11:20 am

Here is an idea.

In Forum Ranks make the first entry "Visitor" and number of posts up to like 5000.

Then delete any other rank entries. That will give anyone a rank of Visitor after the first post. Change the default avatar if needed so it doesn't have the word 'Member" in it.

Under the regular ranks panel go to Special Forum Ranks and add a special rank called Member.

When someone is approved by you to be a Member then you can manually change their rank to Member by adding them to that rank on the same page.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 7:35 pm

Or - if you would like to display the user group the poster belongs to then you could try this function:

sp_PostIndexUserMemberships('tagClass=spPostUserRank spCenter');

replacing the current 'rank' functions. Note - afraid I have not tried this myself tonight.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2012 - 1:39 am

Yellow Swordfish said

Or - if you would like to display the user group the poster belongs to then you could try this function:

sp_PostIndexUserMemberships('tagClass=spPostUserRank spCenter');

replacing the current 'rank' functions. Note - afraid I have not tried this myself tonight.

I've tried is and I get the following error (Note that it outputs the usergroup after the error)

 

Warning: Missing argument 3 for sp_PostIndexUserMemberships(), called in /problem-with-post-edit-buttonome/content/02/9101702/problem-with-post-edit-buttontml/wordpress/wp-content/sp-resources/forum-themes/default/templates/spTopicView.php on line 108 and defined in /problem-with-post-edit-buttonome/content/02/9101702/problem-with-post-edit-buttontml/wordpress/wp-content/plugins/simple-press/forum/content/sp-topic-view-functions.php on line 719

Members

 

I've tried the previous method (from Brandon) before but what I've noticed is that when a new user comes in, the other previous users rollback to the Visitor usergroup and don't maintain the Member usergroup permissions.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626