View Full Version : "Highest Rated Images"?
February 25th, 2007, 11:26 PM
I currently have a "Random Images" photo bar with 4 photos going across my vBulletin front index page. How do I get 5?
Lastly, is I see there are sometimes 2 photobars stacked, one random images, the other newer images.
How do I generate a "Highest Rated" text and have it pull from photo that are rated the highest by members?
February 26th, 2007, 10:05 AM
To change the number of rows or photos on your forumhome photo block edit inc_features.php
// Number of photos to display
$num_display = 4;
// Number of columns (1 for vertical)
$columns = 4;
As far as on the gallery the photo blocks you by default have 3 different blocks they are latest random and most viewed. Thats the only option you have within the code. You can see highest rated block on the sidebar by turning on the highest rated block.
February 28th, 2007, 09:00 PM
Whaty if I want two horizontal bars of 5 photos, the top one would be highest rated or most viewed or whatever, the one underneath that would be random images?
February 28th, 2007, 09:34 PM
You would have to make another file and include it much like the other file but set the second one to the other type
March 7th, 2007, 01:51 AM
I am still trying to figure out how to make the 2nd horizontal images bar be the "highest rated" based upon how members select from 1-10 when they view images, and title itself "Highest Rated".
How does the software know which images are rated the highest or toggle it to pull images that are highest rated?
March 7th, 2007, 10:08 AM
You would have to create some modification for that or add some new case for that file. The mod we wrote to show on the forum shows 3 cases which you can set in that inc_features.php file itself. Latest, Most Views and Random.
You can discuss code modifications or search for code mods in THE MOD CORNER
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.