6,476

(4 replies, posted in PunBB 1.2 bug reports)

Fixed.

6,477

(8 replies, posted in PunBB 1.2 troubleshooting)

Hmm, that's odd. How did you delete the topic? By deleting the first post in the topic or by using "Moderate forum"?

To remedy the situation temporarily, you will have to manually delete the rows from the topics table in the database.

6,478

(4 replies, posted in PunBB 1.2 troubleshooting)

Well, adding more stuff to the cookie is not so easy. You would have to edit the scripts that read and set cookies to handle your new elements in the array. A much simpler solution is to include the script common.php in your own scripts which will give you access to $cur_user. It's quite easy:

$pun_root = './forums/';
include $pun_root.'include/common.php';

$pun_root is the relative path to your forum root directory.

When you've done this, you can just echo out whatever you want from the $cur_user array. You also have access to an open database connection with $db and all other PunBB globals.

6,479

(142 replies, posted in PunBB 1.2 discussion)

Paul wrote:
Rickard wrote:

When I visit that URL, I get redirected to http:///suspended.page/ ?

It gets worse. They seem to have replace PunBB with phpBB.

What the!? :D

6,480

(4 replies, posted in PunBB 1.2 troubleshooting)

Well, you don't need to set it in a cookie. In the function check_cookie() in include/functions.php, all fields from the user database are retrieved and stored in the array $cur_user. So, if you wanted to output the last name in the status bar, you would simply echo out $cur_user['last_name'] or whatever the field is called.

Here you go: http://punbb.org/forums/viewtopic.php?id=3263

6,482

(9 replies, posted in PunBB 1.2 discussion)

Here's an updated version of Cactuz's EFAM mod: http://punbb.org/forums/viewtopic.php?id=3263

6,483

(16 replies, posted in Feature requests)

Here's an updated version of Cactuz's EFAM mod: http://punbb.org/forums/viewtopic.php?id=3263

It'll have to do until 1.2 is released :)

##
##
##        Mod title:  Extended Forum Access Mod (EFAM)
##
##      Mod version:  1.1
##   Works on PunBB:  1.1.1
##     Release date:  2004-02-04
##           Author:  Kristoffer "Cactuz" Jansson (jansson@cactuz.nu)
##                    (updated by Rickard Andersson).
##
##      Description:  This mod extends the forum access down to the user
##                    level. This is how it works: First, "lock" a forum with
##                    the forum admin. Then you just have to add access to all
##                    users you want to give access to the forum in their
##                    profile.php.
## 
##   Affected files:  admin_forums.php
##                    post.php
##                    viewforum.php
##                    viewtopic.php
##                    profile.php
##
##       Affects DB:  Yes
##
##            Notes:  This mod has been updated to work with PunBB 1.1.1 by
##                    Rickard Andersson.
##
##                    Generated with ModGenerator (http://modgen.cactuz.nu/)
##                    on: 2004-02-04 22:22:27
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

I went through it and made some changes so that it will work with PunBB 1.1.1. The line numbers should be correct, but don't get your panties in a bunch if they are one row off in a place or two :)

Download it at Punres as usual: http://punres.cactuz.nu/?p=projects/desc&id=4

6,485

(42 replies, posted in General discussion)

Yeah, maybe :)

6,486

(42 replies, posted in General discussion)

On second thought, it's it kinda stupid :) Maybe I'll change it to something else :)

6,487

(4 replies, posted in PunBB 1.2 troubleshooting)

You should only enable debug mode if you run into problems. If everything is working, you should have it disabled.

6,488

(3 replies, posted in PunBB 1.2 troubleshooting)

Ah, ok. Maybe I should rewrite that part so that of the install guide. Oh well, it works now :)

6,489

(142 replies, posted in PunBB 1.2 discussion)

When I visit that URL, I get redirected to http:///suspended.page/ ?

6,490

(9 replies, posted in PunBB 1.2 discussion)

mippo wrote:

Very nice!!!

I would to install the PunBB 1.1.1 but took a lot of work in changing the PubBB 1.0.1 design traducation it in luxembourgish.

The forum is online an more an more user works with it an I don't want to spend again a lot of time to change the forum.... or is it possible to upgrade without problems?

Well, if you upgrade to PunBB 1.1/1.1.1, you will have to update the language pack. BTW, if you do update the "luxembourgish" language pack you say you've written, I would very much appreciate if you could e-mail it to me and I post it on this site.

mippo wrote:

So it is very nice if you could check with Cactuz to receive a version that works with the version 1.0.1.

You can contact him yourself :)

6,491

(4 replies, posted in PunBB 1.2 troubleshooting)

Enable DEBUG mode and try it again. A more detailed error message will appear.

6,492

(3 replies, posted in PunBB 1.2 troubleshooting)

Apparently nothing :) I'm not sure why it would say that. The file attempts to include config.php and if it can't it outputs the message about it not being in the root directory. Do you have a config.php in the root?

6,493

(9 replies, posted in PunBB 1.2 discussion)

Probably not. I'm going to modify the mod :) tonight so that it works with PunBB 1.1.1. If you want support for 1.0.1, you will have to talk to the mod author.

6,494

(42 replies, posted in General discussion)

Gribber wrote:

Rickard: Just a wonder about your sign, why fix() when not broken? :)

Why write a discussion board when there are already hundreds? :D

6,495

(4 replies, posted in PunBB 1.2 bug reports)

Ah, you're right. I'll have to look at that tonight.

6,496

(7 replies, posted in PunBB 1.2 troubleshooting)

Wolfsbane wrote:

Or maybe add this as a selection in the install script? just an idea...

I'm not sure. I think 99% of the people installing PunBB will have no idea which one to choose. The people who know enough will surely be able to just edit config.php.

6,497

(42 replies, posted in General discussion)

Consider it done :)

6,498

(14 replies, posted in General discussion)

Louis: Yeah, but it's been on the first page for quite a while. Maybe it was the e-mail Chachmool is talking about.

6,499

(14 replies, posted in General discussion)

Is it just me or has the number of active users in these forums just trippled over the last few days? Did someone post put up a banner on hotmail.com or what? :D

6,500

(16 replies, posted in Feature requests)

Louis wrote:

Oh fine. I'll admit it, I'd probably use topic ACLs very rarely.

Yeah, stop bugging me and work on the CSS instead :D