The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

24.05.13 at 21:13:52, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 4 5 ... 12
[DONE] User's More Membergroups! (Read 27169 times)
MoverPrime
Hacker Wannabe
**
Offline

Posts: 79



Reply #30 - 07.05.02 at 11:19:06  
Good luck Krikkert. This is gonna be a great mod when its done  Grin
 
IP Logged
 

probbly..
itswheelie
Hacker Expert
****
Offline

Posts: 445



Reply #31 - 09.05.02 at 08:55:52  
@krikkert - I did a bit of playing around and have got it to work but I have no idea if what I have done is a bad way of doing it or if it affecting anything else.

In Subs.pl in the sub BoardAccessGet routine I changed

Code:
			foreach ( split(/\,/, $curcataccess) ) {
if( $_ && $_ eq $settings[7]) { $yyAccessCat{$yyCatBoard{$curboard}} = 1; last; }


to

Code:
			foreach ( split(/\,/, $curcataccess) ) {
if( $_ && $_ eq $settings[7] || $tmpa eq $youraccess[0] || $tmpa eq $youraccess[1] || $tmpa eq $youraccess[2] || $tmpa eq $youraccess[3] || $tmpa eq $youraccess[4]) { $yyAccessCat{$yyCatBoard{$curboard}} = 1; last; }


and now I have access to all the boards for the categories of all the positions seleted, not just the first one.

It looks rather too simple to be right but it does work (at least for me).

Hope you come up with the real fix soon.
 
IP Logged
 
Christer Alexander
Moderator
*****
Offline

Lethbridge, Alberta, Canada
Posts: 3443



Reply #32 - 09.05.02 at 09:53:50  
@itswheelie: read my post in ur thread in Programming board
 
IP Logged
 

Code:
 
unless(0) { stab("LoonyPandora"); next; }
itswheelie
Hacker Expert
****
Offline

Posts: 445



Reply #33 - 09.05.02 at 11:20:40  
your suggestions didn't work Sad

any other things we can try?
 
IP Logged
 
huijaa
Fulltime Hacker
***
Offline

Zoetermeer, Netherlands
Posts: 173



Reply #34 - 27.05.02 at 12:41:51  
BUMP!
I'm very interesting in this mod, and i'm waiting for a real final release.
 
IP Logged
 

WorkBar Mod...Planning[0.5%]
Dutch Mod...Planning[99.5%]
madmike12345
Hacker Wannabe
**
Offline

Posts: 89



Reply #35 - 27.05.02 at 13:20:27  

BUMP X 2

Me too!!

.:: Mike ::.
 
IP Logged
 
madmike12345
Hacker Wannabe
**
Offline

Posts: 89



Reply #36 - 28.05.02 at 16:38:44  
BUMP x 3

krikkert - are we any closer to having this completed?

Thanks

.:: Mike ::. ???
 
IP Logged
 
Christer Alexander
Moderator
*****
Offline

Lethbridge, Alberta, Canada
Posts: 3443



Reply #37 - 28.05.02 at 19:08:19  
there is no need to bump this every other day, I'm finishing it when I get to it. Capishe?
 
IP Logged
 

Code:
 
unless(0) { stab("LoonyPandora"); next; }
MoverPrime
Hacker Wannabe
**
Offline

Posts: 79



Reply #38 - 29.05.02 at 01:50:03  
So there.........
 
IP Logged
 

probbly..
itswheelie
Hacker Expert
****
Offline

Posts: 445



Reply #39 - 04.06.02 at 10:37:04  
How is this one going Christer?  You were almost finished.

Hope we see it soon Smiley
 
IP Logged
 
Shaggy
Hacker Wannabe
**
Offline

Posts: 50



Reply #40 - 13.06.02 at 01:42:44  
Has this been released yet.  I have been anxiously waiting this mod since the inception of this thread.
 
IP Logged
 
madmike12345
Hacker Wannabe
**
Offline

Posts: 89



Reply #41 - 23.06.02 at 11:56:08  

Hi Christer,

Sorry to be so persistent about this MOD  Undecided but it would be great to know were you are up to on it. If I can help with testing please let me know.

Looking forward to this top MOD!

.:: Mike ::.
 
IP Logged
 
Christer Alexander
Moderator
*****
Offline

Lethbridge, Alberta, Canada
Posts: 3443



Reply #42 - 23.06.02 at 13:03:51  
ok, my ass has been sloppy, but I managed to get out [RC2]!
 
IP Logged
 

Code:
 
unless(0) { stab("LoonyPandora"); next; }
madmike12345
Hacker Wannabe
**
Offline

Posts: 89



Reply #43 - 23.06.02 at 19:03:48  
Hi Christer,

I seem to be having a problem installing the mod, when it get to looking for :

Code:
sub BoardAccessGet {
     my $curboard = $_[0];
     &BoardCatGet($curboard);
     if( !$yyAccessCat{$yyCatBoard{$curboard}} && fopen(CATFILE, "$boardsdir/$yyCatBoard{$curboard}.cat") ) {
           my $curcatname = <CATFILE>;
           my $curcataccess = <CATFILE>;
           fclose(CATFILE);
           chomp $curcatname;
           chomp $curcataccess;
           $yyAccessCat{$yyCatBoard{$curboard}} = $settings[7] eq 'Administrator' || $settings[7] eq 'Global Moderator' || $moderators{$username} || ! $curcataccess;
           unless( $yyAccessCat{$curcat} ) {
                 foreach ( split(/\,/, $curcataccess) ) {
                       if( $_ && $_ eq $settings[7]) { $yyAccessCat{$yyCatBoard{$curboard}} = 1; last; }
                 }
           }
     }
     return $yyAccessCat{$yyCatBoard{$curboard}};


to replace with:

Code:
            unless( $yyAccessCat{$curcat} ) {
                 foreach ( split(/\,/, $curcataccess) ) {
                       fopen(FILE, "$memberdir/$username.kri");
                       @acc = <FILE>;
                       fclose(FILE);
                       chomp @acc;
                       if( $_ && $_ eq $settings[7] || $_ eq $acc[0] || $_ eq $acc[1] || $_ eq $acc[2] || $_ eq $acc[3] || $_ eq $acc[4]) { $yyAccessCat{$yyCatBoard{$curboard}} = 1; last; }
                 }
           }
     }
     return $yyAccessCat{$yyCatBoard{$curboard}};
}


Any ideas, I am using YaBB 1 Gold - SP 1.1 and YaBB BoardMOD 2.5

Thanks

.:: Mike ::.
 
IP Logged
 
BHRA Webmaster
Mod Author of the Year 2002
*****
Offline

BHRA Headquarters, United Kingdom
Posts: 5238



Reply #44 - 23.06.02 at 19:12:50  
That doesn't look right - it would remove the subroutine!

I suspect it should be Code:
<search for>
           unless( $yyAccessCat{$curcat} ) {
                 foreach ( split(/\,/, $curcataccess) ) {
                       if( $_ && $_ eq $settings[7]) { $yyAccessCat{$yyCatBoard{$curboard}} = 1; last; }
                 }
           }
     }
     return $yyAccessCat{$yyCatBoard{$curboard}};
}
</search for>
 
IP Logged
 

...
World Domination, one smiley at a time!
Pages: 1 2 3 4 5 ... 12
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum