includes/functions_post.php
  • FIND:

     NOTE --- This is a partial match, the whole line on a fresh installation looks like this:
    	function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
    function submit_post(
    
  • IN-LINE FIND:

    &$post_username, &$post_subject, &$post_message, &$poll_title
    
  • IN-LINE REPLACE WITH:

    $post_username, $post_subject, $post_message, $poll_title
    
  • FIND:

    	if ($mode == 'delete')
    	{
    		$delete_sql = (!$post_data['first_post'] && !$post_data['last_post']) ? " AND user_id = " . $userdata['user_id'] : '';
    		$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id" . $delete_sql;
    		if (!$db->sql_query($sql))
    		{
    			message_die(GENERAL_ERROR, 'Could not change topic notify data', '', __LINE__, __FILE__, $sql);
    		}
    	}
    	else 
    
  • REPLACE WITH:

    	if ($mode != 'delete')
    
  • FIND:

    		$page_title = $lang['Emoticons'] . " - $topic_title";
    
  • REPLACE WITH:

    		$page_title = $lang['Emoticons'];