PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 27th, 2006, 09:39 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Arabic language prob in admin cp

Hi,

I have a problem with the Arabic charachters in the admin cp page only when I click on edit categories and also after selecting a cetegory then editing it..
It shown for example as: السيارات instead of السيارات
there is no problem in viewing it in the main classifieds page..

Regards
Ghanem is offline   Reply With Quote
Old January 27th, 2006, 09:45 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Hello well the main site loads a different character meta for arabic. Your admin is still operating on english right. This would inturn be the issue.

You can edit your adm-inc.php file to include the arabic character set

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 27th, 2006, 09:57 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Thank you for your fast reply, but I have done this allready which fixed showing my name in arabic..

another example, when I click on edit Ad types, I have changed them all to arabic and no problem..

This is why I mentioned I get the problem only when I click on the link edit categories..

Regards
Ghanem is offline   Reply With Quote
Old January 27th, 2006, 03:04 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Hi,

sorry, any clues..

Regards
Ghanem is offline   Reply With Quote
Old January 27th, 2006, 03:07 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well our admin panel is not written for arabic language.

You might now show html in arabic but you are going to show in edit boxes what is stored in the mysql database directly which is more than likely what you see when you look at the input box. The html will show converted but not something that is pulled directly from the database.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 27th, 2006, 03:23 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Quote:
Originally Posted by Ghanem
another example, when I click on edit Ad types, I have changed them all to arabic and no problem..
This is why I mentioned this in my prev reply..

if in the same file with this shortcut:
adm-misc.php?admact=adtypes send arabic characters and can read them..

why is it only when I click this link
adm-misc.php?admact=admcats&ppaction=cats to edit categories the problem accoures
Ghanem is offline   Reply With Quote
Old January 27th, 2006, 04:49 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Could be the routines we run on that variable to convert html that can exist in this variable which is a normal function of the program. Maybe your arabic does not like it.

You can try removing these lines from adm-misc.php other than that I do not know what else to say.

Code:
Content visible to verified customers only.
You can discuss any code modifications you wish in the modifications forums. However as a company we can not support any modification from our default code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 27th, 2006 at 06:36 PM.
Chuck S is online now   Reply With Quote
Old January 27th, 2006, 05:41 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Thank you very much, that have solved half the problem..

After I change to:
Code:
Content visible to verified customers only.
The part after I click the edit link is read correctly.
So what about the part before, which is when I click Edit Categories please..

screenshot attached for it.
Attached Images
File Type: jpg edit.jpg (30.0 KB, 33 views)
Ghanem is offline   Reply With Quote
Old January 27th, 2006, 06:36 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
HMM possibly this in adm-inc.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 28th, 2006, 04:37 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 14
Quote:
Originally Posted by Chuck S
HMM possibly this in adm-inc.php
woundefull, working fine now

Thank you very much

Kind Regards
Ghanem is offline   Reply With Quote
Old May 27th, 2010, 01:10 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
Quote:
Originally Posted by Chuck S View Post
Hello well the main site loads a different character meta for arabic. Your admin is still operating on english right. This would inturn be the issue.

You can edit your adm-inc.php file to include the arabic character set

Code:
Content visible to verified customers only.
hi i did not found this in my version so where can i found it
i can view arabic correct in the admin but when i edit it is not shown correct
majed is offline   Reply With Quote
Old May 27th, 2010, 02:06 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
How about POST 8
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 27th, 2010, 11:43 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
hi in the adm-inc.php

i just remove the

$subcatname = htmlentities($subcatname);
$subcatdesc = htmlentities($subcatdesc);


but i did not found what is written in post 8 in my page !
majed is offline   Reply With Quote
Old May 28th, 2010, 09:04 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
The file would be adm-cats.php as this is a very old discussion the file use to be adm-misc.php as the post states
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 16th, 2010, 06:05 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
thx a lot for u it's work fine now and this thread is a reference for arabic user so nice to update it

now every thing is shown great in the site accept the box of random and most recent photos at the left hand of the site so any file i should edit to fix that

this is the link and a photo is attached

DA8C5873 - faisalq8photo

note that the problem appeare when i click on any of the links

Most Recent · Most Popular · Random
Attached Images
File Type: jpg Untitled-1.jpg (100.0 KB, 2 views)

Last edited by majed; June 16th, 2010 at 06:16 AM.
majed is offline   Reply With Quote
Old June 18th, 2010, 02:47 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
any help for that
majed is offline   Reply With Quote
Old June 18th, 2010, 08:15 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
well I think I would have to read up on the ajax because all that does is use ajax to load the new photos in the page your language encoding should be the same IMO.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2010, 12:32 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
any solution for this Chuck ?

or i can stop the ajax in this time
majed is offline   Reply With Quote
Old June 23rd, 2010, 03:28 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
You can alter the display_gallery function in pp-inc.php file to remove those ajax links if you wish.

Since the page header is not refreshed your meta encoding should still be fine to display arabic so I honestly cant guess why it would display like that.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 24th, 2010, 02:32 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 82
aha can u plz tell me what to do exactly to stop it

i just remove the function form pp-inc but the page displayed without the photos just the sidebar
majed is offline   Reply With Quote
Reply


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

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
for arabic users some tips :) majed General Discussion 6 March 14th, 2006 05:25 AM
Gallery Admin settings prob Black Cobra Installs and Upgrade - vBulletin 3.5.X 4 January 6th, 2006 08:58 AM
New or upgrade same prob todda Installs and Upgrade - vBulletin 3.5.X 1 November 3rd, 2005 02:30 PM
Admin language/typos Arnie ReviewPost Bug Reports 3 July 19th, 2005 09:26 PM
vb2, admin prob and domain.com (?) Haruka Photopost Pro Installation & Upgrades 8 August 5th, 2004 04:08 PM


All times are GMT -5. The time now is 08:46 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0