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
http://www.screencast.com/users/pedroprez/folders/Jing/media/d382cdfb-4124-40cf-ba0b-09aa5af71256
the feedback is welcome.
View Pedro Prez's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
What page does this show up on?
@twitface
In all the pages that use owner_block
Actually, by default, it shows up nowhere.
In start.php line 35 ought to read
extend_view('owner_block/extend','photo_cumulus/view');
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.
*kicks tinymce for ruining his formatting*
@Dagorath
owner_block/extend work for me on elgg base.
@Pedro Prez
Didn't work for me. Albeit, I am using an SVN version.
Gah. Misread.
...yes, owner_block/extend would work. It's what I changed it to. :)
Now on all the pages it says it needs Flash Player 9 or better...is there any way to integrate that into the plugin so people without Flash 9 can view the widget?
@twitface
You error is here
http://supertwitface.com/mod/photo_cumulus/vendors/photowidget.swf
Try change the swf file permission to 777.
Cheers!
@pedro I changed the file permissions and still the same error
@twitface
I get 404 error still when i try view this file
http://supertwitface.com/mod/photo_cumulus/vendors/photowidget.swf
If you change the persmisson you would see the swf file.
Try again
I changed the permissions to 777, 775, and 744 and they all come up with either a 403 or 404 error message.
@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.
I installed this but i cant see a widget nor can i see any thing in profile or main page. Dagorath can you please give us step by step tutorial of how to do it
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
extend_view('page_elements/owner_block','photo_cumulus/owner_block');
in start.php, and that the other had a different line doing the same job, I modified the above line to read
extend_view('owner_block/extend','photo_cumulus/view');
...and after that it showed up fine. Here's a screenshot:
Still doesnt show i tried changing the line and installed flash player but no luck it shows as empty box.
@Dagorath
thanx, now it works for me too.
But i don`t like to see it on every page.
How can i get it only to the homepage?
How come it is not working for me???
Yes, remember to change the start.php or it will not works! Thanks to Dagorath .
extend_view('page_elements/owner_block','photo_cumulus/owner_block');
to
extend_view('owner_block/extend','photo_cumulus/view');
How can I put this on custom-index page? Like the tag cumulus?
I tried same code and renaming tag to photo... but that didn't work :-(
TIA
@elgg_noob
Try copying the code inside example.php
Pedro, thanks again for a really C O O L addon!
Right, and where do I put it ?
I tried the following but it broke my site :-)
<?php
if(is_plugin_enabled('photo_cumulus')){
?>
<!-- display cumulus tags -->
<div class="index_box">
<h2>Photo Cumulus</h2>
<div class="contentWrapper")
<?php
echo '<div id="photo_cumulus_container">';
echo display_photo_cumulus(0,50,'tags','object','','','') . '</div>';
?>
</div>
<?php
}
?>
@Pedro Prez
Ok, I got it! followed your example.php here is the code I used to put it on my custom-index page.
<?php
if(is_plugin_enabled('photo_cumulus')){
?>
<!-- display cumulus photos -->
<div class="index_box">
<h2>Photo Cumulus</h2>
<div class="contentWrapper")
<?php
echo elgg_view('photo_cumulus/view', array('width' => '200', 'height' => '200', '', 'usernumber' => '10', 'background_transparent' => 'yes'));
?>
</div>
<?php
}
?>
@elgg_noob
great!!