Code: Select all
Error querying to find user weblog friends information
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 1
SELECT * FROM phpbb_weblog_friends WHERE friend_id =
Line : 859
File : functions_weblog.php
LSshock wrote: what if i want to add a field to the registration form, saying refferer: and when they fill in the username this user gets 100 points for reffering a new member?
is this hard to do ?
Authorized Groups
Enter ids of groups who are authorized to access the points control panel, one id per line.
#
#-----[ FIND ]------------------------------------------
#
global $userdata, $user_ip;
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$user_ip
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $post_info
#
line of code appears one three separate occasions and I am not sure where to add the needed part of code at =/global $userdata, $user_ip;
TheHackMan wrote: in the includes/functions_post.php document
When I went looking in there theline of code appears one three separate occasions and I am not sure where to add the needed part of code at =/global $userdata, $user_ip;
Code: Select all
// Post a new topic/reply/poll or edit existing post/poll
//
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)
{
global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
global $userdata, $user_ip, $post_info;
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
$current_time = time();
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
{
//
// Flood control
//
Critical Error
FIND FAILED: In file [language/lang_english/lang_main.php] could not find:
//
// That's all, Folks!
// -------------------------------------------------
//
// That's all, Folks!
// -------------------------------------------------
K34nu wrote: Hey,
Im getting this error when installing with Easy mod:
Critical Error
FIND FAILED: In file [language/lang_english/lang_main.php] could not find:
//
// That's all, Folks!
// -------------------------------------------------
I know exactly what it means (Not hard too see) But all I don't know is...
Is if//
// That's all, Folks!
// -------------------------------------------------
Is RIGHT at the end of that script? Because if so, I have no problem editing it and adding that in so the script will work.
I need a reply ASAP!
Thanks for reading this!!
-Keanu
p.s. (I know this is a novice question.. Sorry)