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 Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 14th, 2006, 10:42 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 118
How do I select languages?

I have created two new language files for Simplied and Traditional Chinese but cannot find any way for the user to select a language.

I am using ppClassifieds with vbPortal and vBulletin. I have the same two versions of Chinese working with vbPortal and vBulletin (not all translation done yet) and users can select the language they want but I cannot see how they can do it in ppClassifieds.

Any advice would be appreciated. (I am a raw beginner with PHP)
Frank Woolf is offline   Reply With Quote
Old June 15th, 2006, 12:46 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 118
I see by the similar threads after I poseted this that ppClassifieds does not have any way for users to select languages. I should have checked this before I chose ppClassifieds and did 3 months work so now I have to find a solution.

I am too inexperienced with PHP to do it myself. I see that changing the variable $pplang in config-inc changes the language so I guess what I need is a drop down menu for users to select a language which changes the value of $pplang then puts it in a cookie so when the user comes back it selects their chosen language.

Actually I need help on making a drop down menu that will do this and at the same time duplicate the language drop down menus in vBulletin and vbPortal. They currently both work fine but the user has to change each one separately.

If anyone with some expertise would like to do this and earn some $ please contact me.

(I will copy this post to Mods)
Frank Woolf is offline   Reply With Quote
Old June 15th, 2006, 01:08 AM   #3 (permalink)
Member
Verified Customer
 
AndreasP's Avatar
 
Join Date: May 2006
Location: Austria
Posts: 37
Send a message via Skype™ to AndreasP
I would also be interested in such a hack, as my forum runs bilingual, my photopost will not be able. Same with me, didn't check it out before...

Andreas
AndreasP is offline   Reply With Quote
Old June 15th, 2006, 06:33 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 118
I found a partial answer that works for vBulletin and ppClassifieds. I guess it will work the same for Photopost.

Replace $pplang = "english"; in the Classifieds config-inc.php file with

Code:
Content visible to verified customers only.
Change the numbers for the vBulletin Language ID numbers and change the language names for your corressponding laguages.
Frank Woolf is offline   Reply With Quote
Old June 15th, 2006, 08:22 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
All Photopost products are global settings for languages and classifieds itself is only packed with english.
__________________
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 June 15th, 2006, 09:16 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 118
Yep, I have already had the english.php language file translated into Chinese and the above code works perfectly except in my case I have three languages.

I now have English, Simplified Chinese and Traditional Chinese.
Frank Woolf is offline   Reply With Quote
Old June 15th, 2006, 09:39 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
add a new elseif clause
__________________
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 June 15th, 2006, 09:48 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 118
Thanks, Yes that is what I did.

The next, and hopefully final, challenge with the languages is to get vbPortal to switch together with vBulletin and ppClssifieds.
Frank Woolf is offline   Reply With Quote
Old June 18th, 2006, 09:44 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Location: Down Under
Posts: 1
Interesting.
Let me see whether I can build thai.php in a similar way.
Vampyre 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
Two languages - itīs possible? melgama Photopost Pro How Do I...? 10 October 11th, 2010 07:27 AM
Select as avatar Impreza04 vBGallery Suggestions 7 September 13th, 2005 07:53 AM
about other languages ngai Photopost Pro Installation & Upgrades 1 December 6th, 2004 09:39 PM


All times are GMT -5. The time now is 10:21 PM.

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