Advertisement:

Author Topic: Add [nobbc] button  (Read 19698 times)

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Add [nobbc] button
« on: July 27, 2013, 02:42:51 PM »
Link to Mod

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.

« Last Edit: October 05, 2013, 06:23:03 AM by NekoJonez »
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline Colin

  • Lead Developer
  • SMF Hero
  • *
  • Posts: 7,835
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Add [nobbc] button
« Reply #1 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!
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

kat

  • Guest
Re: Add [nobbc] button
« Reply #2 on: July 27, 2013, 03:50:37 PM »
* K@ wishes we could have this, here... (I use it a lot, in the support boards)

Offline Colin

  • Lead Developer
  • SMF Hero
  • *
  • Posts: 7,835
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Add [nobbc] button
« Reply #3 on: July 27, 2013, 03:54:20 PM »
* K@ wishes we could have this, here... (I use it a lot, in the support boards)

* Colin Whispers: Shhh, it is. Try it out
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

kat

  • Guest
Re: Add [nobbc] button
« Reply #4 on: July 27, 2013, 04:00:50 PM »
* K@ can't see a button for it, though.

Offline Colin

  • Lead Developer
  • SMF Hero
  • *
  • Posts: 7,835
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Add [nobbc] button
« Reply #5 on: July 27, 2013, 04:03:20 PM »
* Colin Whispers: just type it :)
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

kat

  • Guest
Re: Add [nobbc] button
« Reply #6 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).

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 4,730
  • Gender: Male
    • i30 Owners Club
Re: Add [nobbc] button
« Reply #7 on: July 27, 2013, 06:38:54 PM »
Quote from: Colin
* Colin 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?  ???

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Add [nobbc] button
« Reply #8 on: July 28, 2013, 08:07:15 AM »
Quote from: Colin
* Colin 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.
« Last Edit: August 11, 2013, 12:50:14 PM by NekoJonez »
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Add [nobbc] button
« Reply #9 on: October 05, 2013, 06:23:17 AM »
Mod update has been released. :3
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Add [nobbc] button
« Reply #10 on: January 22, 2014, 09:31:58 AM »
Updated to 2.0.7
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline AllanD

  • Sr. Member
  • ****
  • Posts: 727
  • Gender: Male
  • It's All Good
    • KnD Hosting
Re: Add [nobbc] button
« Reply #11 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?
Check out this great sites.
KnD Hosting

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: Add [nobbc] button
« Reply #12 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.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline AllanD

  • Sr. Member
  • ****
  • Posts: 727
  • Gender: Male
  • It's All Good
    • KnD Hosting
Re: Add [nobbc] button
« Reply #13 on: January 22, 2014, 10:38:58 AM »
OK got it, sounds like a great helpful mod.
Check out this great sites.
KnD Hosting

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Add [nobbc] button
« Reply #14 on: January 23, 2014, 04:18:46 AM »
I'm glad that I have written it for ya. :D
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,141
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Add [nobbc] button
« Reply #15 on: August 06, 2014, 01:00:29 AM »
* K@ 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...
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,238
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Add [nobbc] button
« Reply #16 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
Online Manual

Please do not PM me for support.

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Add [nobbc] button
« Reply #17 on: August 10, 2014, 05:59:50 AM »
You are both welcome :)
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Female
Re: Add [nobbc] button
« Reply #18 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?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: Add [nobbc] button
« Reply #19 on: February 02, 2015, 05:30:30 AM »
The mod should be using $languagedir instead of a raw path to the theme folder.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.