phpBB question

Jacobstoll at aol.com Jacobstoll at aol.com
Tue Oct 14 20:12:43 EDT 2003


My email client (aol sucks) wrapped the text on that, sorry about that. If 
you still have troubles, i think you might also want to check that you have a ' 
before the text and a '; at the end of the line. I made the same mistake once 
and had the same result.
make sure when you edited the file, that the text does not wrap.  The text
should be one long line...

ie:
  wrong:
    $lang['Reg_agreement'] = 'beginning of the text...
    end of text...';

  correct:
    $lang['Reg_agreement'] = 'beginning ... end';

The language file is included into PHP scripts and does not understand
word wrap very well (it does, but it's specific to certain situation not
pertinent here).

if word wrap is the problem and you can't stop it, try this:

$lang['Reg_agreement'] = 'beginning of text ... text text text text ';
$lang['Reg_agreement'] .= 'text text text text text text text text text ';
$lang['Reg_agreement'] .= 'text text text text text text text text text ';
$lang['Reg_agreement'] .= 'text text text text text text text text text ';
$lang['Reg_agreement'] .= 'text text text text text ... end of text.';

note the .= as that will append that line to the existing string of text.

Hope that helps..

--
<? print(pack("c*", 74,117,115,116,32,/* Tony Evans                  */
65,110,111,116,104,101,114,32,80,72, /* Linux/Web Implementation    */
80,32,72,97,99,107,101,114,46,10));  /* http://www.phoenixwing.com/ */ ?>



On Tue, 14 Oct 2003, One Untraceable wrote:

> When I edit the text I get this error
> Parse error: parse error in
> /home/virtual/site2/fst/var/www/html/language/lang_english/lang_main.php
> on line 634
>
> Warning: Cannot modify header information - headers
> already sent by (output started at
> 
/home/virtual/site2/fst/var/www/html/language/lang_english/lang_main.php:634)
> in
> /home/virtual/site2/fst/var/www/html/includes/page_header.php
> on line 474
>
> Warning: Cannot modify header information - headers
> already sent by (output started at
> 
/home/virtual/site2/fst/var/www/html/language/lang_english/lang_main.php:634)
> in
> /home/virtual/site2/fst/var/www/html/includes/page_header.php
> on line 476
>
> Warning: Cannot modify header information - headers
> already sent by (output started at
> 
/home/virtual/site2/fst/var/www/html/language/lang_english/lang_main.php:634)
> in
> /home/virtual/site2/fst/var/www/html/includes/page_header.php
> on line 477
>
> I am not doing anything odd, just replacing text with
> plain text. Any idea what might be causing this?
>
> Thanks again
>
>
> --- Jacobstoll at aol.com wrote:
> > go to  \language\lang_english\
> >
> > open lang_main.php
> >
> > search for the line that begins with -
> > $lang['Reg_agreement']
> > should look like
> >
> > $lang['Registration'] = 'Registration Agreement
> > Terms';
> > $lang['Reg_agreement'] = 'While the
> > administrator..........
> >
> > edit it to what you want it to say
> >
> > -----------------------
> > Can someone tell me what file I need to edit to
> > change
> > the text displayed when you click the register
> > button
> > on phpBB?(Registration Agreement Terms) I want to
> > customize this text but dont know where to find it.
> >
> > Thanks for the help
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
> > search
> > http://shopping.yahoo.com
> >
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20031014/45bb3548/attachment-0001.html


More information about the nflug mailing list