inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 14, 2021 19:19:11 GMT -8
I was wondering when you click on the "members" section there is "Last Online", and "Date Registered" sections. Is it possible to see on a particular thread when "Last Posted". I know you can see recently posts through everyone. But is there a way to see the individual date for everyone on the thread? Is there a specific plugin that can do this?
Thanks!
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,864
December 2005
horace
|
Post by Chris on Aug 14, 2021 20:40:45 GMT -8
I created a plugin for it quickly (uses a key)... Last Posted.pbp(Manual Install) JavaScript can only work with what is in the page already. It can't go and fetch new data from the server. The plugin just remembers the date every time a member posts and that is what gets displayed. If the last post info was already available to work with, the plugin wouldn't need the key to store it.. But likely if its was already available it would already be displaying anyways. The magic phrase in pretty much all tracking type plugins is "from here on out" I did a quick install of the plugin and discovered it has a bug with not recording posts made using quick reply (full reply registers fine). The bug was introduced in June of 2017 when the quick reply form was given more than one class and unfortunately the code is looking for a single class. The good news is you can fix this yourself since the plugin is editable: Javascript Component:Line 33var hook = (form.attr("class") == "form_thread_new")? "thread_new" : ((form.attr("class") == "form_post_quick_reply")? "post_quick_reply" : "post_new"); Replace withvar hook = (form.hasClass("form_thread_new"))? "thread_new" : ((form.hasClass("form_post_quick_reply"))? "post_quick_reply" : "post_new");
Line 35proboards.plugin.key(this.KEY).set_on(hook, null, + new Date()); Replace withproboards.plugin.key(this.KEY).set_on(hook, pb.data('user').id||null, + new Date());
How to perform a manual install:Follow the arrows below. Plugins must be .pbp format.It's that simple!
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 15, 2021 19:08:31 GMT -8
Wow... Never saw this! Thanks!
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 16, 2021 8:54:14 GMT -8
ChrisOkay two things // 1. I can't edit the plugin. 2. And the plugin doesn't work on people who are invisible I believe. How do I fix this? Also how do I make it where certain people can see the "Members" Tab.
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 16, 2021 9:24:30 GMT -8
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Aug 16, 2021 9:58:14 GMT -8
Just an FYI, grandpamo: 1. Not all plugins are able to be edited by anyone except the plugin author; 2. Plugins do not currently work on mobile (V6 will change that, but no ETA on release date yet), unless the user switches to Desktop Mode.
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 16, 2021 11:41:23 GMT -8
Just an FYI, grandpamo : 1. Not all plugins are able to be edited by anyone except the plugin author; 2. Plugins do not currently work on mobile (V6 will change that, but no ETA on release date yet), unless the user switches to Desktop Mode. Thank you. Though, this plugin is claimed to be editable by Chris.
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,864
December 2005
horace
|
Post by Chris on Aug 16, 2021 15:11:08 GMT -8
Chris Okay two things // 1. I can't edit the plugin. You click on the BUILD PLUGIN button to get into edit mode for the plugin then modify the lines given above in my first post with the replacement lines given above in my first post. 2. And the plugin doesn't work on people who are invisible I believe. How do I fix this? Plugins do not work on mobile. Follow instructions given above to fix the plugin not recording posts for people who use the quick reply. There have been no reports of the plugin having other issues so we'll treat this as being misdiagnosed and actually stemming from the plugin not reporting on posts made via the quick reply (fix that first with the fix given above in my first post) Also how do I make it where certain people can see the "Members" Tab. To comply with privacy concerns and statutes, that page is viewable by only logged in members. Are you wishing to further restrict via group affiliation, individuals, other?
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 16, 2021 19:45:39 GMT -8
Chris Okay two things // 1. I can't edit the plugin. You click on the BUILD PLUGIN button to get into edit mode for the plugin then modify the lines given above in my first post with the replacement lines given above in my first post. 2. And the plugin doesn't work on people who are invisible I believe. How do I fix this? Plugins do not work on mobile. Follow instructions given above to fix the plugin not recording posts for people who use the quick reply. There have been no reports of the plugin having other issues so we'll treat this as being misdiagnosed and actually stemming from the plugin not reporting on posts made via the quick reply (fix that first with the fix given above in my first post) Also how do I make it where certain people can see the "Members" Tab. To comply with privacy concerns and statutes, that page is viewable by only logged in members. Are you wishing to further restrict via group affiliation, individuals, other? 1. I still don't see it. Look at image below: Are you able to give me the update version in a pbp file? or is that not allowed. Thanks. 2. Gotcha, just gotta still find a way to edit this. 3. Yea I wanted just a certain group of people to see it due to ease of access of my forum game -- the group "Host" will be able to see it and be able to prod people if they have not posted in a certain time. And members shouldn't see it due to people being able to cheat. I hope you understand. Attachments:
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,864
December 2005
horace
|
Post by Chris on Aug 16, 2021 20:50:41 GMT -8
1. I still don't see it. Look at image below: View AttachmentAre you able to give me the update version in a pbp file? or is that not allowed. Thanks. I suspect you got the version in the online library while I got the one posted in the thread (quoted above with the comment "manual Install" added by me within the quote) apparently the one in the library is not editable as your screenshot shows. 3. Yea I wanted just a certain group of people to see it due to ease of access of my forum game -- the group "Host" will be able to see it and be able to prod people if they have not posted in a certain time. And members shouldn't see it due to people being able to cheat. I hope you understand. You can set the permission of any plugin installed on your forum to apply or not apply to any group thus restricting who can see the info added by that particular plugin
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 16, 2021 21:20:44 GMT -8
1. I still don't see it. Look at image below: View AttachmentAre you able to give me the update version in a pbp file? or is that not allowed. Thanks. I suspect you got the version in the online library while I got the one posted in the thread (quoted above with the comment "manual Install" added by me within the quote) apparently the one in the library is not editable as your screenshot shows. 3. Yea I wanted just a certain group of people to see it due to ease of access of my forum game -- the group "Host" will be able to see it and be able to prod people if they have not posted in a certain time. And members shouldn't see it due to people being able to cheat. I hope you understand. You can set the permission of any plugin installed on your forum to apply or not apply to any group thus restricting who can see the info added by that particular plugin 1. Got it. Works now and updated it with the code. Thanks! 2. I am assuming this is the only thing that you can restrict, nothing else that would be on the members tab?
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,864
December 2005
horace
|
Post by Chris on Aug 16, 2021 21:26:35 GMT -8
Are you saying you're looking to restrict access to the member list page beyond the data this particular plugin adds to that page? Can you be specific, give examples?
|
|
inherit
264900
0
Aug 17, 2021 16:17:07 GMT -8
grandpamo
9
August 2021
grandpamo
|
Post by grandpamo on Aug 17, 2021 5:21:39 GMT -8
Are you saying you're looking to restrict access to the member list page beyond the data this particular plugin adds to that page? Can you be specific, give examples? Due to privacy TOS or something, I can't remove the members tab to certain people I am assuming, so is there anything I can do to further restrict -- fwiw a loophole that could remove like date registered, last online etc.
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,864
December 2005
horace
|
Post by Chris on Aug 17, 2021 7:03:56 GMT -8
Due to privacy TOS or something, I can't remove the members tab to certain people I am assuming, so is there anything I can do to further restrict -- fwiw a loophole that could remove like date registered, last online etc. This is still somewhat vague because only you would know with certainty what "certain people" and "etc." mean and coding requires something quite a bit more specific than that. There are tutorials on how to remove specific data from the page such as: It should be noted that most removed information can be gleaned from alternate sources such as profile
|
|