New parser; new rules; new options
  • 37 posts
  • Page 1 of 3
Cireon wrote:
If you're reading this, you are probably a (frequent) user of the forums. You have always been able to use so called BB-codes in your posts on the forum which for example allow you to change the size of your text, make text bold, italic or underlined and insert images and url's.

The code that translated these codes was outdated and very inflexible. Therefore I wrote a new engine to add more flexibility and make it a lot easier to add new tags. The forums have now switched to this new engine. As an average user you will not notice a lot of difference, though there have been a few small changes in how some tags are used. The changes are described below. Note that BB-codes use square brackets ([ and ]), even though below they are written with curly brackets ({ and }).

  • {img=http://www.dominating12.com/image/skins/1/title.png } has become {img}http://www.dominating12.com/image/skins/1/title.png {/img}
  • {youtube=H7jtC8vjXw8} has become {youtube}H7jtC8vjXw8{/youtube}, but you can also use full url's as in {youtube}http://youtube.com/watch?v=H7jtC8vjXw8 {/youtube}.
  • Ordered lists changed from {list=ordered} to {list type=decimal} (but are still closed with {/list}) and list items changed from {*} to {li} and should be closed with {/li}.
These changes have been automatically made to all the existing forum posts, so nothing should be broken.

There have also been some cool additions and we will be adding some new things over the next couple of days as well, including but not limited to smileys and an easy way to link to games. I have created a complete manual to all currently existing BB-codes as well, which can be found over here.

If you encounter any problems or have any suggestions, please let me know and I will see what I can do.

~ Cireon
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
The_Bishop wrote:
Ok thanks Cireon.

Maybe the 'show spoiler' function could have a frame around, some way similar to a button, rather than 2 '+'. And also it would be nice for me to have the possibility to chose other words different from 'show spoiler'.
«God doesn't play dice with the World» ~ Albert Einstein
Cireon wrote:
Yeah, the different words was something I considered, but with just two +'es that would be unclear I think, so that's why I left it out until I get around to restyling the spoiler to something more clear ;)
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Cireon wrote:
The_Bishop. Your wish has been heard. The spoiler has been restyled and you can put your own text in the title by using {spoiler=foobar}lalala{/spoiler} which would result in

foobar (click to show)
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Thorpe wrote:
Nice work.
!!!! (click to show)
95.5% of the time you kill a players cap before your 2nd turn in... you fail or die next
Cireon wrote:
Thorpe - Dec 30, 08:01 PM
Nice work.
!!!! (click to show)
Like this you mean?
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Matty wrote:
If we're going to be like that - I preferred the colour to be greyish, but it would be nice if it was red on a hover :)
"Strength doesn't lie in numbers, strength doesn't lie in wealth. Strength lies in nights of peaceful slumbers." ~Maria
Thorpe wrote:
Just the words "(click to show)"
95.5% of the time you kill a players cap before your 2nd turn in... you fail or die next
Cireon wrote:
Matty - Dec 30, 09:53 PM
If we're going to be like that - I preferred the colour to be greyish, but it would be nice if it was red on a hover :)
Thorpe - Dec 31, 02:26 AM
Just the words "(click to show)"
Like this?
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Matty wrote:
Yay, you are awesome!
"Strength doesn't lie in numbers, strength doesn't lie in wealth. Strength lies in nights of peaceful slumbers." ~Maria
Cireon wrote:
Matty - Dec 31, 09:49 AM
Yay, you are awesome!
[image]
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Thorpe wrote:
Spoiler (click to show)
Or would it be just better without the black bar across the screen and the "click to show" in red?
95.5% of the time you kill a players cap before your 2nd turn in... you fail or die next
Cireon wrote:
I don't think that would work out, because then we are (almost) back to what we had and it wasn't really clear that it was a spoiler I think. Now you actually see that there is something non-texty. I could easily remove the background, if that is what you want though...
“This is how humans are: We question all our beliefs, except for the ones that we really believe in, and those we never think to question.”
- Speaker for the Dead, O.S. Card
Matty wrote:
I like it as it is now.
"Strength doesn't lie in numbers, strength doesn't lie in wealth. Strength lies in nights of peaceful slumbers." ~Maria