MyBB Community Forums

Full Version: RTL text direction
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Howdy Big Grin

sorry maybe I didn't searched the forums well

I would like to know how to make my forum automatically switched to Right to Left text direction.

any Idea?

thanks in advance Smile
Additional-CSS:
#container {
text-align: right;
}
MarkusK Wrote:Additional-CSS:
#container {
text-align: right;
}

This is incorrect.

You should edit the inc/languages/[language].php file and set $langinfo['rtl'] to 1.

Please see the following thread for more information: http://community.mybboard.net/showthread.php?tid=16589
Sorry, didn't know that. I wonder how this works by changing a variable... Which file is doing this?
thanks Smile

but i get warnings in every page after setting it to 1

this is the warning on the main page only!
Warning: Cannot modify header information - headers already sent by (output started at /home/www/********.com/inc/languages/english.php:1) in /home/www/********.com/inc/functions.php on line 78
Did you use Notepad to edit the english.php? If you did, I suggest you edit the file using Wordpad, Crimson Editor or another text editor.
that worked thanks DennisTT
Big Grin Big Grin Big Grin
but I didn't found the other codes that Tikitiki said to change them, from the themes.
sorry Smile.. I would like to know where to find the theme and extra css code that are mentioned in this thread
?
http://community.mybboard.net/showthread.php?tid=16589
Admin CP --> Themes --> Modify / Delete --> *edit your theme*. The two edits should be in Page Container section (the first edit) and Additional CSS at the very bottom (the second edit).
what a great community

thanks Big Grin
Glad it's working for you Smile