BuddyDev

Search

Need to know how to filter galleries

  • Participant
    Level: Initiated
    Posts: 1
    jobangle on #1008

    First off all, awesome plugin that you created Brajesh. I’m a rtmedia pro turned mediapress now. I’m trying to figure out how I can filter custom “categories” for the sitewide galleries/portfolio page.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #1009

    Hi @jose2241,
    Welcome to the BuddyDev forum and Thank you for using MediaPress.

    I need one clarification before providing details. Are you using sitewide gallery( It is not documented, so I was not sure if anyone was using it. Using it is perfectly fine though)

    By portfolio galleries, do you mean user galleries on their profile? There are shortcodes available for the filtering as well as if you are a theme developer, you can also use simple Gallery loop( Just like post loop) and do it.

    Please le me know and I will be happy to help.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    jobangle on #1015

    Brajesh,

    Thanks for your quick reply and sorry for not providing enough detail.

    >> I need one clarification before providing details. Are you using sitewide gallery( It is not documented, so I was not sure if anyone was using it. Using it is perfectly fine though)

    Sitewide gallery, meaning a third party plugin or buddypress/mediapress setting?

    By portfolio galleries, do you mean user galleries on their profile?

    Yes, galleries on their profile. But I would like people that are visiting my site to be able to sort galleries by a custom category or tag. The registered users should be able to upload images in that specific category (kind of like an album or “gallery” but it is a fixed value and cannot be edited)

    Say for instance, I have an artwork site… registered users will pick what artwork they are uploading for the community…

    -Watercolor
    –Nature
    –People
    -Digital Artwork
    –Nature
    –etc

    Then the visiting customer would be able to filter results of uploaded artwork on the frontend.

    >> There are shortcodes available for the filtering as well as if you are a theme developer, you can also use simple Gallery loop( Just like post loop) and do it.

    Can you suggest a plugin? Also, I know RTmedia has a sortby “popular” “newest” “most views”. Are you going to implement this or have a plugin suggestion?

    One more thing–AJAX is not working when I click on galleries. I believe everybody is having this issue… below is my debug info

    // Generated by the MediaPress Debug tool //

    Multisite: No

    WordPress Version: 4.3.1
    Permalink Structure: /%postname%/

    Active Theme: Kleo Child 3.0.7

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, closed, spam, orphan, hidden

    // Browser Details //
    Browser Name: Chrome
    Browser Version: 46.0.2490.71
    Browser User Agent String: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36
    Platform: Windows
    // End Browser Section //

    PHP Version: 5.4.43
    MySQL Version: 5.5.42-37.1-log
    Web Server Info: Apache

    WordPress Memory Limit: 96M
    PHP Safe Mode: No
    PHP Memory Limit: 256M
    PHP Upload Max Size: 50M
    PHP Post Max Size: 50M
    PHP Upload Max Filesize: 50M
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled
    SCRIPT_DEBUG: Disabled

    // Table Prefix //
    Table Prefix: wp_eyvg_

    Show On Front: page
    Page On Front: Home Default backup (#816)
    Page For Posts: Blog (#24)

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: On

    DISPLAY ERRORS: N/A
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.

    ACTIVE PLUGINS:

    4k Icons Font Pack (1/5): 1.0
    4k Icons Font Pack (2/5): 1.0
    4k Icons Font Pack (3/5): 1.0
    4k Icons Font Pack (4/5): 1.0
    4k Icons for Visual Composer: 2.9
    Akismet: 3.1.4
    Auto Terms of Service and Privacy Policy: 1.7
    bbPress: 2.5.8
    BP Force Profile Photo: 1.0
    BP Profile Search: 4.3.1
    BuddyPress: 2.3.4
    BuddyPress Cover Photo: 1.1.4
    K Elements: 3.0.7
    Login With Ajax: 3.1.5
    Media Categories: 1.5
    MediaPress: 1.0 Beta 1
    Revolution Slider: 5.0.4.1
    WPBakery Visual Composer: 4.6.2

    // MediaPress Settings //

    active_components: sitewide,members,groups
    default_status: public
    active_statuses: public,private,loggedin,friendsonly
    active_types: photo,video,audio
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
    mpp_upload_space: 500
    mpp_upload_space_groups: 50
    show_upload_quota: 0
    default_storage: local
    enable_gallery_archive: 1
    gallery_archive_slug: portfolio
    gallery_permalink_slug: portfolio
    sitewide_active_types: photo,video,audio
    sitewide_photo_gallery_default_view: list
    sitewide_video_gallery_default_view: default
    sitewide_audio_gallery_default_view: default
    has_gallery_directory: 1
    has_media_directory: 1
    activity_upload: 1
    autopublish_activities: add_media
    activity_photo_default_view: default
    activity_video_default_view: default
    activity_audio_default_view: default
    show_orphaned_media: 0
    delete_orphaned_media: 1
    members_active_types: photo,video,audio
    members_photo_gallery_default_view: default
    members_video_gallery_default_view: default
    members_audio_gallery_default_view: default
    groups_active_types: photo,video,audio
    groups_photo_gallery_default_view: default
    groups_video_gallery_default_view: default
    groups_audio_gallery_default_view: default
    enable_group_galleries_default: yes
    contributors_can_edit: 1
    contributors_can_delete: 1
    galleries_per_page: 20
    media_per_page: 20
    media_columns: 4
    gallery_columns: 4
    enable_audio_playlist: 1
    enable_video_playlist: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 1
    enable_activity_lightbox: 1

    // End of MediaPress Settings //

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #1023

    Hi,
    My apologies for the delayed reply. I have been thinking about your requirements a lot today.

    1. MediaPress currently allows 3 types of gallery.
    – User Galleries
    – Groups Galleries
    – Sitewide Galleries

    Sitewide galleries are not visible on User’s BuddyPress profile at the moment. It is like normal WordPress gallery with one twist that It can be created/managed from front end/backend both.

    2. What I understand is you want to create a Few categories and then allow users to Create Galleries and choose those categories? After that galleries/media can be sorted/filtered by these categories. It is possible to do with MediaPress but I will need to write some code to test custom categories. We haven’t tested this yet. Will these categories be available for all 3 type of galleries or just user galleries? Also, will a user be able to choose more than one category for a gallery?

    3. About the gallery media filtering, we are have definitely thought about it and it will com in future. We are not sure what counts as popularity( comment count, views or what criteria)? Before making something like this, we will need to release the View counter plugin(already of github, needs a finishing touch and release). This will be a small addon and we certainly look forward to have it.

    4. By ajax not working on gallery, can you pleas explain that in a little more details. Is it the tab clicking or uploading etc?

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved