#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 5, 2017 10:01:32 GMT -8
Every update I feel the same way. Do I really need to check this code out? I better. Nah it will be good. Crap, I forgot about condition x. Never a truer word said....
|
|
inherit
228055
0
Sept 15, 2020 0:36:37 GMT -8
noelsoasis
14
January 2016
noelsoasis
|
Post by noelsoasis on Mar 6, 2017 20:31:46 GMT -8
Thank you so much Todge for creating this plug in, its exactly what i have been looking for. I have installed the recent version of the plug in, but there seems to be a problem. i have installed and enabled it like normal but it doesn't seem seem to be showing up. Like there is no button to use plugin in a post. Any ideas? Sorry about that.. I updated a function without checking it.. Try the plugin now. I can now use the plug-in but the hidden content is still not showing up when a member replies. I tried testing it with my non-admin account and can't see the hidden content when i posted a reply. I have left all settings for the plug-in as default.
|
|
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 Mar 7, 2017 6:43:03 GMT -8
Sorry about that.. I updated a function without checking it.. Try the plugin now. I can now use the plug-in but the hidden content is still not showing up when a member replies. I tried testing it with my non-admin account and can't see the hidden content when i posted a reply. I have left all settings for the plug-in as default. got a link to your forum?
|
|
inherit
228055
0
Sept 15, 2020 0:36:37 GMT -8
noelsoasis
14
January 2016
noelsoasis
|
Post by noelsoasis on Mar 7, 2017 10:01:44 GMT -8
I can now use the plug-in but the hidden content is still not showing up when a member replies. I tried testing it with my non-admin account and can't see the hidden content when i posted a reply. I have left all settings for the plug-in as default. got a link to your forum? supernovaheights.proboards.com/
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 7, 2017 12:53:00 GMT -8
Thank you... Which board/thread contains the hidden content please?
|
|
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 Mar 7, 2017 14:48:39 GMT -8
Thank you... Which board/thread contains the hidden content please? Plugin: hidden_tags
Version: 0.0.1
Settings: {"hide_button":"","hidden_css":"","hidden_message":"","_permissions_todge_hidden_content":{"read":{"level":"1","include_rank":"0","include_groups":[],"exclude_groups":[],"include_owner":1},"write":{"level":"1","include_rank":"0","include_groups":[],"exclude_groups":[],"include_owner":1}}}
Doesn't look like squat on this forum I got this info from injecting 'My Diagnostics' plugin
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 7, 2017 17:15:55 GMT -8
Yeah, I got that from the source code too. All settings look correct.
I wanted to see the key data, but for that I need access to the thread.
|
|
inherit
228055
0
Sept 15, 2020 0:36:37 GMT -8
noelsoasis
14
January 2016
noelsoasis
|
Post by noelsoasis on Mar 7, 2017 19:10:13 GMT -8
|
|
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 Mar 7, 2017 20:06:06 GMT -8
Yeah, I got that from the source code too. All settings look correct. I wanted to see the key data, but for that I need access to the thread. Hey todge, I tested on my forum and the reply button and such works. However the quick_reply does not work. You have pb.plugin.key('todge_hidden_content').set_on('post_quick_reply', THCkey);
Under the add_hide_button javascript but the add_hide_button only runs when there is a wysiwyg so just move that over to another function and that might have been the problem the user was facing I get the key data [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, ""] when using member 15
So i'm guessing that a player that is member id 200 would probably break the key in data length Might want to just push their user id......
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 9, 2017 12:27:37 GMT -8
Yeah, I got that from the source code too. All settings look correct. I wanted to see the key data, but for that I need access to the thread. Hey todge, I tested on my forum and the reply button and such works. However the quick_reply does not work. You have pb.plugin.key('todge_hidden_content').set_on('post_quick_reply', THCkey);
Under the add_hide_button javascript but the add_hide_button only runs when there is a wysiwyg so just move that over to another function and that might have been the problem the user was facing I get the key data [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, ""] when using member 15
So i'm guessing that a player that is member id 200 would probably break the key in data length Might want to just push their user id...... Ahhh, yes.. That's a bit of an oversight. That would mean that the hide tags wouldn't work AT ALL when posted in the QR without Chris's code, but it wouldn't explain why content wasn't being displayed for those that posted though. As for your key data, you are getting nulls??? When I checked all I get is ,,,,,,,,,,,,,,''.. I'll have to change that.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 9, 2017 12:29:33 GMT -8
Can a member reply please... There will be no key data unless the thread receives a reply from a non-staff member.
|
|
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 Mar 9, 2017 14:31:48 GMT -8
Can a member reply please... There will be no key data unless the thread receives a reply from a non-staff member. I'm receiving a javascript error unexpected on the reply page from this script (for obvious reasons -no quotes) It's most likely breaking all future javascript since it's loaded on the page <script type="text/javascript">
<!--
/* random banner
- open source */
var images = []; var n = 0;
images[n++] = http://imageshack.us/a/img268/7397/hqwc.jpg
images[n++] = http://imageshack.us/a/img209/8339/7nl1.jpg
images[n++] = http://imageshack.us/a/img690/3926/0n9a.jpg
var r = Math.floor(Math.random() * images.length);
document.getElementsByTagName('img').item(0).src = images[r];
//-->
</script>
I put a full reply and a quick reply in his site as well for you. No Key Data
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 9, 2017 17:40:10 GMT -8
I have re-written the key saving function to save the user's ID into a string rather using an array. I have also added support for [hide][/hide] tags in the Quick Reply.
You can download version 0.0.2 from the same link as before. Please clear the key when you do, otherwise the plugin will be non-functional for threads that already contain displayed hidden content.
|
|
inherit
228055
0
Sept 15, 2020 0:36:37 GMT -8
noelsoasis
14
January 2016
noelsoasis
|
Post by noelsoasis on Mar 12, 2017 23:17:24 GMT -8
Thanks for all your hard work on this. Unfortunately it's still not working on my forum. If it looks good on your end then it must be something on my end. Cheers
|
|
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 Mar 13, 2017 0:37:51 GMT -8
Thanks for all your hard work on this. Unfortunately it's still not working on my forum. If it looks good on your end then it must be something on my end. Cheers Did you fix your script problem? support.proboards.com/post/6937293/thread
|
|