That explains my preference for using it with the extra E then.
1,452 2007-10-15 10:42
Topic: Opinions: Download modification (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 2007-10-14 13:29
Re: Double posts and online users (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. Everything appears fine on the basic login/logout level with that new code.
1,454 2007-10-14 10:31
Re: Double posts and online users (38 replies, posted in PunBB 1.2 bug reports)
Cheers. I shall try that out shortly and let you know. Thanks.
1,455 2007-10-14 10:27
Re: An update (124 replies, posted in News)
Actually, my dictionary and thesaurus says that opinion and judgment are similar.
Did either of those tomes mention the missing E you three have, or is it merely another 'Americanism'?.
1,456 2007-10-14 02:00
Re: Admin Board - Webmaster Forum (17 replies, posted in PunBB 1.2 show off)
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.
1,457 2007-10-13 20:11
Topic: Downloads and download counts (0 replies, posted in Programming)
Just a brainpick regarding the best way to approach this one.
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 2007-10-13 17:35
Re: Spambots attacking! (9 replies, posted in PunBB 1.2 troubleshooting)
What registration mods are you using?
1,459 2007-10-12 18:01
Re: Friendly URLs (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Apologies. Getting mixed up with the mods there. This is the thread I was thinking of:
http://www.punres.org/viewtopic.php?id=3922
It links to a punrewrite mod.
Edit: This is the original rewrite mod, I believe:
1,460 2007-10-12 17:32
Re: Admin Board - Webmaster Forum (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">
1,461 2007-10-12 07:02
Re: Friendly URLs (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Look a few posts down this forum index for the SEO thread.
1,462 2007-10-12 07:01
Re: Admin Board - Webmaster Forum (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.
1,463 2007-10-11 08:45
Re: Is there any other open source forum with support for plugins? (18 replies, posted in PunBB 1.2 discussion)
That's a bugger if it's true. That could only happen from future versions onwards though, couldn't it?
1,464 2007-10-11 08:02
Re: Is there any other open source forum with support for plugins? (18 replies, posted in PunBB 1.2 discussion)
- there's some question about the current and future state of PunBB (ownership, etc.)
???
1,465 2007-10-11 02:26
Re: Bad error message? (11 replies, posted in PunBB 1.2 troubleshooting)
1,466 2007-10-09 19:28
Topic: IE and CDATA (0 replies, posted in General discussion)
Just out of morbid curiosity, why does IE not recognise CDATA unless the < is preceded by // ?
Cheers,
Matt
1,467 2007-10-09 15:31
Re: New topics (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,468 2007-10-08 23:06
Re: How do I add Adsense into my forum? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,469 2007-10-08 23:04
Re: Base forum url? (23 replies, posted in Programming)
My apologies then. It's a case which is self inflicted with I.
1,470 2007-10-08 22:10
Re: How do I add Adsense into my forum? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Search over on Punres. There's a mod for it, I believe.
1,471 2007-10-08 22:08
Re: Base forum url? (23 replies, posted in Programming)
I said it could be truncated at an entity, not a character. 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).
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).
1,472 2007-10-08 21:37
Re: Base forum url? (23 replies, posted in Programming)
In what regard, specifically?
1,473 2007-10-08 17:43
Re: Base forum url? (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 2007-10-08 12:37
Re: Base forum url? (23 replies, posted in Programming)
Just whilst we're on the subject again, , 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.
1,475 2007-10-08 12:11
Re: Change e-mail address in posts (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.