![]() |
Random medium sized image on vbadvanced index page.
This hack will put a block on your vbadvanced index page with a medium sized random image.
All the instructions to install this are included in the zip file so there is no need for me to go through them again here, I use a size of 400 for my medium images on my site and this hack reflects that, If yours are significantly larger then the image that gets shown will not be very good you will need to adjust the overlay image size to suit. The overlay image is one i have made myself so i give you permission to use it and do what you want with it :). For a demo go Here or see the attached image. If you like this and use it please click install. I will try to help with any problems you may have but I do have a life lol and it is near crimbo. I really do hope you enjoy this hack I get a lot of satisfaction from people using my stuff :) Thanks phill |
Installed* Will come in use on my board!
|
Nice hack!!!
Can I display most viewed or most rated photo? |
Quote:
|
So great!!! Thanks. Installed.
|
Is there any way to have this link to their profile?
|
To whos profile the image owner? But yea shouldnt be a problem.
To get it to link to the persons profle you need to edit medium_random.php find Code:
select bigimage,cat,id,title,user,description,medwidth,medheight Code:
select bigimage,cat,id,title,user,description,medwidth,medheight,userid then find Code:
$bigimage,$cat,$id,$title,$user,$description,$medwidth,$medheight Code:
$bigimage,$cat,$id,$title,$user,$description,$medwidth,$medheight,$userid Then find Code:
<strong>$user</strong> Code:
<strong><a href="http://www.yoursite.com/member.php?u=$userid">$user</a></strong> You may need to alter the url structure to replicate yours (if you have your vbulletin in a subfolder for instance) But this will do what you want. |
Works great. thank you. One question it seems that the larger size photos will not show they show up for a second and then disappear ??? any ideas how to fix this
Quote:
|
I assume this only works with Photopost? (you should mentoin that in the summary ;))
|
Thanks for this great mod clicked installed :) but when I enable the module I get following error:
Quote:
|
All times are GMT. The time now is 07:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|