Page 5 of 8
Re: BBCode Wishlist
Posted: 30 Oct 2010, 09:35
by HaWe
maybe you asked the wrong question (what exactly was your question? Latex the Life, the Universe, and all the rest?)
maybe try to ask a little simpler Question:
doc-helmut wrote:test:
Code: Select all
[math]{d\over dt}{\partial{T}\over \partial{\dot{\varphi}_j}} - {\partial{}\over \partial{\varphi_j}} (T-V) = 0[/math]
or try to ask your forum's system administrator...
ps:
what have they done to your face? did you have to listen to some Vogon's poetry?
Re: BBCode Wishlist
Posted: 31 Oct 2010, 06:55
by mightor
what have they done to your face? did you have to listen to some Vogon's poetry?
It's
Halloween and a zombie bit me.
- Xander
Re: BBCode Wishlist
Posted: 01 Nov 2010, 02:45
by muntoo
mightor wrote:what have they done to your face? did you have to listen to some Vogon's poetry?
It's
Halloween and a zombie bit me.
- Xander
LOL, I need to save this:
Re: BBCode Wishlist
Posted: 03 Nov 2010, 23:18
by muntoo
muntoo wrote:LOL, I need to save this:
Still laughing.
Anyways, can we have support for spoilers?
And with images, we could do this in our signatures to have extra content?:
Code: Select all
[spoiler][img]http://stackoverflow.com/users/flair/365102.png?theme=dark[/img][/spoiler] Over 90px!
Re: BBCode Wishlist
Posted: 05 Nov 2010, 22:17
by nxtboy
I know how you could fix the Math BBCode. Just open the PHP file, and replace $_POST[] s with $_GET[] s. Change the form to use the get method, and bingo, it works!
Re: BBCode Wishlist
Posted: 06 Nov 2010, 06:56
by mightor
I tried the GET vs POST thing. The problem is that the arguments are base64 encoded. It will take some time and effort for me to change this to a non-encoded variant. If you can figure it out, let me know and I'll be happy to test it out. PHP is not my favourite language and this seems like a lot of effort for something that will only be used by a very small handful.
- Xander
Code: Select all
if($source) $dynurl = $_SERVER['SCRIPT_URI']."/".str_replace("=","-",base64_encode($source))."/$density/".(($transparent && ($type=="png" || $type=="gif") || $preview && $type=="eps") ? 1 : 0)."/result.$type";
if($source && ($type=="eps" || $inline=="")) { header("Location: $dynurl"); exit(); }
list($encsource,$encdens,$enctrans,$enctype) = explode('/', substr($_SERVER['PATH_INFO'],1));
if ($encsource) $source = base64_decode(str_replace("=","-",$encsource));
if ($encdens) $density = $encdens;
if ($enctrans==1) { $transparent = "yes"; $preview = "yes"; }
if ($enctype) $type = substr($enctype, 7);
Re: BBCode Wishlist
Posted: 14 Nov 2010, 03:40
by muntoo
OK, this should be easier... and might be more used. Especially by me.
FONTS
And after that, could you make it so that:
In order to kill someone, you need to do this:
Code: Select all
#define LIFE 42
#define DEATH NULL
class Person
{
public:
string name;
int age;
int state;
Person(string n, int a, int s);
};
Person::Person(string n, int a, int s)
{
name = n;
age = a;
state = s;
}
And now, [`]Person toKill("Xander Sooldat", 42, ALIVE);[/`], and next, [`]toKill.state = DEAD;[/`], and finally, [`]toKill.name = "Barrack Obama";[/`]. That gets past BOTH the CIA and FBI![/i]
Where [ `] and [ /`] make whatever's inside them the font
Courier New.
Re: BBCode Wishlist
Posted: 15 Dec 2010, 07:09
by muntoo
Yet another wish(es).
* Testing [`]int main()[/`]
Re: BBCode Wishlist
Posted: 15 Dec 2010, 17:41
by nxtreme
It'd also be nice to have support for sub&superscript (for things like the "2" in I
2C. See, doesn't support it yet...). phpBB should support it. I found a few pages that might be of interest:
1,
2. If it's not possible or just too complicated thats fine, just a suggestion.
Re: BBCode Wishlist
Posted: 16 Dec 2010, 07:31
by mightor
Test 1 2 3
- Xander