Zen Cart Logo
Forums / General Questions / Change New Account Creation URL

Change New Account Creation URL

Views: 944

Results 1 to 12 of 12
17 Sep 2015, 3:34 PM
#1
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Change New Account Creation URL

Hello!

I've tried to find an answer for this with no luck. I hope you guys can help me!

Is there any "simple" way to change the new user registration URL for another one without installing plugins?

Right now is: http://www.mywebsite.com/index.php?main_page=create_account

How can I do something like http://www.mywebsite.com/index.php?main_page=create_account_new

Thank you!

17 Sep 2015, 4:01 PM
#2
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

It got cropped. Here is what I meant

Change

http://www.mywebsite.com/index.php?main_page=create_account

For something like:

http://www.mywebsite.com/index.php?main_page=create_account_new_here

Thanks

17 Sep 2015, 5:24 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Change New Account Creation URL

A brief explanation of why you want to do this might help us. it's possible one of the 'SEO' url-rewriting mods would do that.

17 Sep 2015, 5:32 PM
#4
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

Hello and thank you for your reply.

It will be great if I don't have to install any mod...

This website has an "invitation" only registration where the owner sends the link to some people only. It appears that the link has spread out and he wants to change it to a new one so people cannot register without "his permission".

Thanks!

17 Sep 2015, 9:38 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Change New Account Creation URL

Basically you would be creating a new page. But part of the solution is to change the name of the associated folder of includes/modules/pages/create_account to the name of your choosing... Understand though that this is all going to be a game of changng the folder every once in a while. There are options to allow account acceptance well when the individual is "authorized".

There's more to it than just renaming the above file. Information can be found in the wiki on creating new pages. In fact, could create the new page(s) but leave behind a message indicating the need to have received the request from a "valid" source which also would reduce the impact of the page being considered "lost" to SEs. Speaking of which hopefully that page is already not indexed (can't recall the default setup.)

18 Sep 2015, 7:30 PM
#6
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

Thank you mc12345678

I tried changing the folder name but I didn't have luck, although I didn't look for "how to create a new page", thanks for pointing me to the right direction.

Here is the information for those looking to solve this as well https://www.zen-cart.com/wiki/index.php/Creating_new_pages

I think another potential solution could be creating a form so potential customers can fill in the necessary information and then adding them manually utilizing a plugin like this one https://www.zen-cart.com/downloads.php?do=file&id=1477

Thank you very much for your help.

22 Sep 2015, 1:29 AM
#7
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

This doesn't seem to solve the issue.

Any other suggestion?

Thanks

22 Sep 2015, 2:10 AM
#8
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Change New Account Creation URL

JesusM:

This doesn't seem to solve the issue.

Any other suggestion?

Thanks

Why doesn't he just set the permissions so they have to be manually approved in order to shop? That's built into the core.

22 Sep 2015, 4:49 AM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Change New Account Creation URL

Some of the settings referred to above are in:
Configuration->Customer Details and then settings for items such as:
**Customer Shop Status - View Shop and Prices
**Customer Approval Status - Authorization Pending
the various portions of the page beginning with:
**Customer Authorization:
******There is also a setting under configuration->My Store related to what you are requesting: ******
**Store Status
********There's some information at: ****https://www.zen-cart.com/wiki/index.php/Admin_-_Configuration_-_Customer_Details
****Couldn't find a very applicable FAQ to help, hopefully that all helps...

22 Sep 2015, 8:18 PM
#10
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

Thank you guys,

When I set the "manually approved status" to 1 I get the pop up error

An unknown response null: :text/html; charset=utf-8: :SyntaxError: JSON.parse: unexpected character at line 4 column 1 of the JSON data was received while processing an ajax call. The action you requested could not be completed.

When I close the popup, it redirects to: https://www.site.com/index.php?main_page=login

There is a thread that explains how this can be resolved. Post #6 on this thread

https://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4

But when I do that and I go to the main page of the site https://www.site.com, it gets redirected to https://www.site.com/index.php?main_page=login meaning, same issue without the pop up.

:S

23 Sep 2015, 12:23 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Change New Account Creation URL

JesusM:

Thank you guys,

When I set the "manually approved status" to 1 I get the pop up error

An unknown response null: :text/html; charset=utf-8: :SyntaxError: JSON.parse: unexpected character at line 4 column 1 of the JSON data was received while processing an ajax call. The action you requested could not be completed.

> 
> When I close the popup, it redirects to: [www.site.com/index.php?main\_page=login](http://www.site.com/index.php?main_page=login)
> 
> There is a thread that explains how this can be resolved. Post #6 on this thread
> 
> [https://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4](https://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4)
> 
> But when I do that and I go to the main page of the site [www.site.com](http://www.site.com), it gets redirected to [www.site.com/index.php?main\_page=login](http://www.site.com/index.php?main_page=login) meaning, same issue without the pop up.
> 
> :S

Well, in the scope of original programming it's not an issue for it to do what it did (redirecting to login) as it sounds like that's the setting that was chosen:
> **Customer Approval Status - Authorization Pending**
> Customer must be Authorized to shop
> 0= Not required
> 1= Must be Authorized to Browse
> 2= May browse but no prices unless Authorized
> 3= Customer May Browse and May see Prices but Must be Authorized to Buy

So by setting to 1, in order for someone to see things on the store they have to be logged in.  But, it seems like the issue with this store is that one should not be able to create an account (which occurs as part of the purchase process) and therefore should have it set to 3 instead of 1...
23 Sep 2015, 1:27 AM
#12
jesusm avatar

jesusm

New Zenner

Join Date:
Aug 2015
Location:
Oregon
Posts:
7
Plugin Contributions:
0

Re: Change New Account Creation URL

O my God, that makes total sense!

I assumed that the "browsing" allowance was for registered users, but I see how I was wrong thinking that way.

I owe you a bear or something!

Thank you very much!