![]() |
HTTP_REFERER Log
Ever wonder where your new registrants came from? I do.
The HTTP_REFERER will be logged to a custom profile field at registration. Instructions
|
Sounds ideal. I'll install this later today
|
Ok so i imported it, went to the options, put 'field5' without the quotes, and nothing happened. Where do you go to view the log or whatever this is?
|
A user needs to register coming in to your site from another domain. To test it, you need to clear the domain cookies, close the browser, go to another site (or search engine) to click to your site from, and register a new user.
The http_referer shows up in the user profile field. Of course it's only going to work for new registrants. A better way to view the data would probably be ideal. I'll put some thought into that and ideas are welcome. The important thing for now is that the data is getting written to the user profile for now. |
Nice, Good work.
|
Ok I understand. So say someone comes from www.domainx.com and your on www.domainy.com where would it say that they are from domainx ?
Does it only print in the memberinfo IF they have registered from another domain? |
Whatever is in the PHP HTTP_REFERER variable when they enter your site is what will get logged upon registration. Some browsers supress this info (not many), and if they go directly to your site, it will be empty.
It's not meant for public viewing ( that would make people mad ) but rather just for your own knowledge of where new registrants are coming from. |
So then where does it get logged/posted for me to view? Or at least where is the default location in the PHP HTTP_REFERER variable?
|
In the user profile, where all the other user profile variables are. So practical use might be to go to 'search users', and view the most recent members, then go to edit their profile to view.
This is why I need to put more thought into the presentation of it. A quick template mod will probably do wonders for the consumption of this info. |
Definately a nifty hack -- working great over here so far. I do have one idea, perhaps when it shows in the users' profile it could have the URL within a textarea field.
I've got some referrers that are very long on the newly registered users and it just completely destroys the profile page of the user. I realize only admins can see it but it would be good if we could just have it in the textarea box. This way it would word wrap nicely and be contained for copy/paste etc.. Definately a great start on it, very clever and thanks for your time making it. |
All times are GMT. The time now is 11:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|