No text on submit button

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

No text on submit button

Post by Jomar »

Script URL: http://www.zydegonutz.nl/index.php?opti ... &Itemid=41
Version of script: 1.7
Hosting company: Hostin2Go
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: text on submitbutton

Write your message below:
Gee, it's hard to get the lay-out adjusted in the stylesheet.
So many things in so many places. But finally got it the way I want it (somehow)
Just one thing I cant get to work: don't see any text on my submit button.
What have I done wrong?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Jomar,

You have done a very nice job styling the guestbook.

As for the missing text, what text string do you have for $lang['t88']='Submit My Comment'; ?

It is only present in the language.inc.php file when you downloaded the guestbook after November 25, 2009 as the last lines of the file. It was accidentally missing in the first release of guestbook version 1.7.

Code: Select all

/* Added 25th November 2009 */
$lang['t88']='Submit My Comment';
You can download my dutch translation file here viewtopic.php?t=2707

Groeten,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Hi Henrie,

Tnx for the compliment.
I know about the situation you mention, I was the one to put you on the right leg about this :lol:
Got the updated version of the guestbook and the translation already and in the version for the traffic school it worked just fine.
That's why I don't understand why I have the same problem again.

In nederlands.php I have on line 69:
$lang['t29']='Plaats reactie';

And in language.inc.php at the bottom:
/* Added 25th November 2009 */
$lang['t88']='Submit My Comment';

So it should be working?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hi Jomar,

Sorry, i did not remember who pointed out the error :oops:

If in your settings.php file you have

Code: Select all

/* Language file */
$settings['language']='nederlands.php';
the file langauge.inc.php is not used anymore. That is the language file for the english version.

If the file nederlands.php is set, it must contain the string

Code: Select all

$lang['t88']='Submit My Comment';
or in dutch

Code: Select all

$lang['t88']='Plaats mijn bericht'; 
The string $lang['t29']='Post reply'; should be translated as $lang['t29']='Plaats reactie'; and is used for the admin reply posting, not for the normal posting of a new message for the guestbook.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

It's working fine now.
Guess I didn't have the right nederlands.php yet.

Thanks again Henrie.
Post Reply