• Welcome to Simple Machines Community Forum. Please login or sign up.
December 06, 2021, 11:09:16 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Restrict Posts Per Board

Started by vbgamer45, January 02, 2013, 01:34:29 PM

Previous topic - Next topic

Joker™

Quote from: Armada on July 07, 2014, 12:46:32 PM
It may be worth changing the description for the mod to reflect this.

So instead of the word 'post' it says 'topics'

Edited:

I've done a bit of a test on the mod, and the behaviour isn't quite as expected. It's a little bit strange.  :)

An user can make as may replies as they want to posts (that's good).
However if they then try and post a new topic (after positng replies) they won't be able to because the replies they have made are counted.

Hmmm, lets simply bifurcate the mod functionality into 2 parts
- Take posts in account and restrict per posts
- Take topics in account and restrict per topics
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Armada

Quote from: Joker™ on July 13, 2014, 04:33:27 AM
bifurcate

Well I've learnt a new word today :)

The functionality I'm looking for is simply to restrict the number of new topics irrespective of the number of posts.

At the moment it restricts the number of new topics if there have been posts on that board.
--- SMF Rocks even more than YabbSE---

Joker™

Quote from: Armada on July 14, 2014, 07:11:58 AM
Quote from: Joker™ on July 13, 2014, 04:33:27 AM
bifurcate

Well I've learnt a new word today :)
Well that's nice :)


Quote from: Armada on July 14, 2014, 07:11:58 AM
The functionality I'm looking for is simply to restrict the number of new topics irrespective of the number of posts.

At the moment it restricts the number of new topics if there have been posts on that board.
The feature is under development, and a new version will be released soon for the same.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Joker™

Please update with the new version :).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Armada

Thanks ever so much for the update on the update - much appreciated.

I'll give you some feedback once I've installed it.

Thanks again :)
--- SMF Rocks even more than YabbSE---

Joker™

Quote from: Armada on July 20, 2014, 04:46:23 PM
Thanks ever so much for the update on the update - much appreciated.

I'll give you some feedback once I've installed it.

Thanks again :)
Waiting for the feedback :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Armada

July 21, 2014, 09:06:30 AM #26 Last Edit: July 21, 2014, 09:25:07 AM by Armada
Good to see an option now for 'Posts' or 'Topics'

The mod works well now - thank you.  :) Thank you for taking the time to update it.

--- SMF Rocks even more than YabbSE---

Joker™

Quote from: Armada on July 21, 2014, 09:06:30 AM
Good to see an option now for 'Posts' or 'Topics'

The mod works well now - thank you.  :) Thank you for taking the time to update it.
Glad, its working fine for you :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

br360

I was looking for something like this for a while. This mod is awesome; thanks Joker.

Joker™

Quote from: br360 on July 27, 2014, 12:12:39 AM
I was looking for something like this for a while. This mod is awesome; thanks Joker.
Your welcome :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

br360

September 06, 2014, 12:03:00 AM #30 Last Edit: September 06, 2014, 12:33:53 AM by br360
I was just trying to add some more restrict topic options to other sections on my forum, and noticed that after enough boards or specific membergroups are clicked with a certain amount of topics and max days, I was unable to add more options to other areas. I could set the amount of max topics and time limits in the other boards, but as soon as I pressed the submit button, none of the new boards I selected stuck. (the original boards I set were still checked)

Is there a certain amount of boards you can check before it cuts off?

*Edit- just uninstalled this mod, as well as the database table. I then reinstalled it, had a clean slate, and then scrolled down to one of board options down the forum- and set the specs I wanted just for that one board- and no changes were saved when I pressed submit. To me it looks like this mod doesn't recognize boards after a certain amount- even if it is the only board you want to have topic limitations for. So if there are say 50 boards on a forum, and I only wanted say board 48 and 49 to have topic settings, it wouldn't save- options only seem to work in the first 10 or so boards installed on the entire forum.

LOL. It's been a long day, hope I'm making sense.

Joker™

Quote from: br360 on September 06, 2014, 12:03:00 AM
I was just trying to add some more restrict topic options to other sections on my forum, and noticed that after enough boards or specific membergroups are clicked with a certain amount of topics and max days, I was unable to add more options to other areas. I could set the amount of max topics and time limits in the other boards, but as soon as I pressed the submit button, none of the new boards I selected stuck. (the original boards I set were still checked)

Is there a certain amount of boards you can check before it cuts off?

*Edit- just uninstalled this mod, as well as the database table. I then reinstalled it, had a clean slate, and then scrolled down to one of board options down the forum- and set the specs I wanted just for that one board- and no changes were saved when I pressed submit. To me it looks like this mod doesn't recognize boards after a certain amount- even if it is the only board you want to have topic limitations for. So if there are say 50 boards on a forum, and I only wanted say board 48 and 49 to have topic settings, it wouldn't save- options only seem to work in the first 10 or so boards installed on the entire forum.

LOL. It's been a long day, hope I'm making sense.
Well I tried with ~75 boards, and mod worked perfectly fine. I hope you have both columns(max posts/ time limit), as leaving any column blank will clear out both columns.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

br360

hmm. Ok, well obviously it's just me then. ;)

Yes, I am filling in both columns. It does work just fine when it's one of my first 40 boards. As soon as I try to set any of the boards after that, all the information I entered for those boards disappear as soon as I press the submit button.

Maybe it's a conflict with another mod I installed, but I went through and uninstalled any mod with a post.php edit also(as to me, it seems that would be the only file in this mod that could conflict with another mod), and that didn't help.

I tried different cache settings, and that didn't seem to work either. Any ideas or suggestions, as I'm stumped- and I would really like to use this.

br360

Ok, it's been 3 days now, and I'm officially out of ideas trying to make this work. I would really like to use this mod, and I'm sure your time is valuable joker; so if you are interested in helping troubleshoot why I can't add settings to anything after 40 boards, I would happily pay you.

If you are willing, please pm me with costs.

Thanks.

Joker™

Ummm, try to add a new board and see if you can add settings to it. I suspect it has something related to board settings. If that also fails PM me details, so that I can debug the issue on your site.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Ramesh8248

That's what I need...
It's wonderful and works great  :o

FREE SEO HELP [nofollow]
SEO FORUM [nofollow]

Joker™

Mod updated

Version 1.2
- Fixed bug due to which mod was unable to save the data if there were too many boards, over here
- Hooks ported to separate file
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

br360

Awesome job man. Thank you for your time and effort into updating it, and resolving the issue I was having. Very much appreciated.

xena1997

hi bro
info please
good mod
http://custom.simplemachines.org/mods/index.php?mod=3586

possible
0 replies can set a day?
I did some tests but I can not make it work can you help me?

regards

Joker™

Quote from: xena1997 on December 13, 2014, 12:13:06 PM
hi bro
info please
good mod
http://custom.simplemachines.org/mods/index.php?mod=3586

possible
0 replies can set a day?
I did some tests but I can not make it work can you help me?

regards
Nope, 0 posts is not supported right now. Also for 0 post you can remove the posting ability of a sepecific group from permission manager.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: