Minimum Post Count

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

Previous topic - Next topic

gallitin

I'm trying to find a mod/need a mod that will allow me to make certain boards require a minimum post count to enter.  I still would like the uses to be able to see that the board exists, but then when clicked on to enter it would take to a page/popup that would say that they cannot enter due to their post count not meeting the requirement of 25 to enter.
-gall

kat

Won't that just encourage people to post total crap, to gain access?

gallitin

I'm not quite sure, but I have 5k members now and not much posting but everyone is always viewing the forums.  I thought it would be worth a try to have the most popular board by views to be locked and see how that goes for 90 days or so.  If at that point it is an issue I can always go back.  I have a mod team that can try to keep the spamming to a minimum.
-gall

kat

I must have asked this question a million times, here... ;)

Which version of SMF are you using?


gallitin

-gall

gallitin

I'm not sure, I'll give them a try now.
-gall

gallitin

Quote from: K@ on August 03, 2010, 03:56:24 PM
Any of these do the job?

http://custom.simplemachines.org/mods/index.php?mod=2309

http://custom.simplemachines.org/mods/index.php?mod=610

The first one looks as though it would, but getting this error:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

The second option, no doesn't do what I need it to.
-gall

kat

Yeah, that's why I asked what version you're using. That mod's for v2.x.

Looks like you need to ask for the mod to be adapted for v1.1.11, I'm afraid.


gallitin

Yes, or upgrade to 2.x looks like the quicker solution.
-gall

kat

That's not recommended for a "live" site.

Loads of people DO use it, though, so it's your call. ;)

BACKUP FIRST!!!

:)

gallitin

Yeah, I just read that, worth a try on dev site I guess.  Thanks for the help.
-gall

kat

No problem!

Make sure you backup the database, because there's no way to go back to v1.1.11 unless you do.

gallitin

Well, just finished updating, and still the same error with that mod...any suggestions?
-gall

TheListener

Can you please do the following.

1. Let us know what the error is


kat

As I assume you're using RC3 and that mod is for RC2, you'll need "Emulation mode", when you install it.


gallitin

Ah, ok, I'm not familiar with that, how would I install in emulation mode?
-gall

gallitin

Actually, I have found that part, but if I change from SMF 2.0 RC3 to SMF 2.0 RC2 will that make my other packages that are written for RC3 not work?
-gall

TheListener

You don't.

Below the list of the mods on the right hand side is a link which says advanced.

Click on there

they will still work as once you have finished installing the mod then hopefully you will remember to change it back to RC3.

gallitin

#19
Ok, installed, but didn't work correctly and crashed the forums, uninstalled and back to normal now.  Anyone have any other mods that might do this minimum post count thing I need?
-gall

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: