

case 'editpost':
case 'newtopic':
case 'reply':switch( $mode )
{
case 'newtopic':
$page_title = $lang['Post_a_new_topic'];
$hidden_form_fields .= '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
break;
case 'reply':
$page_title = $lang['Post_a_reply'];
$hidden_form_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" />';
break;
case 'editpost':
$page_title = $lang['Edit_Post'];
$hidden_form_fields .= '<input type="hidden" name="' . POST_POST_URL . '" value="' . $post_id . '" />';
break;
}
// Generate smilies listing for page output
generate_smilies('inline', PAGE_POSTING);poregorn wrote:does this only work on .12? i have .11 running and im not planning on updating to .12 anytime soon
else if ( $submit || $confirm )
{
//
// Submit post/vote (newtopic, edit, reply, etc.)
//
$return_message = '';
$return_meta = '';
switch ( $mode )
{
case 'editpost':
case 'newtopic':
case 'reply':Kanuck wrote:Wizard_SEMFE, that must be a conflict with another MOD. For me, those three lines of code are lines 537-539. Here's a few more lines of code before it so you can try tracking it down.


ycl6 wrote:It should opened as a text file, so just save the content from your brower to your hard-disk, or copy everything into the notepad/wordpad/other text editors.
~Mac
Return to [2.0.x] MOD Database Cleanup
Users browsing this forum: No registered users and 1 guest