Closed (duplicate)
Project:
Token
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2008 at 17:42 UTC
Updated:
9 Oct 2008 at 01:15 UTC
I would love it if someone could explain how to add user group or user type into the path. I see user-raw but nothing for user type or group.
Ideally I want:
usertype/user-name as the path but so far I can only set-a-word/user-name
Hope this is possible. It would make life on my site so much nicer. :)
Thanks
Jaks
Comments
Comment #1
gregglesWhat is a "usertype" ?
Do you mean a role?
Comment #2
jaks1970 commentedYes. I was referring to roles. Sorry about my terminology. Spent a lot of time using VBulletin. lol
So is it possible?
Thanks
Jaks
Comment #3
jaks1970 commentedComment #4
gregglesNot yet - #162502: Token for user roles
Comment #5
jaks1970 commentedWell that's disappointing. :( Thanks for taking the time to respond though, it is appreciated.
I tried the code in the post you linked to. The best I could get was to show the role ID for secondary roles (roles I created). It's not bad but if I could somehow rewrite the role id using a URL-Alias it would be perfect.
I really don't see why a user would need to be assigned to multiple roles. Wouldn't that eliminate the need for extra coding if users were only allowed one role at a time? Am I missing something here? What instances would a user need a multiple role?
For my needs I'm simply wanting to assign roles to artists contributors and regular members. That way when someone looks at their profile it shows in the URL which role they are.
Thanks
Jaks