FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » forum_rules bug
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
forum_rules bug [message #10445] Mon, 02 June 2003 02:55 Go to next message
Xodnizel   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Xodnizel   United States
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

Re: forum_rules bug [message #10488 is a reply to message #10467] Mon, 02 June 2003 21:44 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2.5.0RC3 - Deleting a user doesn't remove moderator status...
Next Topic: PM Icons
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Oct 08 20:20:24 GMT 2024

Total time taken to generate the page: 0.04075 seconds