This topic has 9 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #158431
     webgecko
    Participant

    Hi there,

    how can I achieve that users can create their own website in wordpress multisite during the registration process? I would like to add the checkbox “Gimme a Site” to the KLEO register form.

    Thank you in advance.

    Kind regards.

    Daniel

    #158489
     Laura
    Moderator

    Hello, that is not available right now with the registration. However they can create it directly from their profile tab Sites. If you have it enabled.

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #158525
     webgecko
    Participant

    Hi Laura,

    thank you for your answer. When I log in as a user without site and go to the profile tab “Sites” I just see a message “This site could not be found” and there is no option that the user can create a new site from his/her profile.

    How should this site normally look like? What can I do?

    Thanks.

    #158556
     Laura
    Moderator

    Hello, please check attachments 🙂
    To enable site creation go to your multisite admin panel and at Settings Choose Create both sites and users
    Now at your site http://www.yourwebsite.com/sites all sites will appear there and the Create a Site button too.

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    Attachments:
    You must be logged in to view attached files.
    #158568
     webgecko
    Participant

    Ok, thanks. So to enable my users to create a site directly from the profile tab “Sites” I will try to add the same button “create a site” to the this specific profile tab.

    Do you know by heart which template do I have to customize for that?

    Are you planning to add these features in the future (button “create a site” in profile tab, and checkbox “gimme a site” in kleo-register)?

    Thanks again for the fast support!

    #158682
     Laura
    Moderator

    Hello 🙂 As its more related to buddypress its not actually a theme feature, i can help you edit that but i would need access to your website and ftp, as its not live yet that wold be difficult, so the files are:
    kleo/buddypress/buddypress-functions.php
    Copy this file
    plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/blogs.php
    To the child theme so it looks like this:
    wp-content/themes/kleo-child/buddypress/members/single/blogs.php

    Edit the file and you can try by adding this function to it

    COPY CODE
    
    function bp_legacy_theme_group_create_button( $title ) {
    	return $title . ' ' . bp_get_group_create_button();
    }
    

    Let me know if that helps 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #160178
     webgecko
    Participant

    Hi Laura,

    thanks for your answer. I am not quite sure where I should add this function. If I add it to the blogs.php file inside my child theme then I get an error:

    Cannot redeclare bp_legacy_theme_group_create_button() (previously declared in …kleo/buddypress/buddypress-functions.php:577

    I have added it at the end of the blogs.php file. Should I add this function somewhere else?

    Thank you.

    #160427
     Laura
    Moderator

    Hello, i see, this would require more development, i suggest to hire a developer to check it out for you 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #160656
     webgecko
    Participant

    I don’t see the need for a developer here. Of course your approach would have been better to hook into existing buddypress functions but what I still can do is just to add a simple button on this profile page with a link to the “create new site” page.

    And I still think this should also be on your agenda for upcoming releases. Because right now I the user hasn’t created any sites in a wordpress multisite then he we see only a white screen inside the corresponding profile tab. This is also the case for forum topics. It would be better that is such case the user has an option to create new site / new topic directly from his profile.

    And as I said, a simple button would do. What do you think?

    #161032
     Laura
    Moderator

    Hello, you could add a button to it, if you want i can guide you through the process 🙂
    The registration is handled by buddypress and by default they do not have a button there. There is a forum for feature requests if you want to add a ticket about it, if it gets a lot of votes we will review it 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?