Page Index Toggle Pages: 1 ... 7 8 [9] 10 11 12 Send TopicPrint
Very Hot Topic (More than 25 Replies) [DONE] User's More Membergroups! (Read 71008 times)
lordallout
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Aug 5th, 2002
Re: [DONE] User's More Membergroups!
Reply #120 - Aug 23rd, 2002 at 3:22pm
Print Post  
Quote:
i install this mod manually
it seems to be incompatible in BroadIndex.pl [i've installed AMM before]
in this mod
Code
Select All
<search for>
            @membergroups = split( /,/, $cataccess{$curcat} );
            $openmemgr{$curcat} = 0;
            foreach $tmpa (@membergroups) { if($tmpa eq $settings[7]) { $openmemgr{$curcat} = 1; last; } }
</search for>

<replace>
            @membergroups = split( /,/, $cataccess{$curcat} );
            $openmemgr{$curcat} = 0;
              fopen(accset, "$memberdir/$username.kri");
            @youraccess = <accset>;
                   fclose(accset);
            foreach $value (@youraccess) { chomp $value; }
                   foreach $tmpa (@membergroups) {
                  if($tmpa eq $settings[7] || $tmpa eq $youraccess[0] || $tmpa eq $youraccess[1] || $tmpa eq $youraccess[2] || $tmpa eq $youraccess[3] || $tmpa eq $youraccess[4]) { $openmemgr{$curcat} = 1; last; } }
</replace> 


in AMM mod
Code
Select All
<search for>
            foreach $tmpa (@membergroups) { if($tmpa eq $settings[7]) { $openmemgr{$curcat} = 1; last; } }
            if(!$cataccess{$curcat} || $settings[7] eq 'Administrator') { $openmemgr{$curcat} = 1; }
</search for>

<replace>
            my($mscount);
            $mscount=0;
            foreach $tmpa (@membergroups) {
                  if( $tmpa eq $settings[7]) { $openmemgr{$curcat} = 1; last; }
      while($MemStat[$mscount]) {
      if($settings[6] >= $MemPostNum[$mscount] && $MemPostNum[$mscount] ne "x") {
      $memberinfo = "$MemStat[$mscount]"; }
      ++$mscount;
      }
      if ( $memberinfo eq $tmpa ) { $openmemgr{$curcat} = 1; last; }
            }
            if( ! $cataccess{$curcat} || $settings[7] eq 'Administrator' ) { $openmemgr{$curcat} = 1; }
</replace>
 


i've some problem with this line
Code
Select All
foreach $tmpa (@membergroups) { if($tmpa eq $settings[7]) { $openmemgr{$curcat} = 1; last; } } 


Any solution please


Same problem  Lips Sealed
  
Back to top
 
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #121 - Sep 3rd, 2002 at 6:47pm
Print Post  
Well... not long ago I asked Christer if he could add the ability to have a function that assigns new users at registration time, default membergroups. The membergroups assigned would be assigned like his User's More Membergroups mod does. So... realizing he probably has many other things going on at the time, I decided to write it myself. The mod attached will add an entry below "Edit Member Groups" in Admin center. You then will be able to select up to 5 membergroups that wil be assigned to newly regged users.

Hope somebody can find it useful.

Dummy

P.S. This mod REQUIRES that Krikkert's(Christers) User More Membergroups mod be installed! ...and as useful as it is... INSTALL IT! Grin
  

DefUMMGroups.mod ( 7 KB | Downloads )

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #122 - Sep 3rd, 2002 at 6:49pm
Print Post  
Pic attached regarding the above post.

Dummy
  

dnumg.jpg ( 7 KB | Downloads )
dnumg.jpg

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #123 - Sep 4th, 2002 at 9:26am
Print Post  
I owe you one Dummy, I've got too much school at the moment Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #124 - Sep 4th, 2002 at 11:00am
Print Post  
Quote:
I owe you one Dummy, I've got too much school at the moment Smiley
At least you got your priorities straight! Way to go. And you don't owe me nothing... your "User's More Membergroups" mod adds so much flexibilty to YaBB that we owe you one!(and all the other great modders!)

Dummy
  

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #125 - Sep 4th, 2002 at 12:16pm
Print Post  
You just wait till #2 Wink

Will include a 'User Rights Management' thing Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
jaska
Junior Member
**
Offline


Don't you just love open
source? :)

