Code: Select all
#
#-----[ FIND ]------------------------------------------
# Note: this is a partial line match
#
submit_post($mode, $post_data, $return_message,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, $poll_length
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $post_flagged
#
Code: Select all
#-----[ IN-LINE FIND ]------------------------------------------
#
, enable_sig = $attach_sig" . $edited_sql . "
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, post_flagged = $post_flagged
#
Code: Select all
[snip] ...SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id";
Code: Select all
SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . ", post_flagged = $post_flagged WHERE post_id = $post_id";
Code: Select all
#-----[ IN-LINE FIND ]------------------------------------------
#
, enable_sig = $attach_sig
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, post_flagged = $post_flagged
#
yorktown wrote: ...You show a photo instead of the text error message. How do I do the same thing?
Code: Select all
[img]http://www.annihilation.info/images/raisegoogle.jpg[/img]
Code: Select all
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
if ( isset($HTTP_POST_VARS['submit']) )
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'includes/spamwords.'.$phpEx);
#
#
Could not get post ID
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
SELECT MAX(post_id) AS last_post, COUNT(post_id) AS total FROM phpbb_posts WHERE forum_id =
Line : 201
File : functions_admin.php