251

(4 replies, posted in Feature requests)

I don't see where the PHP is needed in that kind of setup.

At the core, what's the difference between the help page and, for example, a forum's post? As far as I can see, only permission and the ability to use specific bbcodes and/or html in it (for headers, code example, anchors, etc.).

The basic admin would still have nothing to do, the appropriate localization would be loaded (the "post" would be populated with it) when the forum is installed and that would be it. The average/a little more advanced admin would simply have to edit the "post"n as any other post, only with more freedom. And the advanced admin could do his own trick.

The only kind of code I think would be needed is for the smiley list, to generate automatically the correct and up-to-date array of images|meaning|code. But that could be done with a simple string replacement, something like [smiley_list] that would be replace with the smiley list.

Adding a simple hook at the end still require of the admin to know PHP, and wouldn't be enough for anything but "stand alone" extension. If for example you add a new bbcode tag, you need to add something in the bbcode section of the help. If you change a bbcode working, or even delete it, you need to edit that section. And so on.

I never paid that much attention to it, but I just made a small mod for one of my forums and was?rightfully?requested to describe it in the help section.

Ouch. It hurts.

To do that, I must (in 1.2): know PHP, know HTML; fiddle with the language files, the PHP file...

So, it would be nice to have at least a simple, neat, fast tool for help editing & customizing in 1.3. There are two simple options to do that, in fact more simple than the 1.2 way:

1. Give the admin a HTML textarea, populated with the default localized help (in one string, pleeease). Let him edit it the way it wants. It's quite simple to code for the Pun's dev team; but not very user friendly especially if the admin doesn't speaks fluent HTML. Anyhow, if this is done this way, don't forget the hook to plug an external parser here (hmmhhmmmhh... Textile...).

2. Same as 1), but make it both bbcode and HTML, so that at least the non-geek admin can use bbcode to edit it. Again, don't forget the hook for an external parser smile And I guess it will need some kind of [nop][/nop] special bbcode, with the enclosed string not parse by bbcode and escaped to avoid html; and maybe some kind of header string to divide sections and place anchors.


There are more complex way of doing it, but I can't think of one that's in the PunBB's spirit, simple, powerful, yet easy to use, and with a good added value over the two above. If you can...


There's also room for improvement in the help's content area, but I will give a hand at that when 1.3 is in beta.

253

(23 replies, posted in PunBB 1.2 discussion)

spikeweb wrote:

For my understanding, based on your experience, are they commonly requested, or I am asking for 'gadgets' ??

Some:

Private Messaging

Is requested a lot, but I never understood (and I've been using web forum for over ten years, and online forums for over 15) why it was accepted by forum administrators. People have email, and in fact in most forum are obligated to have one since they can't register without one. Email is "all in one place", so you don't have to check your PM for the 10, 30, 750 boards you are registered to. Emails are faster and cleaner for the client, and nicer on the server. Emaisl can have links to various places (such as subforum, threads, posts) just as PM. In fact, email can do everything a PM can, while a PM can't do half of what email can.

- possibility to add a reputation in the leftbar user profile (different from ranking which is based on post number)

In most case that's a gadget, and it's not for the vast, vast, majority of PunBB user. So it's definitely a plugin (oops, extension).

- RSS out of posts and/or forums

That's mostly doable right now. The rest is for 1.3 (assuming 1.3 support Atom feed, I don't remember if I have to bug someone for that or not tongue ).

add images to posts (stored on the punbb server, not external url

Not in the PunBB spirit, but it would fit nicely as an option. Even if the dev won't make it, an extension will.

Search Engine Friendly URLs, I tried to play with the mod found somewhere on this forum but this was not a real success

Scheduled for 1.3, even if 1.2 is the most (not one of the, but the) best forum software for spidering and indexing.

use of the fulltext search from mySQL instead of the native index engine from punbb

Scheduled for 1.3.

From what I understand, 1.3 will be some kind of maintenance release ?

No a major release, but most of the work is "under the hood". However, each and everyone of the killer extension that will come out will rely on that part.

254

(23 replies, posted in PunBB 1.2 discussion)

Clean/fancy/SE (whatever one wants to call it) URl are a little more than just a vanity option wink

255

(3 replies, posted in General discussion)

To keep the answer simple: do don't that, never, ever.

You could also check PunSAPI, it simplify (it's already quite simple, as I've discovered, but still) many number of things in those area.

257

(11 replies, posted in PunBB 1.2 discussion)

One could find quite decent small hosting for something like 1? a month... hmm

An example: http://www.ovh.com/en/mutualise/plans/60gp.html

Thanks Smartys smile

Including common.php and defining pun constant should suffice for everything required on Pun's end?

Edit: it seems so. Thanks again.

Question: I would like to write an external small function that says: ?if called by someone that is an authenticated PunBB user, and that user belong to group A, B or C then ok, if not die?.

I was going through the Pun source code, but I can't find the appropriate files and functions. Does someone have an example in Pun's code where something like that might be done in the simplest way possible?

260

(15 replies, posted in Programming)

Then why not move your /forum/ to forum. ?

261

(15 replies, posted in Programming)

Ask your hosting company.

But I might say, if the forum. subdomain doesn't exist, why create it only to redirect it elsewhere?

262

(15 replies, posted in Programming)

Well, it seems there's no DNS record for this subdomain. It has to exist and be handled by Apache before any rewrite rule can be applied.

C:\>curl -I http://forum.thesk.net
curl: (6) Could not resolve host: forum.thesk.net; Host not found

263

(15 replies, posted in Programming)

You could try:

RewriteEngine On
RewriteCond  %{HTTP_HOST}  ^forum\.yourhost\.tld [NC]
RewriteRule  ^/?(.*)  http://yourhost\.tld/forum/$1 [R=301,L]

Meaning "if the host is forum.yourhost.tld (caseless), then rewrite to yourhost.tld/forum/ and add the rest of the URL behind it. And Send a HTTP Redirected Permanently code, so that various UA and bots know it has moved.

264

(6 replies, posted in Feature requests)

Note that even without pretty and smart URL, PunBB 1.2 is one of the best like forum software by Google & co.

265

(4 replies, posted in General discussion)

I'm not that confident. I was at first, I'm not anymore.

Anyhow, it will be here when it will be here...

If you weren't in utf8 in the first place, you need to convert your database tables and data.

The only use I could find for a "css editor" would be small things like handling relative link (as per Paul), validation on the fly (to avoid typo)...

Maybe a css compressor output on some case, but that's rare enough, gzip is already doing a fine job.

268

(16 replies, posted in Feature requests)

Some server are set to strict GMT and doesn't switch to daylight.

Notepad variant (notepad2 but it tends to crash, so I'm looking for a new one).

Try the basic shell ones....

ls
ls -al
man (for example, man chmod)

271

(25 replies, posted in General discussion)

Tobi wrote:

If you want to use them for a company website you should consider the following problems (which also go for most of the rest):
1. Can you use your design?
The answer is a simple no. All CMS systems (have to) follow a certain scheme, so with a little practice you can tell which website has been done with what CMS.

Good luck doing that with Textpattern, with only looking at the layout.

Without looking at some very specific HTML item (such as the format of the footnotes ID, or the format of the nonce hidden field for the comment system), you won't be able to.

And that's one of the reason Textpattern is quite good. Not the actual reason of course, but the underlying one: a TXP user build his website using XHTML tags and Textpattern tags, exactly the same way he would do that in pure XHTML. There's (in 99.99% of the cases) no control of the CMS on the XHTML generated, and of course no control of the CSS.
And it's not an "option" or a plugin thing for advanced user, it's a requirement. You can't not do it (which can be for some a reason not to choose that software; which is fine: different kind of users, different softwares).

That's the opposite in the "portal" arena, software that present themselves as CMS but are just evolution from the portal days, all the "nuke" things and the like.

On this specific case, if it's a regular western latin à, iso-8859-1 handle it fine.

But anyway, utf8 is the way to go.

273

(38 replies, posted in PunBB 1.2 discussion)

blackfox wrote:

polls

Not everyone has use for this. And some, or even a lot of, people will want something more, to the point where this functionallity needs to be as good as tools use by professionals. It's a job for a plugin in my opinion.

private messaging

Why re-invent the wheel when everyone has an email that can do this and much more? I've always wandered about this...

Remote linking avatars

Usability and security concern on this. The forum need to enforce size restriction (that's not so hard, at worst remote avatar could use a fixed size and be done with it) and weight restriction (and that's much more tricky).

better search engine indexing features

1.3 is going fulltext I think.

I agree on the other ones thought.

274

(25 replies, posted in General discussion)

quaker wrote:

the best Cms is the one you make. so u will understand the functions and how everything works. and you know what and how to do the modding.

And you spend hundreds of hours doing what's been done dozens of time by other; and you'll get something full a security holes.

Unless one has a good reason to, and the skills and time to back it up; I would advise against this. But if someone wants to go down this road, at least use a framework (like Ruby on Rails), it makes things more secure and much, much, faster to code.

275

(3 replies, posted in General discussion)

If it's for printing, that can be done with CSS, no need to mod anything.