MyBB Community Forums

Full Version: unexpected T_STRING
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When i click a users name to view their profile i get this:

Parse error: syntax error, unexpected T_STRING in /home/nathand/public_html/forum/inc/languages/english/member.lang.php on line 79

My member.lang.php file is as follows:

<?php
/**
 * MyBB 1.4 English Language Pack
 * Copyright © 2008 MyBB Group, All Rights Reserved
 * 
 * $Id: member.lang.php 4270 2008-11-15 08:03:49Z Tikitiki $
 */

$l['nav_register'] = "Register";
$l['nav_activate'] = "Activate";
$l['nav_resendactivation'] = "Resend Activation Email";
$l['nav_lostpw'] = "Lost Password Recovery";
$l['nav_resetpassword'] = "Reset Password";
$l['nav_login'] = "Login";
$l['nav_emailuser'] = "Email User";
$l['nav_profile'] = "Profile of {1}";

$l['tpp_option'] = "Show {1} threads per page";
$l['ppp_option'] = "Show {1} posts per page";
$l['account_activation'] = "Account Activation";
$l['activate_account'] = "Activate Account";
$l['activation_code'] = "Activation Code";

$l['email_user'] = "Send {1} an Email";
$l['email_subject'] = "Email Subject";
$l['email_message'] = "Email Message";
$l['send_email'] = "Send Email";
$l['error_hideemail'] = "The recipient has chosen to hide their email address and as a result you cannot email them.";
$l['error_no_email_subject'] = "You need to enter a subject for your email";
$l['error_no_email_message'] = "You need to enter a message for your email";

