vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Easy referral link box (https://vborg.vbsupport.ru/showthread.php?t=42679)

roxics 08-24-2002 03:47 AM

Easy referral link box
 
My members don't really use the referral system that much. The biggest reason is probably because it isn't that easy to get to on my board. Member have to go digging into the FAQ to get their referral url.

What I ask is that someone make a hack that can be put at the top of the forum or in an outside webpage.

Something that automatically generates their special url in three differnet formats in a box at the top of the forum that says "Hey you! Use this link to bring people here and earn points."
-followed by-

a. Their referral url: http://ve.roxics.com/board/index.php?referrerid=1

b. An HTML link they can put on their site: <-A HREF='http://ve.roxics.com/board/index.php?referrerid=1">VisionEngine</A->

c. A BB code link they can use on the BB or other BB's: [-url=http://ve.roxics.com/board/index.php?referrerid=1]VisionEngine[/url-]

That way it's right there on the front page of the website or the top of the board and they can see it, copy it and use it.

Just an idea :D

roxics 08-24-2002 04:09 AM

1 Attachment(s)
Here's an image. Maybe it could even be just a small pop up window.

Logician 08-24-2002 06:29 AM

you dont need a hack, it's template modification. Just edit any template you want this info to integrate and add $bbuserinfo[userid] for referrerid number at the end. Then every visitor will see his referrer id there.

eg.
"Link our site as:
http://ve.roxics.com/board/index.php?referrerid=$bbuserinfo[userid]"

roxics 09-06-2002 03:57 AM

I don't completly get what you just said. What do i edit exactly? I tried putting this

http://ve.roxics.com/board/index.php?referrerid=$bbuserinfo[userid]

into a post but it didn't change the last part to the users id.

What templates do I have to edit and where?

thanks

Logician 09-06-2002 09:34 AM

Quote:

Originally posted by roxics
What templates do I have to edit and where?

Depends on where you want to display this info..

For example if you want it be displayed in their User CP, edit template usercp, find:
PHP Code:

<br>
$cpnav
<br

After that add:
PHP Code:

<smallfont>Your referral URL is: <b>$bburl/index.php?referrerid=$bbuserinfo[userid]</b></smallfont

Enjoy..

Chris M 09-06-2002 04:42 PM

Its actually "referrerid";)

Satan

Logician 09-06-2002 04:53 PM

thx for correcting :) (I dont use referrers in my own board) ;)

Chris M 09-06-2002 09:20 PM

Ah...I only use them so I can brag:p

Satan

Zain Jaffer 12-17-2004 04:55 PM

I can't find this in my usercp (maybe, because the thread is over 2 years old!)

blueuniverse 12-17-2004 05:42 PM

maybe, because this thread is for vb2, and you are running vb3.


All times are GMT. The time now is 09:08 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.01067 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete