Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • enda77
    Participant

    @enda77

    Thanks for the suggestions Shane.

    If I use #2 is it possible to have ‘groups’ and ‘parks’ as separate component tabs on the profile page so ‘groups’ and ‘parks’ can be created and show in their relevant tab?
    I have looked at the ‘add group types’ plugin previously but all groups are shown together in the ‘groups’ tab.

    As for #1 do you know if the method of copying out bp-groups, find&replacing ‘groups’ to ‘parks’ and creating a loader will still work because this was last mentioned 4 years ago? They also mention having to modify core code which is putting me off.

    Any option for #3, do you do freelance work? 🙂


    enda77
    Participant

    @enda77

    Thanks for the help Shane, I’ll play around with it.


    enda77
    Participant

    @enda77

    Thanks shanebp,
    I’m probably doing something fundamentally incorrect here but ive replace the %CURRENT_USER_ID% section of MySQL query with bp_displayed_user_id() and it gives me errors.
    I am running the query inside the wpdatatables plugin so its not a true MySQL query form.
    My code is below, if you have a time could you take a look. Query runs fine when I replace bp_displayed_user_id() with an integer.
    Thanks

    SELECT wpyn_ks_trick_post.ID, 
    wpyn_ks_trick_post.TrickID, 
    wpyn_ks_trick_post.LevelID, 
    wpyn_ks_trick_post.Verified, 
    wpyn_ks_trick_post.VerifiedBy, 
    wpyn_kstricklist.TrickID, 
    wpyn_kstricklist.Category, 
    wpyn_kstricklist.TrickName, 
    wpyn_kstricklist.TrickDescription, 
    wpyn_kstricklist.Points, 
    wpyn_kstricklist.Grade 
    FROM wpyn_ks_trick_post
    LEFT JOIN wpyn_kstricklist 
    ON wpyn_ks_trick_post.TrickID = wpyn_kstricklist.TrickID 
    where wpyn_ks_trick_post.ID = bp_displayed_user_id()
Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar