376

(142 replies, posted in PunBB 1.2 discussion)

bobitt wrote:

The forum i put up for students in my school has currently 125 users and a little over 7000 posts (has been up since may 2004)

adress: http://www.rbkforum.tk

Nice! 7000 posts in less than two months is a lot :)

377

(6 replies, posted in Programming)

Why don't you search for some code instead. There must be thousands of small examples "out there" just waiting for you :)

Razmooze wrote:

Will you upgrade the mod with this? (I haven't installed it just yet :o)).

It's already done :) The latest ver. is at the download-page.

catch17 wrote:

Chacmool you are a wonderful guy - thanx a lot for fixing this line that fast :):)

I have just changed the line  and it works fine

:) thank you very much :)

Great! :)

...and thanks to you for telling me there's a bug :D

379

(4 replies, posted in Archive)

Svarade här istället.

*låser*

Done!
I've finally got time to fix this problem, sorry for the problems I've caused...

In post.php, find:

if ($cur_user['smilies'] == '1' && $_POST['smilies'])

...and replace it with:

if ((!isset($_POST['form_sent']) && $cur_user['smilies'] == '1') || (isset($_POST['form_sent']) && $_POST['smilies'] == '1'))

381

(3 replies, posted in PunBB 1.2 troubleshooting)

Fixed it. Now moderators and admins can post multivotes even if they're turned off in the options-menu. Just download the mod-package and replace include/punpoll/post_form.php and it'll work.

382

(4 replies, posted in PunBB 1.2 show off)

Woh! It looks really nice :)

I like the colors, well done!

383

(10 replies, posted in PunBB 1.2 troubleshooting)

*moved to troubleshooting*

jacobswell wrote:

Chacmool!

if ($owner != $cur_user['id'])
        message($lang_common['No permission']);

if you add above code to message_list.php, you cannot read even your own message! need not to be added.

*sigh*

Did you use the new version now or did you alter the code yourself?

Rickard wrote:

You know the world is upside down when Italy, Spain and Germany get kicked out even before the quarter finals.

Yeah, and it can only mean one thing: ALL matches are staged ;P

Edit: Well, not all...

386

(39 replies, posted in General discussion)

Jeff Adams wrote:

If you haven't tried Opera 7.5 yet check it out. Way better than earlier versions. Also look for the extensions by Moose. He has a minimal web developer layout.

Extentions in opera? Or are you talking about firefox again? :)

387

(142 replies, posted in PunBB 1.2 discussion)

I think I've found the forum with most users now:

Mail Hollywood Forum has ... 10707 users! That's ALOT of users :D

(Working on my last project "punbb-big-boards" (as big-boards.com), and found some large forums)

388

(17 replies, posted in PunBB 1.2 bug reports)

Hav eyou made any modifications to the forum?

389

(5 replies, posted in General discussion)

MySQL info from phpinfo():

Client API version: 3.23.56

Exactly what do you mean with negative? Negative as in begin with zero posts, and then you have -1 posts and so on?

If so, replace:

if ($pun_config['o_show_post_count'] == '1')
    $info .= "\n\t\t\t\t\t\t\t".$lang_common['Posts'].': '.$cur_post['num_posts'];

with:

if ($pun_config['o_show_post_count'] == '1'){
    $min = $cur_user['id'] == 12 ? '-' : '';
    $info .= "\n\t\t\t\t\t\t\t".$lang_common['Posts'].': '.$min.$cur_post['num_posts'];
}

in viewtopic.php (and change 12 to the specific id)

Edit1: I've not tested it, so I'm not sure it works as you want...

Edit2: Your users have weird requests :D

Okay, but... hmm, weird.

And you had to put the files in /include and not in /include/pms/ to make it work?

This is the code from the readme-file, there should be in the pms-folder:

<?php require($pun_root.'include/pms/admin_options.php'); ?>

Hm, that's not right... which version are you installing?

Edit: V1.0.7 is the latest one, and can be downloaded here.

393

(5 replies, posted in General discussion)

I'm settings up my last project at a friends server, and found out that there's a problem. After a while there's too much mysql-threads (they doesn't close... don't know why) so MySQL can't create more of them and gives the error-message:

Warning: mysql_connect(): Can't create a new thread (errno 11). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug in...

Does someone knows how to fix this? (He's running some kind of linux-installation...)

Edit: No, I've not consulted the manual...

Yay! Great :)

Dr.Jeckyl wrote:

i installed your mod by your instructions and i get this error when i try to load the forums now. any ideas? if you need more info please keep in mind that i'm not a coder and will only be able to give you as much info as i know/can.

An error was encountered
Error: Unable to check for new messages.

Did you run install_mod.php? (It alter/install the database tabels)

396

(24 replies, posted in PunBB 1.2 bug reports)

Nice one! :D

Evil trick!

397

(26 replies, posted in PunBB 1.2 discussion)

Yay! I got my mousepad today :)

I don't think there was anything more between. What you could do is to just replace the files that is included in the package. Most (almost all) changes after the release has been made in these files, so there should be no problem updating (replace files instead of being required to alter the punbb-files all over again).

It would be soooooo fun if the game ended 2-2, just for the joy of the "war" after it :) Though, I think that playing 2-2 is not as easy as it sounds if they want to do it...

400

(4 replies, posted in Archive)

Skall kolla lite på det senare ikväll.

Har du ställt in att det skall fungera i admin->options?