BBCode enhancement

Improvements, Problems, or Questions on the Forum format or software go here ( not about the game )
Post Reply
User avatar
FiringSquad
Sergeant
Sergeant
Posts: 834
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

BBCode enhancement

Post by FiringSquad » Mon Oct 11, 2010 1:47 pm

I tried to use the BBCode for SuperScript, but found that it didn't work here.
I wonder if somebody could add it.
Here is a link on how to do it, along with some other useful BBCodes: http://www.phpbb.com/kb/article/adding- ... in-phpbb3/
Please don't add the blink code though, I don't think I could stand it.

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BBCode enhancement

Post by joevano » Mon Oct 11, 2010 2:01 pm

Why would we want that? Use MySpace... ;-)

Really.. what would be the benefit? I really see no need.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
blast
General
General
Posts: 4647
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BBCode enhancement

Post by blast » Mon Oct 11, 2010 7:21 pm

I'm trying to avoid mods to the forum as much as possible. They make it harder to upgrade. So, no.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
FiringSquad
Sergeant
Sergeant
Posts: 834
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

Re: BBCode enhancement

Post by FiringSquad » Tue Oct 12, 2010 10:00 am

There are standard BBCodes that are not yet fully supported in phpBB.
Instead phpBB decided to allow for a standard way to enhance this feature.
Users of this forum probably use other forums too and the slight differences in UI can become a little annoying.

I can understand the desire to use phpBB straight out of the box without any enhancement, but there is already enhancement or every forum would look exactly the same. So long as the enhancements are performed in accordance with guidelines, they should result in little or no difficulty when upgrading. The link I gave was the official standard way of achieving these enhancements.
The idea here is to give users the tools to communicate effectively.
How would you suggest the following be written?
H[sub]2[/sub]O
e=mc[sup]2[/sup]

In my case I wanted to add a small note at the bottom of a post and leave a reference.
e.g. I'm not a fan of MySpace[sup]1[/sup] so I don't think that's an option for me[sup]2[/sup].

Of course, there are other ways to achieve these things, but they are not nearly as clean as adding these BBCode enhancements.
I'm only actually interested in the subscript and superscript BBCodes. Let somebody else argue for the others.

After all, it's a fairly simple mod. What harm can it do?

(1) MySpace is evil!
(2) Your supreme commander.

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: BBCode enhancement

Post by Cobra_Fast » Tue Oct 12, 2010 3:17 pm

In addition phpbb3 supports custom BBCodes to be added out of the box and there is no way they could end up causing trouble when upgrading as it's sort of a core feature of phpbb. (I checked with the phpbb3 I run and custom BBCodes work perfeclty without any source modifications or such.)
It's located in the ACP under the "POSTING" tab at the "BBCodes" menue point under "Messages".
As I said, BBCodes you add there are impossible to cause technical trouble as long as you handle them with a little wisdom (like not allowing script bbcodes or similar).
When people demand for advanced math display functions you should at least allow [sup] and [sub] (which are added to the custom BBCodes within 2 minutes), but that's just my oppinion.

User avatar
blast
General
General
Posts: 4647
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BBCode enhancement

Post by blast » Tue Oct 12, 2010 11:02 pm

While that is interesting, I don't see any need for anything extra at this time.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
FiringSquad
Sergeant
Sergeant
Posts: 834
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

Re: BBCode enhancement

Post by FiringSquad » Wed Oct 13, 2010 8:11 am

blast (not really) wrote:Since that is extra, I don't see any need for anything interesting at this time.
OK. That makes sense. ;-)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests