Add Domain Name To Registration

Asked by Kirt Cathey

Hi All.

I need to get user's domain name when they register. I have pretty much walked through all the code in the PHP Dev Shell plugin and other parts to get what I want, but when I try to access the variable in my own plugin with


the variable is blank. I know that there is a value in the database because I've confirmed with the core users table, so I think it has something to do with PHPDS not pulling the value when a user logs in... not sure.

Can somebody explain or point me in a direction to a document that explains how to modify the existing registration screen?
Thank you.

Question information

English Edit question
PHPDevShell Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
TitanKing (titan-phpdevshell) said :

Hi Kirt,

First Question:
I need some more info, will you require the users registered user domain on every page or only on some? I will help you find the best possible solution once I know how important this information for the general operation of your application.

Second Question:
As soon as you start modifying default pages, best would be to create your own registration page using the default one as a template. You can start by copying all the registration files into your plugin, installing it as a new menu and setting this as the registration page in the general settings.


Can you help with this problem?

Provide an answer of your own, or ask Kirt Cathey for more information if necessary.

To post a message you must log in.