Results 1 to 3 of 3

Thread: Alias name

  1. #1
    Junior Member pnop's Avatar
    Joined
    Aug 2009
    Posts
    9
    Thanks
    Received:0
    Given: 0

    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?

  2. #2
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,514
    Thanks
    Received:87
    Given: 14
    Site
    http://pligg.com/demo/
    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.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  3. #3
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,514
    Thanks
    Received:87
    Given: 14
    Site
    http://pligg.com/demo/
    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.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg