Version: 1.00, by orange gold
Developer Last Online: Sep 2011
Category: BB Code Enhancements -
Version: 4.1.0
Rating:
Released: 12-24-2010
Last Update: Never
Installs: 8
No support by the author.
I did it finally! After hours of trying to figure out how to format a real fraction I came up with the code! Please see the screenshot below and judge for yourself.. It is a real post from my forum and it is all selectable text.. no images involved...
**********
**********
**Please leave feedback, and mark as installed if you used this, thanks!**
YAY!!!
Here is how:
Admin CP > BBCode > New:
Title:
Code:
Fraction
BBCode Tag Name:
Code:
frc
Replacement(The code below is improved compared to the code when this post first came out):
I'm sorry.. I don't understand what you mean now either....
On the other example.. He just moved my code in reverse order to get it to work.. You fractions are still fine.. You just need to type the 1/10 after the other fraction since your forum is formated in that language... There is nothing wrong with the code... Your forum types from right to left so you need to type the order of the fractions right to left... Or choose a font that doesn't go left to right such as times new romans and set that for your font on the code...
I'm sorry.. I don't understand what you mean now either....
On the other example.. He just moved my code in reverse order to get it to work.. You fractions are still fine.. You just need to type the 1/10 after the other fraction since your forum is formated in that language... There is nothing wrong with the code... Your forum types from right to left so you need to type the order of the fractions right to left... Or choose a font that doesn't go left to right such as times new romans and set that for your font on the code...
Thanks for your effort =)
I will explain this issue more
If I want to write (3/4) ? (1/4) (which is equal 3), It will appear in my forum with RTL language (1/4) ? (3/4) (which is equal 0.33).
I can't tell all users to write (1/4) ? (3/4) when they want to write (3/4) ? (1/4), and when we have a long equation it will be difficult to get right answer due to this issue.
I know the code is true and this issue is something should happen logically when we write from right to left with something should be written from left to right. But I am looking for a smart solution for that. i.e: Can we fix the direction (LTR) just we use this code or ......
Unfortunatley.. my code isn't what is causing it to write left to right... If I were to add code to mine that would make it write right to left it wouldn't do anything because the fraction tags are all closed after you write one fraction... What you would have to do is create another tag.. say. then the stuff inside the math tags will write left to right.. I think I can create the math tag for you..
It would be something like this in the end to get your desired effect..
[math][frc=3]4[/frc]÷[frc=1]4[/frc][/math]