Friends and Followers Addon not displaying

This topic contains 39 replies, has 3 voices, and was last updated by  Dana Lando 4 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6168

    Patrik
    Moderator
    Post count: 1971

    Hi,

    The theme is modifying the author URL which is breaking our functionality. I have added the following code in functions.php file of child theme and it is specific to the profile page so that the theme’s functionality doesn’t break on other pages:

    add_action('template_redirect', 'invideo_init_cb');
    function invideo_init_cb(){
    	if(is_uwp_profile_page()){
    		remove_action('author_link', 'invideo_new_author_link');
    	}
    }

    Let us know if there is an issue on other pages as well and I can remove the condition to fix it on all the pages.

    Regards,
    Patrik

    #6171

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6174

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6175

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6176

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6177

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Redirecting to your profile is due to the theme modifying the user parameter in the URL. So as I said before in my reply that I have to remove the condition to work my fix for the theme in profile page only so it can work on all the pages of the site. I have done this change so please check and let me know. You can’t see those buttons on your own profile so check now and let me know.

    Regards,
    Patrik

    #6178

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6179

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6180

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6181

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6185

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6188

    Dana Lando
    Expired Member
    Post count: 25
    This reply has been marked as private.
    #6203

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Currently, tabs are available for limited things like posts, GD listings, Invoices, WooCommerce products, orders, bbPress forums, topics etc. For custom post types, if your theme provides shortcode to display posts of the video custom post types then you can do add a profile tab from UsersWP->form builder->Profile Tabs

    Regards,
    Patrik

    #6205

    Dana Lando
    Expired Member
    Post count: 25

    Patrik,
    Thanks so much I’ll check into that option.

    Dana

    #6264

    Dana Lando
    Expired Member
    Post count: 25

    Hello Patrik,
    Still trying to get this working properly with my theme. Here’s what I got back from the theme developer.

    The system was made to get the posts from the current logged in profile of no parameter of a user is set. Seems that the plugin you are using does not add the profile ID in the URL.
    Do they have a function which we can use to get the current profile id (like to get the user id which is on the current page)?

    Thanks,
    Dana

Viewing 15 posts - 16 through 30 (of 40 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket