Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
HTTP_REFERER Log Details »»
HTTP_REFERER Log
Version: 1.00, by sde sde is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-28-2006 Last Update: Never Installs: 21
 
No support by the author.

Ever wonder where your new registrants came from? I do.

The HTTP_REFERER will be logged to a custom profile field at registration.

Instructions
  1. Add a custom profile field. Make it private so the user can't edit it.
  2. Upload the product
  3. Go to vBulletin Options -> User Profile Options
  4. Set the "HTTP REFERER Profile Field" to the custom profile field you just added. (i.e. field5)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-01-2006, 10:14 AM
Milesian Milesian is offline
 
Join Date: Sep 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds ideal. I'll install this later today
Reply With Quote
  #3  
Old 03-01-2006, 12:30 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 03-01-2006, 02:27 PM
sde sde is offline
 
Join Date: May 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-01-2006, 04:36 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, Good work.
Reply With Quote
  #6  
Old 03-01-2006, 08:34 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 03-01-2006, 09:56 PM
sde sde is offline
 
Join Date: May 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 03-01-2006, 09:59 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 03-01-2006, 10:04 PM
sde sde is offline
 
Join Date: May 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 03-02-2006, 06:33 PM
dead7 dead7 is offline
 
Join Date: Aug 2005
Location: Detroit
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05751 seconds
  • Memory Usage 2,280KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete