BuddyDev

Search

BP Gallery Shortcode

  • Participant
    Level: Master
    Posts: 413
    Venutius on #1709

    Following on from another post regarding BP Gallery Shortcode, I tried to use this on my site but I only got the following error:

    {CACHE:97afdb7cf688c4f7cf357b955d25d779}

    Any ideas why that is?

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #1712

    Hi George,
    I am not sure what you tried.

    Can you please explain, did you made some modifications to code too?

  • Participant
    Level: Master
    Posts: 413
    Venutius on #1715

    [bp-gallery show=”media” owner_type=”user” orderby=”date” type=”photo” max=”10″ ]

    This was the shortcode I entered

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #1716

    Hi George,
    There are some bad quotes in that shortcode( ” )

    
    
    [bp-gallery show="media" owner_type="user" orderby="date" type="photo" max="10" ]
    
    

    Try the above. If that does not work, please try clearing cache and check again.

  • Participant
    Level: Master
    Posts: 413
    Venutius on #1717

    Strangely it still does not work, I cleared the cache but I still get that Cache error

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #1718

    Hi George,
    Do you have user galleries? or you are using it just for groups?

  • Participant
    Level: Master
    Posts: 413
    Venutius on #1720

    I have enabled galleries for users but the main activity is in the gallery for one specific group.

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #1722

    Hi George,
    It may be d=ue to no user media. Please try changing this

    
    owner_type="user"
    

    to

    
    
    owner_type="groups"
    
    

    and see if that fetches some media or not?

  • Participant
    Level: Master
    Posts: 413
    Venutius on #1723

    No I’m afraid not

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #1727

    Hi George,
    That is very strange. have you made any modifications in plugin code? Also, is the widget working?

You must be logged in to reply to this topic.

This topic is: not resolved