2008-07-31, 11:40 AM
i do not know were to post this but here it is if its in the wrong forum move it to were it has to be
can some one tell me what wrong with that as when i install plugin it give a error page loads to fast for me to get it but it seems to delete all the contents of the template postbit_editedby.
function topic_edit_message_activate()
{
require_once MYBB_ROOT.'inc/adminfunctions_templates.php';
find_replace_templatesets('postbit_editedby', '#{\$post[\'editedprofilelink\']}.)</span>#', '{\$post[\'editedprofilelink\']}. {\$lang->reason_edit} {\$post[\'editmessage\']})</span>');
}
function topic_edit_message_deactivate()
{
require_once MYBB_ROOT.'inc/adminfunctions_templates.php';
find_replace_templatesets('postbit_editedby', '# {\$lang->reason_edit} {\$post[\'editmessage\']}#', '', 0);
}
can some one tell me what wrong with that as when i install plugin it give a error page loads to fast for me to get it but it seems to delete all the contents of the template postbit_editedby.