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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 22nd, 2005, 02:17 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
5.11 edit albums sort options

The sort options while editing an album aren't language dependent.
Astaran is offline   Reply With Quote
Old June 22nd, 2005, 02:56 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
I do not beleive the sort box anywhere in the program is language dependant since the sort table descriptions are in English in the database. If this indeed is what you are talking about.

if ($sortid == $sortorder) {
$sortdefault = "<option selected=\"selected\" value=\"$sortid\">$sortname</option>";
$sortcode = "$sortc";
}
else {
$soptions .= "<option value =\"$sortid\">$sortname</option>";
}
__________________
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 22nd, 2005, 02:59 PM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
The order options come from the database, which is not language dependent.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 22nd, 2005, 03:04 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
But you agree with me that the options in the select box should be language dependent as all texts that are displayed to the end user?

I think it would be sufficient to add language strings for earch order option to the language file as slightly alter the check which one has been choosen.
Astaran is offline   Reply With Quote
Old June 22nd, 2005, 03:11 PM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Since the strings are stored in the database, we never built a rewrite for them; but it's something we'll consider in an update.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 22nd, 2005, 03:20 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
Here's my quick implementation for it:

in useralbums.php line 179:

$sortdefault = ""; $soptions = "";
while ( list($sortid, $sortname, $sortc) = mysql_fetch_row($resultc) ) {
$optionName = "sort_order_" . $sortid;
if ($sortid == $sortorder) {
$sortdefault = "<option selected=\"selected\" value=\"$sortid\">{$Globals['pp_lang'][$optionName]}</option>";
$sortcode = "$sortc";
}
else {
$soptions .= "<option value =\"$sortid\">{$Globals['pp_lang'][$optionName]}</option>";
}

add to language files:

$Globals['pp_lang']['sort_order_1'] = "Most Active";
$Globals['pp_lang']['sort_order_2'] = "Latest";
$Globals['pp_lang']['sort_order_3'] = "Most Views";
$Globals['pp_lang']['sort_order_4'] = "Most Popular";
$Globals['pp_lang']['sort_order_5'] = "Random";
$Globals['pp_lang']['sort_order_6'] = "Least Popular";
$Globals['pp_lang']['sort_order_7'] = "Image Name";
$Globals['pp_lang']['sort_order_8'] = "Title";
Astaran 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort by options Mike Wilbanks Classifieds Suggestions 5 August 9th, 2005 10:17 AM
how do I edit title bar options (VB3 Int) phoenix Photopost Pro How Do I...? 1 March 13th, 2005 07:35 PM
Use Display Options to sort newest to oldest Hammerfel Bugs From 1.0.0 7 March 8th, 2005 06:22 AM


All times are GMT -5. The time now is 05:15 PM.

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