• jeanclaude91

    (@jeanclaude91)


    Hello
    I discovered by chance that when using the shortcode [wppa type=”content” album=”x”], it’s possible to display the Upload window: the command line appears in the bottom right corner of the window, partially hidden by the photo thumbnails.
    This doesn’t seem right to me. Is it a bug?

    Thanks

    J-C

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If you enabled frontend uploading and the current user has the rights to upload to the particular album, there is an ‘Upload photo’ link on the thumbnail area; normally on the left bottom corner of the thumbnail area.

    See screenshot:
    https://wppa.nl/wp-content/uploads/wppa-source/album-99/Upload-link.jpg?ver=697

    Thread Starter jeanclaude91

    (@jeanclaude91)

    OK, thank you

    Thread Starter jeanclaude91

    (@jeanclaude91)

    Hello,
    I’m revisiting this topic.
    I’m using WPPA+ for a photo club website, as I mentioned before, and I have, among other things, a page dedicated to members uploading their photos. The procedure is very clear and straightforward.
    However, I’m concerned that the ability to upload photos from another page might be confusing and lead to misunderstandings among users. (They aren’t all very comfortable with the technical aspects…) Therefore, would it be possible to disable this upload option with the code “[wppa type=”content” album=”x”]” to avoid any issues?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, Do the following:

    Go to Photo Albums -> Settings page, Tab Advanced settings -> Misc.
    Tick the box in item 3: Enable in-line settings.

    Now change your page content as follows:

    Change
    [wppa type="content" album="x"]

    into:

    [wppa_set name="wppa_user_upload_on" value="0"]
    [wppa type="content" album="x"]
    [wppa_set]
    Thread Starter jeanclaude91

    (@jeanclaude91)

    I did what you asked:
    – installed the new version
    – completed the new item 5.1
    – checked the box in item 3: Enable in-line settings.
    – copied the new code onto the page
    but sorry, it doesn’t change anything: it’s still possible to upload.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    What did you do with item 5.1? its not for your purpose

    Did you clear all caches?

    This will also work in thge current stable release version https://downloads.wordpress.org/plugin/wp-photo-album-plus.9.2.10.004.zip

    Thread Starter jeanclaude91

    (@jeanclaude91)

    HI,
    Regarding item 5.1, that was my mistake; I confused an email with my problem. Sorry.
    Otherwise, I’ve tried replacing “content…” with the new code, ticked the box of items 3 and cleared the caches, and it hasn’t changed anything.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Are you sure you added the [wppa_set shortcodes around the content shortcode exactly as indicated?
    And did you clear all caches??

    Thread Starter jeanclaude91

    (@jeanclaude91)

    Yes, I copied your code and pasted it onto the relevant page, replacing the original code.
    And the caches are cleared (LiteSpeed Cache).

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Photo albums -> Basic settings -> Thumbnails -> II -> Item 19: Upload/create link on thumbnail area
    Set it to None

    Thread Starter jeanclaude91

    (@jeanclaude91)

    I did that, but it still doesn’t work.
    I tried with the “content…” code alone and with the three lines you gave me.
    I noticed that the item 19, set to none, automatically reverts to “bottom,” especially if I clear the cache.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    That looks a bug. I will get into it
    If you re-enter that settings page, is it reverted to bottom? Dis it show a green checkmark?

    Thread Starter jeanclaude91

    (@jeanclaude91)

    I found something interesting.
    I set item 19 to none.
    On the page, I left the shortcode with “…content…” only and the three lines you gave me together.
    I obviously get two different image displays:
    the first (just “…content…”) still has the same problem;
    the second no longer has the upload command, and item 19 remains set to none.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You should no longer need the [wppa_set shortcodes

    Thread Starter jeanclaude91

    (@jeanclaude91)

    OK, the problem is solved.
    On the page, I only kept
    [wppa_set name=”wppa_user_upload_on” value=”0″]
    and
    [wppa type=”content” album=”x”]
    and the item 19 is now None.

    Thank you very much

Viewing 15 replies - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.