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

Release Notes

Supports 1.5.x-1.7.x

Fixed a bug with resizing images. Added some markup and css to improve photo album layout. Improved the admin settings page layout.

Install/upgrade like any other plugin. If you haven't upgraded since Tidypics 1.5.x, an upgrade button will appear on your Tidypics admin page.

  • @Simon, when you click the save button on the settings page, it goes against Elgg's action system. Every action in Elgg is routed to /engine/handlers/action_handler.php. From there it includes the script that saves the data. You could put an error_log() call in the action handler to make sure that is being called.

    You could also use a tool like live HTTP headers for Firefox to view the requests when you submit that page. When an action is done or fails, it sends a 301 response to the browser for the next page. If that is happening, it means the action script is running but it must be failing part way. 

  • I had traced the action back to the /engine/handlers/action_handler.php from my .htaccess file, but couldn't work out what happened from there. I'll look into the live http headers for Firefox and see what I can find out. It ends up on action/tidypics/settings at the moment and says I'm not authorised, but I expected it to return to mod/tidypics/pages/admin.php.

  • Good stuff, Simon. From the action handler it calls the function action() which lives in /engine/lib/actions.php. That function verifies you have permissions to the action (which you should as admin) and then does an include of the settings.php script in Tidypics action directory. If you throw an error_log() statement in each of those three places, you will find out where this is breaking down.

    You could also try renaming settings.php in Tidypics action directory to something else and then change the register_action() call in Tidypic's start.php to reflect that change. Just to see if using the name settings.php is causing problems.

  • Same ? error here too...

    Enabled error log on my Apache and now it seems to be working fine...

  • OK - checking logs...

    The icon that shows up for preview after file upload is still a "Question Mark" so looking at logs...

    Found a lot of the following:

     "file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: SAFE MODE Restriction in effect.  The script whose uid/gid is 166111/166111 is not allowed to access /protected/elgg-data/2010/05/26/2/image/49/smallthumbspongebob-wide.jpg owned by uid/gid 25000/25000"


    due to SAFE_MODE being turned on, I cannot upload pics correctly - my web server only allows writes to disk if the .php script and directory both belong to the same group - so I ran a "chgrp" command to change group of the newly downloaded tidyPics directory to the same group

    Problem solved!

    thanks for the great plugin Cash and team!

  • sami, you could be onto something there. My data directory has a different owner/group. Can't seem to change it though. In fact, I can't do anything to the contents.

  • Owner/group now changed but still no joy. Cannot saved settings on some other plugins too though, so probably problem with elgg not tidypics. Will look elsewhere.

  • Sure, there is a problem for install Tidypics with Clean 1.7.1 Elgg. I have no plugin install and I have this error:

    tidypics is a misconfigured plugin. It has been disabled. Please see the Elgg wiki for possible causes.

  • Sounds like you uploaded the wrong folder. When you extract the contents of the zipped folder, the directory that you need to upload is inside the directory that is created. I did this by accident a couple of times. If you open the newly created tidypics 1.6.8 folder, you will find another directory called tidypics. That is the one to upload. If you already knew this then I apologise.

  • Sure I have sent correct folder in clean install of ELGG 1.7.1

    My tidipics folder is correct and I have sent it on mod folder

    I have desactivate all plugin and enable only tidypics but same problem: "tidypics is a misconfigured plugin. It has been disabled. Please see the Elgg wiki for possible causes."

    is there a problem with mod_rewrite ?

  • @Caledo,

    do a directory listing of your elgg.1.7.1 server's tidypics contents - preferably an ls -l

    and post the here...

  • Don't understand Dhruva sorry. Can you explain with simple word :-) I 'm french and I have regret :-)

  • @caledosphere - when Elgg tells you to check the wiki for information, you really should check the wiki

  • @caledosphere: What's in your mod/tidypics directory on the server? If you see only yet another tidypics subdirectory that's the reason for the error message, because the content of this subdirectory should be in mod/tidypics instead. Move this content to mod/tidypics or upload this subdirectory again in your mod folder.

  • my tidypics folder is correct sure...

  • Is there a way to do a bulk upload. I have over 700 pics i would like to upload into one album. This is on a 1.61 install will the latest version of tidypics

  • Yep !
    Can Do
    Will require custom code
    Send Email for details

  • Switching off PHP safe mode did it for me. Took me a while, but I got there.

  • I currently have two hosting packages, one is a VPS with limited the resources and the other is shared hosting with unlimited resources. I would like to install Elgg on my VPS, but have Tidypics upload images to my shared hosting.

    Any suggestions on how to achieve this?

  • 1. log in.
    2. create/add album
    3. tag people using the tag function
    4. go back to dashboard, activity widget doesn't show this tagging behavior.

    but tools -> activity wil show it.

    Also, Crop Tool is not working in IE7.

  • Hello. When I added image to album, in the river activity I have this label:

    Jasmine Oldman Bloomingsdale added the photo 110175363-24da8d187046ccdb40c31f820a030e90.4c07e698-scaled to album events.

    How can I disable this too long description of file? i want something clear like in your old versions:

    Jasmine Oldman Bloomingsdale added the photo unititled to album events.

  • @chambo67 - the current Tidypics does not support bulk uploads

    @Dog's Milk - no. That would require significant development.

    @Viral - Thanks for the report. Tidypics does not have a crop tool, by the way.

    @David - find this code in the edit multi action:


    //set title appropriately
    if ($title_array[$key])
        $image->title = $title_array[$key];
         $image->title = substr($image->originalfilename, 0, strrpos($image->originalfilename, '.'));

    Instead of grabbing the title from the original filename if not set, set it to untitled.

  • TidyPics - but i am not able to see tagging update in Activity widget. Please guide me in that.

  • Hello,
    thanks for your big plugin :-)

    What do you think about
    1. Finished Rate Plugin "Ellgfivestars" in all images views (mainpage and so on)?

    2. A Fix for latest photos on mainpage, that the photos rotating or shuffle?
    Thanks for your answer!

    Regards Lars


  • Category: Photos and Images
  • License: GNU General Public License (GPL) version 2
  • Updated: 2022-10-10
  • Downloads: 145197
  • Recommendations: 231

Other Projects

View iionly's plugins