The Arcive of vBulletin Modifications Site. |
|
|
#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.
...But it's my board and I'll cheat if err... someone will help me.
|
|
#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 | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|