|
Multiple Usergroup Displayed?
|
|
02-16-2009, 08:16 AM
(This post was last modified: 02-16-2009 08:17 AM by Yumi.)
Post: #11
|
|||
|
|||
|
RE: Multiple Usergroup Displayed?
Sorry, I sped read the posts.
To use the usergroup image instead, in the file, replace both instances of: PHP Code: format_name($ug['title'], $ug['gid'], 0) PHP Code: '<img src="'.strtr($ug['image'], array('{lang}' => (empty($GLOBALS['mybb']->user['language'])?$GLOBALS['mybb']->settings['bblanguage']:$GLOBALS['mybb']->user['language']), '{theme}' => $GLOBALS['theme']['imgdir'])).'" alt="'.$ug['title'].'" title="'.$ug['title'].'" />' You might also want to remove the comma separators - just edit this: PHP Code: $comma = ', '; Untested, so tell me if it works. Thanks. |
|||
|
02-17-2009, 11:31 AM
Post: #12
|
|||
|
|||
|
RE: Multiple Usergroup Displayed?
Hi, Nope that code doesn't work, as I've changed the code in the file, uploaded it and it doesn't let me access the plugins section, but without the plugin there it does.
-Ashley |
|||
|
02-17-2009, 01:20 PM
Post: #13
|
|||
|
|||
|
RE: Multiple Usergroup Displayed?
Works for me. Maybe edited wrong?
Anyway, give this a try. Note, it assumes you've got group images for each group. |
|||
|
02-17-2009, 03:38 PM
Post: #14
|
|||
|
|||
|
RE: Multiple Usergroup Displayed?
Hello,
It shows correctly on the Member Profile ![]() If there anyway to make the images show up on the thread under there normal groups? |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help






