Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: «$»Crimson on July 27, 2011, 09:46:23 PM

Title: Post based member group question
Post by: «$»Crimson on July 27, 2011, 09:46:23 PM
In my forum, my post based entry level member group is named "Associate". When I move someone to.....say a clan member status, they have both "Clan Member" and "Associate" ranks under their name. This is very frustrating because I'm trying to create a special board only visible to "Associates", ( New Registers ) and "Admins" in order to sift through spam bots, and because of this I am unable to effectively hide this "spam bot test" board from all members except new registers and admins.

All I'm trying to do is leave the post based member group there, but use it only as a means of determining if a new member is human or a spam bot. Then once the new user is confirmed to be human, move him/her to a legit forum member so that they can have proper permissions and forum access. That way when spam bots gain access to the forums, and they will eventually no matter how high you raise security, my fellow admins and I will be able to at least have SOME good control over these annoying spam bots.

Basically, is there ANY way to remove members from the default post based member group? Even if I have to hard code it into the forums, I have to have this feature. A mod would be helpful, if such a mod exists. As always any help is very much appreciated and thank you in advance.
Title: Re: Post based member group question
Post by: Xarcell on July 27, 2011, 10:11:51 PM
I don't get what your asking....

Just guessing what your trying to achieve, when you move someone to clan status, you don't want the "associate" title to appear also? All you have to do is disable show post-based groups. Go to "Admin > Current Theme > Hide post group titles for grouped members".
Title: Re: Post based member group question
Post by: «$»Crimson on July 27, 2011, 11:04:03 PM
I know, this is a difficult question for me to put into words, sorry.

Even though "hiding" the post group title is a step in the right direction, everyone is still a post based member. Meaning that they can still see the boards that I only want post based members to see.

I'm trying to isolate post based members completely. I don't want any other member group, aside from admins, to see what goes on in the post based members board. That way if a spam bot gains access to the forums and decides to post porn or something, they'll only be able to post in the one and only board that I created for newly registered users, thus keeping the said content away from our child members.

This is an unique way of filtering out spam bots that I'd like to try, provided that I can completely isolate post based groups from the main forums. I hope that clears things up a bit, if not please let me know.
Title: Re: Post based member group question
Post by: Xarcell on July 27, 2011, 11:18:57 PM
If you only want post-based group to access a board, then they need their own unique set of permissions. I'm guessing you have them set to inherit. Edit your post-based group: "Admin > Members > Membergroups > Modify your post-based group". Change this: "Inherit Permissions" to no, so that they will have their own unique set of permissions.

What your asking can be done, but I've always found managing permissions can be tricky.
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 27, 2011, 11:20:14 PM

I think the question is, when a member is moved from a post-based group to another group (Associates -> Clan), how to remove the member from the post-based group (Associates) so only the primary membergroup (Clan) applies.  I don't see a way of doing that - the member remains in the post-based group, with no way to remove him from that group.

Title: Re: Post based member group question
Post by: Xarcell on July 27, 2011, 11:24:16 PM
You cannot remove members from a post-based group.

You have 3 membergroup types.

Primary
Secondary
Post-based.

Everyone has a primary, and everyone has a post-based.
Title: Re: Post based member group question
Post by: «$»Crimson on July 27, 2011, 11:27:43 PM
If the last post fails to clear my question up, then perhaps a picture will help.

See the "Salutations Stranger"? I want THAT board to be accessed and viewed by post based members (newly registered users) and admins ONLY.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi51.tinypic.com%2F168j6go.jpg&hash=944b2d6fa1c71b8e33915a3a45e4cacd3bb77b56)

Again, that way if a spam bot posts mature content it is isolated in that "hidden board" from the children in our clan.

Krash: That is EXACTLY what I'm trying to say. Is there any sort of way that can be done?

