MyBB Community Forums

Full Version: Editing Users Variable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

Ive got a MyCode:

<LINK REL="STYLESHEET" TYPE="TEXT/CSS" HREF="css/modnotice.css">


<div id="modnotice" class="bl"><div class="br"><div class="tl"><div class="tr">
<b>Edited by {$post['username']} (Forum Staff):</b> $1 - Thanks!
</div></div></div></div> 

Where i have {$post['username']}, i am trying to change it so when its used, it shows the name of who has edited the post (ie the Moderator)? Is that possible? Because at the moment, that variable uses the actual posts author.

Ash Smile
{$post['editusername']} Smile
Na that doesnt seem to work Sad Thanks anyway though! Smile And yes, i do have 'Show edited messsages for staff' selected to yes! Smile
Wooops it is, didnt refresh the page!

Thanks a bunch Smile

However one more question, Is it possible to show the group name 'title' for the edit user? So it shows like the following:

Edited by {$post['editusername']} (Forum Staff)

Replacing 'Forum Staff' with the usergroup of the person who edited it? Smile

Thanks

Ash