Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 13 Years, 5 Months, 1 Week ago How to put users primary group
#1
Solved: 13 Years, 5 Months, 1 Week ago
Hi, is there a plug in or code i can use so it would display the users primary group under his/hers avatar? i want display images not text title.
#2
Solved: 13 Years, 5 Months, 1 Week ago
{$mybb->user['usergroup']}
#3
Solved: 13 Years, 5 Months, 1 Week ago
(2011-08-10, 04:26 PM)faviouz Wrote:
{$mybb->user['usergroup']}

but where do i can insert those code ?
#4
Solved: 13 Years, 5 Months, 1 Week ago
Wherever you want. How should I know where you want to put it? You said under the avatar, but that's quite vague...
#5
Solved: 13 Years, 5 Months, 1 Week ago
Yes under avatar. But i mean like where i can put those code ? template ?
#6
Solved: 13 Years, 5 Months, 1 Week ago
Yes, in templates. Go to Admin CP > Templates & Style > Templates > Your Template Set.

Then pick a place to put it.
#7
Solved: 13 Years, 5 Months, 1 Week ago
ok i go to Admin CP > Templates & Style > Templates > My template > Post Bit Templates > postbit_avatar? Right? If yes so where do i have to put ?
#8
Solved: 13 Years, 5 Months, 1 Week ago
At the bottom should be fine.

I'm starting to think this isn't what you want though, that variable will output the gid of the usergroup you're in, not the plain text usergroup title.
#9
Solved: 13 Years, 5 Months, 1 Week ago
i want the image user primacy group ( i have made those pic), not text.
#10
Solved: 13 Years, 5 Months, 1 Week ago
So you want to show the group image? (i.e. my Support Team badge)

That should already be there.


Forum Jump:


Users browsing this thread: 1 Guest(s)