PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 16th, 2006, 06:09 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Control panel with utf-8 charset problem

Hi

I am using Vietnamese (charset utf-8) with photopost pro and have problem in admin control panel:

Firt all the text name of category in control panel is broken. And then I searched and found this:

Arabic language prob in admin cp

And I tried change the charset in language file and then edit the adm-inc.php as the following:

comment the two lines:


Code:
Content visible to verified customers only.
Change the line 270 in to

Code:
Content visible to verified customers only.
(I am using english.php file but just changed it charset to word with vietnamese)

And then I seem ok when o go to the "edit categories" in the control panel. However, when I click one category to edit. Its name is broken again as the attachment.

Can anyone tell me how to fix this problem?

Thanks
Attached Images
File Type: jpg category.JPG (33.9 KB, 39 views)
ttnb is offline   Reply With Quote
Old February 16th, 2006, 09:46 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Try commenting out the htmlentities for catname in adm-misc.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 16th, 2006, 10:04 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Thanks for your help. Do you mean this line?
Code:
Content visible to verified customers only.
I tried it but nothing changes.

I have one more question: The charset in my ppc is still ISO (not utf-8) as I want. How i make it automatic encode utf-8?

Thanks
ttnb is offline   Reply With Quote
Old February 16th, 2006, 10:13 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Okay your hosting in the photopost pro section. You need to make similar changes you made in Photopost to classifieds for the $charset

I am referring to this line in adm-misc.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 offline   Reply With Quote
Old February 16th, 2006, 05:48 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Thanks Chuck,

I did not find
Code:
Content visible to verified customers only.
In adm-misc.php.

Do you misunderstand me? I am talking about photopost pro not classifieds.

Can you take a look again!

Thanks
ttnb is offline   Reply With Quote
Old February 16th, 2006, 05:58 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
I found it in the adm-cats.php in lines 374 already! I can read vietnamese when I edite category now.

However I still do not know where to change the charset for amin control panel
Thanks

Last edited by ttnb; February 16th, 2006 at 06:02 PM.
ttnb is offline   Reply With Quote
Old February 16th, 2006, 06:56 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
That is changed in adm-inc.php in both products.

Yes always good to open posts on each product accordingly so you can get the response you want
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 17th, 2006, 08:28 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
I am using photopost pro and I think this box is not for calassifieds.

Could you tell me what line I should edit in adm-inc.php to make the admin control panel have utf-8 charset?

Thanks
ttnb is offline   Reply With Quote
Old February 17th, 2006, 08:42 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
well this is the question you asked

Quote:
I have one more question: The charset in my ppc is still ISO (not utf-8) as I want. How i make it automatic encode utf-8?
Is there some shorthand I am not understanding that means photopost classifieds

Anyway your first post already states how to use uft8 and the changes needed. You change the contentmeta

Control panel with utf-8 charset problem
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 17th, 2006, 09:02 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Oh, sorry for making you confused!

I did as in the thread you qouted and the languages can be viewed correctly but when I look at the encoding, it still does not automatically charset in to utf-8. Please look at my attachment(sorry I am using Japanese Windows but I think you can recognize).

I just want to figure out why it is not charsetted in to utf-8.

Thanks
Attached Images
File Type: jpg charset.JPG (59.3 KB, 35 views)
ttnb is offline   Reply With Quote
Old February 17th, 2006, 09:18 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Okay well thats not going to control anything what you set in a browser. The admin control panel is english and only english. All the entries are in a database

Your encoding in your browser may effect your browser but its not going to affect a program on the webserver.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2006, 08:09 AM   #12 (permalink)
Member
Verified Customer
 
mtha's Avatar
 
Join Date: May 2005
Location: OK, US
Posts: 107
Send a message via Yahoo to mtha
Better to use this:
Code:
Content visible to verified customers only.
You may also want to set
$subcatname = htmlentities($subcatname, ENT_QUOTES,'utf-8');

in adm-inc.php


Quote:
Originally Posted by Chuck S
Okay well thats not going to control anything what you set in a browser. The admin control panel is english and only english. All the entries are in a database

Your encoding in your browser may effect your browser but its not going to affect a program on the webserver.
If you want to change charset in admincp, search and replace iso-08859-1 by utf-8

in adm-inc.php, adm-index.php, adm-users.php
mtha is offline   Reply With Quote
Old July 3rd, 2006, 10:28 AM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Location: BULGARIA/Sofia
Posts: 19
adding ,ENT_COMPAT,"UTF-8") after $subcatname seems to work fine, for example:

$subcatname = htmlentities($subcatname,ENT_COMPAT,"UTF-8");


Quote:
Originally Posted by ttnb
I found it in the adm-cats.php in lines 374 already! I can read vietnamese when I edite category now.

However I still do not know where to change the charset for amin control panel
Thanks
Mamma is offline   Reply With Quote
Old January 4th, 2007, 10:41 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 2
Проблем так и не решена. Все перепробовал - ничего не вышло....

Happy New Year
Pavel is offline   Reply With Quote
Old September 30th, 2007, 06:43 AM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 2
Quote:
Originally Posted by Pavel View Post
Проблем так и не решена. Все перепробовал - ничего не вышло....

Happy New Year
Russian with utf-8 works fine for me after some patching

1)
// patch
mysql_query('SET NAMES utf8');

.... insert this after each mysql_connect
in pp-inc.php

2) correct htmlentities as decribed above in all files
vrom is offline   Reply With Quote
Old December 6th, 2007, 11:46 AM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2007
Posts: 7
vrom, your solution works just fine,
here is my Cyrillic utf-8 forum and photopost gallery:
http://www.ulitka.com/forums/

thank you!

Last edited by ulitka; December 15th, 2007 at 09:11 PM.
ulitka 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
User Control Panel w/ VB InterFX ReviewPost How do I...? 5 December 22nd, 2005 03:25 PM
charset UTF-8 qti Photopost Pro How Do I...? 0 October 1st, 2005 04:47 AM
Charset utf-8 instead of iso-8859-1 charm Photopost Pro How Do I...? 1 April 1st, 2005 11:40 AM
Where is the Mod control panel? Johnny Doomo Classifieds Installation & Upgrades 1 August 3rd, 2004 02:12 PM


All times are GMT -5. The time now is 04:47 PM.

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