inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 22, 2019 8:42:25 GMT -8
I have had a 'redact' tag for awhile set up with the attributes style:background-color(black)=black Works great! I'm stuck trying to figure out how to make the redacted text visible on 'hover'. I tried a few things and none of them worked... Inline CSS has no way to use pseudo classes such as :hover so you would need to add a CSS rule to your theme's stylesheet that targets those redacted tags and shines the light when hovered, something like (assuming you are using a span tag, if you used font, em. i, tt, etc. then change accordingly): .post .message span[style*="background-color:black"]:hover {background-color: transparent!important;} note:
*Put in the global header instead surrounded by <style></style> tags if you wish to affect all themes. *Inline styles have the greatest specificity so you need that !important modifier to override
|
|
inherit
206056
0
Oct 22, 2024 12:06:59 GMT -8
adminabp
378
February 2014
adminabp
|
Post by adminabp on Sept 22, 2019 10:25:15 GMT -8
I have had a 'redact' tag for awhile set up with the attributes style:background-color(black)=black Works great! I'm stuck trying to figure out how to make the redacted text visible on 'hover'. I tried a few things and none of them worked... Inline CSS has no way to use pseudo classes such as :hover so you would need to add a CSS rule to your theme's stylesheet that targets those redacted tags and shines the light when hovered, something like (assuming you are using a span tag, if you used font, em. i, tt, etc. then change accordingly): .post .message span[style*="background-color:black"]:hover {background-color: transparent!important;} note:
*Put in the global header instead surrounded by <style></style> tags if you wish to affect all themes. *Inline styles have the greatest specificity so you need that !important modifier to overrideWorks great Chris , thank you! Was able to easily adapt it for the 'recent posts' widget on my custom homepage, too. For anyone else who wants to do that, just add: <style type="text/css"> .widget-recent-post-content span[style*="background-color:black"]:hover {background-color: transparent!important;} </style> to the HTML tab of your custom page.
|
|
inherit
206056
0
Oct 22, 2024 12:06:59 GMT -8
adminabp
378
February 2014
adminabp
|
Post by adminabp on Jun 12, 2020 12:17:40 GMT -8
Thanks, Chris That Character Map plugin seems okay enough. I'll give that an audition. It sure would have been nice to drop a character in with a single click, though. I even had the buttons ready. I was able to get the characters to pass through as attributes. But of course, that creates a bunch of clutter surrounding them.
[ ="µ"][/] [ ="?"][/] [ ="?"][/]
I'm still tickled pink about being able to have blockquotes, a couple of flavors of span for highlight and redact and a few divs. But I guess for the greek character part we'll have to call a Code Blue. Cheers! Ted Ted, I've seen that malformed use of the plugin before and, although quite clever, I cannot vouch for its efficacy since the plugin was not written with that in mind and so no guarantee there would be no side effects of that unconventional usage. If you are going to go that route then I would instead advocate for the special pragma_content attribute which would allow you to drop whatever you want inside a tag such as planting additional inner bbcode within an outer tag or in your case just plain text inside an empty span tag for example. Updates- [ADDED 0.9.0 (beta)] added support for pragma attributes when creating buttons, currently recognized:
- pragma_noendtag forces the button to not have an ending tag - pragma_content allows specifying default text (think "insert code here" whenever code tag is inserted)
Added a replacement ID field when creating custom buttons so they can also now replace existing buttons
Attribute: pragma_content=? Basically I would like the plugin to just insert a hashtag surrounded by brackets [#] to use with the Hashtags in Posts plugin, but I can't for the life of me get that to work. Using the Nightly Build.
|
|
inherit
262746
0
Mar 23, 2021 20:49:38 GMT -8
vui123ve
22
November 2020
vui123ve
|
Post by vui123ve on Nov 16, 2020 21:43:45 GMT -8
I installed Quick Reply BBcode plugin. How do I set it to see the Preview, not BBcode in the editor? I hate to see all the BBcode tags in the text area with the styled text. For example, I want to bold the text Hello, I want it to show Hello in bold text, not Hello which looks confusing. I don't get to see the bold text until I hit "Post Quick Reply". I don't want to install the Preview plugin for this. Why not make it Preview or having both Preview and BBcode tabs to start with for Quick Reply from Quick Reply BBcode plugin? The full reply can fulfill this but then I have to click the full reply in order for the text editor to populate.
Is there a plugin that makes full reply to display the text editor ready at the bottom, same as quick reply so that I don't need to enable quick editor?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 20, 2020 5:10:30 GMT -8
vui123ve , when PBv6 drops you'll have a popup editor where you can switch between BBCODE and Preview/ WYSIWYG mode quite easily from any page that allows replies. Unfortunately until PBv6 is released you'll have to make do with what PBv5 has to offer You say you do not want to install the preview plugin but it is unclear to which preview plugin you are referring since there are several out there. There's an unreleased plugin located here[note] that will lend previews to quick replies. That plugin employs a button to view the preview (mimicking the signature preview in profile edit) so would not necessarily be an improvement on the economical single click for full page editing. Quick reply would be for those wanting to add a quick note possibly embellished with some basic BBCode formatting while the more advanced editor would be merely a click away should you decide to take it to the next level.
|
|
inherit
262927
0
Jan 1, 2023 21:28:43 GMT -8
widepe
11
December 2020
widepe
|
Post by widepe on Dec 3, 2020 9:48:04 GMT -8
Chris, I was looking for the exact same thing as vui123ve. It would be ideal if the QUICK REPLY was simply the full editor. Having to click REPLY to go to a new screen where all the posts are flipped is a major pain.
The Quick Reply BBcode plugin is rather nice, especially with the ability to add and remove buttons, but it needs to show in preview. The appearance of the code tags is not desirable, making it very difficult to read anything that's being typed with all of the font coding. I have a writer's forum and my users regularly apply various things, like color, to the fonts.
I will look forward to seeing PBv6, though I'm not sure why there has to be a pop-up.. I'm not a programmer so I don't understand why there is even a QUIK REPLY and REPLY. In my mind the QUICK REPLY should just be the REPLY.
Anyhow, thanks for working on something!
|
|
inherit
262746
0
Mar 23, 2021 20:49:38 GMT -8
vui123ve
22
November 2020
vui123ve
|
Post by vui123ve on Dec 25, 2020 20:23:38 GMT -8
Thanks Chris. Do you have a timeline when PBv6 will be available to users?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 25, 2020 21:13:26 GMT -8
Thanks Chris. Do you have a timeline when PBv6 will be available to users? That may just be the top question asked in the last 5+ years. I have no more info to give than what has already been covered in the v6 development blog
|
|
inherit
169267
0
Nov 27, 2024 17:55:05 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Sept 18, 2021 8:35:02 GMT -8
ChrisJust a quick question. I made a audio button and added to attributes poster= It didn't seem to work. How would I get that to work?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 18, 2021 18:29:09 GMT -8
Chris Just a quick question. I made an audio button and added to attributes poster= It didn't seem to work. How would I get that to work? I'll need more details on what it is you are trying to accomplish here Mike , "poster=" is not a known attribute but it should still prompt the user for the missing value once the button has been activated
|
|
inherit
169267
0
Nov 27, 2024 17:55:05 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Sept 20, 2021 7:34:46 GMT -8
ChrisIt won't work for audio. Never mind Thanks anyway
|
|
inherit
169267
0
Nov 27, 2024 17:55:05 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Sept 20, 2021 7:45:35 GMT -8
ChrisOk can I create a new video tag and add type and poster attributes. Will that work to play mp3 files and have the background picture?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 20, 2021 16:12:23 GMT -8
Mike, if you can type it out by hand and it works then you can use this plugin to create a button for it to avoid having to type it out by hand. This plugin creates the button not the bbcode.
|
|
inherit
169267
0
Nov 27, 2024 17:55:05 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Sept 21, 2021 4:24:14 GMT -8
Ok Chris thanks
|
|
BUGERⴷTORS™
New Member
WHAT IS DEAD, CAN NOT DIE.
Posts: 11
inherit
262835
0
Dec 18, 2023 15:59:21 GMT -8
BUGERⴷTORS™
WHAT IS DEAD, CAN NOT DIE.
11
November 2020
bugerators
|
Post by BUGERⴷTORS™ on Jul 1, 2022 17:36:23 GMT -8
hello, how to add this button "Format removal" to quick replay and to normal replay ?
|
|