Spoiler/hide bbcode

Area to ask questions or post comments related to this forum.
Post Reply

Topic author
sirrus
Vendor
Posts: 325
Joined: Fri Sep 13, 2019 11:13 pm
Location: Hillsboro, OR

Spoiler/hide bbcode

Post by sirrus » Tue Apr 28, 2020 7:42 am

I've noticed that the [spoiler][/spoiler] or [hide][/hide] bbcode is not supported on this forum. It can be very useful when you want to add lot of pictures or lengthy text to your post without making everyone to scroll past them for an hour every time. If you want to read what's under the spoiler, you just click it and it expands

It usually looks like this:
Image


Found couple implementations here and here, looks like it should be easy to add this feature. Of course I don't know anything about phpbb, so may be wrong here :D

P.S. I've also tried to use youtube tag couple time, not sure if it's working, It should embed video on the page, right?
1988 Grand Wagoneer - bone stock (AMC 360, TF727, NP229), slowly turning into reliable and nice daily driver

Relay modules and other parts for sale

How to clean electric switches (power windows, locks, seats)

User avatar

Stuka
Site Admin
Posts: 9804
Joined: Thu May 12, 2011 5:53 pm
Location: Sonora, CA
Contact:

Re: Spoiler/hide bbcode

Post by Stuka » Tue Apr 28, 2020 9:32 am

The youtube tag works fine, but it only wants the youtube video ID. When you click the shark link (in YouTube), its the code after the last slash. I wish PHPBB would just add that functionality by default, but for now I have to just use the add-on functionality that I am now.

For the spoiler bit, I can look at the add-ons. If they are as simple as just using the tags, then I can probably add one. If they require changes to base code or the database, then probably not. As it makes upgrading a pain. This is the first request I have had for this functionality, but will take a look.
1981 J10 AMC 258 with HEI and Weber 32/36 DGEV Carb, T176, NP208, D44/M23 with 4.56 gears and Detroit Locker, 6" lift, 33x12.50 Cooper STT's, BJ's Offroad Rear Dozer Bumper.
2017 JKU Rubicon Lifted and stuff
Pevious Jeeps: 1975 Cherokee, 2008 JK, 2005 KJ, 1989 XJ


Topic author
sirrus
Vendor
Posts: 325
Joined: Fri Sep 13, 2019 11:13 pm
Location: Hillsboro, OR

Re: Spoiler/hide bbcode

Post by sirrus » Tue Apr 28, 2020 9:43 am

Thanks for the tip on YouTube tag - I was trying it with full link and it didn’t work, duh now I know how to use it

I think spoiler is just a tag and shouldn’t require any addons. Thanks for looking into it!


Sent from my iPhone using Tapatalk
1988 Grand Wagoneer - bone stock (AMC 360, TF727, NP229), slowly turning into reliable and nice daily driver

Relay modules and other parts for sale

How to clean electric switches (power windows, locks, seats)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests