This topic has 44 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #206828
     melikcan
    Participant

    How I can hide users menü from loged out users and non member people?

    Thanks !

    #206829
     melikcan
    Participant

    I dont want to show members ( users) page to logged out or non member , peoole .how can ı do it ?

    #206843
     Kieran_SQ
    Moderator

    Hi,

    You’ll need to install a plugin to hide single menu items from other users based on logic. I would recommend trying Menu Item Visibility Control by Hassan Derakhshandeh, this can be found for free in the WordPress.org plugin repository. See here for more information https://wordpress.org/plugins/menu-items-visibility-control/.

    Once installed each menu item will have a new field titled ‘Visibility’ in which conditional logic can be added to restrict the field on specific conditions (see screenshot from link above).

    You can use the below to snippets to show a conditional menu item to logged in or logged out users only.

    Logged in users only
    is_user_logged_in()

    Logged out users only
    !is_user_logged_in()

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #206927
     melikcan
    Participant

    Thanks! How can we redirect New registred persons to profile building ( image uploading) page ?

    Best regards!

    #206990
     Kieran_SQ
    Moderator

    Hi,

    That is possible to do but would be classed as custom development and is not something we can do within the scope of support provided via the forums.

    If you have knowledge of PHP you should be able to rework a snippet that was posted here https://buddydev.com/buddypress-tutorial-redirect-user-first-login/. This snippet redirects to the users profile upon their first login

    COPY CODE
    function buddydev_redirect_on_first_login( $redirect_to, $redirect_url_specified, $user ) {
     
        //check if we have a valid user?
        if ( is_wp_error( $user ) ) {
            return $redirect_to;
        }
     
        //check for user's last activity
        $last_activity =  bp_get_user_last_activity( $user->ID );
     
        if ( empty( $last_activity ) ) {
            //it is the first login
            //update redirect url
            //I am redirecting to user's profile here
            //you may change it to anything
            $redirect_to = bp_core_get_user_domain($user->ID );
        }
     
        return $redirect_to;
    }
     
    add_filter( 'login_redirect', 'buddydev_redirect_on_first_login', 110, 3 );

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207050
     melikcan
    Participant

    İf I use php plug in , and if İ directly copy and paste the code to plug in, will it work ?

    #207051
     Kieran_SQ
    Moderator

    Hi,

    This should be added to bp-custom.php (see here https://codex.buddypress.org/themes/bp-custom-php/) or into SweetDate Child theme’s functions.php file by going to WP Admin > Appearance > Editor > SweetDate Child > Functions.php.

    You should not directly edit any plugins file to add this code as you’ll likely cause errors and the code will be lost when you update the plugin.

    If you’re using some kind of plugin that lets you use save and use PHP snippets then it may or may not work in there, depending how early the plugin calls the data. The best option is to use the code within bp-custom.php as it is called before any other BuddyPress or plugin functionality.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207055
     melikcan
    Participant

    I have find a plug in i will try it , but how ı can create a same redirect url for all users to redirect them to their profile? Because when ı look my own profile url it is ” https://www.redrosesocial.com/members/znlexport123/profile” so there iş znlexport123 which is user name here , but I have to create a url same for all users, how can I redirect them whit same url? When activation occured the plug in will redirect them to a single url, but it should be same for all users to redirect tüm to their own url, how can we do it ?

    Thanks best regards!

    #207056
     melikcan
    Participant

    Tüm * = them

    #207078
     Kieran_SQ
    Moderator

    Hi,

    To create a permanent redirect for users when they login you can use Peter’s Login Redirect. I wrote a support article about how to configure this plugin and it can be found here https://archived.seventhqueen.com/general/article/redirect-users-when-logging-in-or-logging-out

    The text you would need to enter to get the URL you stated above would be

    https://www.redrosesocial.com/members/variable]username[/variable]/profile/

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207145
     melikcan
    Participant

    I have get 404 error with the link 🙁 ””https://www.redrosesocial.com/members/variable%5Dusername%5B/variable%5D/profile/ ”’

    #207164
     Kieran_SQ
    Moderator

    Hi,

    Using Peter’s Login Redirect? If so then please update this ticket, in a private reply, with admin credentials and I will take a look for you.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207239
     melikcan
    Participant
    This reply has been set as private.
    #207263
     Kieran_SQ
    Moderator

    Hi,

    When I try to login using the details provided I get the following error

    “HATA: znlexport123 kullanıcısı için girilen parola geçersiz. Parolanızı mı unuttunuz?”

    Please double check these details and update as needed.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207297
     melikcan
    Participant
    This reply has been set as private.
    #207309
     melikcan
    Participant
    This reply has been set as private.
    #207312
     melikcan
    Participant
    This reply has been set as private.
    #207350
     Kieran_SQ
    Moderator

    Hi,

    I have logged into your site and found there was no redirect configured for the role of subscriber within the Peter’s Login Redirect plugin. I also found you were using another plugin called ‘BP Redirect To Profile’ which was redirecting before the Peter’s Login Redirect plugin, I have disabled this for you as it was conflicting.

    Now when a user with the role subscriber logs in they’re redirected to https://www.redrosesocial.com/members/username/profile/change-avatar/#item-nav, please test with a sucscriber account to confirm.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207426
     melikcan
    Participant

    When a new member registred ,will member redirect as new logged in members? Or we need a diffrent adjustment?

    Thanks!

    #207433
     Kieran_SQ
    Moderator

    Hi,

    The plugin redirect is for all members, as per my earlier message, this is regardless of whether or not this is a first time login or second (etc).

    If you need to redirect only newly registered users on their first login then you will need to extend the code I referenced within my second reply.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207672
     melikcan
    Participant

    I have used same plug in (peters redirect) for same purpose , it works to redirect new logins to users profiles but it dont work with its post registration redirect, ı have used the link which works for new logins, https://www.redrosesocial.com/members/%5Bvariable%5Dusername%5B/variable%5D/profile/change-avatar/#item-nav

    but doesnt work with new registred members after registration. it gives 404 error as seen bellwo.

    there are a apace to write url in peters redirect to rediret new registred persons to a single ulr, ı tried as ı said but ı has given a 404 erroras seen in screenshoot.

    How can ı deal with it, thanks!

    Attachments:
    You must be logged in to view attached files.
    #207675
     melikcan
    Participant

    and seccondly I use a plug in(bp disabel activation,BP DAR) to disable activation, and the plug in has a option to redirect new registred users to a certain URL, but when ı paste the link work with peters redirect (,https://www.redrosesocial.com/members/%5Bvariable%5Dusername%5B/variable%5D/profile/change-avatar/#item-nav) which works good with login redirects, it doesnt work with new registraed members, also when the url dont work with peters redirects post registration redirect option, it give a 404 error,

    when ı use only the bp disable activations redrect option, it doesnt change the user name in url ,it writes like that in url https://www.redrosesocial.com/members/%5Bvariable%5Dusername%5B/variable%5D/profile/change-avatar/#item-nav but there should be a user name diffrent. I have screenshooted the problem in privious message.How can ı deal with the problem thanks!

    thanks!

    #207695
     Kieran_SQ
    Moderator

    Hi,

    The link that you generated in Peter’s Login Redirect will not work in any plugin other than Peter’s Login Redirect. You cannot use this link in another plugin.

    I cannot say why Peter’s Login Redirect is not working in the case of first login, you will need to reach out to the plugin developer directly for assistance on this.

    With regards to the post registration redirect, this refers specifically to registering with WordPress and where you are sent immediately after pressing register. This specific section will not have any effect on BuddyPress and should not be configured.

    Please bear in mind these questions are not related to the theme and would be present regardless of the theme. If you have specific issues with third party plugins you will need to contact those developers directly.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #207702
     melikcan
    Participant

    Is there any way to auto approve users? ı can just by pass registration but ı cant auto approve all users.

    #207761
     Kieran_SQ
    Moderator

    Hi,

    I am not aware of another plugin, away from BP Disable Activation Reloaded, that had this functionality. I also checked the details page for BP Disable Activation Reloaded and found that it has not been updated for four years. It’s highly likely that it will cause major conflicts on your site and could well be exposing you to security issues – I would advise not having it installed on a live site.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208019
     melikcan
    Participant

    Thank you very much ı have dealed with it, is there any thing to do to force members upload profile photo during sing in becaus ethey dont upload profile photos ?

    #208024
     Kieran_SQ
    Moderator

    Hi,

    To force profile photos for all you can try BuddyPress Force Profile Photo https://buddydev.com/plugins/bp-force-profile-photo/

    To enable during signup only you may wish to try BuddyPress Signup Avatar https://buddydev.com/plugins/bp-signup-avatar/ but please be aware this has not been updated for a while so I cannot guarantee the plugin still works with the current version of BuddyPress.

    Finally there is BuddyPress Better Registration which allows you to upload an avatar during the signup process but does change the whole process considerably. See here for more information https://wordpress.org/plugins/better-bp-registration/

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208099
     melikcan
    Participant

    I want to do it with first option, ”’To force profile photos for all you can try BuddyPress Force Profile Photo ”’ but the plug in doesnt exist in wordpress,ı have looked tens of times with diffrent ways.

    how can ı deal with it ?

    thanks !

    #208103
     Kieran_SQ
    Moderator

    Hi,

    Not all plugins are in the repository. You can download the plugin directly from the link I provided on the right side of screen.

    Go to WP Admin > Plugins > Add New > Upload to add the plugin.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208109
     melikcan
    Participant

    thanks will I open zip to paste ? or directly?

    #208115
     Kieran_SQ
    Moderator

    Hi,

    Download the zip file and upload it whole via the method stated above. You should not extract the zip file.

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208847
     melikcan
    Participant

    Hi , I want to add a huge button to circled part( as paint document bellow) to redirect people who are not member to resgister page, and also if the person is a already member ı want to redirect he or she to members page, how can I do via elementor?

    Attachments:
    You must be logged in to view attached files.
    #208949
     Kieran_SQ
    Moderator

    Hi,

    To add a button simply edit the page and drag a button element from the left to the desired location and set the values for it (size, color etc) as desired.

    Elementor does not have a default way to differentiate between logged in and logged out users to show content depending on logged in status and I unable to locate a plugin with this functionality.

    Feel free to add your name to the growing list of Elementor users requesting this via the plugins official GitHub https://github.com/pojome/elementor/issues/1592

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208954
     melikcan
    Participant

    Ok thanks, but I cant drag any object also button to anywhere ı want, it can be dragged to only certain places, it cant be dragged to bottom of circles ı have mentioned as screenshoot paint in the privious mesage

    #208955
     Kieran_SQ
    Moderator

    Hi,

    Sorry, I don’t seem to understand your question. Are you trying to add a button before/after the members element or are you trying to add/edit the buttons for each individual profile in the members element?

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208958
     melikcan
    Participant
    This reply has been set as private.
    #208963
     Kieran_SQ
    Moderator

    Hi,

    Highlighting the area doesn’t help. You say you’re after a huge button – is this before or after the members content? Instead of the members content? or as an overlay, over the member content? Please provide more details so I can assist you.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208973
     melikcan
    Participant

    This part iş actually just Picture of members , this is a full background image, i want to add a huge botton to bottom half of page to make covered all memembers picture in the background,when people click to their image they will be redirected to register page . The huge button should cover bottom of image (members pictures) so when peoople clikck to the images ,they will be redireftef to register page , thnks!

    #208974
     Kieran_SQ
    Moderator

    Hi,

    I have added a button for you that has a negative top margin so it will overlay over the section above it. As you have setup the whole of the header area and the profile images as one large background image this is as good as it will be without recreating the page in a way that would be device friendly.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #208988
     melikcan
    Participant

    ok thanks, the purple one is perfect ı made it transparant, can you delete the other 2 grey buttons as circled bellow as screenshoot. Thanks !

    Attachments:
    You must be logged in to view attached files.
Viewing 40 posts - 1 through 40 (of 45 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?