Forgot?

Report bug in Persian (IRAN)

Reply Topic
Link to this post 11 Jul 11

Hello,

i want to report this bug , ninja board has this bug for long time , please check out .

after installing ninja board on Farsi(Persian) Joomla! this error appears :

Fatal Error: Call to undefined method ComNinjaHelperDefault::css() in C:\wamp\www\Joomla15\administrator\components\com_ninja\helpers\default.php on line 108Fatal Error: Call to undefined method ComNinjaHelperDefault::css() in C:\wamp\www\Joomla15\administrator\components\com_ninja\helpers\default.php on line 108

i reported this before

please check it for RTL language for new version , it is so big problem

regards,
Abdulhalim

Link to this post 11 Jul 11

Hi Abdulhalim,

Apologies for not responding on your earlier issues, unfortunately sometimes it happens when posts are accidentally slipping through our attention.

Could you post your system info here?

From Menubar go to Help > System Info > System Info.

Also some more info will help:

- Ninjaboard version
- other (major) components/modules/plugins
- Template type (Manufacturer, branch/item)
- etc.

Thanks.

Kind regards,
John

Link to this post 11 Jul 11

Hello John ,
It's OK . i know you are so busy , no problem ...

so i installed latest version of NB , it has this issue , also i had same problem with older version of NB .

I'm testing on local host , so these are my Joomla! information :

PHP Built on: Windows NT
Database Version:5.0.51a-community-nt
Database Collation:utf8_general_ci
PHP Version:5.2.5
Web Server:Apache/2.2.8 (Win32) PHP/5.2.5
Web Server to PHP interface:apache2handler
Joomla! Version:Joomla! 1.5.23 Stable [ senu takaa ama baji ] 04-March-2011 18:00 GMT

also my J! is Farsi version .

Important matter is problem with RTL , no matter with which template , when i change Joomla language to English , everything is fine , but in Farsi (RTL) ninja goes wrong , it can't change direction .

when i delete this line of default.php file :" if(KFactory::get('lib.joomla.document')->direction == 'rtl') " the problem seem to be OK , but RTL CSS not loading anymore

Regards,
Abdulhalim

Link to this post 11 Jul 11

Hi Abdulhalim,

Thanks for your detailed response, very helpful.

As far as I know Ninjaboard supports RTL language.

Your issue is something that needs more attention.
I've pinged Stian (Lead Developer Ninjaboard) about this.
He will be glad to help as soon as he can.
Probably the CSS files needs to be updated.

I hope you have a little more patience, thanks so far for having much already.

In the meantime I'm going to set up a localhost and see if I can find or replicate anything related.

This is all I can do or say at the moment.

I hope this helps.

Kind regards,
John

Link to this post 12 Jul 11

Hi,

Thanks for the report! Fixing right away.

Link to this post 12 Jul 11

Hi,

This problem is specific to PHP 5.2.5, so I'll need you to confirm wether the Ninjaboard 1.1.1 build attached to this thread solves it or not.

Thanks

You don't have access to view the attachments in this post.
Link to this post 12 Jul 11

Hello,
Thank you the main problem is solved , but i got another problem in CSS , also i 've got this problem too , and i am confused now !!!

Your server has Suhosin loaded. Please follow this tutorial.
This component cannot run without Nooku Framework

CSS file has this problem , checkout here : http://ninjaforge.com/forum/topic/25206-problem-with-rtl-css/27082#p27082

let me solve nooku problem

Link to this post 15 Jul 11

Hi,

Sorry that you got left hanging in the thread you're linking to.

The problem is though that the line of code causing the error is the same code responsible for loading the rtl files.
So it's hard for me to know wether the css issues you have is caused by errors in the rtl css, or if it's just not loading.

Once you have the nooku problem solved (which you do by following the tutorial linked to in the error message), please let me know if the rtl files are being loaded.
And if they are, it would be very helpful to see a screenshot of the problem just so it's easier for me to reproduce it.

If the rtl css files are loaded correctly, you should see a reference to /media/com_ninjaboard/css/site_rtl.css when you view the page source html.

On top of my head I know that we've changed the width and some other things on the css for lists over topics and posts, and we might've forgotten to test those changes in rtl mode.
We also added private messaging after we had the week were we focused on rtl support, so we may have to update that css as well.

Thanks for the effort you've done so far in helping us :)

Link to this post 15 Jul 11

Hello Stian ,

Unfortunately i am not expert , so i couldn't solve the nooku problem , but i install NB on my install , could you check it ? btw if you can please give me your mail to sending you username and password also cpanel information .

regards,
Abdulhalim

abdulhalim.po[at]gmail.com

Link to this post 17 Jul 11

ok, send it to stian[at]ninjaforge.com and I'll help you out tomorrow.
I'm only responding in the forums today you see, but technically not working ;)

Link to this post 17 Jul 11

Thank you Stian , check your mail

Link to this post 18 Jul 11

Thank you again Stian ,
now you can check RTL CSS , i have 2 issuces

1 . Separators between topics , posts and last posts

2 . Signature is on the Edit post button


http://suru.ir/ninja/index.php/ninja-board

Link to this post 18 Jul 11

Ok thanks for reporting.
I'll give the RTL css a complete overhaul this week so Ninjaboard 1.1.2 will have the fixes applied.

Link to this post 22 Jul 11

try this pre release and let me know if it works.

You don't have access to view the attachments in this post.
Link to this post 22 Jul 11

Hello,

Yes it is working but has problem with signature , it is still over the " Edit post " button

Edit Button is too top , maybe 10 px margin from top works fine

regards,
Abdulhalim

Link to this post 22 Jul 11

Done, try now.

You don't have access to view the attachments in this post.
Link to this post 22 Jul 11

EXCELLENT

it 's OK now for Persian and Arabic

Thank you Stian

Link to this post 22 Jul 11

Excuse me , this version works on J16 or not ?

Link to this post 22 Jul 11

Ok, great that it works now :)

No, J16 support is coming in Ninjaboard 1.2. ;)

Home Forum Joomla Extension Support NinjaBoard Report bug in Persian (IRAN)