PDA

View Full Version : Custom tag idea



Kenneth
03-07-2007, 04:09 AM
Barry,

Is it possible to make custom tags for the processor to handle?

I was thinking it would be cool to have a and tag that would allow the processor to (perhaps dependent on a User CP switch) convert the figure into the preferred units.

ie: 30 would show 48Kph for myself who would choose to show KPH

DefeXion
03-07-2007, 06:50 AM
There shouldn't be too much involved with that. Just a bit of php script.

"<?php echo" variable number "* 1.6; ?>"

"<?php echo" variable number "/ 1.6; ?>"

That would do the trick wouldn't it? The question is, will custom markups handle php. I imagine they should.

DefeXion
03-07-2007, 07:46 AM
*buzz* bbcode can't handle php :(

BraindG
06-07-2007, 09:13 PM
will look into a solution, this a good idea.