Xarcell: I have modified "Regular Groups" permissions which are limited to I think 5 options and have set that for post-based members. I've set the boards viewable for post-based members to only that one board (Salutations Stranger). The problem is that everyone in the clan can see that board. What I need to be able to do is "isolate" that board from everyone except admins and post-based members. There HAS to be a way to remove members from post-based, if not by default, then by mod or hard coding.
Title: Re: Post based member group question
Post by: «$»Crimson on July 27, 2011, 11:36:29 PM
I have no intent of talking crap about SMF, they made a very well built forum and they have a fan for life (Me), but it would have made things SO much easier if they had simply given us the option to remove post-based members. I'm guessing a solution would be to add a certain line of script from Primary member and insert it into the post-based member script, but how the heck would I do THAT. I don't even know which file to look in to even begin searching for said script if it exists. So I guess if anyone knows how to do that, that would be helpful.
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 27, 2011, 11:37:43 PM

Actually, if a member does not have a primary membergroup assigned in Profile (that's the default option), they're a 'Regular Member'.  Permissions can be modified for Regular members, but there is no membergroup listed, and no way to select board access.  That must be done in the post-based group, or by assigning a membergroup in addition to the post-based group.  In this case, an 'Associate' member would have access to the boards allowed to the post-based group, and the 'Clan' member would have access to a different selection of boards, even though they're also an 'Associate'.  I would guess the primary membergroup board list would apply.

 

Title: Re: Post based member group question
Post by: Xarcell on July 27, 2011, 11:38:05 PM
Yes, it gets complicated I know. I also understand what your asking for.

Your post-based group will need to inherit a permission set that only has access to that board. It's that simple, but can be tricky to setup.

So try this. Create a new membergroup(not post-based). Only give that group the permissions you need, or bare essientals. Let that group only have access to "Salutations Stranger". then edit your post-based group. Set that post-based group to inherit the permissions of the group you created that only has access to "Salutations Stranger".
Title: Re: Post based member group question
Post by: Spoogs on July 27, 2011, 11:40:22 PM
Permissions and board access are 2 separate things

If I'm getting what you want to do, then board access is the issue... Admin>> Forum>> Boards>> Modify Boards (modify the appropriate board)... remove access for any groups you dont want to see the board including 'Regular Members', and only allow the post based groups you want to see the board.
Title: Re: Post based member group question
Post by: «$»Crimson on July 27, 2011, 11:59:57 PM
@Xarcell

I essentially did that before, except I eliminated the middle man, "New non post-based member group". I tried it your way, but for some odd "friggin'" reason the normal boards and the Salutations board are now viewable by both post-based and clan members.

Why SMF, WHY!!!!!(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2F1xxzcx.jpg&hash=20888e659dbb06a5238ec56729912fe33988266f)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2Fos7onc.jpg&hash=17009c96a697079c773180b3e76263479496aa91)
Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:01:40 AM
How many post based groups do you have?
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 12:13:25 AM
Just the one.

I figured out how to isolate the forums for post-based members. I actually had to go through all of the boards and change who could view them that way. Now my post-based members can only access "Salutations Stranger".

