Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: NekoJonez on July 27, 2013, 02:42:51 PM

Title: Add [nobbc] button
Post by: NekoJonez on July 27, 2013, 02:42:51 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3755)

This is a simple mod that add a [nobbc] button in your editor next to the code button.

This is my very first written mod and it's something I have written to thank SMF for the great work they produced.

It's adviced that you empty your cache and uninstall all older versions of this mod before you update.

What does this mod do?

There is a BBC tag in SMF that can be used for removing the formatting and displaying the used BBC tags. But there isn't a button for it. This mod inserts a button for it.

Version history

1.0 Beta:

- Initial release

1.0:

- Fixed language issue.
- Fixed remarks to get this mod approved ^_^

1.1:

- Fixed weird glitch where mod bugged out when uninstalling.
- Made the button stand out less.
- Updated the XML.


(http://i.creativecommons.org/l/by-sa/3.0/88x31.png) (http://creativecommons.org/licenses/by-sa/3.0/deed.en_US)
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License (http://creativecommons.org/licenses/by-sa/3.0/deed.en_US).
Title: Re: Add [nobbc] button
Post by: Colin on July 27, 2013, 02:43:37 PM
Thank you for your patience and work to create this mod. I look forward to seeing more from you!
Title: Re: Add [nobbc] button
Post by: kat on July 27, 2013, 03:50:37 PM
/me wishes we could have this, here... (I use it a lot, in the support boards)
Title: Re: Add [nobbc] button
Post by: Colin on July 27, 2013, 03:54:20 PM
Quote from: K@ on July 27, 2013, 03:50:37 PM
/me wishes we could have this, here... (I use it a lot, in the support boards)

/me Whispers: Shhh, it is. Try it out
Title: Re: Add [nobbc] button
Post by: kat on July 27, 2013, 04:00:50 PM
/me can't see a button for it, though.
Title: Re: Add [nobbc] button
Post by: Colin on July 27, 2013, 04:03:20 PM
/me Whispers: just type it :)
Title: Re: Add [nobbc] button
Post by: kat on July 27, 2013, 04:05:30 PM
Oh, I know that works. :P

A button would be good, though (My Tenosynovitis and all that).
Title: Re: Add [nobbc] button
Post by: Shambles on July 27, 2013, 06:38:54 PM
Quote from: Colin
/me Whispers: just type it :)

Isn't the point of this mod to provide a button for the standard [nobbc] tag? What good does typing it prove?  ???
Title: Re: Add [nobbc] button
Post by: NekoJonez on July 28, 2013, 08:07:15 AM
Quote from: Shambles on July 27, 2013, 06:38:54 PM
Quote from: Colin
/me Whispers: just type it :)

Isn't the point of this mod to provide a button for the standard [nobbc] tag? What good does typing it prove?  ???

That you aren't lazy I guess.
Title: Re: Add [nobbc] button
Post by: NekoJonez on October 05, 2013, 06:23:17 AM
Mod update has been released. :3
Title: Re: Add [nobbc] button
Post by: NekoJonez on January 22, 2014, 09:31:58 AM
Updated to 2.0.7
Title: Re: Add [nobbc] button
Post by: AllanD on January 22, 2014, 10:15:31 AM
OK  I have to ask since it's been bothering me. I've been on forums for over a decade and would love to know what the nobbc does?
Title: Re: Add [nobbc] button
Post by: Arantor on January 22, 2014, 10:34:42 AM
nobbc means not to parse bbc inside it. Lets you quote any bbc you like without it being treated as bbc - and without resorting to the code tag.
Title: Re: Add [nobbc] button
Post by: AllanD on January 22, 2014, 10:38:58 AM
OK got it, sounds like a great helpful mod.
Title: Re: Add [nobbc] button
Post by: NekoJonez on January 23, 2014, 04:18:46 AM
I'm glad that I have written it for ya. :D
Title: Re: Add [nobbc] button
Post by: Ninja ZX-10RR on August 06, 2014, 01:00:29 AM
Quote from: K@ on July 27, 2013, 03:50:37 PM
/me wishes we could have this, here... (I use it a lot, in the support boards)
Just quote it. Thanks for the mod to Neko :D it would be useful indeed in here...
Title: Re: Add [nobbc] button
Post by: Steve on August 06, 2014, 08:59:29 AM
Don't know how I missed this but I love it and just want to say thanks Neko! :D
Title: Re: Add [nobbc] button
Post by: NekoJonez on August 10, 2014, 05:59:50 AM
You are both welcome :)
Title: Re: Add [nobbc] button
Post by: shazoo! on February 01, 2015, 04:07:19 PM
Hi, I installed this in my environment 2.0.9 and am seeing the following error in the log:

http://[mysiteinfo]/forum/index.php?action=admin;area=packages;sa=install2;package=Add_nobbc_Button_1.1.zip;pid=0Apply Filter: Only show the errors with the same message512: parseModification(): The filename './Themes/default/languages/Modifications.english-utf8.php' is not a full path!Apply Filter: Only show the errors from this file File: /[mysiteinfo]/forum/Sources/Subs-Package.php

What do you think could be causing it?
Title: Re: Add [nobbc] button
Post by: Arantor on February 02, 2015, 05:30:30 AM
The mod should be using $languagedir instead of a raw path to the theme folder.
Title: Re: Add [nobbc] button
Post by: shazoo! on February 02, 2015, 07:36:08 AM
Quote from: Arantor on February 02, 2015, 05:30:30 AM
The mod should be using $languagedir instead of a raw path to the theme folder.
Any idea of how to fix that?
Title: Re: Add [nobbc] button
Post by: NekoJonez on February 03, 2015, 05:04:45 PM
I'll look into it.