vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Referrer URL - Asking your opinion (https://vborg.vbsupport.ru/showthread.php?t=225508)

James Birkett 10-18-2009 08:06 PM

Referrer URL - Asking your opinion
 
Hey guys,

If you have put your users' referrer URLs anywhere in their User CP/Profile - where have you put them? I'm in a bit of a dilemma as to where the most suitable place would be.

If you haven't placed them anywhere, where would you put them if you was going to?


Also, is there a variable to display the referrer URL or do I have to hardcode it manually, such as:
PHP Code:

$referrer "http://domain.com/forum/register.php?referrerid=" $prepared['userid']; 


James Birkett 10-20-2009 01:28 PM

Bump. Still need an opinion guys!

DeanLag 10-20-2009 01:36 PM

If I had to put it anywhere on my site, I would put it in the User CP main page, below Latest Reputation Received; with a description of it and what it does (for newbies) =p
Thats just me though =x

Princeton 10-20-2009 01:51 PM

the best place would be the USERCP page - right at the top, where it will always be seen

to do this modify the USERCP template
use index.php?referrerid=$bbuserinfo[userid]

James Birkett 10-20-2009 02:04 PM

Quote:

Originally Posted by Princeton (Post 1902596)
the best place would be the USERCP page - right at the top, where it will always be seen

to do this modify the USERCP template
use index.php?referrerid=$bbuserinfo[userid]

Wouldn't you use register.php rather than index.php? Or doesn't it matter?

Lovinmysailor 10-20-2009 02:06 PM

Quote:

Originally Posted by Princeton (Post 1902596)
the best place would be the USERCP page - right at the top, where it will always be seen

to do this modify the USERCP template
use index.php?referrerid=$bbuserinfo[userid]



I agree that is where I would put it.

DeanLag 10-20-2009 02:31 PM

Register.php is only for unregistered users, registered users won't access it, unless you put the register.php link for registered users, but whats the point?. Thats just me though.

James Birkett 10-20-2009 03:22 PM

I am putting the user's referrer URL in their profile so they can refer other users using that link. This means they actually get their name under Referrer which increases their "Referred users" and allows them to contribute to the competition I have set up ;)

So if you use the "register.php?referrerid=2" will automatically fill in the referrer profile for userid 2. I'm also going to create a plugin that makes the referrer box read-only if they visit via this method.

@Princeton,
what do you mean by "right at the top". Above "New Subscribed Threads"?


All times are GMT. The time now is 03:10 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
  • Page Generation 0.01043 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete