WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] Front end uploading (14 posts)

  1. rage716
    Member
    Posted 2 years ago #

    I want to add an anonymous front end upload page....how would I go about doing this?

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Check table VI-B1,2 and 3

    Set the owner of the albums that are allowed to be uploaded to to --public-- (on the edit album info screen).

    Disable the following lines in wppa-functions.php by placing a double slash in front of the line: i show you the modified lines:

    lines 4103 and 4105: ( 4102 through 4106 )

    if ( !$wppa_opt['wppa_user_upload_on'] ) return;	// Feature not enabled
    //	if ( !is_user_logged_in() ) return;					// Must login
    	if ( $wppa['in_widget'] ) return;					// Not in a widget
    //	if ( !current_user_can('wppa_upload') ) return;		// No upload rights
    	if ( !wppa_have_access($alb) ) return;				// No album access

    lines 4168 and 4169: ( 4164 through 4169 ):

    if ($wppa['user_uploaded']) return;	// Already done
    	$wppa['user_uploaded'] = true;
    
    	if ( !$wppa_opt['wppa_user_upload_on'] ) return;	// Feature not enabled
    //	if ( !is_user_logged_in() ) return;					// Must login
    //	if ( !current_user_can('wppa_upload') ) return;		// No upload rights
  3. kepenner
    Member
    Posted 2 years ago #

    Great plugin. I'm using it for a heritage website which needs viewers to be able to update info on photos.

    One little problem. I cannot get wppa to upload photos properly. It just sits there. I can, however, easily upload photos to my media gallery via wordpress. But then I have to 'import' them into wppa - an unnecessary and annoying step (especially because wordpress makes about 5 copies of different sizes for each photo).

    I have been able to upload one small photo (single photo at a time method), but have yet never succeeded in uploading multiple photos. I would think it might be a server issue or a photo-size issue, however, I CAN upload the very same multiple photos into my media gallery. Any help would be appreciated.

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    @kepenner:

    What is in the yellow info box on the upload page? (limits: number of files, Mb's and time)

  5. kepenner
    Member
    Posted 2 years ago #

    "Notice: your server allows you to upload 20 files of maximum total 10M bytes and allows 60 seconds to complete. If your request exceeds these limitations, it will fail, probably without an errormessage. Additionally your hosting provider may have set other limitations on uploading files."

    All it does is show 'Connecting...' in Firefox, but nothing happens. Just tried upload 12 files (1.7 megs total), but it didn't work. I waited for 4 minutes and the little 'Connecting...' message in the tab is still showing.

    Finally gave up and went upload all of these files to my WordPress Media Library. I had no trouble, and all 12 files uploaded in less than 1 minute.

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Try ftp the files to your depot directory ( .../wp-content/wppa-depot/username/ ) (where username is your username).

    Then use Import Photos

  7. kossanah
    Member
    Posted 1 year ago #

    Hello opajaap,

    I like this plugin,
    I have created an album.
    Please how can I actually link for front end upload, what id the shortcode?

  8. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Check Table VII-B2 and maybe also B0, B1, B3.x that is up to you.

    You will see an upload photo link on any album cover or thumbnails display if you have the rights to do so.

  9. kossanah
    Member
    Posted 1 year ago #

    Thanks for your help. I got it fixed, it was my theme problem.
    I need more help. I want to have sharelink Facebook and Tweeter displayed on mouse over of the picture thumbnails.
    I have already achieved the css function. I have put in static image using. but I just need the function call the variable within the that will produce the link being shared.

  10. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    See wppa-functions.php near line 5930: function wppa_get_share_html()

  11. kossanah
    Member
    Posted 1 year ago #

    Thanks, I got it working, initially thought the function will include all unnecessary div too big for my thumbnail space. but after disabling the QR codes icon for facebook and twitter fits just fine.
    This is the temporary location of my exploit
    I implemented mansory

  12. kossanah
    Member
    Posted 1 year ago #

    Hello,
    I think a widget to upload photo is a great idea, please how can i make this function.

  13. kossanah
    Member
    Posted 1 year ago #

    Hello, How do I set up search result page. Adding the widget i get Warning. No page defined for search results!

  14. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    I think a widget to upload photo is a great idea, please how can i make this function.

    You can front-end upload from the album cover and from the thumbnail display. This eliminates the need to specify the target album.

    How do I set up search result page. Adding the widget i get Warning. No page defined for search results!

    Select a page in Table IX-C1 on the Photo Albums -> Settings admin page

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic