1,451

(124 replies, posted in News)

That explains my preference for using it with the extra E then. big_smile

1,452

(25 replies, posted in General discussion)

Just wanting opinions on the general layout, appearance and usability of this:

http://forums.bauchan.org/testforum/downloads.php

Good, bad, could be better?


Cheers,

Matt

1,453

(38 replies, posted in PunBB 1.2 bug reports)

Have put the code inplace. Haven't had chance to try and instigate the problem yet, but it hasn't thrown a wobbler over the code this time. big_smile Everything appears fine on the basic login/logout level with that new code. smile

1,454

(38 replies, posted in PunBB 1.2 bug reports)

Cheers. smile I shall try that out shortly and let you know. smile Thanks.

1,455

(124 replies, posted in News)

guardian34 wrote:

Actually, my dictionary and thesaurus says that opinion and judgment are similar. tongue

Did either of those tomes mention the missing E you three have, or is it merely another 'Americanism'?. big_smile big_smile

1,456

(17 replies, posted in PunBB 1.2 show off)

Abercrombie wrote:

I worked with a dark skin first because almost every other related board is white.

I'll get to work on a clean white version.

Personally, I'd keep the dark theme, but just work it so that it has more definition between text/borders/backgrounds and such. The theme itself is quite nice. It's just somewhat of a strain on the eyes after a short while, as it is. smile

1,457

(0 replies, posted in Programming)

Just a brainpick regarding the best way to approach this one. smile

Having files for download and incrementing a download counter by one each time the file is downloaded. Would the best way to do this be an id in the db for each file with a count in that files db entry, and then have the download link calling a script which passes back the uri or redirects for that id and increments the files db count, or is there a better way?


Cheers,

Matt

1,458

(9 replies, posted in PunBB 1.2 troubleshooting)

What registration mods are you using?

Apologies. Getting mixed up with the mods there. big_smile This is the thread I was thinking of:

http://www.punres.org/viewtopic.php?id=3922

It links to a punrewrite mod. smile

Edit: This is the original rewrite mod, I believe:

http://www.punres.org/desc.php?pid=139

1,460

(17 replies, posted in PunBB 1.2 show off)

Still has a lack of definition.

These, the text is very close to the background colour in scale:

<th class="tcl" scope="col">Forum</th>
<th class="tc2" scope="col">Topics</th>
<th class="tc3" scope="col">Posts</th>
<th class="tcr" scope="col">Last post</th>


These, ditto on the border colours:

<td class="tcl">
<td class="tc2">
<td class="tc3">
<td class="tcr">

Look a few posts down this forum index for the SEO thread.

1,462

(17 replies, posted in PunBB 1.2 show off)

The table header text and table data borders are way too dark. A lighter grey would work far better. They're nigh on impossible to see at the moment.

That's a bugger if it's true. That could only happen from future versions onwards though, couldn't it?

Jérémie wrote:

- there's some question about the current and future state of PunBB (ownership, etc.)

???

1,465

(11 replies, posted in PunBB 1.2 troubleshooting)

http://www.punres.org/viewtopic.php?id=2622&p=6

1,466

(0 replies, posted in General discussion)

Just out of morbid curiosity, big_smile why does IE not recognise CDATA unless the < is preceded by // ?


Cheers,

Matt

http://punbb.org/forums/viewtopic.php?id=16296

http://www.punres.org/browse.php?keywor … projects=1

1,469

(23 replies, posted in Programming)

My apologies then. smile It's a case which is self inflicted with I. big_smile

Search over on Punres. There's a mod for it, I believe.

1,471

(23 replies, posted in Programming)

I said it could be truncated at an entity, not a character. big_smile It's a scenario that may never arise, but is also a possibility. To make PunBB truly Xhtml1.1 compliant, certain alterations need to be made. Whether the same circumstances can arise in a standard setup, I honestly couldn't say. I've made that many alterations that I lost the plot some time ago regarding PunBB's original default semantics. (It's just so damned tempting to keep modifying it). big_smile
However, using the dual method would prevent the scenario ever occuring. It's better to design in too strict a fashion initially than have to adapt it later. (Learned the hard way). big_smile

1,472

(23 replies, posted in Programming)

In what regard, specifically?

1,473

(23 replies, posted in Programming)

The problem occurs if a bare URI is posted in a post. For example, something along the lines of:

http://example.com?script&argument1&argument2

could end up being truncated part way through an &, which will, under normal validation in <Xhtml1.0, fail validation, but display the page. Running in Xhtml1.1, however, the XML parser would just print an error message on screen instead of displaying the page if that occured. Truncating at the ?, however, removes any entities from the printed link.

1,474

(23 replies, posted in Programming)

Just whilst we're on the subject again, big_smile , noticed you use a vaguely similiar method to the parser for link truncation. It screws validity in Xmhtl 1.1. Altered my URI truncation to this to over come the problem:

        if ($link == '' || $link == $url)
        {
                $pos = strpos($url, '?');

                if ($pos != '')
                {
                        $link = pun_htmlspecialchars(substr($url, '?', $pos));
                }
                else
                {
                        $link = pun_htmlspecialchars($url);
                }
        }
        else
        {
                $link = stripslashes($link);
        }

The likes of links such as Google will be stripped back before the '?', so retain usable layout and validity. Anything which is just stupidly long is left as is. You could use a mix of your original code and the above to stop URI's with arguments supplied being truncated by the original parsing method, and truncate anything that doesn't have supplied arguments using your original code. It should retain XML validity in all scenarios that way. Just an idea. smile

There's a Javascript mod for obfuscating e-mail addresses in posts, with regards to page source parsing. Do a search on Punres. It's there somewhere.