inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 17:02:32 GMT -8
erinuki.proboards.com/ is my site; I can't .get() data from a super user key as anyone other than my admin account. Guests don't work, other user groups don't work, what am I doing wrong? I didn't think key permissions had anything to do with it (the widget on the user interface tab when building a plugin), but it must because only I can see it. Help?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 19:12:07 GMT -8
what do you have read permission set to?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 19:15:43 GMT -8
I don't have any permissions set because by default I assumed that keys had global permissions; do I use that widget on the plugin's user interface to set them?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 19:23:19 GMT -8
yes otherwise it defaults to staff only.
if you want key data to be available to guests, it has to be set to everyone. if you dont plan on a guest ever affecting the contents, you can leave it at members and staff or use custom to narrow it down more.
if you plan on doing something on a post submit, and guests can make posts, then write permissions have to be set to everyone.
also remember, that if you set the default settings in the plugin build, they DONT affect the plugin you are currently running on that board. you have to go to manage plugin and set the permissions there as well.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 19:25:55 GMT -8
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 19:36:27 GMT -8
what key is it?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 19:37:41 GMT -8
Either of my keys; one is named moneyubbc, the other is post_key (original I know).
Of course, I could just access the data with proboards.plugin.keys.data["moneyubbc"] but I don't think that's allowed.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 19:47:34 GMT -8
do you have access set to read+write?
and I wouldnt use the name "post_key" its not very descript and likely will become a problem if someone ELSE decided to call their key that. you should always try for unique names
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 19:49:08 GMT -8
do you have access set to read+write? and I wouldnt use the name "post_key" its not very descript and likely will become a problem if someone ELSE decided to call their key that. you should always try for unique names I don't plan on releasing this script, and I don't have any more plugins that I need; so that problem isn't important. And yes: i.imgur.com/Txq5Z7e.png
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 19:54:37 GMT -8
try setting the write level to EVERYONE on both keys. the permissions are showing "lvl 3" which is I think staff only..
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 19:59:25 GMT -8
try setting the write level to EVERYONE on both keys. the permissions are showing "lvl 3" which is I think staff only.. Okay, done; let's see what that does. EDIT: nope, nothing changed.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 20:10:36 GMT -8
well now it looks like exchange can be read by everyone, and moneyubbc can only be seen by members and staff ["exchange",{35:[1,0],21:[1,0],7:[1,0],17:[1,0],2:[1,0],48:[1,0],22:[1,0],1:[1,0],46:[1,0],13:[1,0],16:[1,0],6:[1,0],50:[1,0],39:[1,0],9:[1,0],15:[1,0],47:[1,0],8:[1,0],38:[1,0],4:[1,0],49:[1,0],45:[1,0],10:[1,0],5:[1,0]}],["moneyubbc",{35:[1,1],21:[1,1],7:[1,1],17:[1,1],2:[1,1],48:[1,1],22:[1,1],1:[1,1],46:[1,1],13:[1,1],16:[1,1],6:[1,1],50:[1,1],39:[1,1],9:[1,1],15:[1,1],47:[1,1],8:[1,1],38:[1,1],4:[1,1],49:[1,1],45:[1,1],10:[1,1],5:[1,1]}]) maybe Tim Camara can explain the objects a little better?`
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Jul 10, 2013 20:11:49 GMT -8
well now it looks like exchange can be read by everyone, and moneyubbc can only be seen by members and staff ["exchange",{35:[1,0],21:[1,0],7:[1,0],17:[1,0],2:[1,0],48:[1,0],22:[1,0],1:[1,0],46:[1,0],13:[1,0],16:[1,0],6:[1,0],50:[1,0],39:[1,0],9:[1,0],15:[1,0],47:[1,0],8:[1,0],38:[1,0],4:[1,0],49:[1,0],45:[1,0],10:[1,0],5:[1,0]}],["moneyubbc",{35:[1,1],21:[1,1],7:[1,1],17:[1,1],2:[1,1],48:[1,1],22:[1,1],1:[1,1],46:[1,1],13:[1,1],16:[1,1],6:[1,1],50:[1,1],39:[1,1],9:[1,1],15:[1,1],47:[1,1],8:[1,1],38:[1,1],4:[1,1],49:[1,1],45:[1,1],10:[1,1],5:[1,1]}]) maybe Tim Camara can explain the objects a little better?` Exchange isn't part of this plugin; I'm getting rid of it right now lol. moneyubbc is the most important to me right now.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 10, 2013 20:18:30 GMT -8
I might be completely wrong, but the objects I thought were defined as:
[key name , {user id:[read perm, write perm] , .... , user id:[read perm, write perm]}]
and read/write perm were the 4 different levels in the drop down...
or maybe its 1 for true/0 for false kind of thing?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jul 11, 2013 10:26:23 GMT -8
I'm confused as to what exactly the question is? I can see moneyubbc keys as a guest.
|
|