The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi, I was looking at another script about referrers, and I wondered whether it was possible to have a default referrer if a different user hasn't been noted as the true referrer.
So, on the registration page, if the 'Referred by:' box has not been completed, a script defines a specified member as the referrer, ie. the owner/Super Admin. I like the idea, I just don't know what to do! |
#2
|
|||
|
|||
![]()
Well that sounds a bit like cheating to me.
![]() ![]() |
#3
|
|||
|
|||
![]()
Well, technically.
![]() ![]() |
#4
|
||||
|
||||
![]()
You could add something like
Code:
<if condition="!$userinfo[referrername]">1<else />(whatever is the default value set for the referrer name field)</if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|