Minimum Post Count

Started by gallitin, August 03, 2010, 03:44:34 PM

Previous topic - Next topic

TheListener

Did you have any errors in the error log when installed?


gallitin

Ended up getting installed, but it is pretty buggy.  I'm going to have to look for a different solution.  Would be better if it was on the Administration Center » Boards » Modify Boards and when you modify a board there was an option in there to set your post count threshold to enter.
-gall

Hj Ahmad Rasyid Hj Ismail

I am not sure what you really want but you can surely set certain membergroup access to respective forum boards. This include post based membergroup. Any of that makes sense? (I am not sure myself)

gallitin

I want people to be able to see the board though.  But not actually enter it until they meet the post requirements.  Is that possible the way your talking about it?
-gall

Hj Ahmad Rasyid Hj Ismail

I know you had successfully tried and installed the 'mod' from the link I gave you in other thread. Use that and set view to all but set only certain post based membergroups to have access. Logical?

gallitin

Yeah, but it wasn't working correctly, had some conflicting permission issues.
-gall

Hj Ahmad Rasyid Hj Ismail

Quote from: gallitin on August 04, 2010, 05:06:25 PM
Yeah, but it wasn't working correctly, had some conflicting permission issues.
Not conflicting actually but a tweak of your default is made. It is as explain:
Quote from: ahrasis on August 04, 2010, 08:14:37 PM
If you want to use this mod (have successfully installed it) go to Admin Center (ACP) > Members > Permission > General Permission and edit permission for the membergroup that you want. However, you might not see membergroup that is based on post.

For you to see and edit permission post based membergroup, you have to enabled it first Admin Center (ACP) > Members > Permission > Settings. Then only you can change it as above mentioned.

Note: This mod totally delete permission options in board create / edit page.

However, IMHO this is a better solution. http://www.simplemachines.org/community/index.php?topic=146964.msg2731893#msg2731893

Hope it is the right one. Enjoy!

gallitin

Ok, I downloaded your better solution and have installed.  Now where do I go to change the post count settings?
-gall

Hj Ahmad Rasyid Hj Ismail

Try and go to board setting page and do as suggested before.
Quote from: ahrasis on August 04, 2010, 04:58:10 PM
Use that and set view to all but set only certain post based membergroups to have access. Logical?

gallitin

I'm not sure what I'm doing wrong.  It's installed.  I went through the following:

1. Went to Administration Center » Permissions » Edit Profiles

2. Created a New profile called postcount

3. I changed group permissions to 0 for one of my groups.  That group can still get into that board, but they shouldn't be able to b/c that group has less than 25 post.
-gall

Hj Ahmad Rasyid Hj Ismail

ACP > Forum > Board > Edit Board. This is for the second (better solution) mod. The permission is for the first mod. lol

gallitin

Ah, ok, that worked the way I was needing it to.  Now the only thing I need to change is the error it returns, currently:

AN ERROR HAS OCCURRED!
The topic or board you are looking for appears to be either missing or off limits to you.

Where can I modify that message?  I want to change it so they know it's because of there lack of post count.
-gall

Hj Ahmad Rasyid Hj Ismail

It was just calling to the default warning from this code:

$txt['topic_gone'] = 'The topic or board you are looking for appears to be either missing or off limits to you.';

It is in Errors.english.php (or other language).

You can create your own code and call from it or my advise, just edit this line.

You can also put a description of the particular board that it can only be accessed by certain post based membergroup. I think you are familiar with this too.

So, good luck. And don't forget to mark this as solved when you are finished.

gallitin

can I put a hyperlink in there somehow, having issues doing it now.
-gall

Hj Ahmad Rasyid Hj Ismail

Quote from: gallitin on August 05, 2010, 04:55:38 PM
can I put a hyperlink in there somehow, having issues doing it now.
I am not sure how to put hyperlink in $txt code. But if you go through other language file you might find one sample.

live627

Regular, plain ol' HTML code

gallitin

That worked thanks everyone for all your help.
-gall

gallitin

Quote from: ahrasis on August 05, 2010, 04:45:20 PM
So, good luck. And don't forget to mark this as solved when you are finished.

I don't see where to do this in this thread for some reason.
-gall

Hj Ahmad Rasyid Hj Ismail

Sorry, my mistake. This is not a support board.  :D

Advertisement: