1 (edited by Cactuz 2003-08-03 00:29)

Topic: Extended Forum Access Mod 1.0 by Cactuz

##
##
##        Mod title:  Extended Forum Access Mod (EFAM)
##
##      Mod version:  1.0
##   Works on PunBB:  1.0
##     Release date:  2003-08-02
##           Author:  Kristoffer "Cactuz" Jansson (jansson@cactuz.nu)
##
##      Description:  This mod extends the forum access down to every user.
##                    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
##
##       Affects DB:  Yes
##
##     Author notes:  Many people seems to want this mod so.. I wrote one ;)
##
##

Screenshot: http://cactuz.nu/bilder/efam.png

Download: http://punbb.org/contrib/mods/EFAM-1.0.zip

Re: Extended Forum Access Mod 1.0 by Cactuz

I bet it's a real good mod, but i have PunBB 1.0 RC2 and it won't install. "Wrong PunBB version" sad

Re: Extended Forum Access Mod 1.0 by Cactuz

I'd like this feature too, but can't install either since i have PunBB 1.0.1

Re: Extended Forum Access Mod 1.0 by Cactuz

But i wonder if could just take that warning away? Or has anything important been changed in my version?

5 (edited by shirayuki 2003-09-05 18:03)

Re: Extended Forum Access Mod 1.0 by Cactuz

Yup, got it working after i'd modifyed the mod. First attempt was successfull smile *proud*

Re: Extended Forum Access Mod 1.0 by Cactuz

Haha, well i fucked up big_smile
No, but i tried to update and then i just didn't care and reinstalled everything wink I'm setting it all up now..

7 (edited by shirayuki 2003-09-06 00:49)

Re: Extended Forum Access Mod 1.0 by Cactuz

shirayuki wrote:

Yup, got it working after i'd modifyed the mod. First attempt was successfull smile *proud*

I had to modify the mod itself to look for 1.0.1 instead of only 1.0 in the punbb, then follow the included instructions almost as normally. (some lines were a bit of)

But the creator of this mod might take a look at the "Show new posts since last visit" option on forum front, since it will show all posts, even "locked" ones, only showing topic and creator, but thats to much anyway.

Re: Extended Forum Access Mod 1.0 by Cactuz

I fixed it by just uppgrade to new version, then in the script i just added ".1" after 1.0 and it worked..

But not in the end though, 'cause i used different mods and they must have mixed together somewhere in the docs post.php, viewtopic.php or viewforum.php

sad

So at the moment i can't use this..

Re: Extended Forum Access Mod 1.0 by Cactuz

YES! I fixed it.. Cactuz homepage had a newer version up, that one worked !

Though if i'm not logged in and tries to go in in a locked forum i get "No authorization blbal" but i also get an error at the top..

10

Re: Extended Forum Access Mod 1.0 by Cactuz

Well if you got it working, could you post the file you modified to get it to work with version 1.0.1 please?

11

Re: Extended Forum Access Mod 1.0 by Cactuz

YES! I fixed it.. Cactuz homepage had a newer version up, that one worked !

Could you please tell us what you've done?
Cactuz homepage is still offline sad

12

Re: Extended Forum Access Mod 1.0 by Cactuz

I just changed the php-file to look for version 1.0.1 instead of 1.0 so it would create the mysql-tables.. Then it's just rock and roll!

13

Re: Extended Forum Access Mod 1.0 by Cactuz

Cactuz,
How I can add user to locked user, if in your readme.txt don't have instructions to edit profile.php or I missed something?

Also, readme.txt have errors:
#---------[ 18. FIND (line 319) ]---------------------------------------------
#---------[ 20. FIND (line 319) ]---------------------------------------------

find line 319 twice in same file!!! :shock:

14

Re: Extended Forum Access Mod 1.0 by Cactuz

zapher wrote:

Though if i'm not logged in and tries to go in in a locked forum i get "No authorization blbal" but i also get an error at the top..

I have the same trouble!

Warning: array_key_exists(): The second argument should be either an array or an object in [skiped]

I think it's due to locked users list is empty!?

Re: Extended Forum Access Mod 1.0 by Cactuz

I don't think you have the right version of efam. I'll have a look some day next week

16

Re: Extended Forum Access Mod 1.0 by Cactuz

Cactuz,
I get it from your link http://punbb.org/contrib/mods/EFAM-1.0.zip

Very good idea in mod, but  it's not work as it must work and I'm very sad about it sad

First time when I saw description of your mod I think "Thaks God and Cactuz! I found what I need for PunBB and I don't need to search for another forum" after download, I read instructions and start to upgrade forum, but in result I receive only wasting of time.

If you find time to make working version of your mod it'll be great!!!

Merry Christmas and a Happy New Year.

Re: Extended Forum Access Mod 1.0 by Cactuz

I think the latest version is 1.1 and it's working. Just gonna find it first wink

Re: Extended Forum Access Mod 1.0 by Cactuz

http://punres.cactuz.nu/?p=projects/view&id=4

19

Re: Extended Forum Access Mod 1.0 by Cactuz

Thank you, I'll try it soon smile

20

Re: Extended Forum Access Mod 1.0 by Cactuz

I hope we will see a new version of this mod working with punbb 1.1 very soon! smile

I find it very usefull in my forums so I hope u got the time to fix this Cactuz!

21 (edited by Cactuz 2004-01-14 08:32)

Re: Extended Forum Access Mod 1.0 by Cactuz

I've made it working with 1.1 on PunBB++, haven't made a new mod because there has been some discussion on makeing some kind of new standard.

22

Re: Extended Forum Access Mod 1.0 by Cactuz

Any chance of releasing it for the few people that really want to test/ use it. I had a bet with a friend saying i could make a private forum. But so far i couldnt do it. So this could save me. wink

Re: Extended Forum Access Mod 1.0 by Cactuz

Meilad: The other topic is enough.

"Programming is like sex: one mistake and you have to support it for the rest of your life."