Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
doffer83
Worker
Worker



Joined: Apr 17, 2011
Posts: 117
Location: Amsterdam

PostPosted: Sat Dec 15, 2012 7:42 am Reply with quote

I am an old user on [ Only registered users can see links on this board! Get registered or login! ] from years ago. on the forum of nukearab I have recommended this version of raven.. 2 users use it now.

Is raven good compatible with Arabic characters ?

Phpnuke we used from years ago works okey with arabic but we always need to change things els we see ??????? instead of ABC. and the database should be imported with latin1 (phpnuke is past time ).

we can use some advices men..

thank you any way (well done raven team)

(I know my english is poor sorry lol)
 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Dec 15, 2012 8:05 am Reply with quote

doffer83, version 3.0 that is currently in work, is going to fully support UTF-8 and it should also provide proper "hooks" to enable rtl type display (may require slight tweaks here and there still).

Any release less than 3.0 is not fully UTF-8 compatible, but should be no worse off than regular PHP-Nuke. You may need to use HTML entities in some cases, rather than actual characters.

Unfortunately a switch to fully UTF-8 from a traditionally non-UTF-8 system, is going to cause some minor issues with some of the data. It could require a few data tweaks here and there. It is inevitable. But, once the switch is made, it will be a much better system in the end.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Dec 15, 2012 8:09 am Reply with quote

RavenNuke 3 will be fully UTF-8 compatible which should address any character issues.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
doffer83







PostPosted: Sat Dec 15, 2012 4:01 pm Reply with quote

sounds great.. raven 3.0 wao

Things we change about nuke to make it work with arabic language .. first we make arabic file for every module.. and don't forget the main language file in dir Languages

header.php

Code:
 echo "<html dir=\"rtl\">\n";


and meta
Code:



 <META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=windows-1256\">


I put the next code in every php page almost



Code:
header("Content-Type: text/html; charset=windows-1256");


and we edit the chek user name in your_account


Code:


   if ((!$username) || (empty($username)) || (ereg("[^ء-يa-zA-Z0-9[[:space:]]_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";


and I think htmlspecialchars works better for us. htmlentities not really


I am happy that dutch doesn't need all those changes ...
 
montego







PostPosted: Sun Dec 16, 2012 5:18 pm Reply with quote

doffer83, this is outstanding! Thank you so much for providing your insights on this since the current RN Team works primarily in Latin based languages. This is very helpful.

One of my biggest concerns - as it is my hack - is how to make ShortLinks work properly. Have you any experience with that in the non-ASCII realm?

Regards,
montego
 
doffer83







PostPosted: Mon Dec 17, 2012 11:01 am Reply with quote

montego wrote:
doffer83, this is outstanding! Thank you so much for providing your insights on this since the current RN Team works primarily in Latin based languages. This is very helpful.

One of my biggest concerns - as it is my hack - is how to make ShortLinks work properly. Have you any experience with that in the non-ASCII realm?

Regards,
montego


Can you explain to me wat does non-ASCII mean.. I am not really a php writer I only know a little bit html and some php codes..
(my job is fixing and sell computers in a little large store)

I am using the DynamicTitles hack without problems.. or do you mean the mod writer (php to html) ?
 
doffer83







PostPosted: Fri Dec 21, 2012 4:34 pm Reply with quote

I have to turn off the option protection against Santy Worm .. else every topic of the forum (in arabic ) became recognized as attack .. lol by accident I found it
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Sat Dec 22, 2012 7:03 am Reply with quote

OLD

Code:
   if ((!$username) || (empty($username)) || (ereg("[^ء-يa-zA-Z0-9[[:space:]]_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";


NEW


Code:
   if ((!$username) || (empty($username)) || (pre_match("/[^ء-يa-zA-Z0-9[[:space:]]_-]/",$username))) $stop = "<center>"._ERRORINVNICK."</center><br />";

 
View user's profile Send private message
montego







PostPosted: Sat Dec 22, 2012 3:45 pm Reply with quote

doffer83 wrote:
or do you mean the mod writer (php to html) ?


Yes. This is called "ShortLinks".
 
doffer83







PostPosted: Mon Dec 24, 2012 5:57 am Reply with quote

I never used shortlinks... sorry I can't answer you.

I can translate the main language file to arabic if you want ..
 
montego







PostPosted: Mon Dec 24, 2012 10:06 am Reply with quote

doffer83, thank you for offering to do the translation. Unfortunately, we really do need complete translations and on-going caretakers of these translations before we can consider adding them into the core of a RN release. If you are willing to do that for arabic across-the-CMS, we would be happy to include. Smile
 
doffer83







PostPosted: Wed Jan 02, 2013 3:20 pm Reply with quote

Now after celebrating the new year I can go back to mijn computer and work again.. I started to translate the language file but I suddenly thought which tekst editor is the best I can use... I usually use FrontPage ... so my question to you if FrontPage good is and if I need to do something during/before saving the file

Good 2013 to users of the forum
 
montego







PostPosted: Wed Jan 02, 2013 4:35 pm Reply with quote

FrontPage is the worst option out there IMO for PHP... it is not meant for it. Folks here have liked Notepad++ and I've used Textpad for years, but recently started using UltraEdit (yes, it costs money).

As far as IDE's go, Oracle's NetBeans (free) is used by a few folks. I have used Eclipse PTD for years on Linux, but not on Windows.

At least some options...
 
doffer83







PostPosted: Mon Jan 21, 2013 3:10 pm Reply with quote

I am still working on the languages files (almost done okay).. I will also make an Arabic files for sentinel and info-box, forumcollapsing en tegomailer.
PS

I tried once to upgrade from nuke to raven.. many errors so I restored everything back.. I can use some help I think
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1774

PostPosted: Mon Jan 21, 2013 3:59 pm Reply with quote

No one can help you if you do not describe your errors.

_________________
Github: RavenNuke 
View user's profile Send private message
doffer83







PostPosted: Fri May 24, 2013 12:18 pm Reply with quote

nuken wrote:
RavenNuke 3 will be fully UTF-8 compatible which should address any character issues.


I almost can't wait for this version.. Wink I will use it online for 3 old sites (rtl language)
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©