Birthday announcement

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
mzvette
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 5:13 pm

Birthday announcement

Post by mzvette » Mon Feb 09, 2009 9:34 pm

Greetings,

I'm currently using the "Aero" theme (which I believe is ProSilver-based) and I want to change the "Congratulations to:" to read something different. Am I correct in thinking that I can edit the {L_CONGRATULATIONS}: in the index_body.html file?

Code: Select all

<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/bday.png" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
	</tr>
If this is incorrect or I'm forgetting something, would someone please direct me?

Thanks in advance!
Last edited by stickerboy on Mon Feb 09, 2009 9:35 pm, edited 1 time in total.
Reason: Moved to Style Support

bolverk
I've been banned
Posts: 280
Joined: Mon Feb 02, 2009 5:39 pm

Re: Birthday announcement

Post by bolverk » Mon Feb 09, 2009 9:44 pm

Edit the language file, not the html.

../language/en/common.php, find and edit the following text:

Code: Select all

'CONGRATULATIONS'		=> 'Congratulations to',

mzvette
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 5:13 pm

Re: Birthday announcement

Post by mzvette » Tue Feb 10, 2009 2:54 am

Hi bolverk, thanks for responding.

I opened the common.php in notepad, edited what you suggested, but then the following error appeared at the top of my index page:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3729: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3732: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
All of the text on my index page became extra large. *lol* What did I do wrong? Or is there another file I have to edit as well.

Thanks again.

User avatar
darcie
Community Team
Community Team
Posts: 189
Joined: Mon Mar 12, 2007 7:32 pm
Location: Davis, California
Contact:

Re: Birthday announcement

Post by darcie » Tue Feb 10, 2009 3:35 am

Notepad saved a BOM at the header of your file when you edited it. Use Notepad++ or another plain text editor that will save in UTF-8 with no BOM.

mzvette
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 5:13 pm

Re: Birthday announcement

Post by mzvette » Wed Feb 11, 2009 2:28 am

Thanks Darcie. I downloaded and used NotePad++. Now I get the following in place of the original "Congratulations to":

Image

It seems there's another file that needs editing, but I'm not sure which. Any help is greatly appreciated.

User avatar
darcie
Community Team
Community Team
Posts: 189
Joined: Mon Mar 12, 2007 7:32 pm
Location: Davis, California
Contact:

Re: Birthday announcement

Post by darcie » Wed Feb 11, 2009 3:03 am

No, it should just be that one... :? What does it look like now where you have edited?

Locked