MyBB Community Forums
[For 1.8] OUGC Spoiler - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] OUGC Spoiler (/thread-221332.html)

Pages: 1 2


OUGC Spoiler - Omar G. - 2019-01-03

[Image: cover_preview_25096_1588193412_d4c268f08...63ef6f.png]

Description
Hide content within a spoiler tag.

Download
Download from the MyBB Extend page.

Check the official page for more information.


RE: OUGC Spoiler - Kiddo Monster - 2020-07-09

How can I add to Text Editor?


RE: OUGC Spoiler - Omar G. - 2020-07-09

That is not a feature of this plugin. You will need to search for some tutorial or plugin to do so.

Edit: It should probably be added automatically tho 🤔


RE: OUGC Spoiler - Dr_The_One - 2020-09-18

I have reinstall plugin even though it not work on my another theme.
I added <!--OUGC_SPOILER--> code in headerinclude also.
It work in default theme properly.


RE: OUGC Spoiler - Omar G. - 2020-09-18

I don't understand your post, do you have an issue with this plugin?


RE: OUGC Spoiler - Dr_The_One - 2020-09-18

Yes, i install one theme. so i reinstall it but it not work on new installed theme. I Also added <!--OUGC_SPOILER--> code in headerinclude.


RE: OUGC Spoiler - Omar G. - 2020-09-18

Make sure <!--OUGC_SPOILER--> is located in your footer template.

https://ougc.network/module?faqs&filtertf_plugins_code=ougc_spoiler


RE: OUGC Spoiler - Dr_The_One - 2020-09-19

Thanks Omar G.
+1.


RE: OUGC Spoiler - Loller Corleone - 2021-02-04

I am facing an issue with this plugin. The plugin currently renders spoilers even inside [code] tag. How can I make it so that the spoiler won't function inside the code tag?


RE: OUGC Spoiler - Omar G. - 2021-02-09

Hi, please search:
$plugins->add_hook('parse_message_end', 'ougc_spoiler');

Replace to:
$plugins->add_hook('parse_message', 'ougc_spoiler');

If you could confirm this works I shall update the plugin eventually.