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 Dec 4, 2013 9:30:22 GMT -8
I'm having issues removing the whispers from quoted posts when using the 'Preview' side of the posting page. I can get around it by forcing the posting page to open up on the BBCode side, but I'd obviously prefer not to add that restriction. Hi Todge, Did you get this sorted out? I've just written a plugin that does this ( actually , it's pretty similar to what I think a whisper plugin would be) . I can PM you the code if you want a look.
|
|
#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 Dec 5, 2013 15:18:53 GMT -8
I'm having issues removing the whispers from quoted posts when using the 'Preview' side of the posting page. I can get around it by forcing the posting page to open up on the BBCode side, but I'd obviously prefer not to add that restriction. Hi Todge, Did you get this sorted out? I've just written a plugin that does this ( actually , it's pretty similar to what I think a whisper plugin would be) . I can PM you the code if you want a look. I have a working plugin that I'm unwilling to release, as it uses [whisper] tags, and so there's no simple way to remove them from the PB app. I want to use a standard HTML cell, which I assume the PB app will recognise, but the wysiwyg editor will not accept classNames or the CSS 'display: none;', so I'm having to take another route. If you have done this, then by all means release your plugin.. It will save me some work.
|
|
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 Dec 5, 2013 15:42:52 GMT -8
Ahhhh , noooooo! I've written something that uses tags as well. I didn't know if you'd got it to work with the visual editor or not. Mines a 'click like to show content' sort of thing , not really a [whisper] sort of thing! Sorry for the confusion.
|
|
#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 Dec 5, 2013 16:52:54 GMT -8
Ahh, I see. I simply removed the visual side of the editor when quoting a post containing a whisper. I find modifying that side of the editor way too fickle to be trusted, at least until PB give us a way to target it that I know will work in all browsers.
|
|
inherit
rachel.hydra@googlemail.com
197368
0
Feb 22, 2014 9:23:00 GMT -8
choccie
9
July 2013
choccie
|
Post by choccie on Dec 15, 2013 5:15:58 GMT -8
Sounds like it's turning out to be quite complicated. Hope you get there in the end!
|
|
inherit
161764
0
Mar 19, 2014 0:13:59 GMT -8
Vinny Lee
27
January 2011
vinnylee
|
Post by Vinny Lee on Dec 21, 2013 20:21:48 GMT -8
Yeah I hope it doesn't become too much of a headache :S
|
|
inherit
161764
0
Mar 19, 2014 0:13:59 GMT -8
Vinny Lee
27
January 2011
vinnylee
|
Post by Vinny Lee on Dec 30, 2013 14:38:57 GMT -8
Any progress?
|
|
inherit
161764
0
Mar 19, 2014 0:13:59 GMT -8
Vinny Lee
27
January 2011
vinnylee
|
Post by Vinny Lee on Jan 7, 2014 16:25:55 GMT -8
bump
|
|
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 Jan 7, 2014 19:47:19 GMT -8
Todge is currently on vacation, so please continue to be patient.
|
|
inherit
161764
0
Mar 19, 2014 0:13:59 GMT -8
Vinny Lee
27
January 2011
vinnylee
|
Post by Vinny Lee on Feb 2, 2014 16:08:03 GMT -8
Oh okay O:
|
|
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 Feb 2, 2014 18:51:05 GMT -8
Todge is actually back, so lets alert him to this
|
|
#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 Feb 3, 2014 11:58:42 GMT -8
I should apologise for this...
I had a working copy of this which was very insecure, and which I was was not really willing to release because of a minor backlash I received from the v4.5 code I created that certain people managed to work around.
Unfortunately, while 'experimenting' to make it more secure I managed to pretty much destroy the original code. The biggest problem is, if I release a working plugin, and then I get the ability to create a secure version, the newer code will not be compatible with the existing one, rendering all old whispers open to all.
There's also the mobile app to think about.. Plugins do not function on the app, and so whispers would be pointless.
I have asked about posting classed HTML tags to help rectify this, but thus far have had no reply.
|
|
#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 Feb 13, 2014 17:51:22 GMT -8
I now have a plugin I'm willing to release... Whisper TagsYou do need to add a couple of things to your forum's CSS for this to work.. Click 'Admin', 'Themes', 'Advanced Styles & CSS' then 'Style Sheet'.. Now, right at the very bottom, add this.. div[title~=whisper] { display: none; } That will hide the whispers by default. Now, just above that you should see.. @media only handheld { textarea { font-size: 2em; } } Add the line .quote-button { display: none!important; } so that it looks like.. @media only handheld { textarea { font-size: 2em; } .quote-button { display: none!important; } } That will hopefully disable quoting on on the PB App, though I don't have the app, so I can't check it.. Confirmation of this would be most appreciated. Don't forget to save your changes. Assuming the code works correctly, you should get an extra button on the posting page that, when clicked, will open a dialogue box where you can fill in up to 5 USERNAMES, those are the members that can see the whispers. Within the plugin you also have the options to change the button to one of your choice, and style the whispers using CSS styling. If all is OK I'll submit it to the library.
|
|
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 Feb 14, 2014 17:12:50 GMT -8
I bought the app a couple of months ago to test out some coding ( that didn't work! ) The CSS media sounds interesting! I'm back into the wifi world on Monday and I'll test this out for you Todge. EDIT: That was meant to be @media if you have it set up somewhere and want to PM the url, that might be easier.
|
|
#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 Feb 14, 2014 18:43:16 GMT -8
Thanks Pebble, that would be most appreciated. I have it installed on my test site. Thank you.
|
|