This topic has 13 replies, 2 voices, and was last updated 10 years by dscareer.

  • Author
  • #11010
     dscareer
    Participant

    Hello there,

    I love your theme but I met a major problem here, I want to know if it’s a bug or have a way to solve.

    When I test the website for new user register, by DIRECTLY clicking on SIGN UP button from the top right on homepage, after the user finished register, they can have no limit too all the site functions, unless they “choose” a membership level AFTER complete the registering, (if the new user sign up from search box, then it does not have this issue, cause if the user sign up from search box on homepage, it will force the user to choose a memebership level before they fill out the sign up form). It means even I set up Membership Restrict in “theme membership settings”, it will be useless to control these registers which they sign up from home page top right button directly. Could you tell me if it’s a bug of your theme or there is other way to solve the problem? Thanks!

    #11099
     Abe
    Keymaster

    Hi, You should restrict in Sweetdate – Memberships “Not members” and will apply to those users that are registered but haven’t chosen a level

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11108
     dscareer
    Participant

    Dear SeventhQueen, thank you it works! You are so nice! Also one more question, is there any option to limit how many pictures each memeber can add to their album? Cause it’s matters a lot to the sever space I use, and for the back up time. And if there is also an opiton for which level memeber can put how many pictures is the best! Could you teach me? Thank you!

    #11109
     Abe
    Keymaster

    Hi, Add this in your sweetdate-child/functions.php and you will have access to bp-Album settings page that allows that but you cannot limit based on membership level

    COPY CODE
    
    add_action( 'admin_menu', 'bp_album_add_admin_menu' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11111
     dscareer
    Participant

    Thank you and I added the code, but sorry I can’t find where is the option on menu?


    <?php
    /**
    * @package WordPress
    * @subpackage Sweetdate
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Sweetdate 1.0
    */

    /**
    * Sweetdate Child Theme Functions
    * Add extra code or replace existing functions
    */

    add_action( ‘admin_menu’, ‘bp_album_add_admin_menu’ );

    ?>

    #11112
     Abe
    Keymaster

    In WP Admin it should appear as a menu

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11113
     dscareer
    Participant

    Maybe I added the code in the wrong line could you check my code? I still can’t find it I’m in admin panle.

    #11114
     Abe
    Keymaster

    Also make sure you have the Sweetdate child theme active in Appearance – Themes

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11115
     dscareer
    Participant

    Yes I’ve already have my child theme actived.

    #11116
     dscareer
    Participant

    Is it required the plug in BuddyPress Album???

    #11117
     Abe
    Keymaster

    Yes, enable it from Sweetdate – Buddypress

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11118
     dscareer
    Participant

    Ok, except enable it from Sweetdate – Buddypress, do I also need to intall the BuddyPress Album plug in from plugins-add new?

    #11119
     dscareer
    Participant

    I got this:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare bpa_init() (previously declared in /home/content/89/12264389/html/sweetlovefinder/wp-content/themes/sweetdate/custom_buddypress/bp-functions.php:117) in /home/content/89/12264389/html/sweetlovefinder/wp-content/plugins/bp-album/loader.php on line 30

    #11120
     dscareer
    Participant

    Ok DONE! I fixed it by previously disabled from Sweetdate – Buddypress, reactive the bp album plug in, and add the code you gave it to me, then it all fixed and now the menu appeared in admin menu panle. Thank you!

    -Daniel

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Is it a Bug? Memebership Restrict function cant limit for New User Default Role’ is closed to new replies.

Log in with your credentials

Forgot your details?