vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   see referal url in whos online (https://vborg.vbsupport.ru/showthread.php?t=100574)

dreamer81 11-11-2005 04:43 AM

see referal url in whos online
 
Hi, i was wondering if it's possible to see the referal url (if any) in the whos online box??? that would be sweet wouldn't it?

vau7 11-11-2005 06:16 AM

Do you mean the referer? The Site which the guest is coming from?

This would be absolut great!

dreamer81 11-11-2005 06:57 AM

Yes that's what i mean.... sounds totally cool huh?? really a great idea i got there..
hope someone can make this

vau7 11-11-2005 09:34 AM

the only negative point i can imagine is that it will be very perfomanceintensive.

dreamer81 11-11-2005 09:47 AM

noo.. not at all....
it doesn't require performance to aquire the referal url....
im gonna look into this myself, im so hooked on the idea to do this :)

dreamer81 11-17-2005 05:34 AM

bump

untold4you 11-17-2005 02:35 PM

This could be done by printing out $_SERVER['HTTP_REFERER'], however:

Quote:

Originally Posted by php.net
'HTTP_REFERER' The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.

Anyway, should not be to hard to realize this.

Gr3?Tz...

dreamer81 11-17-2005 02:43 PM

Quote:

Originally Posted by untold4you
This could be done by printing out $_SERVER['HTTP_REFERER'], however:



Anyway, should not be to hard to realize this.

Gr3?Tz...

tried that, the problem is to get the url into the user object.... :(

I save the url in a variable in global_start hook
but that variable is not available in the whosonlinebit... :(

if just i knew how to save the url in a $vbuser or whatever that var is called

Marco van Herwaarden 11-17-2005 07:11 PM

Do a global of that var.

dreamer81 11-18-2005 04:15 AM

Quote:

Originally Posted by MarcoH64
Do a global of that var.

umm... how would I do that?

The problem is that i want to see all the refferer urls for all users. So i need to save them in the user var. *sigh*.... im giving up


All times are GMT. The time now is 07:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01049 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete