- This topic has 21 replies, 3 contibutors, and was last updated 8 years, 9 months ago by .
-
Question
Answers
- The question ‘disable register button’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › disable register button
Tagged: i
If I disable from settings that “anyone can register” then it hides register button and noone can enter site! So I do another thing, I havent assign a register page in buddypress settings and I have “anyone can registe”r enabled! That way a new member sees only the login option and he can enter the site only with fb login! I dont know if my system sounds crazy but my thing now is, if I do that, when someone clicks register page, because I havent assigned anything it puts out a “page not found”. Instead of this can I make it to put out a nicer message of my choice? But remember I have to leave enabled the option “anyone can register”, but the register button has not to work so everyone only fb logins from login page..
Hi @kostasf, You can change the url of that button through small changes in header left-panel file.
Just create a new page and put the same url in the left-panel.php instead of register.
Regrads
@pallavi I am happy if something can be done but I didnt understand how to do it! Create a new page and where to put the url and which url and what is left-panel.php? I want to say how apply this you described?
Hi @kostasf, First to create a page where you want to send your users instead of 404 error page.
Now copy the url of that page and replace it with our register button’s url in go to header left-panel.php at line no. 35 , so when user will click on Register button they will redirect to your new page.
Regards
@pallavi very useful advice! To do all that I have to go to appearance-theme-editor, right?
Hi @kostasf, Yes…to make your edits simple, you can also install ‘WP Editor’ plugin it will convert the default editor to advanced one which will help you to find correct files.
https://wordpress.org/plugins/wp-editor/
Regards
I downloaded it, it changed me editor but I cannot find this left panel.php. I’m changing categories that has in the right side, and im looking for line 35..but I didnt find it! Can you send me a screenshot?
hi @kostasf
you can edit left-panel.php inside template-parts folder
/boss/template-parts/left-panel.php
Regards
Varun Dubey
@vapvarun This will happen from appearance-theme editor? I havent done something similar! i dont know where to go to do that!
Hi @kostasf, You can edit from wp-editor or via ftp also
Regards
Varun Dubey
This is wp-editor in my site! Can you tell me please how I navigate from here?
Hi @kostasf
Wp-editor will allow your to edit file , you will need to create folder “template-parts” inside child theme and add file left-panel.php inside it.
Take a look of our tutorial, it will guide you well.
Regards
Varun Dubey
@vapvarun Ok I found it! I uploaded the left-panel.php! I am not sure which link to change though! I am showing you in the foto I attach what I am thinking!
Hi @kostasf, Please let me know what exactly you are trying to accomplish.
You need to hide register button or what to change the register link to any other page ?
Regards
Varun Dubey
@vapvarun Instead of having 2 buttons REGISTER and LOGIN I want to have only the button LOG IN WITH FB so I need to erase REGISTER button and change the name of the LOGIN button. I have uploaded to my child them left-panel.php as pallavi showed me, and created a folder template -parts as you told me! The thing is when I erase line 35 from left panel.php that I think is for resister and i click UPDATE FILE in wp editor nothing happens to the site when I refresh it. Do you know why is that? I attach pictures to explain!