View Pedro Prez's plugins
(Edit your project's description!)
If you like this plugin buy me a beer ;)
This plugins is based in the tag cumulus but shows the photos of the profiles instead of the tags.
In the setting you can define the colour, width, height, size, and quantity of photos you want to show.
When you click in one of the photos it forwards to that person's profile.
There is an example where you can see it.
Here some screemshots:
and a video too
the feedback is welcome.
Actually, by default, it shows up nowhere.
In start.php line 35 ought to read
and not extend_view('page_elements/owner_block','photo_cumulus/owner_block');
or at least this is what I had to alter it to to get it to work.
You error is here
Try change the swf file permission to 777.
I get 404 error still when i try view this file
If you change the persmisson you would see the swf file.
@twitface & @pedro
I don't think this is a permissions error. I get the same forbidden error, but it works on my site. Further, the permissions on the /mod/photo_cumulus dir do not allow external access either. If you check, you'll see that that dir isn't accessible directly. Nor is the vendors dir. I'd suggest that permissions would need changing on the directory structure -as well as- the files, but this is working fine on my site with no alterations so I doubt that that is it.
twitface, you have to have Flash Player 9 (or better) installed as a plugin for your browser for the carousel to be visible, as it is a Flash object.
As stated before...
All I did was upload the plugin to the /mod folder, then when it didn't show up I took a peek at another plugin which also appears in the owner_block. Noting that this plugin had the line
in start.php, and that the other had a different line doing the same job, I modified the above line to read
...and after that it showed up fine. Here's a screenshot:
Right, and where do I put it ?
I tried the following but it broke my site :-)
<!-- display cumulus tags -->
echo '<div id="photo_cumulus_container">';
echo display_photo_cumulus(0,50,'tags','object','','','') . '</div>';
Ok, I got it! followed your example.php here is the code I used to put it on my custom-index page.
<!-- display cumulus photos -->
echo elgg_view('photo_cumulus/view', array('width' => '200', 'height' => '200', '', 'usernumber' => '10', 'background_transparent' => 'yes'));