Thanks!
While we're pointing things out.. your hack is working wonderfully, but it has since caused a conflict with the auto quote hack by WrÅith. Its obviously because of the new string function changes. So, there are only two things I need to do to get it working, but not sure how exactally. This is the part:
code:
1. Open ubbt.inc.php
2a. Locate the following line:
// -------------
// Quote markup
$Body = str_replace("[{$ubbt_lang['TEXT_QUOTE']}]","</font><blockquote><font class="small">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />",$Body);
$Body = str_replace("[/{$ubbt_lang['TEXT_QUOTE']}]","<br /><br /><hr /></blockquote>",$Body);
2b. Replace that with:
// -------------
// Quote markup
$Body = str_replace("[{$ubbt_lang['TEXT_QUOTE']}]","</font><blockquote><font class="small">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />",$Body);
$Body = preg_replace("/\[{$ubbt_lang['TEXT_QUOTE']}(\s*)=(\s*)(.*?)\]/i", "<blockquote><font class="small">{$ubbt_lang['USER_QUOTE']} \\3:</font><hr>", $Body);
$Body = str_replace("[/{$ubbt_lang['TEXT_QUOTE']}]","<hr /></blockquote>",$Body);
3a. Locate the following line:
// -------------
// Quote markup
$Body = str_replace("</font><blockquote><font class="small">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />","[{$ubbt_lang['TEXT_QUOTE']}]",$Body);
$Body = str_replace("<br /><br /><hr /></blockquote>","[/{$ubbt_lang['TEXT_QUOTE']}]",$Body);
3b. Replace that with:
// -------------
// Quote markup
$Body = str_replace("</font><blockquote><font class="small">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />","[{$ubbt_lang['TEXT_QUOTE']}]",$Body);
$Body = preg_replace("/<blockquote><font class="small">{$ubbt_lang['USER_QUOTE']}(\s*)(.*?):<\/font><hr>/i", "[{$ubbt_lang['TEXT_QUOTE']}=\\2]", $Body);
$Body = str_replace("<hr /></blockquote>","[/{$ubbt_lang['TEXT_QUOTE']}]",$Body);
Now, can this be added into the ubbt.inc file like normal, or will the string have to be added with your system? I was about to go adding it myself but was confused by some of the options and formatting, and I'm no code monkey so I didn't do it
Maybe this has been brought up already? I dunno, but if you can help that would be great!