• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[XFR] User Albums

Status
Not open for further replies.
@Coder

there's 1 "bug" where you should check for errors.
I got this error, because you don't check if $images is a object:
Fatal error: Call to a member function setConstraints() on a non-object in C:\xampp\htdocs\xenforo\library\XfRu\UserAlbums\ControllerPublic\Images.php on line 142

XfRu_UserAlbums_ControllerPublic_Images
This part
Code:
    $image = XenForo_Upload::getUploadedFile('upload');

        $image->setConstraints($imageConstraints);
should be:
Code:
    $image = XenForo_Upload::getUploadedFile('upload');
if (!$file)
        {
           // show error
        }
        $image->setConstraints($imageConstraints);
 
My chrome won't work.

Mind you this worked very well up until xenforo 1.0.4 and then this happened. we had over 500 pictures already between users and the reinstall killed them all.
OK, now my chrome crashed too:D
The second image upload stays on 100% and then it crashes...
 
next suggestion for template xfr_useralbum_search_result

add the album image count ( variable {$album.image_count} )to the albumbit
 

Attachments

  • gallery.webp
    gallery.webp
    12.7 KB · Views: 25
next suggestion for template xfr_useralbum_search_result

add the album image count ( variable {$album.image_count} )to the albumbit

you might want to code the whole thing on your own and release your own package (user-album and photo-contest) ?
 
you might want to code the whole thing on your own and release your own package (user-album and photo-contest) ?
no, mine is only a photo contest which is based on this (using the photo upload etc....
 
i suggest the title of the image must also reflect in the url for seo purposes.
also i suggest to have option for watermarking
 
Status
Not open for further replies.
Top Bottom