Admin --> Forum --> Boards --> ( Then modify each board's "Allowed Groups" )

That one is solved.

One problem remains though, the clan members still have access to "Salutations Stranger"
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:17:46 AM

Ok, I have a post-based group called 'New Member', and a member named 'Test1' who is not assigned to a primary membergroup, so he's a 'Regular Member'.  The 'New Member' post-based group is set to view only one board, but sees all of them. 

I create a new membergroup called 'Member New', which is allowed to view only one board, and assign this new group as Test1's primary membergroup.  Now he can see only one board.

It appears that new registrations are assigned by default to the post-based 'New Member' group, and can view all boards regardless of the setting in that group, until they are assigned to another membergroup by the admin.

I cannot set "New Member' group to inherit permissions from 'Member New', because 'Member New' does not appear in the 'Inherit Permissions' dropmenu.

If I go into 'Boards' and modify the board access, I can restrict the 'New Member' group to one board, but 'Member New' can see all boards, even though one is set in board options to not give him access.

It appears that the primary membergroup board setting overrides all other settings, and the post-based group 'Visible Boards' setting does nothing at all.

Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:20:09 AM
Quote from: «$»Crimson on July 28, 2011, 12:13:25 AM
Just the one.

I figured out how to isolate the forums for post-based members. I actually had to go through all of the boards and change who could view them that way. Now my post-based members can only access "Salutations Stranger".

Admin --> Forum --> Boards --> ( Then modify each board's "Allowed Groups" )

That one is solved.

One problem remains though, the clan members still have access to "Salutations Stranger"
That's because you only have 1 post based group so everyone is in that group ;)

Try this mod http://custom.simplemachines.org/mods/index.php?mod=1804
It will place all new registered members in a specified membergroup, then only give that group access to the board, after you verify them as human remove them from that group and they won;t see the board any more (make sure the post based group cannot see it either)

Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:25:02 AM
Quote from: «$»Crimson on July 28, 2011, 12:13:25 AM
One problem remains though, the clan members still have access to "Salutations Stranger"

I'm seeing the same thing.   Board1 is deselected in the 'Member New' group 'Visible Boards', and 'Member New' is deselected in Board1 'Allowed Groups', but "Member New' still sees it.

Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:28:18 AM
Quote from: Spoogs on July 28, 2011, 12:20:09 AM
Try this mod http://custom.simplemachines.org/mods/index.php?mod=1804
It will place all new registered members in a specified membergroup, then only give that group access to the board, after you verify them as human remove them from that group and they won;t see the board any more (make sure the post based group cannot see it either)

Shouldn't require a mod.  There are more than enough ways to set board access, they just don't seem to work right.

Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:29:10 AM
It shouldn't... depending on how 'Regular Members' is being handled
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:33:13 AM

I'm getting that buggy feeling again.  If I deselect Board1 in the post-based 'New Member' group, 'Member New' no longer sees the board.  It has to be deselected in three places in order to hide it - the primary membergroup, the board option, and the post-based group option.

Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:34:02 AM
Quote from: Spoogs on July 28, 2011, 12:29:10 AM
It shouldn't... depending on how 'Regular Members' is being handled

There's no option to select visible boards for 'Regular Members'.

Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:38:52 AM
There's no bug it works just fine actually.. Fresh SFM

Newbie = 0
Jr. Member =50
Etc......

New members registers and is placed in 2 groups Newbie and Regular Members

Modify the board to allow only Jr Member to see it and the newly registered member cannot
Modify the board so only Newbie can see it, Jr Member wont
Modify the board so only Regular Members can see it and both Newbie and Jr Member will see it

This of course assumes the users are in no other primary or additional groups.

Quote from: Krash. on July 28, 2011, 12:34:02 AM
Quote from: Spoogs on July 28, 2011, 12:29:10 AM
It shouldn't... depending on how 'Regular Members' is being handled

There's no option to select visible boards for 'Regular Members'.


Yes there is... Admin>> Forum>> Boards>> Modify Boards ;)
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 12:41:14 AM
Spoogs, for lack of a better certain cuss word, I friggin' love you man. That mod completely solved the issue. Thank You so "friggin'" much for your help.

Just for "craps" and giggles, I agree that this shouldn't require a mod, so if you guys feel like continuing on to solve this problem by means other than using the mod mentioned by Spoogs, go for it.

At this point, being so frustrated and worn out then finding extreme relief with that mod, I'm done for now. My brain is fried.
Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:46:28 AM
Quite welcome
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 12:47:35 AM

Like the op, I can prevent members in primary membergroups from seeing a specific board, but cannot prevent the post-based group from seeing all boards, regardless of the board settings and post-based group setting.  The various 'View Boards' and 'Allowed Boards' settings don't interact in any logical way.  It doesn't work right, so it's a bug. 

Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 12:50:43 AM
It works just fine for me

The problem in the OP should only exist if:
* There is only 1 post count group (because then all users are in that post count group), and even that can be fixed if the user is in only 1 non-post count gorup
* Users are in more than 1 non-post count group and 1 of those groups are granting access.
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 01:01:43 AM
Not that I don't trust you Spoogs, I believe you 100%, but I have to agree with Krash. when he says "it's a bug". I've worked with phpBB3 forums before and never had the problems I've had with SMF. The only problem I have with phpBB is that I never setup a phpBB forum by myself. Someone from another clan always did that for us, the only thing I ever did was create member groups and forum boards, another admin in our clan did the permissions and set everyone up. So setting up a forum by myself from scratch was new territory for me, which is why I opted for SMF because it's initial setup was very easy for me to understand. Even though I find issues with SMF, regardless of bug or not, I still love 'em and the mods really help.
Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 01:06:51 AM
When you move a user to clan member status.. do you place them in a primary group or an additional group?
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 01:09:43 AM

Ok, I got it working without the mod, but I'm so confused it'll take a while to figure out how I did it.  The post-based 'New Member' sees only Board1; the 'Member New' group sees all boards except Board1. 

Spoogs is correct, it's not a bug, just a horrendously poor design.
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 01:14:07 AM
Primary

After I installed the mod you found, I made a new group, well, relocated "Associates" from post-based to Regular. Then I set the appropriate ID of the member group in...

Admin --> Members --> Registration --> Settings

To find the ID of a member group, do as you would when modify a member group, then look at the URL, the last number is the member group ID

example: http://www.whatever.com/index.php?action=admin;area=membergroups;sa=edit;group=17

Once I did that, it was a matter of simple permission settings and board access.
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 01:15:23 AM
LOL!!! Horrendously poor design indeed.
Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 01:23:42 AM
The design isn't all that bad really... just need to keep in mind all users are always in at least 2 groups 1 post based and 1 non-post based, you have to really look into what you want to accomplish. I could probably just as easily walk through getting it done without the mod but hey it works :)

Look at the design -  if your site is already setup and running with a few boards

You add a new membergroup would you really want to go to each board to select whether the group can see it or not?
* This is why there is a board visibility option in the membergroups' setting

If you create a new board would you really want to go to each membergroup to select whether or not they can see the board?
* This is why each board has the allowed groups option.
Title: Re: Post based member group question
Post by: «$»Crimson on July 28, 2011, 01:30:14 AM
Let me get some sleep tonight and I'll see if I can fully understand what you just said tomorrow, lol.
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 01:32:11 AM
Ok, here's what makes it work (don't laugh!):

