Log in

Pedro Prez

elgg developer / php / ajax and more

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 3
  • Updated: 2010-1-14
  • Downloads: 3008
  • Recommendations: 2

Releases


Previous releases:

Other Projects

View Pedro Prez's plugins

Photo Cumulus for Elgg 1.0

This plugins is based in the tag cumulus but shows the photos of the profiles instead of the tags.

Last updated 1744 days ago

Photo Cumulus


(Edit your project's description!)

Release Notes:

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:

A photo cumulus example

and a video too

http://www.screencast.com/users/pedroprez/folders/Jing/media/d382cdfb-4124-40cf-ba0b-09aa5af71256

the feedback is welcome.

Comments

  • twitface 1744 days ago

    What page does this show up on?

  • Pedro Prez 1744 days ago

    @twitface

    In all the pages that use owner_block

     

  • Dagorath 1744 days ago

    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.

     

  • Dagorath 1744 days ago

    *kicks tinymce for ruining his formatting*

  • Pedro Prez 1744 days ago

    @Dagorath

    owner_block/extend work for me on elgg base.

     

  • Dagorath 1744 days ago

    @Pedro Prez

    Didn't work for me. Albeit, I am using an SVN version.

  • Dagorath 1744 days ago

    Gah. Misread.

    ...yes, owner_block/extend would work. It's what I changed it to. :)

  • twitface 1744 days ago

    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?

  • Pedro Prez 1744 days ago

    @twitface

    You error is here

    http://supertwitface.com/mod/photo_cumulus/vendors/photowidget.swf

    Try change the swf file permission to 777.

    Cheers!

     

     

  • twitface 1744 days ago

    @pedro I changed the file permissions and still the same error

  • Pedro Prez 1744 days ago

    @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

  • twitface 1744 days ago

    I changed the permissions to 777, 775, and 744 and they all come up with either a 403 or 404 error message.

  • Dagorath 1744 days ago

    @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.

  • sam1 1744 days ago

    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

  • Dagorath 1743 days ago

    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:

    Screenshot

  • sam1 1743 days ago

    Still doesnt show i tried changing the line and installed flash player but no luck it shows as empty box.

  • michi 1743 days ago

    @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?

  • sam1 1743 days ago

    How come it is not working for me???

  • Ken Yeap 1740 days ago

    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');

  • elgg_noob 1740 days ago

    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

  • Pedro Prez 1740 days ago

    @elgg_noob

    Try copying the code inside example.php

  • elgg_noob 1740 days ago

    Pedro, thanks again for a really  C O O L  addon!

  • elgg_noob 1740 days ago

    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
        }
    ?>

  • elgg_noob 1740 days ago

    @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
        }
    ?>