Bitcoin Forum
September 20, 2018, 01:58:58 AM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Any Custom BB Codes?  (Read 202 times)
Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 21, 2018, 12:12:04 AM
 #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!

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

1537408738
Hero Member
*
Offline Offline

Posts: 1537408738

View Profile Personal Message (Offline)

Ignore
1537408738
Reply with quote  #2

1537408738
Report to moderator
1537408738
Hero Member
*
Offline Offline

Posts: 1537408738

View Profile Personal Message (Offline)

Ignore
1537408738
Reply with quote  #2

1537408738
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537408738
Hero Member
*
Offline Offline

Posts: 1537408738

View Profile Personal Message (Offline)

Ignore
1537408738
Reply with quote  #2

1537408738
Report to moderator
pugman
Legendary
*
Offline Offline

Activity: 1232
Merit: 1294


Sliding in ya DM's be like


View Profile WWW
August 21, 2018, 12:20:49 AM
 #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

Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 21, 2018, 12:35:52 AM
 #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.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

pugman
Legendary
*
Offline Offline

Activity: 1232
Merit: 1294


Sliding in ya DM's be like


View Profile WWW
August 21, 2018, 02:25:38 PM
 #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.

vlad230
Full Member
***
Offline Offline

Activity: 280
Merit: 206


Vod's BTT Public Information Project - bpip.org


View Profile
August 21, 2018, 02:44:27 PM
 #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:



Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 21, 2018, 04:58:34 PM
 #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.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

pugman
Legendary
*
Offline Offline

Activity: 1232
Merit: 1294


Sliding in ya DM's be like


View Profile WWW
August 21, 2018, 06: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://bitcointalk.org/index.php?topic=1782017.0

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

Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 21, 2018, 07: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://bitcointalk.org/index.php?topic=1782017.0

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.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

morvillz7z
Full Member
***
Offline Offline

Activity: 182
Merit: 174



View Profile
August 21, 2018, 07:14:22 PM
Merited by pugman (2), Initscri (1), TryNinja (1), vphasitha01 (1)
 #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
Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 21, 2018, 11:30:29 PM
 #10

@morvillz7z: Thanks man! That helps a lot!


░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

theymos
Administrator
Legendary
*
Offline Offline

Activity: 3150
Merit: 3594


View Profile
August 22, 2018, 12:30:03 AM
 #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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Initscri
Hero Member
*****
Offline Offline

Activity: 784
Merit: 527


Web Developer/Programmer, PM for info.


View Profile WWW
August 22, 2018, 08: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.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE ! 

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

tactac
Member
**
Offline Offline

Activity: 210
Merit: 43


View Profile
August 23, 2018, 10: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
  • (×ω×)
  • ( ̄乂 ̄)

  ▬[  dClinic.io  ]▬  
▌ A Comprehensive Healthcare Ecosystem Powered by Blockchain  ▌
▬▬  PRE SALE ENDS 15th OCTOBER▬▬ | Twitter  | Telegram  | ANN  | Medium  | LinkedIn  | Facebook| ▬▬
finaleshot2016
Sr. Member
****
Offline Offline

Activity: 462
Merit: 256


🇵🇭 Spectator


View Profile WWW
August 24, 2018, 03:42:29 AM
 #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://bitcointalk.org/index.php?topic=4495717.msg40449923#msg40449923



       █
      ██
     ██
   ██ ██
 █ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
   
       █
      ██
     ██
   ██ ██
 █ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██
  B

          ▄▄▄▄▄▄
     ▄▄████████████▄▄
   ▄█████▀▀    ▀▀█████▄
  ████▀            ▀████
 ████                ████
▐███                  ███▌
███▌                  ▐███
▐███           ▄▄     ███▌
 ████         ▀███▄  ▐███
  ████▄         ▀███▄███
   ▀█████▄▄     ▄█████▀
     ▀▀████████████▀▀
          ▀▀▀▀▀▀
T 
Better. Quick.

Transparent.






             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀






▄█████████████████████████▄
███████████████████████████
███████████████▀       ████
██████████████      ▄▄▄████
██████████████    ▐████████
██████████████    ▐████████
██████████            ▐████
██████████            █████
██████████████    ▐████████
██████████████    ▐████████
██████████████    ▐████████
▀█████████████    ▐███████▀






                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!