Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 14, 2015 5:59:12 GMT -8
Library Link: www.proboards.com/library/plugins/item/1012
Download: Key Viewer 1-0.pbp (2.39 KB)
Having trouble figuring out what's wrong with your plugins key data?
Are you a plugin creator who is having trouble figuring out what's going wrong with another admins forum?
Install Key Viewer and easily share the data in your keys!
Viewable By Staff
You navigate to the members page of your forum and you will see a Key Viewer button.
Click on that and it will allow you to view the data for all the (Private,Forum,User) keys on your forum in one place.
Supports all 7 key types.
Must be on conversation for conversation/message keys.
Must be on thread for thread/post keys.
I want this to be an admin tool capable of helping admin's monitor key data and other user data.
I would love your input.
As you can see the data is stringified. This means that it shows all of the features of the key and formats as a text string.
0: is the index number. Logan is the user name. Clicking it will open the users profile page. Keydata: signifies that the data is from the key. {} means that it's data type is an object. : separates an objects value pairs. "" means that it's data type is a string. Nothing around a number means that its data type is a number. [] means that it's data type is an array.
So in this example, the monetary system I have running has:
An Object with a value pair of "b" as a text string with the data of a number.
I believe this is your bank value.
"m":13150 is your wallet value
Other things in there are some data values of when it was last updated for the sync feature etc.
If you look at the todge_awards_key. Each one of those symbols is a letter corresponding to an award.
So if you aren't the designer of the plugin, you may not understand what you are seeing. But this can help the average person share key data to developers or can help developers understand what other developers are doing with their keys.
I think it's neat to look at other key setups such as the chess plugin by wormo and really see how things are run.
It can also help you troubleshoot your own plugins key data without having to go through a bunch of effort with alerts and such.