[Elgg 1.5-1.12 & 2.X: Tidypics] v1.6.5

Release Notes

The newest version of the Tidypics Photo Gallery.

For list of features, go to the Tidypics Group

Changes from 1.6.4

  • Bug fixes
  • Danish and French transaltions added (thanks Fx Nion and erikernstm)
  • Better plugin hooks for lightboxes and slideshows
  • Developers: Added container_guid parameter to tp_list_entities()

Not yet: photo ordering, flash uploader

Our tracker list is here: http://code.google.com/p/tidypics/issues/list  It includes bug reports and feature requests.

 

New Install

  1. FTP code
  2. enable plugin
  3. go to Tidypics Administration page
  4. save your settings

Upgrade - copy over files and refresh view cache (turn plugin off and then on)

 

Server Analysis - find off settings page. Some documentation in docs directory on how to use this

Want images on your front page? see tidypics/lib/tidypics.php

White screen - probably not enough memory allocated to PHP

Uploaded images giving up question marks - that's an issue with your image processing library (GD, ImageMagick, imagick extension) - check your server error log for more information

  • May I know how i can display the latest pics in the custom index page??

     

    Regards,

    Sandeep

  • @sandeep - I think the answer can be found here.

     

    Want images on your front page? see tidypics/lib/tidypics.php

  • @Trajan,

    I added the code in new_index.php file in the custom_index mod.but still,no widget appears in the front page....:(

  • I had to downgrade back for now. I was having the same problems with the index page, and also in the world page.

  • The front page code works fine on my test site. I forgot to mention that you need to clear your view cache. That is your likely issue, mcmasterp.

  • After installing the plug-in has stopped working properly language_selector.
    This applies to the index site before logging. After logging is all good.

  • This is my new_index.php file after adding the code.Please check it and let me know if i have done anything wrongly...

     

    <?php

        /**
         * Elgg custom profile
         * You can edit the layout of this page with your own layout and style. Whatever you put in the file
         * will replace the frontpage of your Elgg site.
         *
         * @package Elgg
         * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
         * @author Curverider Ltd
         * @copyright Curverider Ltd 2008
         * @link http://elgg.org/
         */
         
    ?>

    <div id="custom_index">

        <!-- left column content -->
        <div id="index_left">
            <!-- welcome message -->
            <div id="index_welcome">
                <?php
                    if (isloggedin()){
                        echo "<h2>" . elgg_echo("welcome") . " ";
                        echo $vars['user']->name;
                        echo "</h2>";
                    }
                ?>
                <?php
                    //include a view that plugins can extend
                    echo elgg_view("index/lefthandside");
                ?>
                <?php
                    //this displays some content when the user is logged out
                    if (!isloggedin()){
                        //display the login form
                        echo $vars['area1'];
                        echo "<div class=\"clearfloat\"></div>";
                    }
                ?>
            </div>
    <?php
        if(is_plugin_enabled('file')){
    ?>    
            <!-- display latest files -->
            <div class="index_box">
                <h2><?php echo elgg_echo("custom:files"); ?></h2>
                <?php
                    if (!empty($vars['area2'])) {
                        echo $vars['area2'];//this will display files
                    }else{
                        echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
                    }
                ?>
            </div>
    <?php
        }
       
        if(is_plugin_enabled('groups')){
    ?>
            <!-- display latest groups -->
            <div class="index_box">
                <h2><?php echo elgg_echo("custom:groups"); ?></h2>
            <?php
                    if (!empty($vars['area5'])) {
                        echo $vars['area5'];//this will display groups
                    }else{
                        echo "<p><?php echo elgg_echo('custom:nogroups'); ?>.</p>";
                    }
                ?>
            </div>
    <?php
        }
    ?>


        if (is_plugin_enabled('tidypics')) {
    ?>
        <!-- display latest photos -->
            <div class="index_box">
                <h2><a href="<?php echo $vars['url']; ?>pg/photos/world/"><?php echo elgg_echo("tidypics:mostrecent"); ?></a></h2>
                <div class="contentWrapper">
                <?php
                    echo tp_get_latest_photos(1);
                ?>
                </div>
            </div>
    <?php
        }
    ?>
        </div>
       
        <!-- right hand column -->
        <div id="index_right">
            <!-- more content -->
            <?php
                //include a view that plugins can extend
                echo elgg_view("index/righthandside");
            ?>
            <!-- latest members -->
            <div class="index_box">
                <h2><?php echo elgg_echo("custom:members"); ?></h2>
                <div class="contentWrapper">
                <?php
                    if(isset($vars['area3'])) {
                        //display member avatars
                        foreach($vars['area3'] as $members){
                            echo "<div class=\"index_members\">";
                            echo elgg_view("profile/icon",array('entity' => $members, 'size' => 'small'));
                            echo "</div>";
                        }
                    }
                ?>
                <div class="clearfloat"></div>
                </div>
            </div>
    <?php
        if(is_plugin_enabled('blog')){
    ?>
            <!-- latest blogs -->
            <div class="index_box">
                <h2><?php echo elgg_echo("custom:blogs"); ?></h2>
                <?php
                    if (isset($vars['area4']))
                        echo $vars['area4']; //display blog posts
                ?>
            </div>
    <?php
        }

        if(is_plugin_enabled('bookmarks')){
    ?>
            <!-- display latest bookmarks -->
            <div class="index_box">
                <h2><?php echo elgg_echo("custom:bookmarks"); ?></h2>
                <?php
                    if (isset($vars['area6']))
                        echo $vars['area6']; //display bookmarks
                ?>
            </div>
    <?php
        }
    ?>

        </div>
        <div class="clearfloat"></div>
    </div>

  • sandeep - that won't work because your <?php ?> tags do not match up. See http://www.w3schools.com/PHP/php_syntax.asp for help understanding basic php syntax.

    norbick, I cannot understand you.

  • Explain.
    I have a multilingual site (plug language_selector).
    Tidypics after you upgrade to version 1.6.5. home page ceased to be translated.
    Is only English.

  • getting a lot of errros showing in my handler log. All the same

    17-Oct-2009 04:02:42] WARNING: Action tidypics/icon was called without an action token. It is stongly recommended that you consider doing this. Plugin authors should use 'input/form' or pass is_action=true to 'output/confirmlink' or 'output/url'.

  • Wonderful update! Definitely waiting for the flash uploader. Might want to look at how Uploadify does it... http://www.uploadify.com.

  • NDD - there is no action tidypics in Tidypics. Perhaps you are using some other plugin that defines that action?

  • @Tidypics Team. Appears to be related to vazco_mainpage. Thanks

  • Previously you fixed a bug to enable group members to create albums. I was wanting to know how to reverse this to only allow group owners to create albums. Check out http://community.elgg.org/mod/groups/topicposts.php?topic=355239&group_guid=2559. Thanks!

  • @ Austin - check in start.php. There is a function in there that handles the override permissions for group albums. It checks if someone belongs to the group. Just change that to check if the logged in user is the group owner (if the variable is $group, the owner id is available with $group->owner_guid)

  • I have an layout problem when looking at all albums. For some reason it breaks the layout and I don't get four columns and rows, instead it puts in "blanks" and gives me 5 or 6 rows.

    Try look at this screenshot: http://zurf.dk/album.jpg

    I see this on 90% of all album pages, and it's not the same place it breaks the layout on each page.

    I have tried disabling my theme, reordering the plugins, disabling/enabling chache.

    Please help

  • sorry - cannot help based on a screenshot - would need access to the actual page

  • @Tidypics Team

    Thanks for the quick reply, but I really can't let you in there - it's a closed adult network.

    I'll make a fresh installation of Elgg and see if it's the same problem - if it is I'll get back to you.

    Thanks

  • Is there anyway to feature only specific pictures to the public world gallery? I want only the ones administrators add to show up under photos/world/. Is this filtering possible?

  • Yes Jesse has the right idea!!  I need a public accessible "favorites" gallery widget with threaded comments off to the side of each larger pic. The profilers or the admin should be able to favorite these pics. I was hoping a two column wide widget with small threaded comments on the right side of each pic. The public could simply give a name (first last) and/or email address (blind to public, but visible to the profile) without even having to register. This should be a main widget under the profile two columns wide, very important for business appications where photos are the name of the game. It could I suppose just be the "photo album" where the main photo is the primary with comments to the side.

  • @jesse - you would have to write a plugin that extended one of the tidypics views to provide a button for administrators to "favorite" photos. The favorite votes could be metadata or an annotation on the photo object. That part would not be very difficult. You could then create a page that showed the latest photos that had the "favorite" metadata. Again not difficult. Good luck.

  • @tahoebilly - adding the voting ability is not difficult (as described above). Threaded comments would take a lot more effort. Accepting comments from non-logged in users is also possible - you could even create an ElggUser object based on their email address but with a subtype that indicates that it isn't a real user yet or maybe an ElggObject. Widgets are really easy to write. Good luck. 

Stats

  • Category: Photos and Images
  • License: GNU General Public License (GPL) version 2
  • Updated: 2018-9-16
  • Downloads: 132378
  • Recommendations: 245

Other Projects

View iionly's plugins