$l['login'] = "Login";
$l['pw_note'] = "Please note that passwords are case sensitive.";
$l['lostpw_note'] = "Lost your password?";
$l['lost_pw'] = "Lost Account Password";
$l['lost_pw_form'] = "Lost Password Recovery Form";
$l['email_address'] = "Email Address:";
$l['request_user_pass'] = "Request Username / Password";
$l['profile'] = "Profile of {1}";
$l['registration_date'] = "Registration Date:";
$l['date_of_birth'] = "Date of Birth:";
$l['birthdayhidden'] = "Hidden";
$l['birthday'] = "Birthday:";
$l['local_time'] = "Local Time:";
$l['local_time_format'] = "{1} at {2}";
$l['users_forum_info'] = "{1}'s Forum Info";
$l['joined'] = "Joined:";
$l['lastvisit'] = "Last Visit";
$l['total_posts'] = "Total Posts:";
$l['ppd_percent_total'] = "{1} posts per day | {2} percent of total posts";
$l['find_posts'] = "Find All Posts";
$l['find_threads'] = "Find All Threads";
$l['rating'] = "Rating:";
$l['users_contact_details'] = "{1}'s Contact Details";
$l['homepage'] = "Homepage:";
$l['pm'] = "Private Message:";
$l['send_pm'] = "Send {1} a private message.";
$l['icq_number'] = "ICQ Number:";
$l['aim_screenname'] = "AIM Screen Name:";
$l['yahoo_id'] = "Yahoo ID:";
$l['msn'] = "MSN ID:";
$l['avatar']  = "Avatar:";
$l['warning_level'] = "Warning Level:";
$l['warn'] = "Warn";
$l['away_note'] = "{1} is currently away.";
$l['away_reason'] = "Reason:";
$l['away_since'] = "Away Since:";
$l['away_returns'] = "Returns on:";
$l['away_no_reason'] = "Not specified.";
$l['users_additional_info'] = "Additional Info About {1}";
$l['email'] = "Email:";
$l['send_user_email'] = "Send {1} an email.";
$l['users_signature'] = "{1}'s Signature";
$l['agreement'] = "Registration Agreement";
$l['agreement_1'] = "Whilst we attempt to edit or remove any messages containing inappropriate, sexually orientated, abusive, hateful, slanderous, or threatening material that could be considered invasive of a persons privacy, or which otherwise violate any kind of law, it is impossible for us to review every message posted on FootyFansForum.co.uk. For this reason you acknowledge that all messages posted on FootyFansForum.co.uk system express the views and opinions of the original message author and not necessarily the views of FootyFansForum.co.uk. Therefore we take no responsibility and cannot be held liable for any messages posted. We do not vouch for or warrant the accuracy and completeness of every message.";
$l['agreement_2'] = "By registering on FootyFansForum.co.uk you agree that you will not post any material which is knowingly false, inaccurate, abusive, hateful, harassing, sexually orientated, threatening, meaningless or invasive of a person's privacy, our forum, or any other material which may violate any applicable laws.";
$l['agreement_3'] = "Failure to comply with these rules may result in the termination of your account, account suspension, or permanent ban of access to these forums. Your IP Address is recorded with each post you make on this discussion system and is retrievable by the forum staff if need-be. You agree that we have the ability and right to remove, edit, or lock any account or message at any time should it be seen fit. You also agree that any information you enter on this discussion system is stored in a database, and that \"cookies\" are stored on your computer to save your login information.";
$l['agreement_4'] = "Any information you provide on these forums will not be disclosed to any third party without your complete consent, although the staff cannot be held liable for any hacking attempt in which your data is compromised.";
$l['agreement_5'] = "By continuing with the sign up process you agree to the above rules and any others that the Administrator specifies.<br><br>By registering you agree to spend atleast 5 minutes looking at the various forum threads to see the various things discussed. There is a short probationary period, 5 posts.<br>Posts counted are in either the "Footy area" or "General" sections to gain entrance into our forums after your probation.<br>Be careful not to post in the wrong sections as the topics are organized to be easier for others to continue the conversation..<br><br>By registering with FootyFansForum.co.uk you agree to not post 5 'Meaningless' posts to gain access to our live streams. Doing so results in a life long ban! <br><br>Dont post in the wrong sections, and dont make one word posts, be mature.<br><br>These links are treats for our members, so dont just intrude into our community and make stupid posts.<br><br>We are a <u><b>DISCUSSION</b></u> forum, so dont just use us for streams, join the community, and chat football.";
$l['registration'] = "";
$l['required_fields'] = "Required Fields";
$l['confirm_email'] = "Confirm Email:";
$l['optional_fields'] = "Optional Fields";
$l['website_url'] = "Your Website URL:";
$l['birthdate'] = "Birthdate:";
$l['additional_info'] = "Additional Information";
$l['i_agree'] = "I Agree";
$l['account_details'] = "Account Details";
$l['account_prefs'] = "Account Preferences:";
$l['invisible_mode'] = "Hide me from the Who's Online list.";
$l['allow_notices'] = "Receive emails from the Administrators.";
$l['hide_email'] = "Hide your email from other members.";
$l['email_notify'] = "Automatically subscribe to threads you post in.";
$l['receive_pms'] = "Receive private messages from other users.";
$l['pm_notice'] = "Alert me with a notice when I receive a Private Message.";
$l['email_notify_newpm'] = "Notify me by email when I receive a new Private Message.";
$l['time_offset'] = "Time Zone (<acronym title=\"Daylight Saving Time\">DST</acronym> correction excluded):";
$l['time_offset_desc'] = "If you live in a time zone which differs to what this board is set at, you can select it from the list below.";
$l['dst_correction'] = "Daylight Saving Time correction:";
$l['dst_correction_auto'] = "Automatically detect DST settings";
$l['dst_correction_enabled'] = "Always use DST correction";
$l['dst_correction_disabled'] = "Never use DST correction";
$l['redirect_registered_coppa_activate'] = "Thank you for registering on {1}, {2}. Your account has successfully been created, however, as the owner of this account is under the age of 13, parental permission needs to be sought before this account can be used.<br /><br />A parent or legal guardian will need to download, fill in and submit to us a completed copy of our <a href=\"member.php?action=coppa_form\">COPPA Compliance &amp; Permission form</a>.<br /><br />Once we receive a completed copy of this form, the account will be activated.";
$l['coppa_compliance'] = "COPPA Compliance";
$l['coppa_desc'] = "In order to register on these forums, we require you to verify your age to comply with <a href=\"http://coppa.org/\" title=\"Children's Online Privacy Protection Act\" target=\"_blank\">COPPA</a>. Please enter your date of birth below.<br /><br />If you are under the age of 13, parental permission must be obtained prior to registration. A parent or legal guardian will need to download, fill in and submit to us a completed copy of our <a href=\"member.php?action=coppa_form\" target=\"_blank\">COPPA Compliance &amp; Permission form</a>.";
$l['hide_dob'] = "You can chose to hide your date of birth and age by editing your profile after registering.";
$l['continue_registration'] = "Continue with Registration";
$l['birthdayprivacy'] = "Date of Birth Privacy:";
$l['birthdayprivacyall'] = "Display Age and Date of Birth";
$l['birthdayprivacynone'] = "Hide Age and Date of Birth";
$l['birthdayprivacyage'] = "Display Only Age";
$l['error_need_to_be_thirteen'] = "You need to be of thirteen years or older to register on this forum.";
$l['coppa_registration'] = "COPPA Registration Form";
$l['coppa_form_instructions'] = "Please print this form, fill it in and either fax it to the number below or mail it to the provided mailing address.";
$l['fax_number'] = "Fax Number:";
$l['mailing_address'] = "Mailing Address:";
$l['account_information'] = "Account Information";
$l['parent_details'] = "Parent / Guardian Details";
$l['full_name'] = "Full Name:";
$l['relation'] = "Relation:";
$l['phone_no'] = "Phone #:";
$l['coppa_parent_agreement'] = "I understand that the information I have provided is truthful, that any information may be changed in the future by entering the supplied password and this user account can be removed by request.";

