PDA

View Full Version : Article Signatures per Usergroup


wbrown
01-02-2012, 05:32 PM
How can I append a statement to the end of every article based on users? In essence, Admins may have one specific statement and a general user another statement. Basically, I want to create a signature similar to what I have done for posts on my forum. Here is an example of the Plug-in I created for my forum:

Hook Location: postbit_display_complete

if (is_member_of($post, 6))
{
$post['signature'] = '<i>Admin Signature</i>'; } if (is_member_of($post, 2)) { $post['signature'] = '<i>Default Signature For Registered Users</i>'; }

Thanks in advance.