forum_rules bug [message #10445] |
Mon, 02 June 2003 02:55 |
|
Xodnizel
Messages: 73 Registered: May 2003
Karma: 0
|
Member |
|
|
The following causes fudforum's registration page to not load anymore(I have COPPA turned off, btw).
Edit:
It's the presence of the ' character(in the forum_rules message) that messes up the compiled template. Guess you have to escape characters for PHP if you want it to work correctly...
[Updated on: Mon, 02 June 2003 03:01] Report message to a moderator
|
|
|
Re: forum_rules bug [message #10453 is a reply to message #10445] |
Mon, 02 June 2003 12:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
That's correct when you use the ' character I suggest replacing it with
'
FUDforum Core Developer
|
|
|
Re: forum_rules bug [message #10467 is a reply to message #10453] |
Mon, 02 June 2003 16:52 |
|
Xodnizel
Messages: 73 Registered: May 2003
Karma: 0
|
Member |
|
|
Putting the following in the header template causes the template compiler to produce bad output:
<img src="logos/{VAR: frm->forum_id}.png">
It's the }. that is giving it trouble.
for that line, it outputs:
<img src="logos/<?php echo $frm->forum_id.<?php echo png">
I can work around it by putting a letter before the period, but it really should be fixed. :/
Just for reference, I've ended up doing:
<img src="logos/{VAR: frm_id}{VAR: frm->forum_id}l.png">
[Updated on: Mon, 02 June 2003 17:07] Report message to a moderator
|
|
|
|