Posts: 72
Location: Tampere
Joined: Oct 9th, 2001
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #126 - Sep 4th, 2002 at 1:12pm
Print Post  
User Rights management... Sounds AWESOME!

I've been thinking of a way to get two mods (EMARO and this)  combined so that admins of different categories would have rights to register new members and give them right to read their category.

In practise this would function as a forum for a large group of people that are divided into smaller groups. One member can belong to more than one subgroup. All groups would have a private category in the forum and the leader of that group could grant access rights to his category. Leaders can't be Admins, cause they shouldn't have access to other categories, unless the leader of that category grants him access.

In a nutshell: The forum should function in confirmation-mode (pretty much the same way as in EMARO), but access rights to different categories should be given by the admin of that category..

Doesn't sound too hard to implement?
  
Back to top
WWWICQ  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #127 - Sep 4th, 2002 at 1:47pm
Print Post  
Considering I made both mods: No.
Considering the fact that an admin is sitewide and not restricted: Yes.
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Dummy Proof
God Member
*****
Offline


I hate Bosses!  Now get
to work!

Posts: 991
Location: Outside L.A.
Joined: Aug 8th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #128 - Sep 4th, 2002 at 2:13pm
Print Post  
I wonder if maybe Jaska might of meant "Global Moderator" or "Modertor" rather than Admin in some of his references?

Dummy
  

Ya can Idiot proof it...
Ya can Dummy proof it...
But ya can never...
...Blonde proof it!
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #129 - Sep 4th, 2002 at 3:56pm
Print Post  
In that case: It would be possible, but it would also be a living nightmare to code Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #130 - Sep 4th, 2002 at 3:59pm
Print Post  
Perhaps he means some sort of "Catagory Moderator", who can give users access to the catagories he moderates?

(He could mean a standard moderator, but they are board specific, and membergroup access is determined per catagory. You could have two boards with different moderators within the same restricted catagory - but do you want all moderators within the catagory to be able to grant access? or only those that moderate all boards within that catagory?)

[Edit: You're right, it's a nightmare!]
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #131 - Sep 4th, 2002 at 4:03pm
Print Post  
I'd think if this was me: I'd rather name every category-mod myself Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
jaska
Junior Member
**
Offline


Don't you just love open
source? :)

Posts: 72
Location: Tampere
Joined: Oct 9th, 2001
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #132 - Sep 4th, 2002 at 7:36pm
Print Post  
This is not about moderating boards, but moderating category accesses. So the most basic thing to do would be giving the Forum Admin the possibility to define a Category Moderator for each category in his Forum. This Category Moderator would have the possibility to define which members are allowed to access the Boards in the Category he moderates. The easiest would be doing this with member groups so that each Category was dedicated to one member group and the Category Moderator could define the members in this group. Ofcourse there could be members that should have access to more than one category and that is why we need the User's More Membergroups mod. And, thinking this thing more thoroughly, maybe the EMARO is not relevant in this task. Undecided

Does this sound more clear now? Shocked
  
Back to top
WWWICQ  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: [DONE] User's More Membergroups!
Reply #133 - Sep 4th, 2002 at 8:05pm
Print Post  
yeah. Seems like you want my User/Group Rights Management, which comes with the future v.2 Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [DONE] User's More Membergroups!
Reply #134 - Sep 5th, 2002 at 1:29pm
Print Post  
Before I start to work on this topic:

Considering Jake's reply #83 and lordallout at #120 - do I catch it right, that User's More Membergroups is still incomaptible with Add More Membergroups? Or am I missing something?
???

(I'm using add_more_membergroups_sp1_11 and UsersMoreMembergroups4.mod won't install on top right now - at least these versions are incompatible)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 7 8 [9] 10 11 12
Send TopicPrint