MyBB Community Forums

Full Version: Get Userbar Image Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a plugin for MyBB which allows members to change their userbar hue/sat

I have the code which I will show the part that I need help with....
I'd like to add a code where it will fetch a users userbar that they currently have in this code here:

<div id="main" class="cal">
  <center> (Your UB If you arent retarded)</center>
  <input type="text" id="rlt" value="" />
    <div class="wrap">
  </div>
  <div class="wrap">
    
  </div>

This is just the code where your userbar would go, so;
What PHP code or whatever can I add at ""(Your UB If you arent retarded)"".. to fetch a users current userbar that they have on?
<img src="{$mybb->usergroup['image']}">