vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Default Referrer (https://vborg.vbsupport.ru/showthread.php?t=134344)

Shazz 12-18-2006 10:00 PM

Default Referrer
 
/*================================================= =====================*\
|| Default Referrer
||
|| ================================================== =====
|| Brought to you by:
|| vBCoderz.com
|| ShazzDesigns.com
|| ================================================== =====
||
|| Author : Shawn
|| Works on : vBulletin 3.5 / 3.6
|| Released : 19. Dec 2006
||
|| Time required to install: ~2 minutes
|| Difficulty: medium
\*================================================ ======================*/

----

2 Template Edits
Took me about 30 secs :D

This is optional

If you have the register button in the header youll just need to find
PHP Code:

register.php 

And then add after
PHP Code:

?referrerid=

Where X is the userID you want to referrer
The rest is in the zip

Pretty simple :rolleyes:
Be sure to clickInstall

Shazz 12-19-2006 11:13 AM

Reserved

Ziki 12-19-2006 05:52 PM

This is what you talked about in my plugin version? :D

Shazz 12-19-2006 08:41 PM

Quote:

Originally Posted by Ziki (Post 1141729)
This is what you talked about in my plugin version? :D

Sort of accept no plugin :rolleyes:

Chicago_VLNU_4s 01-10-2007 05:30 PM

so this is just a default user who get's the point when someone clicks "Register". But other user's still get count when they use their referral id, correct?

If so, nice!

Shazz 01-10-2007 08:39 PM

Quote:

Originally Posted by Chicago_VLNU_4s (Post 1155639)
so this is just a default user who get's the point when someone clicks "Register". But other user's still get count when they use their referral id, correct?

If so, nice!

Yes thats right ;)

ConqSoft 01-10-2007 09:03 PM

Couldn't you just edit the registration template and add a default value username in the value="" tag of the referer field? Then it only needs one edit, and it doesn't rely on the user having cookies enabled.


All times are GMT. The time now is 10:24 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.00974 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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