Author

Topic: Any Custom BB Codes? (Read 419 times)

legendary
Activity: 2842
Merit: 1511
October 21, 2018, 09:26:07 AM
#15
Quote
   evil

   asian

   afro

   police

Thanks, was searching for those hidden smilies.

I don't know how this could possibly help anyone, but there's also the IRC emote [me] tag. You usually trigger it by /me, but you can execute it for any user with:
 
Code:
[me=username][/me]

E.g.

* Theymos sobs before regex hell
legendary
Activity: 1778
Merit: 1009
Degen in the Space
August 23, 2018, 10:42:29 PM
#14
Snip
These emoticons are just made up of symbols. I always see these in some smart phones. Is there any other icons can be used like the ASCII blocks?

Quote
  evil   asian     afro     police

It's my first time to see these icons. Afro is lit.
I just only know some important BBCodes for creating signatures. Here's my tutorial in creating signatures using BBcodes in my local board. https://bitcointalksearch.org/topic/m.40449923

full member
Activity: 448
Merit: 121
self made Full member (^-^)v
August 23, 2018, 05:00:10 PM
#13
You can use these codes instead of BBcode Grin

smile
  • (^―^)
  • (*^-^*)
  • ( ´∀`)

angry
  • (`・д・´)
  • (`A´)

sad
  • (´_`。)
  • (´A`。)

sorry
  • m(_ _)m
  • SOЯЯY_φ(´c_`。ヾ)。

ok
  • (○´3`)ノ
  • (O´∀`K)b


no
  • (×ω×)
  • ( ̄乂 ̄)
hero member
Activity: 1582
Merit: 759
August 22, 2018, 03:22:08 AM
#12
[btc] is the only custom tag. Some other behavior of the bbcode parser was changed, but it's more stylistic than semantic, like disabling certain tags in some contexts.

If someone wrote a bbcode parser that was 99.9% compatible with the SMF bbcode parser but was based on traditional parsing (ie. lex+yacc-style), that'd be useful. The current regex monstrosity really sucks.

Awesome, Thanks theymos!

And yeah, I agree. I looked at the source code for the BBcode parser for SMF and I wasn't exactly smiling about it. 1645 lines of a mess TBH.
administrator
Activity: 5222
Merit: 13032
August 21, 2018, 07:30:03 PM
#11
[btc] is the only custom tag. Some other behavior of the bbcode parser was changed, but it's more stylistic than semantic, like disabling certain tags in some contexts.

If someone wrote a bbcode parser that was 99.9% compatible with the SMF bbcode parser but was based on traditional parsing (ie. lex+yacc-style), that'd be useful. The current regex monstrosity really sucks.
hero member
Activity: 1582
Merit: 759
August 21, 2018, 06:30:29 PM
#10
@morvillz7z: Thanks man! That helps a lot!

legendary
Activity: 2212
Merit: 2061
Join the world-leading crypto sportsbook NOW!
August 21, 2018, 02:14:22 PM
#9
The ones that bitcointalk supports are here: https://bitcointalk.org/index.php?action=help;page=post#bbcref


Think we have some bbcodes that are not in that list but does work here, as well as some ''hidden'' smileys.

Would be great if someone adds to any of the bbcode guides, detailed explanation of how to use the 'anchor' and 'iurl' tags, for example:

Code:
[anchor=top][iurl=#bottom]Go to bottom of page[/iurl][/anchor]

[anchor=bottom][iurl=#top]Back to top[/iurl][/anchor]

or

Code:
[iurl=#point1]go to point1[/iurl]
[iurl=#point2]go to point2[/iurl]

[anchor=point1]point 1[/anchor]
[anchor=point2]point 2[/anchor]




The 'noparse' tag kinda works. If you have resized image which redirects to original image source, adding the noparse after url= will make the image non-clickable

Code:
[url=noparse your image][img width=100]your image[/img][/url]

Without noparse:



and with:



We can use the 'acronym' tag along with images too:

Code:
[acronym=your text][url=your image][img width=100]your image[/img][/url][/acronym]

example:






If we want a certain url/website link to be non-clickable we just add the
Code:
[i][/i]
inside ''https'' or ''www''

Code:
ht[i][/i]tps://your link/

example:

https://www.google.com/




Here are the smileys:

Code:
>:D   evil

^-^   asian

O0   afro

C:-)   police

Quote
   evil

   asian

   afro

   police
hero member
Activity: 1582
Merit: 759
August 21, 2018, 02:03:25 PM
#8
I'm not sure if this is the final version used here. For example I can see the BTC symbol appears when I write a reply but I don't see it in that list:
<...>
Yup, BTC one I completely forgot about. Any others?
Now that you mention it, the thing that came to mind is this: https://bitcointalksearch.org/topic/bitcointalk-post-iconizer-custom-post-pm-editing-buttons-for-adding-bb-code-1782017

So I guess, it is *possible*, but you can ask mprep for more help.

Yea, looking at the extension it doesn't look like it's BB code generated.
Just looks like it's additional icons attached to the editor, which then uses the unicode characters as symbols.

IE, It's purely frontend (extension-based), not backend so it wouldn't be applicable I don't believe (unless mprep added something to SMF on the backend, which I doubt)

Look's like the only BB code that would be extra that I didn't think of is the BTC one.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
August 21, 2018, 01:53:25 PM
#7
I'm not sure if this is the final version used here. For example I can see the BTC symbol appears when I write a reply but I don't see it in that list:
<...>
Yup, BTC one I completely forgot about. Any others?
Now that you mention it, the thing that came to mind is this: https://bitcointalksearch.org/topic/bitcointalk-post-iconizer-custom-post-pm-editing-buttons-for-adding-bb-code-1782017

So I guess, it is *possible*, but you can ask mprep for more help.
hero member
Activity: 1582
Merit: 759
August 21, 2018, 11:58:34 AM
#6
I'm looking to sort-of reverse engineer SMF in order to create a tool for bb codes. I may release this publicly.

I just wanted to know if BitcoinTalk leverages any custom BB codes other than the Basic SMF ones listed here: https://wiki.simplemachines.org/smf/Basic_Bulletin_Board_Codes

I'm not entirely sure who would have knowledge of this, whether it be just Theymos, or perhaps other users have used them in the past.
Just wanting to make sure before jumping into development in the future!
There are a few custom ones but not that much.
It's cool you're trying to create one yourself but I'm wondering if this won't be overkill since there are loads of BBcode tools online: https://www.google.com/search?q=bbcode+generator&oq=bbcode+generator&aqs=chrome.0.0l6.3383j0j7&sourceid=chrome&ie=UTF-8

Unless you're trying to create something different, of course Wink


BB codes can't be exactly customized, right? And since this is an SMF forum, obviously only those would be able to be used here.

The ones that bitcointalk supports are here: https://bitcointalk.org/index.php?action=help;page=post#bbcref
I'm not sure if this is the final version used here. For example I can see the BTC symbol appears when I write a reply but I don't see it in that list:




Yup, BTC one I completely forgot about. Any others?

It's more or less a tool more targeted towards BBCode used on BitcoinTalk, for myself primarily. But I'll release it if it's useful for the community.
sr. member
Activity: 616
Merit: 279
August 21, 2018, 09:44:27 AM
#5
I'm looking to sort-of reverse engineer SMF in order to create a tool for bb codes. I may release this publicly.

I just wanted to know if BitcoinTalk leverages any custom BB codes other than the Basic SMF ones listed here: https://wiki.simplemachines.org/smf/Basic_Bulletin_Board_Codes

I'm not entirely sure who would have knowledge of this, whether it be just Theymos, or perhaps other users have used them in the past.
Just wanting to make sure before jumping into development in the future!
There are a few custom ones but not that much.
It's cool you're trying to create one yourself but I'm wondering if this won't be overkill since there are loads of BBcode tools online: https://www.google.com/search?q=bbcode+generator&oq=bbcode+generator&aqs=chrome.0.0l6.3383j0j7&sourceid=chrome&ie=UTF-8

Unless you're trying to create something different, of course Wink


BB codes can't be exactly customized, right? And since this is an SMF forum, obviously only those would be able to be used here.

The ones that bitcointalk supports are here: https://bitcointalk.org/index.php?action=help;page=post#bbcref
I'm not sure if this is the final version used here. For example I can see the BTC symbol appears when I write a reply but I don't see it in that list:


legendary
Activity: 2383
Merit: 1551
dogs are cute.
August 21, 2018, 09:25:38 AM
#4
Technically speaking, you are able to extend onto SMF adding custom BB codes through the use of plugins/modifications; and that may not update the help page for SMF directly (I'm unsure if SMF would detect this, and considering those codes have explanations, I'm doubting that would be automatic).

Most likely, BitcoinTalk doesn't leverage any custom BB codes, but I'm just wanting to make sure. So as such, there may be BB codes that only a select few users know about, but I would still wish to include them within my code (provided they are publicly available for use). Just wanting to factor in that possibility Smiley

Thanks for that link though, wasn't able to find that help page directly.
Thing is, this forum is a customized version of SMF and its very complicated, so only theymos can actually tell if you can use custom BB codes or not. I have tried using basic HTML tags(that aren't mentioned in the BB code list), and most of them if not all of them, didn't work.
hero member
Activity: 1582
Merit: 759
August 20, 2018, 07:35:52 PM
#3
BB codes can't be exactly customized, right? And since this is an SMF forum, obviously only those would be able to be used here.

The ones that bitcointalk supports are here: https://bitcointalk.org/index.php?action=help;page=post#bbcref

Technically speaking, you are able to extend onto SMF adding custom BB codes through the use of plugins/modifications; and that may not update the help page for SMF directly (I'm unsure if SMF would detect this, and considering those codes have explanations, I'm doubting that would be automatic).

Most likely, BitcoinTalk doesn't leverage any custom BB codes, but I'm just wanting to make sure. So as such, there may be BB codes that only a select few users know about, but I would still wish to include them within my code (provided they are publicly available for use). Just wanting to factor in that possibility Smiley

Thanks for that link though, wasn't able to find that help page directly.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
August 20, 2018, 07:20:49 PM
#2
BB codes can't be exactly customized, right? And since this is an SMF forum, obviously only those would be able to be used here.

The ones that bitcointalk supports are here: https://bitcointalk.org/index.php?action=help;page=post#bbcref
hero member
Activity: 1582
Merit: 759
August 20, 2018, 07:12:04 PM
#1
I'm looking to sort-of reverse engineer SMF in order to create a tool for bb codes. I may release this publicly.

I just wanted to know if BitcoinTalk leverages any custom BB codes other than the Basic SMF ones listed here: https://wiki.simplemachines.org/smf/Basic_Bulletin_Board_Codes

I'm not entirely sure who would have knowledge of this, whether it be just Theymos, or perhaps other users have used them in the past.
Just wanting to make sure before jumping into development in the future!
Jump to: