• Welcome to Simple Machines Community Forum. Please login or sign up.
January 28, 2022, 04:12:13 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Inline Hover Spoiler BB Code

Started by Fangs404, October 07, 2008, 12:59:56 AM

Previous topic - Next topic

Fangs404

Quote from: Dragon41673 on October 29, 2014, 04:29:00 PM
All...I removed this mod from my site, but the button for the spoiler is still on my posting menu. Where do I go to remove it?

There were no errors when I un-installed the mod.

Thanks

That's odd that it stuck around, but it's a simple enough fix. This mod modifies 3 files: $languagedir/Modifications.english.php, $sourcedir/Subs.php, and $sourcedir/Subs-Editor.php. And it adds an icon to $imagesdir/bbc/spoiler.gif. If you go to http://custom.simplemachines.org/mods/index.php?mod=1438, on the right side, there's a dropdown menu that says, "Manual Install Instructions for SMF". Select the version of SMF you're using and hit parse. You can see exactly how each file is modified. Just edit those 3 files to remove the changes.

Dragon41673

Thank you for the response, I figured that out not long ago with the help of another forum member. I apologize I forgot to post in here it was resolved.

Thank you
Owner - Aries Games & Miniatures

confuseamuse

I don't know about the creator, but is there a way to have the spoiler code also be clickable?

That would make it easier for people on touchscreen devices (i.e. smartphone) to see the unmarked spoilers.

Thanks.

confuseamuse

Apparently, PHP doesn't allow you to code based on clicks.

Since this mod is written in PHP, it's not gonna work is it.

Nevermind then.

Steve

Please do not PM me for support.

confuseamuse

Quote from: Steve on July 04, 2017, 08:28:23 AM
https://custom.simplemachines.org/mods/index.php?mod=3981

http://custom.simplemachines.org/mods/index.php?action=search;basic_search=spoiler

I did look at those mods, but I prefer this mod design wise. I learnt the modification needs to be done in javascript, so I'll update if I figure out how to code it.

Advertisement: