151

Re: PunBB 1.2 - What's to come

Chacmool wrote:
Madoor wrote:

When you detele a user the posts won't be deleted right!?

It's done (or at least almost done) in v1.2. You can choose (via a checkbox) to delete the posts or not when removing the user.

I assume it is an option tongue

152

Re: PunBB 1.2 - What's to come

Is 1.2 going to be strict or trans...?
i need a xhtml strict forum now.
please hurry up.. ;-)

153

Re: PunBB 1.2 - What's to come

It's strict so far and will stay that way subject to any usability concerns.

Why would anybody "need" a forum to be XHTML 1.0 Strict?

154

Re: PunBB 1.2 - What's to come

because they can be 1337 and have a strict site like no one else has?

155

Re: PunBB 1.2 - What's to come

Connorhd wrote:

because they can be 1337 and have a strict site like no one else has?

You will have to forgive my ignorance. All I know about 1337 is it was the start of the Hundred Years War. (from what I remember it was a bit like Euro 2004. England were beating France and then got clobbered in injury time)

156

Re: PunBB 1.2 - What's to come

yep, i would like to have a completely strict site, but not for any "title" such as 1337 but so my site is completely compliant with the most standards wink

157

Re: PunBB 1.2 - What's to come

Paul: maybe because some people are parsing each page of their website in xslt to add templates (header, menu, footer), and because that only works with valid xhtml? big_smile

158

Re: PunBB 1.2 - What's to come

Yann wrote:

Paul: maybe because some people are parsing each page of their website in xslt to add templates (header, menu, footer), and because that only works with valid xhtml? big_smile

Congratulations. That is a valid reason.

159

Re: PunBB 1.2 - What's to come

YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAh!!!:)

160

Re: PunBB 1.2 - What's to come

wow thx for that

Re: PunBB 1.2 - What's to come

Hello everyone (new poster),

Right now, the "Open links in new window" setting adds target="_blank" attributes in the code  but that won't validate as Strict.

I'm curious: if v1.2 is going to be XHTML Strict, how will "Open links in new window" be implemented?

