BankrollMob Forum

BankrollMob Forum » BankrollMob.com » BB Code


BB Code  +2   
Hi,

have question about BBCODE.
What Codes does the Forum support.

I know the [ B ] and
[ QUOTE ]
But is that the only one.
Can you add some Features like [Color] [size] and


I always want my Postings are visually appealing Cool

Edited by mesp2201 (01 February 2008 @ 13:49 GMT)


     
   +1   
Currently we support the following (in quite a simple method though, but it works...):

B - bold
I - italic
U - underline

IMG - for images to be embedded in the post (right aligned as thumbnail)

YOUTUBE - embedding youtube videos, must be the "ID" from the youtube URL (the "4jkgfs4nj3"-part)

QUOTE - well, for quotes...

All the tags must be in uppercase (as written) and start within [X] brackes and end with [/X] brackes (replace X with the tag from the list above).

We might add more later on like color etc., but as of now we will stay with the current ones and have them integrated better into the textarea where people write their post, so it's possible to access the tags with a mouse click. And also make it more fool proof so nothing happens if people forget the end QUOTE tag for example, which currently makes the rest of a thread look weird.

     
   0   
Thx 4 your Fast Answer. I Think 4 the near Future the [size] and
Tag Would be very important.

The Center for Headlines and the size to post More text to a smaller space.
I hope this will come soon. Blink

Edited by mesp2201 (01 February 2008 @ 14:25 GMT)


     
   +1   
Okay, center it is then Smile


Size can be added too, but it's a bit more complicated, the center was just 2 lines of code. With size I need to research a bit on what would be the easiest (and most used) way to do this, if it's like [SIZE= 2] and if yes, what is 2? Is that like 12px etc etc.

size 1
size 2
size 3
size 4
size 5
size 6

Edited by Administrator (01 February 2008 @ 14:49 GMT)


     
   0   
Make the size like [SIZE=SMALLER] SMALL, NORMAL, LARGE, and BIG

I think this woul be helpful for you:

http://www.way2web.net/php/bbcode2html.php

Demo: http://free-poker-bankroll.pro24.ws/mesp2201/bbcode.php

small smaller medium normal

Cool that is all i want

At the Moment.
In near Future- some Coulors. Red, Blue, Yellow would be nice

Edited by mesp2201 (01 February 2008 @ 14:50 GMT)


     
   0   
We don't use PHP on the site so your example won't work "out of the box" Smile

But for now, I made a simple version of it - and it looks like you already figured out how it works. It goes from 1 to 6 [SIZE=x] ... but remember to end it again with [ /SIZE] otherwise rest of the post will have the same size.

The font sizes are taken from here:
http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size

About colors, I don't know about that yet. It might get a bit too "theme park" like if everybody starts using colors and LARGE fonts all the time Big Smile

     
   0   
Posted by Administrator:
but remember to end it again with [ /SIZE] otherwise rest of the post will have the same size.


I Know that, i understand a little PHP and HTML
Blink

We don't use PHP on the site so your example won't work "out of the box"


I have overloocked the Browser Field. Yah you use ActiveServerPages

Simple BBCode Script ASP



http://forums.aspfree.com/code-bank-54/simple-bbcode-sc...

Edited by Administrator (01 February 2008 @ 15:17 GMT)


     
   0   
LOL, you already messed up the forums again hahahahaha forgot to end the quote? Someone already did this earlier. Big Smile

     
   0   
I don't see any messed up things in this thread (except for all the testing Big Smile ) but no missing end-quote though. Maybe mesp2201 fixed it again?

     
   0   
Posted by Im2good4u:
LOL, you already messed up the forums again hahahahaha forgot to end the quote? Someone already did this earlier. Big Smile


No not forgot, the Script i postet has some Quote Tags i think this was the problem.
If this is a programming Forum we need a BBCode to Post Script Code but so on i post only the Link
its better.

But you can messe up the Forum with writing simple underline: look - i will remove it in 2 Minutes

________________________

Admin do you know that ? Writing longer underlines will messed up the Forum


- Thats mee

