inherit
15021
0
Apr 14, 2018 19:45:16 GMT -8
Lainey
2,322
October 2003
amethystlainey
|
Post by Lainey on Feb 16, 2016 19:13:08 GMT -8
Forum URL: amethystlainey.boards.neton my main page I have different lists and boxes and such. the top 5 and bdays are generated automatically I was wondering if this was possible to achieve with a list of the 5 or so newest members
|
|
inherit
15021
0
Apr 14, 2018 19:45:16 GMT -8
Lainey
2,322
October 2003
amethystlainey
|
Post by Lainey on Feb 17, 2016 18:48:59 GMT -8
A Whole day, does anyone have any advice on how to achieve this or does it have to be manually done thnx
|
|
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, 2016 2:32:47 GMT -8
Forum URL: amethystlainey.boards.neton my main page I have different lists and boxes and such. the top 5 and bdays are generated automatically I was wondering if this was possible to achieve with a list of the 5 or so newest members If the users have set to display their birthday then yes this would be possible via PLUGIN so that it can store the results in a forum super key. I would make a request there.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Mar 25, 2016 11:34:34 GMT -8
Forum URL: amethystlainey.boards.neton my main page I have different lists and boxes and such. the top 5 and bdays are generated automatically I was wondering if this was possible to achieve with a list of the 5 or so newest members If the users have set to display their birthday then yes this would be possible via PLUGIN so that it can store the results in a forum super key. I would make a request there. She wants newest members. Sounds like she already has the bdays being generated automatically. But thanks for responding. I knew I didn't know how to do it. A Whole day, does anyone have any advice on how to achieve this or does it have to be manually done thnx Lainey , Many of us that help in this area are volunteers, so if no one has responded in 24 hours you can bump. Bumping means you still need help with this. Often, if you don't come back to bump, volunteers tend to move on to the next guy assuming the OP found a solution. (Happens more times than I can tell you.) In my case, I simply didn't know how to do that, but apologies for you not getting a answer as soon as you hoped. Keep bumping if you still need this.
|
|
inherit
15021
0
Apr 14, 2018 19:45:16 GMT -8
Lainey
2,322
October 2003
amethystlainey
|
Post by Lainey on Mar 25, 2016 17:24:40 GMT -8
Hey Tumble, Yes I still need a solution for making an autolist for the newest members it would be awesome I wouldn't even know where to begin
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Mar 25, 2016 18:52:29 GMT -8
If there's a way to get all of the registration dates, that can be sorted (either way) then grab the first (or last, depending on sort order) [x ] entries to list. Not sure if there's such a thing as pb.data('user').registered_on that can be used for this. If there is, username and date registered might be able to be pulled and put into an array to sort.
EDIT: Working on this (as a plugin), but no ETA for it.
|
|
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 26, 2016 2:45:07 GMT -8
If there's a way to get all of the registration dates, that can be sorted (either way) then grab the first (or last, depending on sort order) [x ] entries to list. Not sure if there's such a thing as pb.data('user').registered_on that can be used for this. If there is, username and date registered might be able to be pulled and put into an array to sort. EDIT: Working on this (as a plugin), but no ETA for it. I know there is a registered variable with a timestamp. But i believe its only available for the logged in user and on profile pages.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Mar 27, 2016 11:47:06 GMT -8
Yep - only for logged in users, but my source tells me it should be available anywhere that pb.data('user') can be used, as it is (also according to my source) pb.data('user').registered_on. This means that the plugin can only get the registration date as each current member logs on and will be able to get it for new registrations. As this will be setting a key, each person will be getting a one-time popup the first time they log in from plugin install to let them know that their registration date has been recorded. The key will be set when they click OK. So, if the plugin was set to use the 5 most recent members, it'll only be a partial list until 5 different members have logged on (or new members register). Even then, it won't be "accurate" until the last [ x ] number of users are indeed the most recent [ x ] number of users. As explained to me, if the admin is the only one who logs in - they'll be the only one in the key (there will be a check to see if they're already in the key. If so, the popup will be skipped as they would have already had the popup). Of course, the key will be, as you had stated P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓, will need to be a forum super key. So, looks like I get to play with keys earlier than I had anticipated. Lainey, Are you still interested in this? I still plan on doing this, but its priority will be determined on interest for it.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 27, 2016 11:50:04 GMT -8
I'd be interested!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Mar 27, 2016 20:01:10 GMT -8
Hey, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓. I'm going to have to add in a Key Permissions for Write in the plugin's UI, aren't I? Doesn't that default to Staff only if not in the plugin's settings? The member will have to be able to write to that to clear the popup (so no error on key write when clicking OK on the dialog). Am I right in this? Will I also nee a Read permission (possibly to check to see if they've been added already)? Thanks!
|
|
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 27, 2016 21:25:17 GMT -8
Hey, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ . I'm going to have to add in a Key Permissions for Write in the plugin's UI, aren't I? Doesn't that default to Staff only if not in the plugin's settings? The member will have to be able to write to that to clear the popup (so no error on key write when clicking OK on the dialog). Am I right in this? Will I also nee a Read permission (possibly to check to see if they've been added already)? Thanks! Yes add your key then add the key permissions ui and then set default to members and staff. Read and write are part of the same dialog. You are describing the process accurately.
|
|
inherit
15021
0
Apr 14, 2018 19:45:16 GMT -8
Lainey
2,322
October 2003
amethystlainey
|
Post by Lainey on Mar 28, 2016 17:54:30 GMT -8
Thanks for all the info on this but there is no way to make it a set of newest members unless u make it just the Newest Member
|
|
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 28, 2016 18:14:02 GMT -8
Thanks for all the info on this but there is no way to make it a set of newest members unless u make it just the Newest Member He's saying it will calculate newest members from the point that the plugin was installed. This means that the newest members will not be accurate until the 5 newest members have logged in and click save on his popup. Until then there might not even be 5 members displayed.
|
|
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 28, 2016 18:20:50 GMT -8
Hey, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ . I'm going to have to add in a Key Permissions for Write in the plugin's UI, aren't I? Doesn't that default to Staff only if not in the plugin's settings? The member will have to be able to write to that to clear the popup (so no error on key write when clicking OK on the dialog). Am I right in this? Will I also nee a Read permission (possibly to check to see if they've been added already)? Thanks! I also want to note that if you are adding recent members via popup and push. You can calculate the oldest registered date in the key and only update the key when you get a "newer" member. Therefore the popup won't even show for most users. I'm saying don't append every member by default. Also there might be an instance where there are 6 or 7 members pushed to the key at once. That's fine if you just display the first 5 in the array. And next time you add a new member, just pop the extras to keep the data amount in the key low. Unless you want to manage the entire database of members and names with no apparent purpose. (which is what will happen if each member saves to the key)
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Mar 28, 2016 19:59:39 GMT -8
Hey, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ . I'm going to have to add in a Key Permissions for Write in the plugin's UI, aren't I? Doesn't that default to Staff only if not in the plugin's settings? The member will have to be able to write to that to clear the popup (so no error on key write when clicking OK on the dialog). Am I right in this? Will I also nee a Read permission (possibly to check to see if they've been added already)? Thanks! I also want to note that if you are adding recent members via popup and push. You can calculate the oldest registered date in the key and only update the key when you get a "newer" member. Therefore the popup won't even show for most users. I'm saying don't append every member by default. Also there might be an instance where there are 6 or 7 members pushed to the key at once. That's fine if you just display the first 5 in the array. And next time you add a new member, just pop the extras to keep the data amount in the key low. Unless you want to manage the entire database of members and names with no apparent purpose. (which is what will happen if each member saves to the key) Right now, I'm just looking for it to work properly - and to keep my head from exploding from trying to figure out how to do everything at once. Once I've got it working, then I can look into having it check for oldest registration date - that's what updates are for. Right? There will, initially, be a limit of 50 stored. Why so high? Only until enough people use it and give feedback on how many they set it for (5, 10, 12, ...) so I can get a fairly accurate idea of what's being used as a "maximum". Once I know no one is going over a certain amount, then I can drop the max limit down. I'v seen some places that actually list their most 20 recent members - so I don't want to have it too small to start with. Also, since this will be able to be placed where the owner wants it, it could conceivably end up in Brian's sidebar redux and have it list the most recent 10, 15, 20 or more recent members - especially for forums that may be getting new members frequently. If they got 10 new members in 1 day, and the max was only at 5, the "first" 5 would no longer "count" ... so to speak. I'm going for a big picture first, then deal with narrowing it down - if that makes sense. I have no intentions of managing the entire database - that would probably slow the plugin down if there were thousands of entries it had to check first. Since, I believe, a super key can hold 32kB of data, and (going really high) 6 bytes for user ID (of which is possible here on support) and 10 (I think) bytes for the timestamp, even if I go on a value of 20 bytes per entry, setting an initial max of 50, or even 100, would keep it well clear of key limit. And with today's speeds, even 100 entries won't take long to process. Doing it that way would maintain flexibility for the end user to change the number of most recent at any time - up or down - for various needs, and still have a small database that would be current (once populated). Just my thoughts on it.
|
|