BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.
  • Index
  •  » SignMe
  •  » Changing <br> tags in messages to <br />

#1 13-11-2008 14:53:21

kipinae
Member
From: Finland
Registered: 26-08-2006
Posts: 18
Website

Changing <br> tags in messages to <br />

I worked hard to make sure my website layout is XHTML/CSS valid code and to keep those classy little buttons in there to tell people that, I need SignMe to create valid code as well.

I already managed to edit the template.inc.php and signme.inc.php so that most of the <br> tags are replaced as <br />, links have rel='external' attribute instead of target="_blank" and the table layout is correctly coming out of the CSS file.

It seems my last remaining problem is to find a way to change the line breaks in guests' messages to <br />. I couldn't solve this with simply "Find & Replace All" as I did with the other problems, so I need a bit help here as I'm still not really fluent with PHP.  :)

Which bit of code should I change/add to make those line breaks validate?

Offline

 

#2 13-11-2008 16:19:59

kipinae
Member
From: Finland
Registered: 26-08-2006
Posts: 18
Website

Re: Changing <br> tags in messages to <br />

Nevermind; the line breaks I was looking for were typed as <br/> - that's why I couldn't find them with search. :) Problem solved and now it validates!

Now I just need to fix the CSS and the functionality I managed to break somewhere along the process. :P

Last edited by kipinae (13-11-2008 16:22:42)

Offline

 
  • Index
  •  » SignMe
  •  » Changing <br> tags in messages to <br />

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |