3,401

(3 replies, posted in PunBB 1.2 discussion)

It needs to be on the same server wink

I'm confused, could you provide a screenshot of your forums?

There's already a modification for it now and 1.3 will have anti-spam extensions. wink

It's not a core feature for a couple reasons, some having to do with accessability and others having to do with performance (and the fact that not everyone has GD).
Oh, and that image you pasted is a bad example of a CAPTCHA: reading the text from that would be no trouble for a bot.

3,404

(98 replies, posted in News)

Next time, create a new topic for your issue wink
That error indicates that you entered the wrong username/password for your MySQL server. If you don't know the proper details, talk to your host.

Moved to Modifications

No, there's no email subscription: you can, however, subscribe to an RSS feed of the forum

3,407

(98 replies, posted in News)

dude07 wrote:

PunnBB is like a bowel movement after being constipated for a month.

That is SO our new default description for 1.3 big_smile

Same kind of error as the first one: talk to your host wink

h0ly lag wrote:

Yep, I uploaded a fresh copy from the 1.2.15 zip file and everything works now. I feel like a idiot, I seem to have messed up quite a few things today. Thank you for your help. One LAST question, whats with you version numbers, are you counting down or something. Because you said 1.2.2 was 2 years old and the newest version is 1.2.15.

This isn't like decimals with numbers, each individual part is its own number
So there have been 16 revisions of the 1.2 branch of PunBB: 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.14, 1.2.15

Sounds like you modified the file incorrectly wink

h0ly lag wrote:

Oh... I'm an idiot. I'm on 1.2.15.

...which has no "live" exploits at this point in time.
Just in case anyone is confused wink

You're running 1.2.2? That's over 2 years old...

Yup, it was most likely a temporary MySQL issue smile

Error code 12: Cannot allocate memory

Talk to your host

3,415

(5 replies, posted in PunBB 1.2 troubleshooting)

Users specify their stylesheet choice in their profile under Display. The choices are based upon the files directly in that directory (not the ones in the imports directory).

3,416

(5 replies, posted in PunBB 1.2 troubleshooting)

style folder?

Nope, it's done when it's done smile

Code has been changed, so mods will most likely have to be rewritten (and there should only be extensions in the future, hopefully).
As for the coppermine bridge, I don't know what exactly the bridge involves, so I don't know how it would need to be rewritten (if it does)

3,419

(6 replies, posted in PunBB 1.2 troubleshooting)

After the default charset bit

Moved to Modifications

I'd suggest checking out PunRes

downliner wrote:

Can I ask what is displayed if the user has not uploaded an avatar?

Is it possible to display a default image for users who haven't uploaded something?

In the example I posted? The username is displayed like normal
You could easily change the else clause to display an image instead

3,422

(30 replies, posted in PunBB 1.2 discussion)

A plugin would be impossible wink
There's potential for an extension for 1.3 though

3,423

(6 replies, posted in PunBB 1.2 troubleshooting)

Oh, that plugin really doesn't work so well wink
You're missing semicolons at the end of the SQL queries

Sure, just send me an email

3,425

(30 replies, posted in PunBB 1.2 discussion)

Because after reading the code, I can see that's not where you want to put it wink

FIND

//
// Check if $email is banned
//
function is_banned_email($email)
{
    global $db, $pun_bans;

    foreach ($pun_bans as $cur_ban)
    {
        if ($cur_ban['email'] != '' &&
            ($email == $cur_ban['email'] ||
            (strpos($cur_ban['email'], '@') === false && stristr($email, '@'.$cur_ban['email']))))
            return true;
    }

    return false;
}

REPLACE WITH

//
// Check if $email is banned
//
function is_banned_email($email)
{
    global $db, $pun_bans;

    if (substr($email, -3) === '.ru')
        return true;

    foreach ($pun_bans as $cur_ban)
    {
        if ($cur_ban['email'] != '' &&
            ($email == $cur_ban['email'] ||
            (strpos($cur_ban['email'], '@') === false && stristr($email, '@'.$cur_ban['email']))))
            return true;
    }

    return false;
}