Not Solved Usergroup help
#1
Not Solved
I am trying to get a my {$usergroups} to set automatically on this code

[Image: sKRlQP5.png]
When I put usergroup in for "<div class="postbit-groupimage postbit-groupimage-{$usergroup}" style="background-color: #">
<span></span>
</div>"

<div class="postbit-groupimage postbit-groupimage-{$usergroup}" style="background-color: #">
<span></span>
</div>
 it turns out saying "postbit-groupimage-array" instead of saying the users group like

<div class="postbit-groupimage postbit-groupimage-owner" style="background-color: #">
<span></span>
</div>


I want it to automatically set from the users group in the code as a text to look like

[Image: NSojyCE.png]
Reply
#2
Not Solved
try this code postbit-groupimage-{$post['usergroup']} for this code your class should be like this postbit-groupimage-4 (where 4 your group id).
[Image: cafaf18ba2.gif]
FileSquid is under development
[Image: trk1]
Reply
#3
Not Solved
Here:

<div class="postbit-groupimage postbit-groupimage-{$usergroup['title']}" style="background-color: #">
<span></span>
</div> 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)