Author |
Message |
|
Thanks a lot - that was it and it's sorted now!
|
|
|
Here's the file text copied without any changes from the server
Thanks again for your help!
";
$LANG["BookMess1"] = "HTML code is disabled";
$LANG["BookMess2"] = "HTML code is enabled";
$LANG["BookMess3"] = "Sign the Manswords Guestbook";
$LANG["BookMess4"] = "Back to the Manswords Guestbook";
$LANG["BookMess5"] = "Administration";
$LANG["BookMess6"] = "Hi. Welcome to the Manswords guestbook. Leave your messages and your favourite image here";
$LANG["BookMess7"] = "Comments from Manswords visitors";
$LANG["BookMess8"] = "Back to submit form";
$LANG["BookMess9"] = "Write a comment for this entry.";
$LANG["BookMess10"] = "Thank you for signing the Manswords guestbook.
Your entry was added successfully! You should be transfered back to the guestbook in 2 seconds.";
$LANG["EmailAdminSubject"] = "New guestbook entry";
$LANG["EmailGuestSubject"] = "Thank you for signing the manswords guestbook";
$LANG["AltIP"] = "IP logged";
$LANG["AltICQ"] = "Send ICQ Message";
$LANG["AltEmail"] = "Send E-mail";
$LANG["AltUrl"] = "View Web Page";
$LANG["AltAim"] = "Instant Messenger";
$LANG["AltCom"] = "Write a comment";
# Form
$LANG["FormMess1"] = "Fill out the blanks below to sign the guestbook. After you submit your entry, you will be returned to the guestbook. The blanks with (*) represent required fields.";
$LANG["FormMess2"] = "Manswords Smilies are ON";
$LANG["FormMess3"] = "AGCode is ON";
$LANG["FormMess4"] = "Show legend";
$LANG["FormMess5"] = "Below is your guestbook entry.";
$LANG["FormMess6"] = "AG Code is OFF";
$LANG["FormMess7"] = "Smilies are OFF";
$LANG["FormName"] = "Put your Manswords name";
$LANG["FormEmail"] = "Valid email address";
$LANG["FormLoc"] = "Where you are";
$LANG["FormPic"] = "Upload your best picture";
$LANG["FormUrl"] = "Homepage";
$LANG["FormGender"] = "Gender";
$LANG["FormMale"] = "Male";
$LANG["FormFemale"] = "Female";
$LANG["FormMessage"] = "O.k. Leave your Message";
$LANG["FormSelect"] = "Guestbook";
$LANG["FormUser"] = "Username";
$LANG["FormPass"] = "Password";
$LANG["FormReset"] = "Reset";
$LANG["FormSubmit"] = "Submit";
$LANG["FormPreview"] = "Preview";
$LANG["FormBack"] = "Go Back";
$LANG["FormEnter"] = "Guestbook - Administration Centre
Before you can proceed you have to enter a valid name and password!";
$LANG["FormButton"] = "Go";
$LANG["FormPriv"] = "Private message";
# Navigation Bar
$LANG["NavTotal"] = "Total Records:";
$LANG["NavRecords"] = "Records Viewed Per Page:";
$LANG["NavPrev"] = "Previous Page";
$LANG["NavNext"] = "Next Page";
# Post Errors
$LANG["ErrorPost1"] = "You forgot to fill in the Name field. Please correct it and re-submit.";
$LANG["ErrorPost2"] = "You forgot to fill in the Message field. Please correct it and re-submit.";
$LANG["ErrorPost3"] = "Your message is either too short or too long. Please correct it and re-submit.";
$LANG["ErrorPost4"] = "One of the input fields does not seem to be valid.";
$LANG["ErrorPost5"] = "Guestbook - Error";
$LANG["ErrorPost6"] = "Image file is too big";
$LANG["ErrorPost7"] = "Wrong image file type";
$LANG["ErrorPost8"] = "Sorry! We have flood-control activated. Please try again after a period of time elapses!";
$LANG["ErrorPost9"] = "Your IP adress is banned!";
$LANG["ErrorPost10"] = "Your message contains some invalid words. Please correct it and re-submit.";
$LANG["ErrorPost11"] = "You forgot to fill in the Comment field. Please correct it and re-submit.";
$LANG["PassMess1"] = "Please enter a valid username and password:";
$LANG["PassMess2"] = "Invalid username or password. Please try again.";
$LANG["PassMess3"] = "Sorry, but the password you entered was not correct.";
# Days
$weekday[0] = "Sunday";
$weekday[1] = "Monday";
$weekday[2] = "Tuesday";
$weekday[3] = "Wednesday";
$weekday[4] = "Thursday";
$weekday[5] = "Friday";
$weekday[6] = "Saturday";
# Months
$months[0] = "January";
$months[1] = "February";
$months[2] = "March";
$months[3] = "April";
$months[4] = "May";
$months[5] = "June";
$months[6] = "July";
$months[7] = "August";
$months[8] = "September";
$months[9] = "October";
$months[10] = "November";
$months[11] = "December";
?>
|
|
|
I changed a few words in the lang files (only between the " " so not in the codes themselves) i.e. from "email" to "what is your email address?" And got the following message;
Warning: Cannot modify header information - headers already sent by (output started at /home/alan/public_html/guestbook/lang/english.php:105) in /home/alan/public_html/guestbook/lib/admin.class.php on line 36
I've counted to line 105 in /lang/english.php I can't find anything wrong and didn't modify anything apart from having changed the words.
Any ideas?
By the way - is a full line of script one complete line even if it shows over two or three lines (cos of window restrictions) or is a line counted as each time a new line starts? Does that make sense?
Ta
|
|
|
I changed a few words in the lang files (only between the " " so not in the codes themselves) i.e. from "email" to "what is your email address?" And got the following message;
Warning: Cannot modify header information - headers already sent by (output started at /home/alan/public_html/guestbook/lang/english.php:105) in /home/alan/public_html/guestbook/lib/admin.class.php on line 36
I've counted to line 105 in /lang/english.php I can't find anything wrong and didn't modify anything apart from having changed the words.
Any ideas?
By the way - is a full line of script one complete line even if it shows over two or three lines (cos of window restrictions) or is a line counted as each time a new line starts? Does that make sense?
Ta
|
|
|
Thanks for that
I'll have a go later
And I did get the guestbook from the web host
|
|
|
Carbonize, thanks for the tips. I've changed the link address on one of my sites as you suggest and it works fine now.
On the other site I've got loads of templates and pages to change and it would be easier to change the code as you suggest, but I couldn't find admin/config.inc.php
I can find admin and the template files (do I need to change one of those?) but where exactly is config.inc.php?
Took a look at your site and I like the way the guestbook in incorporated - are there easy to follow instructions somewhere that an amateur like me could follow to learn how to acheive the same results?
Many thanks again for your help
|
|
|
Anyone know why my images i.e. signing.gif, the title .gif and sometimes the icons for home page etc. don't come up when the guest book page first opens? They show as missing links until I leave the page - go to admin or to sign the guestbook and then come back. Once I come back they appear. If I refresh the page they still don't appear - and I shouldn't have refresh, guests won't!
Anyone help?
Luke
|
|
|