#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Feb 6, 2014 15:46:33 GMT -8
This will allow thread creators to limit replies to a thread to a single reply per member. Plugin (v 0.0.1)Library LinkYou will need to tell the plugin which thread(s) or category(s) you want the plugin to effect, and you have the option to allow everyone to limit replies to their threads, or restrict that to just staff members. Also, this will not work with guests, so guest posting will have to be removed from the categories this plugin is set to work on.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 3, 2015 20:34:38 GMT -8
Hello, I know it's been a long time, but could you please add a few things to this plugin? The first thing, would be choose the amount of post limits (not only one, but for example, I want to limit it max to 5 posts in a same thread), and to choose different amount limits per board. For example: Board 1 Max 1 reply per thread Board 2 Max 5 replies per thread The other thing would be to force it in certain boards, so any thread on that board, without the need of limiting the thread amounts before creating the post, will have that limit, including threads created by users. I'll explain you why I want this and why I think would be useful. I'm combining this with the custom templates, I'm making a pokemon rpg, so there's a "catch" section, and users must create a thread, and they'll get random dice values, and then they have to responder to that rhead, and every response, will be sending a pokeballl. I want to limit these threads to max 5 replies (max 5 tries to catch the pokemon), but I want this to happen automatically on this board, I mean, without marking the box that says "Allow only 1 member reply to these thread", but I want this as an extra option, leaving the possibility of not forcing it, but choosing before creating a post. I don't think this would be too much complicated, I hope you can help me, i would really appreciate it. Also, I see this comment on the library: "Sup Todge, nice plugin. I think I noticed a bug, though - when you have the settings configured to only allow staff to limit replies in threads, only other staff members are unable to reply. I was able to continuously post as a non-staff member in the limited thread, until I set it to "Everyone" and then it started working well." I don't know if that's still happening. Thank you.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 5, 2015 23:37:36 GMT -8
Also, if you could limit the max amount of threads that you can create in a same board daily.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 6, 2015 0:48:06 GMT -8
Todge - Helping martinengo
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 7, 2015 15:49:56 GMT -8
Hello, I know it's been a long time, but could you please add a few things to this plugin? The first thing, would be choose the amount of post limits (not only one, but for example, I want to limit it max to 5 posts in a same thread), and to choose different amount limits per board. For example: Board 1 Max 1 reply per thread Board 2 Max 5 replies per thread The other thing would be to force it in certain boards, so any thread on that board, without the need of limiting the thread amounts before creating the post, will have that limit, including threads created by users. I'll explain you why I want this and why I think would be useful. I'm combining this with the custom templates, I'm making a pokemon rpg, so there's a "catch" section, and users must create a thread, and they'll get random dice values, and then they have to responder to that rhead, and every response, will be sending a pokeballl. I want to limit these threads to max 5 replies (max 5 tries to catch the pokemon), but I want this to happen automatically on this board, I mean, without marking the box that says "Allow only 1 member reply to these thread", but I want this as an extra option, leaving the possibility of not forcing it, but choosing before creating a post. I'll see about adding the ability to select how many posts you want to restrict a thread to, but adding the ability to restrict all threads within a board will be a little tricky. Ideally you'd use a 'board key' to store the data needed to do that, unfortunately that key does not exist so I'd have to store the data within the board title, which would obviously impact o the total length a boards' title can be. I couldn't replicate that issue, and as I've not heard anything from any other member using this plugin, I assume it's no longer an issue. Also, if you could limit the max amount of threads that you can create in a same board daily. See my comment above about a 'board key', and adding this ability would obviously shorten the total characters a boards' title can be even further.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 7, 2015 15:54:24 GMT -8
Hmm, I don't quite get it because there are terms that I don't understand. When you say shorten the total characters a boards title, what do you mean? Like for example if I have a board called like this: LongboardnameLongboardnameLongboardnameLongboardname it will only shown until certain amounts of characters?, if so, this won't be a big problem unless its limited to a few characters (3-6 for example), but I don't know if this is what you mean. It would be awesome if you can allow to: - Set limit replies per post and define how many. - Set limit replies per thread automatically in certain boards. - Set limit of threads you can create on a certain board (daily, weekly, monthly, permanently) - Set limit of post you can create on a certain thread (daily, weekly, monthly, permanently). Thank you Todge
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 8, 2015 0:43:04 GMT -8
Hmm, I don't quite get it because there are terms that I don't understand. When you say shorten the total characters a boards title, what do you mean? Like for example if I have a board called like this: LongboardnameLongboardnameLongboardnameLongboardname it will only shown until certain amounts of characters?, if so, this won't be a big problem unless its limited to a few characters (3-6 for example), but I don't know if this is what you mean. It would be awesome if you can allow to: - Set limit replies per post and define how many. - Set limit replies per thread automatically in certain boards. - Set limit of threads you can create on a certain board (daily, weekly, monthly, permanently) - Set limit of post you can create on a certain thread (daily, weekly, monthly, permanently). Thank you TodgeYeah he's basically saying that your board can say Pokemon Adventure Time Any other words would be cut off. If he adds the features, it will only be able to say Pokemon Adventure. Because he took up the space needed for that extra word in his plugin.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 8, 2015 0:45:32 GMT -8
Is it a word that it's cut off?, or when you meant word you were given an example? what if I put Pokemon Adventure Time Time (in this case, he could specificy to repeat the last word on the board title), if it's something different, I think it could be useful for some people as long as the limit lenght is not extremely short. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ thank you!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 8, 2015 1:03:11 GMT -8
Is it a word that it's cut off?, or when you meant word you were given an example? what if I put Pokemon Adventure Time Time (in this case, he could specificy to repeat the last word on the board title), if it's something different, I think it could be useful for some people as long as the limit lenght is not extremely short. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ thank you! I was giving an example. It's a certain amount of letters that will be cut off no matter how many extra you put. Pokemon Adventure Time Time Pokemon Adventure Time Pokemon Adventure Time Season Large Amount of Letters They would all end up looking like: Pokemon Adventure
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 8, 2015 1:06:36 GMT -8
Hmm, I hope it works for a decent amount of text lenght.
Thank you.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 8, 2015 1:07:35 GMT -8
Hmm, I hope it works for a decent amount of text lenght. Thank you. Im sure it would. That is if he actually adds the feature.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 8, 2015 5:14:06 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ is correct, I'd need to reserve a set amount of characters within the board title to hold the information needed, BUT, there is another problem.. Board titles are assigned within the Admin Panel at the time the board is created, and Plugins do not work within the Admin Panel, so there's no way I can add functions to the plugin to add the data needed to the board title in the first place. Meaning you would have to do that manually. Also, because plugins do not work within the mobile app, any data added to the board titles would be seen in the board titles when using the app. So I'd recommend dropping that part of the code altogether. I'm also not so sure about adding the time restrictions too, there could be issues with storage and it is not such a simple undertaking, meaning it would pretty much require a complete new plugin, but if you are still interested, I will add a feature for you to define a the number of posts a member can have in a thread. Sorry to appear so restrictive.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 8, 2015 8:50:52 GMT -8
Ok, I think I understand what you mean. I only ask you this time about a certain possibility, and I'll explain you why. There's a board on my forum called "Pokémon Encounter", a player goes there and creates a new topic, and a custom template form appears, he fills it, and when he press create thread, he gets random dice values to determine what pokemon he got + the stats and all the information about it. Once you encounter the pokemon, you can choose to throw a poke ball to it. The reason why I want to add 5 limits and that it's automatic, it's because I want the user to max throw 5 poké balls (5 post), and once they do it, they are not allow to keep catching the pokémon. I was wondering if this is possible: - Set limit to amount of a thread replies (this is what the plugin does already), but I mean to change limits to 1 post, 2, 3, etc. - In case you can do it, make it possible to choose different limits depending on the board. What I mean is: - You can decide on Board 1 to click or not the checkbox to limit to 3 post - You can decide on Board 2 to click or not the checkbox to limit to 5 post What I mean is, not automatically have the thread close, but set different limit options to different boards. Also, if you could let members only to limit their posts in certain boards (they got the option only in certain boards, STAFF and all the boards available) And the last thing, that is what I wanted to ask you, is it possible for example, let's say I allow members on the encounter pokemon board. Is it possible that whey when create the thread, the box is already marked and that doesn't appear to members, so they cannot unselect it?, in case this is not possible, is there anyway when a user is creating a post on that board, he must click the box to create the thread, and if he doesn't creates it, it won't allow it? For example, on the custom post template, if you put a required fill, if the person doesn't put anything on that field before creating the thread, he gets the message: "You must input a value..." so until he input something, he won't be able to create the thread. So I was thinking those two possibilities. - The checkbox in certains boards is already marked, and members can't see it, but they can limit the amount of post (without they knowing) - On certain sections, mark the checkbox is a requirement and until you do, you won't be able to create the thread. Todge thank you for your answer, I appreciate that you want to help me.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 8, 2015 16:31:04 GMT -8
Would you be prepared to put a code in the header of the boards you want to set limits to?
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 8, 2015 17:03:39 GMT -8
Yes, no problem! Thank you Todge
|
|