2010-03-23, 12:45 AM
THis code seems not to work, I dont know why. I am trying to move some stuff around in the tmeplate but it just wont make the changes.
help appreciated
require MYBB_ROOT.'/inc/adminfunctions_templates.php';
find_replace_templatesets("member_profile", '#'.preg_quote('<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span>').'#', '<span class="smalltext"><a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)<br>{$threadcount}<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a></span>');
}
help appreciated