inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 15, 2013 10:02:17 GMT -8
So, I'm trying to write a code that will allow members to lock there own threads. I got permission from Todg, the original creator. Now, in the dataHash I see in the "proboards.thread" object a "created_by" object. But it is nested in an object with a number as it's name. I tried using "proboards.data('proboards.thread')[0]" but that doesn't work because for some reason "proboards.data('proboards.thread')" has no length property. Could anyone tell me how to do this?
|
|
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 Jun 15, 2013 10:55:31 GMT -8
created_by is the id of the person who started the thread.
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 15, 2013 11:55:59 GMT -8
Yes, I knew that. But how do I gain access to that variable?
|
|
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 Jun 15, 2013 15:53:39 GMT -8
proboards.data('page').thread.created_by
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 22, 2013 12:07:32 GMT -8
Thank you very much.
|
|