Smartys wrote:

I've already spoken to my host, they said it is on default settings for mySQL

They lied. The default is 0, which is unlimited. Hosts set that variable to try and control use of their MySQL server.

And it seems like a "standard" is 20. So if there are 20 connections to MySQL (or 20 pageloads) at the same time, you'll get the error.

Do you run any other MySQL apps which might trigger this?

Nope, only the forum. The host it b-one, I'll try to look more into it and ask them again.

Smartys wrote:

No, nothing should affect that: without p_connect it can't possibly be PunBB's fault
Check your db_layer file just to be sure you're not using p_connect (it's only even possible if you're using MySQL I believe)

The only other alternative is that you have more users requesting pages at a time then connections allowed by MySQL at once, which means you should talk to your host

I've already spoken to my host, they said it is on default settings for mySQL, and have no option of changing it. I checked the dbhost folder, all I could find that had anything to do with p_connect was

    function DBLayer($db_host, $db_username, $db_password, $db_name, $db_prefix, $p_connect)
    {
        $this->prefix = $db_prefix;

        if ($p_connect)
            $this->link_id = @mysql_pconnect($db_host, $db_username, $db_password);
        else
            $this->link_id = @mysql_connect($db_host, $db_username, $db_password);

It's not like it happens all the time, sometimes when 30 ppl are logged on and sometimes when 250 ppl are logged on. Doesn't make sense...

Smartys wrote:

No, PunBB closes all its connections (as PHP would anyway)
You didn't enable p_connect in config.php, did you?

$p_connect = false;

Nope... That's not the problem.

Edit: I've installed the addon Private Messages, who uses the mySQL tables to store and recieve the information. Could it be that the addon who is bad written?

An error was encountered
Error: Unable to connect to MySQL server. MySQL reported: User [my user] has already more than 'max_user_connections' active connections.

I belive it has something to do with the coding. I've been in contact with both my hosting provider and a couple of friends, they all say it has to do with the code not closing connections after executing some stuffs, and therefore filling up the maximum users connections in mySQL. Most of you might not notice this, but when you've got a very big forum this is a pretty big consern.

in your main.tpl, there is a <pun_navbar> or something like that. Just remove it.

So, instead of

        $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" width="" height="" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);

I should have

        $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);

Well, I tryed it but then smilies won't show at all...

Edit: Stupid me, got it to work now. Thanks!

@elbekko: The skin is called Vpun, it is avalible for download at www.punres.org

Well, a while ago I installed EasySmilies and added a couple of smilies in different sizes to my forum. It worked great, I thought... Well, smilies won't show up in Internet Explorer anymore. They work fine in Opera & Firefox though.

I've searched but not found any solution, the problem can be seen here. At the end of the post, there are 2 smilies, only visible for non-IE users.

Still no solution to what loodos described above?

Is there any chanse that I can add games to this plugin? I would love to add this game to it, but I'm very unsure if it is possible.

10

(3 replies, posted in PunBB 1.2 show off)

Paul wrote:

Its always good to see a busy forum. If you don't mind a suggestion, I would get rid of the padding around the logo and make it fixed width then it will be a perfect match for the other pages.

The logo is now free from the boxes smile

11

(3 replies, posted in PunBB 1.2 show off)

I'm very proud to show off our website, http://www.tibiaswe.com/. Please tell me what you think about it smile We are running PunBB on the forum, and got quite much members smile

@Rickard, keep up the nice work with PunBB, you know how many sites that rely on your famous work! smile

There is one thing I miss in this modification, and it is to have the subforums sorted in alphabetical order.

Otherwise, this mod rox! smile

13

(5 replies, posted in Archive)

Rickard, kan du vara snäll att säga om det går att fixa detta på något sätt. Uppgraderat forumet från phpBB till punBB, och på ett forum med snart 800 medlemmar börjar det bli ganska jobbigt med gäst-konton som kan skriva överallt.