Advertisement:

Author Topic: Indent BBC (Fully Hook!)  (Read 2064 times)

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,905
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Indent BBC (Fully Hook!)
« on: January 02, 2015, 11:07:28 PM »
Link to Mod

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. ;)

 

#Change Logs

@Version 1.0.1
- Add right indent bbc.

@Version 1.0.0
- Indent BBC Initial Release.
- Fully hook, no file modification.
« Last Edit: January 05, 2015, 10:50:36 AM by PI3KUM »

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,647
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Indent BBC (Hook Version!)
« Reply #1 on: January 03, 2015, 09:43:34 AM »
Sweet! Great idea and works perfectly! :D
My goal this week is to move just enough so people don't think I'm dead.

Please do not PM me for support. You'll get quicker answers in the appropriate support boards.

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,905
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: Indent BBC (Fully Hook!)
« Reply #2 on: January 04, 2015, 10:40:45 AM »
Thank you for your feedback Steve.
« Last Edit: January 05, 2015, 10:51:06 AM by PI3KUM »

Online shadav

  • Support Team Apprentice
  • Sr. Member
  • ****
  • Posts: 893
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Indent BBC (Fully Hook!)
« Reply #3 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
Code: [Select]
foreach ($bbc_tags[1] as $tag)
also just got an

Invalid argument supplied for foreach()
same line 45