![]() |
Random photos block at top of index page I couldn't find any previous post that answered my question on this. I want to put a block of 4 or 5 random photos at the top of my Photopost index page above the category list. At the moment it is a block of 2 near the bottom. I can't even remember how I got it there. Thanks Bob |
You would need to move your random photo block up on showgallery.php like so and make sure to remove the call lower in the file Code: Content visible to verified customers only. |
Am I moving all that code or only the code in bold? Also, where do I move it to if I want it above the category list. Bob |
I posted the code above where it would go ;) |
Quote:
Bob |
You need to turn on random features in Admin => Index Options Show Random images on Index page? |
Nope, that just put a block under the 'Recent Photos' and 'Most Popular Images', as well as the block of 2 'Random Images' under that. I want to leave the 'Recent Photos' and 'Most Popular Images' blocks where they are and put the 'Random Images' under the Welcome/Search box bar at the top. Bob |
The edit I provided which is above the category block shows fine on showgallery.php http://www.volvoclub.org.uk/photopos...ry.php?cat=510 Your talking about your index page do the same sort of edit to index.php |
If you read post #1 you will see I stated I wanted this on my index page. The code in put in post #2 is not in index.php Bob |
Exactly what I was looking for, random on top, recent on the bottom! Thanks http://www.sillyboymedia.com |
Quote:
I do not succedd with this. I moved the code in bold to the approriate place within showgallery.php, but nothing changes... Any ideas what i could have done wrong? This is my php file now, in bold the change: Code: Content visible to verified customers only. |
Hi I found the reason why it is not working. The changes have to be made in index.php. Look here: http://www.photopost.com/forum/showt...m+image+on+top Now it is working... |
At least you got up a highest rated images block on your PhotoPost. I have PP integrated into vB and have a random image bar on the index page but nobody can seem to tell me how to have a second horizontal bar above that that pulls from highest rated, which is odd, considering you have a version of it. |
Quote:
|
Sybaris, I currently have a "Random Photos" block. This is pulled from PhotoPost pro integrated into the index page on my vB. I have seen vB's where they have 2 horizontal image blocks. One is "Random Images" and the other one "Highest Rated" images. I see in the PhotoPost Pro admin panel a toggle to have a 2nd image bar, and this is checked yes, but it does not make it appear. I just one to have a "Highest Rated Images" or whatever it can be near the vB top and under that, a "Random Images" bar. The Highest Rated would have to be placed there as a result of members rating other members on individual photos as PhotoPost pro has the feature. Thanks! |
hi sybaris, Could you please show the codes that show rating and vote on image block? Thanks |
Quote:
Copy and pasted just as shown, and I am not seeing any results other than the most recent at top still. Random enabled, showing at the usual bottom location. here is the test site: http://skidpics.com/galleries |
Guess I should have read more. To display the random block on the main page, you have to edit the index.php instead..not the showgallery.php file.. |
Yep the thread initially was how to move the random block to the top on showgallery not index so if you want to do it to index you do pretty much the same just move the bold part up to where the latest display_gallery switch is. |
I figured that after reading a bit. Okay, got all the implemented. How can I fix the showgallery.php recent and random to show below the menu bar instead of acting like a header for showgallery. On the index page, the navigation bar (search,etc.) is above all the thumbs. In showgallery, the recent and random (as tweaked) go above this area.. http://skidpics.com/galleries (index) correct way http://skidpics.com/galleries/showgallery.php/cat/698 (category, incorrect way) |
| All times are GMT -5. The time now is 01:02 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0