inherit
217342
0
Oct 7, 2015 7:39:08 GMT -8
nemolionak3
26
January 2015
nemolionak3
|
Post by nemolionak3 on Sept 7, 2015 6:46:31 GMT -8
I'm sorry if this is a noob question, but how do I get data about a user, like their post count and when their account was created through their account ID, in a JS script? pb.data only lets you retrieve data about the current page, and the currently logged in user, but not about every other user.
|
|
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 Sept 7, 2015 12:50:16 GMT -8
I'm sorry if this is a noob question, but how do I get data about a user, like their post count and when their account was created through their account ID, in a JS script? pb.data only lets you retrieve data about the current page, and the currently logged in user, but not about every other user. Pb.data will have the data about every user on the page. Of course not as much data as the logged in user. Also only certain pages contain post count and creation data. This cannot be circumvented at this time. You would have to visit each page to find the data you need. It is also against terms of service for loading pages in an iframe to access such data. This is why being a plugin developer is hard. You can't always do things the easy way.
|
|
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 Sept 7, 2015 12:56:07 GMT -8
I'm sorry if this is a noob question, but how do I get data about a user, like their post count and when their account was created through their account ID, in a JS script? pb.data only lets you retrieve data about the current page, and the currently logged in user, but not about every other user. On a further note, registered_on (date registered) can only be accessed if you are the logged in user lm_total (post count) can only be accessed on the recent posts page
|
|
inherit
217342
0
Oct 7, 2015 7:39:08 GMT -8
nemolionak3
26
January 2015
nemolionak3
|
Post by nemolionak3 on Sept 8, 2015 7:22:37 GMT -8
I'm sorry if this is a noob question, but how do I get data about a user, like their post count and when their account was created through their account ID, in a JS script? pb.data only lets you retrieve data about the current page, and the currently logged in user, but not about every other user. Pb.data will have the data about every user on the page. Of course not as much data as the logged in user. Also only certain pages contain post count and creation data. This cannot be circumvented at this time. You would have to visit each page to find the data you need. It is also against terms of service for loading pages in an iframe to access such data. This is why being a plugin developer is hard. You can't always do things the easy way. So any suggestions to how I can get this data?
|
|
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 Sept 8, 2015 7:50:54 GMT -8
Pb.data will have the data about every user on the page. Of course not as much data as the logged in user. Also only certain pages contain post count and creation data. This cannot be circumvented at this time. You would have to visit each page to find the data you need. It is also against terms of service for loading pages in an iframe to access such data. This is why being a plugin developer is hard. You can't always do things the easy way. So any suggestions to how I can get this data? For todge to update has a popup that tells the user to update their post count -redirects them to said page and they click a popup when they get there to set the key and redirect them back to where they were. Registered On would have to be saved by popup to a super user key as well
|
|