would you pls tell me the variable name for the "Most popular" photos, for example :
$q_switch = "?"; ? = what should be instead?
In which file are you referring to?
most_views would be the case
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.
sorry Michael, didnt see your post.
is most_views same as popular( this with more ratings)?
What code are you referring to? This looks like a mod you are working on and not the actual PhotoPost product.
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.
most_views dose not work
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.
okay omegatron I will, thanks alot:).
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.
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.
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.
|All times are GMT -5. The time now is 02:21 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0