inherit
169885
0
Nov 13, 2012 17:29:57 GMT -8
MuffinLance
40
August 2011
muffinlance
|
Post by MuffinLance on Aug 2, 2013 19:06:36 GMT -8
Two questions:
1) Is there a convenient Proboards variable for "date of user's last post"? The closest I can find in the Admin variables list is user.last_online, which isn't quite what I'm going for. (I'm aiming to display the date of last post in a custom column; I know how to get a custom column, just don't know how to call up the right info to populate it!)
2) Is there a way to edit the Actions > Moderate menu? Specifically, I'd like to add a "Disable Member Posting" to complement the "Delete Member" option currently there. (We tend to disable rather than delete, at my site.)
Thanks in advance!
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 3, 2013 7:17:20 GMT -8
1) It would seem these variables aren't available. I wouldn't mind seeing such a variable added though, if ProBoards can manage it!
2) Is this function added by a plugin? If so, you will need to request this from the plugin author.
|
|
inherit
169885
0
Nov 13, 2012 17:29:57 GMT -8
MuffinLance
40
August 2011
muffinlance
|
Post by MuffinLance on Aug 3, 2013 7:36:45 GMT -8
I wasn't sure if that would be a plugin, or a template mod. I shall check over on the plugins board, as well, and see if anyone's got anything. Thank you, Sir!
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 3, 2013 7:39:38 GMT -8
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Aug 3, 2013 7:47:26 GMT -8
MuffinLance, I remember seeing, not so long ago, a plugin by Chris that allows you to move the actions/menus. Not sure if they allow you to disable as well. Unfortunately I have no idea what the plugin is called, but I think he would have made a thread for it or put it in the library. Just search by topics created by him in the plugin board. Edit: This - support.proboards.com/post/5435224
|
|
inherit
169885
0
Nov 13, 2012 17:29:57 GMT -8
MuffinLance
40
August 2011
muffinlance
|
Post by MuffinLance on Aug 3, 2013 8:15:36 GMT -8
Thank you, Stinky666! <3
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,890
December 2005
horace
|
Post by Chris on Aug 3, 2013 9:40:56 GMT -8
The plugin has been updated to version 0.4 which can now relocate sub-menus into full menus in their own right. Once I am satisfied no major bugs exists I will then upload it to the online library As always, should you or any of your Beta Team catch a bug, the author will welcome any knowledge of your reproducible actions and observationsThat plugin simply MOVES already existing features out of the per post options menu so would not actually help here since the request is to ADD something that is not already there. If you read some of the earlier posts in that thread you'll see that a clarification by Patrick was what made this plugin even possible since plugins are forbidden to directly or indirectly invoke any non-key-related AJAX request. The clarification, as I understand it, was if that ability to initiate an AJAX request already existed on the page then a plugin could manipulate it (just cannot create it from scratch). Unless my memory is failing me, the only place that a "disable account" option appears is on the members profile and on there it is sent as a field on the edit form that is submitted from that page. There is no AJAX equivalent (at least not publicly available) that would allow doing from a page other than that edit profile page and even if there is that would be against the rules since it does not exist on the page by default and would therefore mean being created from scratch.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 3, 2013 9:46:23 GMT -8
The plugin has been updated to version 0.4 which can now relocate sub-menus into full menus in their own right. Once I am satisfied no major bugs exists I will then upload it to the online library As always, should you or any of your Beta Team catch a bug, the author will welcome any knowledge of your reproducible actions and observationsThat plugin simply MOVES already existing features out of the per post options menu so would not actually help here since the request is to ADD something that is not already there. If you read some of the earlier posts in that thread you'll see that a clarification by Patrick was what made this plugin even possible since plugins are forbidden to directly or indirectly invoke any non-key-related AJAX request. The clarification, as I understand it, was if that ability to initiate an AJAX request already existed on the page then a plugin could manipulate it (just cannot create it from scratch). Unless my memory is failing me, the only place that a "disable account" option appears is on the members profile and on there it is sent as a field on the edit form that is submitted from that page. There is no AJAX equivalent (at least not publicly available) that would allow doing from a page other than that edit profile page and even if there is that would be against the rules since it does not exist on the page by default and would therefore mean being created from scratch. Can user keys not be accessed from the member list?
|
|
inherit
169885
0
Nov 13, 2012 17:29:57 GMT -8
MuffinLance
40
August 2011
muffinlance
|
Post by MuffinLance on Aug 4, 2013 18:29:47 GMT -8
...I will be very interested to hear the answer to that. (Disabling accounts is not an option that's already listed as a staff action on the Member's List, so I suspect there's nothing that can be done here based on what Eton Bones said, but evidence to the contrary would be quite welcome. <3)
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,890
December 2005
horace
|
Post by Chris on Aug 4, 2013 19:07:06 GMT -8
The effect of a user key in this case, if I am guessing the proposed use correctly, would have negligible effect since you ultimately have to go to the only page from which a request of that type can be sent (edit profile). RedBassett can correct me if he had a different use in mind but using a key merely to delay the necessary redirect to that user profile page or perhaps even support some sort of multi-select would only introduce additional opportunities for that process to fail. The delayed tactic could result in an action to disable finally getting processed several hours or days later when that particular member's profile finally pops up in random browsing, meanwhile the initiator of that action would be under the impression that this member was disabled a while back and perhaps not too happy seeing this account still posting. The alternative would be to open a new window or tab to the profile for each user selected on the members page which would have the minor advantage of ending up on the staff tab rather than summary tab thus saving a click. It's an advantage so small that I would think doesn't even merit the overhead of a plugin
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 4, 2013 19:08:43 GMT -8
I assumed a disabling plugin would use a user key, which I thought could be accessed from any page as long as you had the user's ID.
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,890
December 2005
horace
|
Post by Chris on Aug 6, 2013 5:28:27 GMT -8
I assumed a disabling plugin would use a user key, which I thought could be accessed from any page as long as you had the user's ID. OK, so we're speaking of not actually disabling the account but instead have the plugin emulate this condition by preventing all actions by that particular user? Two concerns however immediately comes to mind : - It's javascript and therefore can be circumvented
- There are certain actions a user can perform that a code cannot curtail such as the ability to delete their own account or the ability to modify/delete their own posts.
It is technically possible to simply look for the creation of a form on the page and contaminate the forgery request token although I would think this would be frowned upon
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 6, 2013 5:43:48 GMT -8
I assumed a disabling plugin would use a user key, which I thought could be accessed from any page as long as you had the user's ID. OK, so we're speaking of not actually disabling the account but instead have the plugin emulate this condition by preventing all actions by that particular user? Two concerns however immediately comes to mind : - It's javascript and therefore can be circumvented
- There are certain actions a user can perform that a code cannot curtail such as the ability to delete their own account or the ability to modify/delete their own posts.
It is technically possible to simply look for the creation of a form on the page and contaminate the forgery request token although I would think this would be frowned upon Just going off the phrase "Disable Member Posting" in the OP, and I've heard of people requesting plugins to disable a member's ability to post without disabling their account.
|
|
inherit
169885
0
Nov 13, 2012 17:29:57 GMT -8
MuffinLance
40
August 2011
muffinlance
|
Post by MuffinLance on Aug 6, 2013 16:46:13 GMT -8
Hi guys, thanks for all the replies! I was actually looking for an option to fully disable (both posting and login) multiple accounts from the Member's List; it's sounding like that's not feasible, though, so no worries. It was worth a shoot.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 6, 2013 17:27:27 GMT -8
Sorry, but yes, if you mean full account disable, that cannot be done from the memberlist.
|
|