The Arcive of vBulletin Modifications Site. |
|
how to create a referral link Details »»
|
|||||||||||||||||||||||||
all the threads I have found have so far proved useless to me.
I know there's a variable that shows http://www.mydomain.com?ref=32132131Basically, I need to put a referral link in each users profile like at SitePoint Forums. $post[userid] doesn't seem to work. Any help appreciated. Sketch Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
$userinfo[userid] should to work. If that doesn't try $user[userid]... but I think it's the former.
|
|
#3
|
|||
|
|||
|
Here are the contents of the post:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $userinfo[userid] should to work. If that doesn't try $user[userid]... but I think it's the former. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You'd think.... I have tried both with no luck. This is the code bit that I'm putting in the forumhome template. <tr> <td bgcolor="{secondaltcolor}" align="center" valign="top" width="100"> </td> <td bgcolor="{firstaltcolor}" colspan="5"> <smallfont> $userinfo[userid](watch this spot for info on referring your friends) </smallfont> </td> </tr> |
|
#4
|
||||
|
||||
|
In the forumhome template? You said you want it in the profile...
For the user that is viewing the page $bbuserinfo[userid] is the ID. |
|
#5
|
|||
|
|||
|
> Here are the contents of the post:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In the forumhome template? You said you want it in the profile... > > For the user that is viewing the page $bbuserinfo[userid] is the ID. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I changed my mind. I decided to add on to a hack I have on the front pageand I guess I automatically assumed it would be the same variable. Sorry. That works beautifully. Thanks. Sketch |
![]() |
|
|