$l['coppa_agreement_1'] = "Users under the age of 13 must receive permission from their parent or legal guardian in order to register on {1}.";
$l['coppa_agreement_2'] = "A parent or legal guardian will need to download, fill in and submit to us a completed copy of our <a href=\"member.php?action=coppa_form\" target=\"_blank\">COPPA Compliance &amp; Permission form</a> before membership will be granted.";
$l['coppa_agreement_3'] = "If you'd like to, you can begin the registration process now, however the account will be inaccessible until the above compliance form is received.";

$l['error_awaitingcoppa'] = "You cannot login using this account as it is still awaiting COPPA validation from a parent or guardian.<br /><br />A parent or legal guardian will need to download, fill in and submit to us a completed copy of our <a href=\"member.php?action=coppa_form\">COPPA Compliance &amp; Permission form</a>.<br /><br />Once we receive a completed copy of this form, the account will be activated.";

$l['lang_select'] = "Language Settings:";
$l['lang_select_desc'] = "If you live in a country that speaks a language other than the forums default, you may be able to select an installed, read-able language pack below.";
$l['lang_select_default'] = "Use Default";

$l['submit_registration'] = "Submit Registration!";
$l['confirm_password'] = "Confirm Password:";
$l['referrer'] = "Referrer:";
$l['referrer_desc'] = "If you were referred to these forums by another member you can enter their name below. If not, simply leave this field blank.";
$l['resend_activation'] = "Resend Account Activation";
$l['request_activation'] = "Request Activation Code";
$l['ppp'] = "Posts Per Page:";
$l['ppp_desc'] = "Allows you to select the amount of posts to be shown per page in a thread.";
$l['tpp'] = "Threads Per Page:";
$l['tpp_desc'] = "Allows you to select the amount of threads to be shown per page in the thread listing.";
$l['reset_password'] = "Reset Password";
$l['send_password'] = "Send New Password!";
$l['image_verification'] = "Image Verification";
$l['verification_note'] = "Please enter the text contained within the image on the right in to the text box below it. This process is used to prevent automated signups.";
$l['verification_subnote'] = "(case insensitive)";
$l['registration_errors'] = "The following errors occurred with your registration:";
$l['timeonline'] = "Time Spent Online:";
$l['registrations_disabled'] = "Sorry but you cannot register at this time because the administrator has disabled new account registrations.";
$l['error_username_length'] = "Your username is invalid. Usernames have to be within {1} to {2} characters.";

$l['none_registered'] = "None Registered";
$l['not_specified'] = "Not Specified";
$l['membdayage'] = "({1} years old)";
$l['mod_options'] = "Moderator Options";
$l['edit_in_mcp'] = "Edit this user in Mod CP";
$l['ban_in_mcp'] = "Ban this user in Mod CP";
$l['reputation'] = "Reputation:";
$l['reputation_vote'] = "Rate";
$l['reputation_details'] = "Details";
$l['already_logged_in'] = "Notice: You are already currently logged in as {1}.";

