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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 27th, 2004, 09:58 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
Most popular

would you pls tell me the variable name for the "Most popular" photos, for example :

$q_switch = "?"; ? = what should be instead?

thank you
fatma is offline  
Old July 27th, 2004, 10:22 AM   #2 (permalink)
donb
Guest
 
Posts: n/a
eh?

In which file are you referring to?
 
Old July 27th, 2004, 10:33 AM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
most_views would be the case
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline  
Old July 27th, 2004, 10:38 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93


I have this code withen php file to display a photo in the home page:

//Display Setting (Changes to fit your page)
$q_switch = "popular"; // "random" or "most_views" or "latest"
$limit = 1; //number of image to show
$table_width = "100%"; //width of the table generated
$column = 1; //number of columns of the table generated
$photo_cell_align = "center"; //alignment of those cells

---------

and as you see the variable $q_switch takes different values, I want to know the proper value for the popular photo.
fatma is offline  
Old July 27th, 2004, 10:41 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
sorry Michael, didnt see your post.

is most_views same as popular( this with more ratings)?

thank you
fatma is offline  
Old July 27th, 2004, 11:00 AM   #6 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
What code are you referring to? This looks like a mod you are working on and not the actual PhotoPost product.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline  
Old July 27th, 2004, 11:04 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
im not asking to modify this code, I just want to know what the "most popular" value should I put for this variable $q_switch.

thank you
fatma is offline  
Old July 27th, 2004, 11:30 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
most_views dose not work

thank you
fatma is offline  
Old July 27th, 2004, 11:50 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
What Michael is saying is your working with a modification and not Photopost code

Your best bet would be to post on Photopostdev.com in the thread where you obtained this modification.

The $q_switch in our program most definately works with most_views and latest and everything is defined in the switch for that variable.

So you are indeed asking about a modification since your either using a hack or designing one yourself.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old July 27th, 2004, 12:01 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
okay omegatron I will, thanks alot.
fatma is offline  
Old July 27th, 2004, 12:07 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yeah if you developing a custom thumbnail include make sure you post your code their as well. Most likely your not defining the most_views case.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old July 27th, 2004, 03:34 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 93
well omegatron, I got the code from their, but didn't work for "popular" case. so I told myself maybe its better if I post here and get the correct value for Most popular case.

most_views case shows the most view photo, not the most popular, the rating is different.

thank you
fatma is offline  
Old July 27th, 2004, 04:14 PM   #13 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
That is how we judge most popular in that case (most_views); if you want to do it differently, you'd need to modify your code and that's not covered here.

You want "Highest Rated" which isn't an option in the features previews.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline  
Closed Thread


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
Most Popular Images anthroa Photopost Pro How Do I...? 29 November 10th, 2005 04:52 AM
Change # of most popular, recent, etc? SoCalrailFan Photopost Pro How Do I...? 5 November 8th, 2005 07:39 PM
popular images sifuhall vBGallery Suggestions 0 May 17th, 2005 09:47 AM
Most Popular Products PAL Tom1234 ReviewPost Installation & Upgrades 3 July 23rd, 2004 10:39 AM


All times are GMT -5. The time now is 04:57 AM.

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