
- Alias name
-
Junior Member
Alias name
Hi,
Is there an option to change the name for the submit name. ie. say the admin submits a story, can the name be changed to an alias anywhere? i.e. 'rogman' instead of administrator?
-
Pligg Founder/Coder/Designer
Good idea, similar to how Wordpress has several fields for the user account names and nicknames.
I was thinking that you could use an existing un-used profile field (ex AIM, Skype, etc.) and change the display name to "Name" and then use the results from that field where author names appear. Then write an if statement to check if that field has a value, and if not fall back to the username. Turns out that you can't use the variable {$user_skype} outside of the user profile page, so that won't work.
I will consider figuring out how to enable these user profile fields in the story content area, or even develop a module to do something similar.
-
Pligg Founder/Coder/Designer
I wanted to follow up and report that you can now make use of user profile data like {$user_extra_fields.user_gtalk}, {$user_extra_fields.user_skype}, etc. in the link_summary.tpl and comment_show.tpl template files.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules