Forum Replies Created

Viewing 11 replies - 166 through 176 (of 176 total)
  • Thread Starter codimex

    (@codimex)

    Hi, Maxime! Thank you again for your great openness to help. Following your suggestion, I played around with the theme area (theme switching, functions…) and I came up with a solution, so that the category archive page can fetch both CPTs and post types. I added this code to my functions.php file:

    function themeprefix_show_cpt_archives( $query ) {
     if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
     $query->set( 'post_type', array(
     'post', 'nav_menu_item', 'YOUR-CPT-NAME-IN-LOWER-CASE'
     ));
     return $query;
     }
    }
    add_filter( 'pre_get_posts', 'themeprefix_show_cpt_archives' );

    The reason I thought it was caused by your plugin was because in the live version of the site, this works by default, without adding the previous code.

    Thank you again for helping me finding out the source of the problem! You can now mark this topic as resolved. Congratulations for the plugin. I have a couple of more questions, but I’m going to open new topics for each.

    Thread Starter codimex

    (@codimex)

    After all day restoring a previous backup and playing around with my site, the problem I originally posted still persists. Looks like a CPT query problem, not a url structure problem.

    As I said, the same url structure can query categorized regular posts, but it can’t query categorized CPT. I tried creating a regular post with any category and it is correctly queried.

    Any help would be really appreciated! I’m about to implement translation on the live version. Thank you again for your hard work behind Sublanguage!

    Thread Starter codimex

    (@codimex)

    Hi again! Thanks for your quick response. ??

    Ooppsss… Deactivating the plugin caused that all site pages are redirected to home. :O No matter which page I try to access to. I’m constantly redirected to home in the original default language. Also, since I have a users profile plugin installed, I’m lock out as an admin. I changed the name of the users plugin via FTP in order to be able to log in and succeeded, but now I’m in my dashboard and don’t know what to do. This looks bad! ??

    Thread Starter codimex

    (@codimex)

    I meant, “For example, mysite.com/es/categoria/cat1_es or mysite.com/en/category/cat1_en”, or more precisely, “mysite.com/es/categoria/slug_cat1_es or mysite.com/en/category/slug_cat1_en“. Sorry for the typo.

    • This reply was modified 5 years, 12 months ago by codimex.
    Thread Starter codimex

    (@codimex)

    Hi, John! Thank you very much for your readiness to help with this issue. Anyway, I needed to have it solved quickly, and for that particular case, I did it with a user-role restriction plugin. Not the “clean” solution I wanted, but it works.

    Anyway, I love your plugin and I use it for simple redirections in all my websites. Congrats for your work with it!

    I guess your answer goes to obakemono, because I have no new replies under my PlusPlugins-FreshDesk profile. Since the official release of UM 2.0 (April 10th), none of us couldn’t use your extensions. How much longer will it take you to update your bundle? Will you refund every user the proportional cost of it while we couldn’t use it, which, BTW, was not cheap at all (99.99$)?

    Said this, I don’t want to annoy the rest of the WordPress community with this topic anymore. Sorry guys to bring up this issue publicly. I hope my experience serves anyone.

    You can wait for the rest of your life; I bet nobody will ever answer your tickets. I’ve sent them a couple of tickets lately, but since the release of UM 2.0, they don’t answer support tickets anymore. Refund would be the ideal and fair scenario, since they didn’t comply with the 1-year license agreement, but seems like there’s no one supporting PlusPlugins anymore, aside some random messages in this forum. Ultimate Member plugin creators should watch out who are they partnering to for third-party plugins.

    Thread Starter codimex

    (@codimex)

    Hi! Finally, I found the solution. ??

    In the plugins/user-menus/includes/classes/menu/items.php file, just locate those lines danieliser pointed out:

    case 'avatar':
    $replace = get_avatar( $current_user, self::$current_item->avatar_size );
    						break;

    and replace them for:

    case 'avatar':
    $replace = get_avatar( $current_user->user_email, 32 );
    						break;

    This worked for me, using ProfileGrid, and this is very similar to the answer provided by user mattyshigh here, but it differs from the way the user ID is pulled from to get the avatar.

    Thank you mattyshigh for inspiring me the answer, and danieliser for this awesome plugin and his readiness to help. Cheers to the forum!

    Thread Starter codimex

    (@codimex)

    Thank you! Let me play around with it for some time. If you don’t mind, I’ll add the “ProfileGrid” tag in this topic, in case some other user has this issue, too (as I said above, their documentation is very poor yet). Also, please don’t close the topic, so that I can get back to it as soon as I find a workaround, or in case other user does. Thank you and have a nice day! And congratulations for this simple, awesome plugin! A must.

    Thread Starter codimex

    (@codimex)

    Thanks for answering! Unfortunately, I still can’t find a solution.

    I’m not sure if I’m understanding you properly. The users plugin I’m using (ProfileGrid) skips Gravatar and uses its own profile picture setting system. Once you set it, it is correctly pulled in the WP core system (e.g, in the post author section after each blog entry), but not in the navigation menu (carried out by your plugin “User Menus”). How exactly should be that get_avatar filter should be?

    Also, I’ve tried this solution here, which should work, but still no luck: https://www.ads-software.com/support/topic/avatar-not-loading/#post-9487135

    I know I’m very close to make it work, but it takes a little help, yet. Thank you in advance!

    I’m having this issue, too. It’s kind of frustrating that, lately, most of your responses are “Please open a ticket”. Most of us would appreciate public answers, so that we can find solution to issues in common. Regarding this question, any idea?

Viewing 11 replies - 166 through 176 (of 176 total)