Notifications
Clear all

wpForo 1.x.x [Closed] How to replace the full url for login/registration?

5 Posts
3 Users
0 Reactions
1,559 Views
Posts: 30
Topic starter
(@civilenggnotes)
Eminent Member
Joined: 5 years ago

I am trying to create a popup login/registration form. Thus I found a plugin which may serve my purpose, but it needs to replace the full URL of the login/registration/forgot password ( https://siteurl.com/login) with some text. Here is an example for the link popup. So, how to change the full URL?? 

<a href="#cmreg-login-click">Login</a>

 

Topic Tags
4 Replies
Alvina
Posts: 1863
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @civilenggnotes,

Please navigate to the Dashboard > Forums > Settings >  Members admin page, find and check the

" Custom Authorization URLs" options. 

More info here: https://wpforo.com/docs/root/wpforo-settings/members-settings/#custom-authorization

Posts: 30
Topic starter
(@civilenggnotes)
Eminent Member
Joined: 5 years ago

Hi @alvina,

I hope you read my question.. i know how to change slug. I am not talking about it. Instead of changing /login/, i want to change https://mysite.com/login/. Hope i am able to clear my need.. 

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @civilenggnotes,

Currently, there is no way to do this. You should change it manually. We'll add new hook in upcoming update to allow you to replace the login URL using that hook. At the moment you can do this in the  /wp-content/plugins/wpforo/wpf-includes/functions-template.php file.

Find:

return esc_url($wp_login_url);

Replace to:

return '#cmreg-login-click';

Once, the new version is released, just let us know, we'll provide update-safe hook code.

1 Reply
(@civilenggnotes)
Joined: 5 years ago

Eminent Member
Posts: 30

@robert

Thanks a lot..i must try this