$l['redirect_registered_activation'] = "Thank you for registering on {1}, {2}.<p>To complete your registration, please check your email for account activation instructions. Until you activate your account you may not be able to post on these forums";
$l['redirect_emailupdated'] = "Your email has been successfully changed.<br />You will now be taken back to the main page.";
$l['redirect_accountactivated'] = "Your account has successfully been activated.<br />You will now be taken back to the main page.";
$l['redirect_registered'] = "Thank you for registering on {1}, {2}.<br />You will now be taken back to the main page.";
$l['redirect_registered_admin_activate'] = "Thank you for registering on {1}, {2}.<br />Your registration must be activated by an administrator.  Until then, you may not be able to post on these forums.";
$l['redirect_loggedout'] = "You have successfully been logged out.<br />You will now be taken back to the forum index.";
$l['redirect_alreadyloggedout'] = "You were already logged out or have not logged in yet.<br />You will now be taken back to the forum index.";
$l['redirect_lostpwsent'] = "Thank you, all accounts pertaining to that email address have now been sent an email with details on how to reset the passwords.<br /><br />You will now be taken to the forums' index.";
$l['redirect_activationresent'] = "Your activation e-mail has been resent.";
$l['redirect_passwordreset'] = "Thank you, the password for your account has been reset. The new randomly generated password has been emailed to the email address in your account.";
$l['redirect_memberrated'] = "The member has successfully been rated.";
$l['redirect_registered_passwordsent'] = "A random password has been generated and sent to your email address. Before you can login on these forums, you will need to check your email for this password.";
$l['redirect_validated'] = "Thank you, your account has been validated.<br />You will now be taken to the forums.";

$l['error_activated_by_admin'] = "You cannot resend your account activation email as all registrations must be approved by an Administrator.";
$l['error_alreadyregistered'] = "Sorry, but our system shows that you have already registered on these forums and the registration of multiple accounts has been disabled.";
$l['error_alreadyregisteredtime'] = "We cannot process your registration because there has already been {1} new registration(s) from your ip address in the past {2} hours. Please try again later.";
$l['error_badlostpwcode'] = "You seem to have entered an invalid password reset code. Please re-read the email you were sent or contact the forum administrators for more help.";
$l['error_badactivationcode'] = "You have entered an invalid account activation code. To resend all activation emails to the email address on file, please click <a href=\"member.php?action=resendactivation\">here</a>.";
$l['error_alreadyactivated'] = "It appears your account is already activated or does not require email verification.";
$l['error_nothreadurl'] = "Your message does not contain the URL of the thread. Please use the \"send to friend\" feature for it's intended purpose.";
$l['error_invalidpworusername'] = "You have entered an invalid username or password combination. <br /><br />If you have forgotten your password please <a href=\"member.php?action=lostpw\">retrieve a new one</a>.";
$l['error_bannedusername'] = "You have entered a username that is banned from registration.  Please choose another username.";
$l['error_notloggedout'] = "Your user ID could not be verified to log you out.  This may have been because a malicious Javascript was attempting to log you out automatically.  If you intended to log out, please click the Log Out button at the top menu.";
$l['error_regimageinvalid'] = "The image verification code that you entered was incorrect. Please enter the code exactly how it appears in the image.";
$l['error_regimagerequired'] = "Please fill out the image verification code to continue the login process. Please enter the code exactly how it appears in the image.";

$l['js_validator_no_username'] = "You must enter a username";
$l['js_validator_invalid_email'] = "You need to enter a valid email address";
$l['js_validator_email_match'] = "You need to enter the same email address again";
$l['js_validator_no_image_text'] = "You need to enter the text in the image above";
$l['js_validator_password_matches'] = "The passwords you enter must match";
$l['js_validator_password_complexity'] = "Passwords must contain one or more symbols";
$l['js_validator_password_length'] = "Your password must be {1} or more characters long";
$l['js_validator_not_empty'] = "You must select or enter a value for this field";
$l['js_validator_checking_username'] = "Checking if username is available";
$l['js_validator_username_length'] = "Usernames must be between {1} and {2} characters long";
$l['js_validator_checking_referrer'] = "Checking if referrer username exists.";
$l['js_validator_captcha_valid'] = "Checking whether or not you entered the correct image verification code.";

$l['subscription_method'] = "Default Thread Subscription Mode:";
$l['no_auto_subscribe'] = "Do not subscribe";
$l['no_email_subscribe'] = "No email notification";
$l['instant_email_subscribe'] = "Instant email notification";
?>

Any ideas?
Can you show just line 79?
agreement_5, "Footy area" or "General" must be \"Footy area\" or \"General\"
agreement_5, "Footy area" or "General" must be \"Footy area\" or \"General\"

ive done that, and i still get the error.
Is it the same error?
Yeh mate same error Parse error: syntax error, unexpected T_STRING in /home/nathand/public_html/forum/inc/languages/english/member.lang.php on line 79
What i have done is remove the "" all together and it works now, sorry to hassle you.
No problem at allToungue