#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 Jul 23, 2013 15:40:12 GMT -8
Not yet, nope.. That will be in the upcoming version.
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Jul 23, 2013 16:47:45 GMT -8
Looking forward to it Todge! Is there no way of getting rid of the delete option completely for members?
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 23, 2013 18:35:34 GMT -8
Not yet, nope.. That will be in the upcoming version. Thx Todge, definitely appreciated (where's the 'thumbs up' smiley when you need one?)
|
|
#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 Jul 24, 2013 13:48:36 GMT -8
Looking forward to it Todge! Is there no way of getting rid of the delete option completely for members? That's what I intend to add... An option to remove either the dit or delete option, while having a restricted time on the option that is left.
|
|
#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 Jul 27, 2013 14:47:16 GMT -8
Version 1.0.2 is now available that allows the removal of one function, while leaving the restriction on the other.
You can grab it from the first post of this thread... Library has not been updated yet, so do not use the direct download.
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 27, 2013 22:17:34 GMT -8
Thanks Todge, this is GREAT! Was wondering though (and this might've been a different plug-in I'm thinking of, idk), for some reason I thought there was the option to limit the functionality to specific boards we 'check-box' selected from the directory of boards on our given site. Maybe I'm thinking of a different plugin though. Right now as I understand it, whatever parameters we define in 'Settings' are global across all boards, correct?
|
|
#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 Jul 28, 2013 7:46:49 GMT -8
It was this plugin that I changed to work on selected boards as a request. I never kept that as the main plugin as doing that enabled editing in the 'most recent' lists..
Are you wanting this plugin to work on only one board, or a selection of boards?
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 28, 2013 11:08:15 GMT -8
Damn! Sorry Todge, I feel like I'm 'feature creeping' you (what our programmers used to yell at us for on the art/animation side of things while making requests all the time back when I was in vid games lol)
Was hoping to have the options you've made in this latest version (timer edit or delete; making the other optionally disabled) but also having the option to select which boards to apply the defined restrictions to i.e., 'select all' or check-box which specific ones. That way a user could be restricted on certain boards that req'd tighter restraint, but the other (uncheck-marked) boards would retain their normal or default edit/delete properties as defined by normal group permissions.
Thanks again for this and if it's is too complicated, I'll work around with what you've given us (which is most excellent already!)
|
|
#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 Jul 28, 2013 12:34:38 GMT -8
Hmmm.. OK, I have a work-around for you.. First, download and install version 1.0.3 from the first post.. (NOT the direct download). Set the time to something silly, like 525600 minutes (a year), so that no up-to-date posts will be effected. Then, put this in the HEADERS of each of the boards you want the plugin to effect.. <script type="text/javascript"> <!-- var allowedTime = 5; // --> </script> And edit the red number with the time you want allowed for each board.
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 28, 2013 13:51:53 GMT -8
Ahhh okay. So, deleted all old versions and installed/enabled v1.0.3 with the following variables: ... which sets the default Edit time up to a year and nukes the Delete option completely for all future posts. Then by adding the script code placed in whatever specific Board's Header allows me to customize by overriding the default 'allowedTime' variable with whatever number (in minutes) for that specific Board? That's genius Going to give it a try, but just to make sure I've the right syntax in the individual Board Header script, I don't need quotation marks around the value, correct? Just replace the number with whatever minute value? Say for a 15 min delay (placed in a specific Board's Header): var allowedTime = 15;
and not
var allowedTime = "15"; Correct? ps. Thx so much for this! This is totally awesome
|
|
#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 Jul 28, 2013 16:09:15 GMT -8
Yup.. You got it..
Do not use quotes as that will create a string variable and not a number variable, which MAY trip up the code.
|
|
inherit
186174
0
Mar 28, 2021 11:29:11 GMT -8
ʞɔnʇS
160
November 2012
stuck
|
Post by ʞɔnʇS on Jul 28, 2013 22:50:37 GMT -8
Hi Todge , i am having a problem with the plug in? I have tried all version and keep getting the same problem. Once i have the it set so that members cant edit or delete after 15 mins, i then go back and log in as a member & not as an admin. Then when i make a new post and put it on the forum, i then go to edit the post, i get this message pop up in a box - alert "Sorry, time up! " ?
??n?S
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 28, 2013 23:47:59 GMT -8
^ that's weird. Must be conflicting with something else. Todge, mine's working GREAT! I found that inversely, if you only have a few boards you want with relaxed restrictions but want the majority to have a tighter default cut off, you could set the Settings > Allowed Time at the lesser interval (say 5 mins), then change the Header variable to a ridiculously huge number (525600) for only boards you want to have the looser edit or delete restrictions (this way I figure you have less posts counting off one-year-long timers... Theoretically, how does that work anyway? and does having such lengthy timers affect overall forum performance/speed? if so, fewer of them would seem ideal I'm thinking) Anyway, from my initial tests, it seems either way works like a charm! Very, very stoked -- thanks a lot!
|
|
#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 Jul 29, 2013 9:08:52 GMT -8
Hi Todge , i am having a problem with the plug in? I have tried all version and keep getting the same problem. Once i have the it set so that members cant edit or delete after 15 mins, i then go back and log in as a member & not as an admin. Then when i make a new post and put it on the forum, i then go to edit the post, i get this message pop up in a box - alert "Sorry, time up! " ? ??n?S It sounds like either the forum time, or the time on your PC is out, check both, and if that doesn't fix it, can you post a link to your forum please. ^ that's weird. Must be conflicting with something else. Todge, mine's working GREAT! I found that inversely, if you only have a few boards you want with relaxed restrictions but want the majority to have a tighter default cut off, you could set the Settings > Allowed Time at the lesser interval (say 5 mins), then change the Header variable to a ridiculously huge number (525600) for only boards you want to have the looser edit or delete restrictions (this way I figure you have less posts counting off one-year-long timers... Theoretically, how does that work anyway? and does having such lengthy timers affect overall forum performance/speed? if so, fewer of them would seem ideal I'm thinking) Anyway, from my initial tests, it seems either way works like a charm! Very, very stoked -- thanks a lot! It will make no difference which way around you have the variable set.. The code checks the page on load, and then is dormant. It will fire again when ever you click on 'edit' or or the post options drop-down, and only for that post, so it should effect the overall performance or speed at all.
|
|
inherit
windsurf.ronin@gmail.com
196274
0
Dec 29, 2013 7:07:39 GMT -8
Galactus
36
July 2013
galactus
|
Post by Galactus on Jul 31, 2013 6:31:15 GMT -8
It will make no difference which way around you have the variable set.. The code checks the page on load, and then is dormant. It will fire again when ever you click on 'edit' or or the post options drop-down, and only for that post, so it should effect the overall performance or speed at all. Ahhh, so code-wise there are no literal timers counting down, but more a sequence of time comparisons allowing or disallowing features whenever things refresh... very cool. The whole thing is very cool - huge thx again!
|
|