Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Hj Ahmad Rasyid Hj Ismail on January 02, 2015, 11:07:28 PM

Title: Indent BBC (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on January 02, 2015, 11:07:28 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=4003)

Indent BBC

- For SMF 2.0.x
- Fully hook, no file modification.

1. Please do your own backup though every installation is backed up automatically.
2. This mod will add three Indent BBC buttons that can used to indent user selected texts.
3. One is a full indent bbc and another two are left indent and righy indent only bbc.
4. It should work and usable immediately after a successful installation.
5. As this indent mod is fixing a margin by percetange, IMO it will work in smaller browser as well.
6. You can test it in lower SMF 2.0.x version too as it should work just fine. ;)


Thank you for using/testing it.


Yours friendly,
Abu Fahim Ismail.

BSD License. Feel free to modify accordingly but keep the author's link if it is in here somewhere. ;)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fvalidator.w3.org%2Fimages%2Fvalid_icons%2Fvalid-xhtml10&hash=f3694497572838dc55641db875ff57107ebabaed)  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fjigsaw.w3.org%2Fcss-validator%2Fimages%2Fvcss&hash=710d7530f8727db53c62cb8f44abbef39967e693)

#Change Logs

@Version 1.0.1
- Add right indent bbc.

@Version 1.0.0
- Indent BBC Initial Release.
- Fully hook, no file modification.
Title: Re: Indent BBC (Hook Version!)
Post by: Steve on January 03, 2015, 09:43:34 AM
Sweet! Great idea and works perfectly! :D
Title: Re: Indent BBC (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on January 04, 2015, 10:40:45 AM
Thank you for your feedback Steve.
Title: Re: Indent BBC (Fully Hook!)
Post by: shadav on July 06, 2020, 09:50:09 PM
got an error in my logs

8: Undefined offset: 1
File: /Sources/IndentBBC.subs.php
Line: 45

line 45
foreach ($bbc_tags[1] as $tag)

also just got an

Invalid argument supplied for foreach()
same line 45
Title: Re: Indent BBC (Fully Hook!)
Post by: Steve on June 10, 2022, 03:05:21 PM
Upgrade to work with 2.1.2?