Edited by mesp2201 (01 February 2008 @ 15:19 GMT)


     
   0   
Yeah thats true mesp, alot of _____________ will of course mess it up. But in 8000 posts I haven't seen it happen in here yet, so no need to do something about it Big Smile It can always just be edited again if necessary.

------------
Thanks for the BB Code example - I'll have a look at that next week and see if it's something we can use, it might be.

     
   0   
This is very interesting, will read this up when I get back home from work. Might add some good things to the forums. Just don't forget to end quotes or it'll mess up the thread. Blink

     
   0   
Hopefully next week we'll have time to make it a bit more fool proof, so that if a start quote is present in a post, an end quote must be there as well. Or perhaps just auto-add an end quote to the end of the post so that it doesn't mess up anything, though the entire post will look like a quote then.

     
   +1   
4 All that interested in the BBCode here is a overview of the Supported BBCodes:

Bankrollmob.com BBCode


[ B ]bold [ /B ]
[ I ] italic
[ U ]underline [ /U ]

[ SIZE= 1 ] SIZE 1 [ /SIZE ]
[ SIZE= 1 ] SIZE 2 [ /SIZE ]
[ SIZE= 1 ] SIZE 3 [ /SIZE ]
[ SIZE= 1 ] SIZE 4 [ /SIZE ]
[ SIZE= 1 ] SIZE 5 [ /SIZE ]
[ SIZE= 1 ] SIZE 6 [ /SIZE ]

[ QUOTE ]
Lore Ipsum
[ /QUOTE ]

[ CENTER ] LORE IPSUM [ /CENTER ]

[ YOUTUBE ] y1q-bpGw-8k [ /YOUTUBE ]
looks like this:


and last but not least

[ IMG ]http://free-poker-bankroll.pro24.ws/mesp2201/72.JPG[ /IMG ]
You will see a image







Edited by mesp2201 (01 February 2008 @ 16:13 GMT)


     
   0   
It'll be hard but one thing that can help is to place the possible BB codes on the top or bottom of the message box (when creating a reply.) so all we need to do is copy to code [*] [*] then just type the message inside, this way it will not be forgotten.

     
   0   
That was some post, mesp Big Smile Now I feel sorry that I haven't had time yet to make the tags "click to insert"-like, instead of having to type them yourself Smile

     
   0   
Posted by Im2good4u:
It'll be hard but one thing that can help is to place the possible BB codes on the top or bottom of the message box (when creating a reply.) so all we need to do is copy to code [*] [*] then just type the message inside, this way it will not be forgotten.


I Think that can made be clickable by the Admin. A Little Javascript or so

Posted by Administrator:
That was some post, mesp Big Smile Now I feel sorry that I haven't had time yet to make the tags "click to insert"-like, instead of having to type them yourself Smile


No problem. I can write this by mxself if i will use this Features Blink An i use it.

     
   0   
Yeah it's like our smileys, also just a javascript to make them clickable and insert.

     
   0   
Posted by Administrator:
Yeah it's like our smileys, also just a javascript to make them clickable and insert.


Yah, i know that. Have it used on my old Guestbook. Hove over a smile and i see the Javascript Code

So Thank you for your work.
Now I can make my Post looking more beautiful Big Smile

And there's no hurry to make this clickable. But it would be safer to the threads.

     
   0   
This is getting a little bit technical for me.... It's always nice to have a few additions to the forums! Worship

     
   0   
lol haha mesp, i cant wait to see your posts after you finish gettin the hang of how brm uses they code.. you built up the anticipations with you "visually appealing" posts Big Smile lol nice fancy colors and all..

     
BankrollMob Forum » BankrollMob.com » BB Code

 
Forum Rules | Support & FAQ

Disclosure: BankrollMob may earn a commission based on the advertisement material on this site. #AD

© 2024 BankrollMob.com - All Rights Reserved CONTACT | ABOUT | PRIVACY & COOKIE POLICY | TERMS & CONDITIONS | NEWSLETTER | AFFILIATES | REPORT SPAM | ADVERTISING
  Please Play Responsibly