BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › disable register button
Tagged: i
- This topic has 21 replies, 3 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
March 8, 2016 at 4:20 am #62032@kostasfIf 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..
Answers
March 9, 2016 at 4:04 am #62191@
AnonymousHi @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
March 9, 2016 at 4:16 am #62192@kostasf@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?
March 11, 2016 at 3:35 pm #62611@
AnonymousHi @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
March 11, 2016 at 5:21 pm #62623@kostasf@pallavi very useful advice! To do all that I have to go to appearance-theme-editor, right?
March 13, 2016 at 1:04 pm #62804@
AnonymousHi @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
March 14, 2016 at 5:24 am #62897@kostasfI 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?
March 17, 2016 at 12:59 am #63504@
Anonymoushi @kostasf
you can edit left-panel.php inside template-parts folder
/boss/template-parts/left-panel.phpRegards
Varun DubeyMarch 18, 2016 at 10:54 am #63845@kostasf@vapvarun This will happen from appearance-theme editor? I havent done something similar! i dont know where to go to do that!
March 18, 2016 at 10:57 am #63846@
AnonymousHi @kostasf, You can edit from wp-editor or via ftp also
Regards
Varun DubeyMarch 18, 2016 at 11:01 am #63850@kostasfThis is wp-editor in my site! Can you tell me please how I navigate from here?
March 18, 2016 at 4:03 pm #63916@
AnonymousHi @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 DubeyMarch 18, 2016 at 5:45 pm #63934@kostasf@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!
March 21, 2016 at 1:25 pm #64351@
AnonymousHi @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 DubeyMarch 21, 2016 at 1:39 pm #64356@kostasf@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!
- The question ‘disable register button’ is closed to new replies.