(I have a JavaScript add-on at my site for this and so I'm interested in how others are doing it.)

Latest Open Source project: [img=Templar PHP]http://code.google.com/p/templarphp/logo?logo_id=1251758459[/img]

TemplarPHP - A cascading template framework for PHP.

162

Re: PunBB 1.2 - What's to come

ShawnBrown wrote:

Right now, the "Open links in new window" setting adds target="_blank" attributes in the code  but that won't validate as Strict.

I'm curious: if v1.2 is going to be XHTML Strict, how will "Open links in new window" be implemented?

(I have a JavaScript add-on at my site for this and so I'm interested in how others are doing it.)

Hi Shawn and welcome.

A very simple solution to problem has been implemented; the option to open links in a new window has been removed smile

In those cases where the functionality of target="_blank" is really needed like bbcode help then a bit of inline javascript has been used.

Re: PunBB 1.2 - What's to come

Awesome.  I always hated (in general) links opening in new windows.  Glad to hear it is being done by default.  :-)

164 (edited by Rod 2004-09-23 18:46)

Re: PunBB 1.2 - What's to come

I use this code for my new XHTML site ...

in <head></head>

       <script type="text/javascript">
         <!--
    function externalLinks() {
        if (!document.getElementsByTagName) return;
            var anchors = document.getElementsByTagName("a");
            for (var i=0; i<anchors.length; i++) {
            var anchor = anchors[i];
                if (anchor.getAttribute("href") &&
                anchor.getAttribute("rel") == "external")
                anchor.target = "_blank";
                }
            }
        window.onload = externalLinks;
           -->
        </script>

When I want a link becomes NEW window (or if you use php) ...

simply add in your link

<a class="punBB" href="http://punbb.org" rel="external">PUNBB IS THE BEST FORUM EVER CREATED</a>
rel="external"

is used for future (see w3c web site)

165

Re: PunBB 1.2 - What's to come

Rod wrote:

I use this code for my new XHTML site ...

Thanks, nice solution and it's w3c approved.

166 (edited by ShawnBrown 2004-09-23 19:23)

Re: PunBB 1.2 - What's to come

Rod,

I'm doing something similar. But instead of looking for rel="external", I take the anchor tag's href and compare it against the domain of the current page(parsing as appropriate). Then the JavaScript adds "target=" attributes to all off-site links.

Latest Open Source project: [img=Templar PHP]http://code.google.com/p/templarphp/logo?logo_id=1251758459[/img]

TemplarPHP - A cascading template framework for PHP.

167

Re: PunBB 1.2 - What's to come

Rod wrote:

I use this code for my new XHTML site ...

in <head></head>

       <script type="text/javascript">
         <!--
    function externalLinks() {
        if (!document.getElementsByTagName) return;
            var anchors = document.getElementsByTagName("a");
            for (var i=0; i<anchors.length; i++) {
            var anchor = anchors[i];
                if (anchor.getAttribute("href") &&
                anchor.getAttribute("rel") == "external")
                anchor.target = "_blank";
                }
            }
        window.onload = externalLinks;
           -->
        </script>

When I want a link becomes NEW window (or if you use php) ...

simply add in your link

<a class="punBB" href="http://punbb.org" rel="external">PUNBB IS THE BEST FORUM EVER CREATED</a>
rel="external"

is used for future (see w3c web site)


That JavaScript was written by Kevin Yank and is explained in his article, New-Window Links in a Standards-Compliant World at SitePoint.com (in case you didn't know).

168

Re: PunBB 1.2 - What's to come

I knew it. And ? I haven't ever wrote "this is my script".

169 (edited by D9r 2004-09-25 16:34)

Re: PunBB 1.2 - What's to come

I knew it. And ?
It's good that you knew.  But your post didn't indicate it, so other people reading your post would have no way of knowing.

When I said, "in case you didn't know," the 'you' is addressing anyone reading the post.  I'm telling them where they can go to read more about the script and learn how it works and how to use it.  It's a helpful pointer for people needing instructions.

I haven't ever wrote "this is my script".
By not writing, "this is someone else's script," the implication is that it's yours.  It's always a good idea - and a matter of courtesy - to give credit where credit is due.  The standard method for doing this with JavaScript is to name the author in a comment at the beginning of the script.

170

Re: PunBB 1.2 - What's to come

Rickard wrote:

Whenever I change anything worth noting, I update the changelog, so please take time to review it now and then.

Here's the TODO list for PunBB 1.2:

- [DONE] Completely new, XHTML 1.0 Strict and semantically correct markup and CSS by Paul Sullivan.
- [DONE] Vertical admin navigation.
- [DONE] SQLite support.
- [DONE] Simple file-based caching of static data.
- [DONE] Make use of unbuffered database queries whenever possible.
- [DONE] More advanced BBCode pre-parsing.
- [DONE] Revised profile options (see this topic).
- [DONE] New upload code that works with open_basedir restrictions in effect.
- [DONE] Search for users in userlist.
- [DONE] Save IP address used during registration (see this topic).
- [DONE] Work with PHP error level E_ALL (i.e. initialize all variables before use).
- [DONE] Redirect forums (see this topic).
- [DONE] Ability to delete all of a specific users posts.
- [DONE] User language selection (in register.php and in profile.php).
- [DONE] More time zones (i.e. -3.5 for Newfoundland).
- [DONE] Post preview.
- Improved documentation by Bert Garcia.
- New markup for the admin interface by Paul Sullivan.
- Admin module system.
- User groups.
- Post moderation queue (see this topic).
- Some form of news system thingy (see this topic and this topic).
- BBCard support (XML? vCard?).
- Test, test, test.


This ToDo list is looking sexier by the minute!  Just look at all those big bold [DONE]'s!

Man, I can't wait!

Oh... duh.... I guess I have to! big_smile

If its cheaper to run Windows than it is to run Linux, how come Microsoft has all the money?

171

Re: PunBB 1.2 - What's to come

Todd wrote:

Man, I can't wait!

Oh... duh.... I guess I have to! =D

Not really, why not download and start playing with it?
http://punbb.org/download/in_development/

172

Re: PunBB 1.2 - What's to come

Does punbb use MySQL fulltext searching?  *i cant seem to recall*

173

Re: PunBB 1.2 - What's to come

ShayneB wrote:

Does punbb use MySQL fulltext searching?  *i cant seem to recall*

I think no, for compatible with other Databases (SQLite, Postgres)

If your people come crazy, you will not need to your mind any more.

174

Re: PunBB 1.2 - What's to come

ShayneB wrote:

Does punbb use MySQL fulltext searching?  *i cant seem to recall*

No, it doesn't. I'm have considered adding support for it though. Probably not in 1.2 though.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

175

Re: PunBB 1.2 - What's to come

hcgtv wrote:
Todd wrote:

Man, I can't wait!

Oh... duh.... I guess I have to! big_smile

Not really, why not download and start playing with it?
http://punbb.org/download/in_development/

Well, I generally like to wait so I can see it in all its final release glory but.... maybe I can make an exception.... this time just for Pun.

If its cheaper to run Windows than it is to run Linux, how come Microsoft has all the money?