-
Author
-
April 13, 2017 at 16:48 #158431webgeckoParticipant
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
April 14, 2017 at 04:09 #158489LauraModeratorHello, 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 solutionLaura 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 🙂
April 14, 2017 at 10:52 #158525webgeckoParticipantHi 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.
April 14, 2017 at 22:56 #158556LauraModeratorHello, 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 solutionLaura 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.April 14, 2017 at 23:59 #158568webgeckoParticipantOk, 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!
April 17, 2017 at 19:02 #158682LauraModeratorHello 🙂 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.phpEdit the file and you can try by adding this function to it
COPY CODEfunction 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 solutionLaura 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 🙂
May 2, 2017 at 18:45 #160178webgeckoParticipantHi 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.
May 4, 2017 at 19:35 #160427LauraModeratorHello, 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 solutionLaura 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 🙂
May 8, 2017 at 10:20 #160656webgeckoParticipantI 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?
May 11, 2017 at 14:47 #161032LauraModeratorHello, 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 solutionLaura 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 🙂
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.