SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: unoit on July 09, 2011, 01:23:46 AM

Title: a block 4 photos
Post 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
Title: Re: a block 4 photos
Post by: Blue on July 09, 2011, 09:42:19 AM
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 ;)
Title: Re: a block 4 photos
Post by: unoit on July 09, 2011, 06:14:15 PM
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




Title: Re: a block 4 photos
Post by: unoit on July 10, 2011, 12:01:43 AM
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
Title: Re: a block 4 photos
Post by: madman71 on September 16, 2011, 05:41:52 PM
Unoit,

You can already do that with SimplePortal (i think it's the recently attached block)
Title: Re: a block 4 photos
Post by: Old Fossil on September 16, 2011, 07:54:34 PM
This code I use on the portal itself.

Code: [Select]
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.

Title: Re: a block 4 photos
Post by: ccbtimewiz on September 16, 2011, 09:14:09 PM
This code I use on the portal itself.

Code: [Select]
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).
Title: Re: a block 4 photos
Post by: Old Fossil on September 16, 2011, 09:34:55 PM
Yep thats the one.
SimplePortal 2.3.8 © 2008-2024, SimplePortal