There are three boards, General, Board1, and Board2.  We want only Board1 visible to newly registered members, and Board1 not visible to any other membergroups.

- 'New Member' post-based group - no Visible Boards allowed
- 'Member New' group - all boards visible except Board1
- Board settings - allowed groups:
      General - all except Regular & New Members
      Board1 - Regular Members only
      Board2 - all except Regular & New Members

'New Member' sees only Board1.
'Member New' (and, presumably, all other membergroups except Admins) sees General and Board2, not Board1.

The clunker is the 'Regular Member' settings.  You have to get the post group, non-post group, Regular Member, and board settings exactly right, or it doesn't work.

User friendly?  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thekrashsite.com%2Fpics%2Ffacepalm.gif&hash=eb6eaaf6d758386f3994677fedcb1367d2d9387f)


Title: Re: Post based member group question
Post by: Spoogs on July 28, 2011, 01:37:38 AM
Quote from: Spoogs on July 28, 2011, 12:29:10 AM
It shouldn't... depending on how 'Regular Members' is being handled
;)

The way Regular Members is handled I'd agree is just plain weird, so on that account I'd have to say that aspect isn't very user-friendly, however once the concept is grasped it's a breeze (somewhat)
Title: Re: Post based member group question
Post by: Sir Osis of Liver on July 28, 2011, 02:11:12 AM
Then, of course, there's always this -

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thekrashsite.com%2Fpics%2Fss_reg.jpg&hash=f28bfba7af3930ed061193b41394fd97cb529728)