View Full Version : how to display number of views and comments
November 26th, 2007, 11:50 AM
I have image block contest on my front page http://www.thegioicacanh.com, it only allow to show username and album of photos. I would like to add two query one for number of views and one for number comments. Has Anyone know about this issue. Please help. Thank you for your kindness.
Please look at www.reeftalk.com you will know what I mean. thank you
November 26th, 2007, 01:04 PM
That is simply a vbportal blog to show the default Photopost inc_features.php file. I would think if your using the inc_features.php file from photopost yours has been modified not to include the normal stuff like number of photos and comments.
November 26th, 2007, 01:07 PM
but the code only number of total views and comments of all photo, not for each photo as in your website reeftalk.com
Could you please paste the query from your inc_feature.php here. Thanks
November 26th, 2007, 04:44 PM
You have completely lost me here my site is totally default Photopost code not modified in any way so I think your not looking at something right here. Feel free to modify your files in any manner you wish. My site displays the catname number of photos and comments which is what our default inc_features.php file released with the photopost distribution.
November 27th, 2007, 02:04 AM
How do I change the code below to tell the query to query only the total views and comments of each picture, instead total of views and comments of total photos and comments in system.
$cphotos photos<br />$cposts comments<br />
Please look at my site then you will understand www.thegioicacanh.com
November 27th, 2007, 09:48 AM
Feel free to discuss code modifications which do not fall under product support in THE MOD CORNER. Our company supports our code as it is written. Basically you would need to rewrite every query in that file and the variables and the html. Basically creating some custom block just for your needs and info you want.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.