Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 06 Jan 2011, 10:51
NNJJ NNJJ is offline
Join Date: Dec 2001
Question how to change direction


how i can change the style direction to be from right to left?
We are not Creators, but we have the Magic of Creation
Reply With Quote
Old 06 Jan 2011, 14:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Join Date: Jun 2008
Real name: Joe D.
True "Right to Left" is controlled by the language chosen... if it's an RTL (right-to-left) language like Arabic then the forum will automatically change to RTL format.

To override this for a language like English you can make a new plugin on the global_start hook with the code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Set active to YES and SAVE.

If you just want say the username/avatar on the right side of the postbit instead of the left side you would have to manually edit your templates- in this case the postbit_legacy template.

--------------- Added 06 Jan 2011 at 15:30 ---------------

After further inspection the plugin above only works in VB 3.x, it doesn't work in VB 4.x and I tried many other hooks besides global_start.

For VB4 Go to Admin CP -> Language Manager -> Edit Settings for your language and choose text direction "Right to Left" instead of "Left to Right" - you could probably do this for VB3 too without a plugin.
Former Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.

Last edited by BirdOPrey5; 06 Jan 2011 at 15:30. Reason: Auto-Merged DoublePost
Reply With Quote
Old 11 Jan 2011, 02:49
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Join Date: Sep 2008
Real name: Michael Miller Jr
And in a conditional let's say for vB4 you can use for example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Daddy Does Dios and Figs!

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 18:27.

Layout Options | Width: Wide Color: