Jump to content
Sign in to follow this  
najaru

[TUTORIAL] Colorare i nomi degli utenti nei topic

Recommended Posts

najaru

.

E' possibile colorare i nomi degli utenti in base al colore dei gruppi a cui appartengono (da un post di Mat (FDNZ))

Admin CP > Look and Feel > [Your Skin Here] > Edit Templates & CSS > Topic View > topicViewTemplate

e trovare


<span class="author vcard"><a class="url fn" href='{parse url="showuser={$post['author']['member_id']}" base="public" template="showuser" seotitle="{$post['author']['members_seo_name']}"}'>{$post['author']['members_display_name']}</a>{parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}</span>

E sostituire con:


<span class="author vcard"><a class="url fn" href='{parse url="showuser={$post['author']['member_id']}" base="public" template="showuser" seotitle="{$post['author']['members_seo_name']}"}'>{IPSLib::makeNameFormatted($post['author']['members_display_name'],$post['author']['member_group_id'])}</a>{parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}</span>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Crea Nuovo...

Important Information

By using this site, you agree to our Terms of Use.