inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Nov 18, 2013 4:46:15 GMT -8
Hi Everyone, I have a plugin that sets a post key and is working fine through post_new & post_quick_reply but doesn't seem to want to set the post key when using thread_new This is what I have: pb.plugin.key('pebble_user_browser').set_on('post_quick_reply', [brow , os] );
pb.plugin.key('pebble_user_browser').set_on('post_new', [brow , os] );
pb.plugin.key('pebble_user_browser').set_on('thread_new', [brow , os] );
Am I using the 'thread_new' wrongly? Or is that only for thread keys only? And if so, how can I set the post key when someone creates a new thread? Thanks for any info, Pebble.
|
|
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 Nov 18, 2013 14:31:13 GMT -8
Does it work with any other kinds of keys?
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Nov 18, 2013 16:49:17 GMT -8
Sorry for the bother Tim (Everyone) , a missing = in my code was throwing things out of whack Now sorted and working
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Nov 18, 2013 17:16:54 GMT -8
Oh man, that's one of the worst coding errors because it doesn't cause a syntax error and it's so easy to read over. You usually only notice it on your third or fourth scan of the code.
|
|