Limit One [img] Per Signature an XMB Hack, compatible with XMB version 1.9.11. Only the first "img" BBCode in each signature will be converted into an actual image. Any additional "img" codes will be displayed as plain text. @version 1.0 @author Robert Chapin (miqrogroove) @license GPL ----------------------------------- In viewthread.php Find $post['sig'] = postify($post['sig'], 'no', 'no', $forum['allowsmilies'], $SETTINGS['sightml'], $SETTINGS['sigbbcode'], $forum['allowimgcode'], false); Add code above // Make sure users can't post more than one image in a signature. $findimg = stripos($post['sig'], '[img'); if ($findimg !== FALSE) { $findimg++; $sig1 = substr($post['sig'], 0, $findimg); $sig2 = substr($post['sig'], $findimg); $post['sig'] = $sig1 . str_ireplace('[img', '[ img', $sig2); } ----------------------------------- In post.php This step needs to be repeated 3 times. Do add the new code for all 3 instances. Find $post['sig'] = postify($self['sig'], 'no', 'no', $forum['allowsmilies'], $SETTINGS['sightml'], $SETTINGS['sigbbcode'], $forum['allowimgcode'], false); Add code above // Make sure users can't post more than one image in a signature. $findimg = stripos($self['sig'], '[img'); if ($findimg !== FALSE) { $findimg++; $sig1 = substr($self['sig'], 0, $findimg); $sig2 = substr($self['sig'], $findimg); $self['sig'] = $sig1 . str_ireplace('[img', '[ img', $sig2); }