this is the problem: function pun_htmlspecialchars($str)

I have < in a database (posts table, message field), but when this gets displayed, it is displayed as &lt;..

Paul wrote:

That answered my question, you opened the links in the same window which is fair enough.

Sure, I believe users today are advanced enought to make their own decision...

btw, if requested, I'll put all files for download on sourceforge.net

I have modified ALL PunBB 1.1.4 files to use CSS better, and to be fully XHTML 1.0 STRICT valid.

Here's an example:

http://forum.blogcms.com/

I have made it to look same as BLOG:CMS homepage:

http://blogcms.com/

If you are interested in this mod, let me know, I'll put download file on sourceforge.net.

here you go:

http://forum.blogcms.com/

Completely XHTML 1.0 STRICT valid, including ADMIN area smile

give me about 60 minutes, I'll upload it to the server and convert about 800 phpBB posts to PunBB..

ok, I'll do that (backup/restore). I differ from your opinion and consider backup function THE MOST important in ANY system..

nevermind, I did it already wink All pages are XHTML 1.0 STRICT valid.

btw, what about backup / restore? Will this be in 1.2?

thanks, Rickard, I did make a search before posting.. wink

btw, I am working on PunBB to create fully valid XHTML 1.0 STRICT code, all pages, including admin ones, would you be interested in this?

Is there a mod allowing to export latest X posts, rather than topics? if not, I'm going to make one..

here you go:

<pre>g</pre>

well, sorry for confusion, when trying to solve the problem I modified slightly the while {} cycle, but the only needed solution is to add $styles=array();

Rickard wrote:

raDo: What version are you running? Try echoing out $styles before the loop. It appears to be initialized already.

I'm running 1.1.4, downloaded few hours ago. Initilazing $styles=array(); did the trick, it's working fine now (in both profile / admin_options.php).

this is the required fix (around line 1145):

$styles=array(); // add this
while (($entry = $d->read()) !== false)
if (strpos($entry,'.css')!== false) $styles[] = substr($entry, 0, strlen($entry)-4);

aha, this was the error:

<b>Fatal error</b>:  
[] operator not supported for strings in 
<b>C:\www\punbb\profile.php</b> on line <b>1145</b>

well, I did, after a fresh install, ALL pages are ok EXCEPT those 2 mentioned (admin_options and profile). Any hints where should I look? I am fluent in PHP smile

no, none, I noticed that http://localhost/punbb/profile.php is missing header as well, and drop-down select box for styles is EMPTY

Hi, first, I love this system. Also migrating about 1.000 posts from phpBB went fine. PunBB is way faster, and I appreciate this a lot.

Just one minor bug: http://.../admin_options.php is missing header, the HTML is beginning with <table class="punspacer" cellspacing="1" cellpadding="4">. Using latest 1.1.4 release (tar.bz2 package).