PDA

View Full Version : Easy referral link box


roxics
08-24-2002, 03:47 AM
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
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
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:

<br>
$cpnav
<br>


After that add:
<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.