PDA

View Full Version : Inserting a Link into homepage statistics section


jamestl2
05-29-2008, 01:10 PM
OK, I just installed E-Steki's referrer statistics Product:
https://vborg.vbsupport.ru/showthread.php?t=101000

And what I wanted to do was insert a link to my new referrers.php page under my forum statistic section. (I figured I would put a "Referrer Statistics" Link right after the thread / post / etc. stats, and right above where it says "Welcome to our newest member,".)

I'm already at the 3/4 mark of the FORUMHOME template within my adminCP, and I thought I would insert it here:
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">, (REFERRAL.PHP LINK HERE),
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>


But what I'm not sure about (if my placement isn't correct, that is) if I needed to add other things to it like a vbphrase or special programming code or something (Other than just a standard HTML link).

Just wanted to make sure I'm doing this right :).

GameWizard
05-29-2008, 04:45 PM
What you have above should suffice. You can always create a phrase, however really only necessary if you plan on using the same text in more than 1 location, making it easier to modify in the future. If it happens to be in only that place, then just paste the normal HTML link there and that's all you need.

jamestl2
05-29-2008, 06:19 PM
Thanks GameWizard, everything seems to be working alright ATM :).