SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started by: unoit on July 09, 2011, 01:23:46 AM
-
Hi guys, i have just started a car forum, any how im after a code or block that will allow my members to post photo's of car events they attend & photos of there cars.
but its not really working the way i want it to.
what i need is.
say a members post 10 photos 800 x 600 in the forum. I then want 1 of those photo's from the forum to appear in the portal as thumbnail photo.
thanks Brett
-
Maybe you can use this mod:
http://custom.simplemachines.org/mods/index.php?mod=977 (http://custom.simplemachines.org/mods/index.php?mod=977)
And then add a block in the Portal to show the images posted ;)
-
Thanks again Blue.
Do you know where i can find some step by step tutorial on how use aeva media?
i have played around with aeva media for hours & cant work it out :angry-yell:
anyone help. Brett
-
hope this is ok to post this site, if not just delete it.
this is what i want to do with my site or something simular.
http://www.boostcruising.com/
click on a thumbnail photo which then takes you to the forum where full size photos are displayed.
thanks Brett
-
Unoit,
You can already do that with SimplePortal (i think it's the recently attached block)
-
This code I use on the portal itself.
global $sourcedir;
require_once($sourcedir . '/Aeva-Subs.php');
echo '<h2>Random Images</h2>';
echo aeva_listItems(aeva_getMediaItems(0, 12, 'RAND()'), false, '', 3);
I can't remember whos code it is originally tho.
-
This code I use on the portal itself.
global $sourcedir;
require_once($sourcedir . '/Aeva-Subs.php');
echo '<h2>Random Images</h2>';
echo aeva_listItems(aeva_getMediaItems(0, 12, 'RAND()'), false, '', 3);
I can't remember whos code it is originally tho.
It probably came from this topic (http://simpleportal.net/index.php?topic=4198.msg26963#msg26963).
-
Yep thats the one.