auto group members are removed when post

You'll automatically gain access to this forum when you will post your first post in another forum. That way it will demonstrate how the Auto Group MOD works.
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

auto group members are removed when post

Postby darakhshan on Sun 21. Nov, 2004 21:05

perhaps this is a stupid question
but it is still a question and I want to know why and find a solution\

I have a forum which needs 2 posts to enter and an auto group

when I manually add some body to the auto group even thou he does not have a post

he can enter the forum but as soon as he posts one post he is kicked out of forum and can not enter it unless he posts another one which totals 2

he he he
I know it sounds stupid
:D

am I asking a question?
darakhshan
Poster
Poster
 
Posts: 46
Joined: Sat 15. May, 2004 12:19

Postby Niels on Sun 28. Nov, 2004 00:40

you have selected "Users automatic added when posting" to the usergroup "2 postes" - this should truely have been called
"Users automatic added/deleted when posting" but for historcal reasons it doesent.

This option basically will make the mod verify the users post count, everytime they post (both minimum and maximum post count).
So if you latter manually add the user, then the users postcount will be verifyed next time he/she posts - if the post count does not match he/she will be removed.

I can how-ever see it would be handly to have a
"Users automatic deleted when posting " option in ACP, so you may select
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sun 28. Nov, 2004 00:45

This might help you:
To prevent users being deleted from a specific user group

in file functions_post.php
[FIND]
$user_remove = ($group_data['group_count'] > $group_data['user_posts'] || $group_data['group_count_max'] < $group_data['user_posts']) ? TRUE : FALSE;

$user_remove = ($group_data['group_count'] > $group_data['user_posts'] || $group_data['group_count_max'] < $group_data['user_posts']) ? (($group_data['g_id']==XXX) ?FALSE:TRUE) : FALSE;


you may try this (I haven't tested this)
the XXX need to be replaced by the usergroup ID (se in your browsers adress line when looking up the usergroup)
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46


Return to Auto group [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron