vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Inserting a Link into homepage statistics section (https://vborg.vbsupport.ru/showthread.php?t=180888)

jamestl2 05-29-2008 01:10 PM

Inserting a Link into homepage statistics section
 
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:
PHP Code:

<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 :).


All times are GMT. The time now is 04:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01071 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete