Advertisement:

Author Topic: Inline Hover Spoiler BB Code  (Read 37607 times)

Offline Fangs404

  • Semi-Newbie
  • *
  • Posts: 50
  • Gender: Male
    • FangSoft
Re: Inline Hover Spoiler BB Code
« Reply #60 on: November 08, 2014, 12:49:02 AM »
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.

Offline Dragon41673

  • Jr. Member
  • **
  • Posts: 237
  • Gender: Male
    • ariesgamesandminis on Facebook
    • Aries Games & Miniatures
Re: Inline Hover Spoiler BB Code
« Reply #61 on: November 08, 2014, 09:52:32 AM »
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

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 145
Re: Inline Hover Spoiler BB Code
« Reply #62 on: July 03, 2017, 11:20:17 AM »
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.

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 145
Re: Inline Hover Spoiler BB Code
« Reply #63 on: July 04, 2017, 05:02:07 AM »
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.

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,500
  • Gender: Male
  • I have not yet begun to procrastinate.
Online Manual

Please do not PM me for support.

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 145
Re: Inline Hover Spoiler BB Code
« Reply #65 on: July 28, 2017, 08:22:27 PM »
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.