401

(13 replies, posted in General discussion)

That's physically impossible if you updated the value in the database and then removed the .php files in the cache directory. wink

That's set in your language pack, lang/language_name/common.php. I wouldn't change it if I were you, since you're likely to create an awkward charset situation in your database that will be difficult to deal with when full UTF-8 support comes in 1.3.

pedrotuga: I'm not sure what the performance hit of what you're describing is, but if you're talking about parsing lots of XML on the fly for every pageview, I think that would make things slow.
intedinmamma: Indeed.

404

(151 replies, posted in PunBB 1.3 extensions)

exec: Specifying why is important as well, sometimes it's hard to see why a hook is necessary in a certain place smile
However, I believe Gizzmo is right: there's no reason I can see to have a hook there.

405

(25 replies, posted in PunBB 1.3 troubleshooting)

Extensions can add AJAX features. There's nothing to stop them from doing so.

FBI wrote:

1.3 Beta.. Use it now! Dont wait.. smile

Except it's beta and not meant to be used in a production site. wink

Lamonte wrote:
d3visi0n wrote:

Everytime you ask the release date gets put forward another month.

bs, doubt this completly

Your sarcasm detector seems broken tongue

I've been juggling several things and I haven't had a chance to work on this. I'll do it (in simple, beta form, ready to accept bug reports/feature requests) this weekend.

When you upgraded, you overwrote some changes that the phpgedview people made. You need to put that code back. wink

I just tested it on PunBB-Hosting and it works 100% fine. Could it be that your email provider is silently dropping the emails or putting them in your spam folder?

410

(8 replies, posted in PunBB 1.2 discussion)

There isn't really a system for requesting modifications. You could ask over at PunRes and see if anyone is interested in doing it. smile

Since I run PunBB-Hosting and I haven't heard any complaints (and last time I tested they worked, and nothing in the setup has changed), perhaps you're testing subscriptions incorrectly? What are you doing that leads to no email?

412

(2 replies, posted in Programming)

The page you linked to wrote:

Warning

As of PHP 5.0.5 the write and close handlers are called after object destruction and therefore cannot use objects or throw exceptions. The object destructors can however use sessions.

It is possible to call session_write_close() from the destructor to solve this chicken and egg problem.

So put a call to session_write_close in the destructor and you're good to go?

If phpgedview/modules/punbb has the PunBB files in it, then yes.

414

(8 replies, posted in PunBB 1.2 discussion)

As a modification? Certainly.

415

(14 replies, posted in PunBB 1.2 troubleshooting)

You're better off fixing it, either by editing to cookie domain in config.php to .example.com (where example.com is your domain name) or automatically redirecting all traffic to either the version with the www. or without it (redirect is better than changing the cookie domain, since there are also SEO benefits).

1.3 has a different code base, and the problem there was because of that. wink
Are other types of emails able to be sent (eg: emailing users via the form) or do none work?

417

(30 replies, posted in PunBB 1.2 troubleshooting)

Anas: Err, sort of. tongue
That was what was necessary to solve the problem FOR YOU. The error simply means that the username/password given for the database were incorrect. Your problem was larger, in that you had neither a database nor a database username/password.
And as yemgi said, you shouldn't be using root. You should create an account just for the forum.

You can see for yourself, the code is in profile.php. The answer is yes.
The only attack that is similar to that was a null byte vulnerability (an attacker with admin privileges could change the avatar path to a filename ending in .php%00 and upload an image with PHP embedded in it that could then be executed), but forging the mime type has no effect.

419

(151 replies, posted in PunBB 1.3 extensions)

parser.php is going to be rewritten.
Be more specific about where you want hooks. wink

420

(30 replies, posted in PunBB 1.2 troubleshooting)

Fill in the correct username/password for the MySQL server then!

Nope, that wasn't the context of the blog post which he copy/pasted from and linked to wink

I removed the link to your site, since it reeked of self promotion (it still does, since this post has little relevance to PunBB, but I'm going to be nice and leave it).

1. PunBB has no template system in the way you're thinking of it
2. There are SEF friendly URL schemes, but some of the rest of your gripes are silly.
3. Extension system
4. RSS has been a part of PunBB since 1.2.
5. Still small
6. The copyright notice has been removed, but the Powered by link will remain. If you don't understand why the link back is considered polite, then you won't really understand.
7. Existed since 1.2
8. Not a problem, no HTML ever
9-10 don't make much sense.

Then set it to one every 360 seconds? wink
It could be implemented as an extension, but personally, I think it's overkill for the core.

Moved to 1.3 talk

425

(30 replies, posted in PunBB 1.2 troubleshooting)

Yes. Remove your config.php file and actually install PunBB tongue