The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$vbphrase
ok i have a coding question, im running a phpfox site with vbulletin integrated into it..
i have also integrated the casino script into the vbulletin script... everything works fine. i want to be able to display how much money the user has in their casino balance on their phpfox profile page.. so this is how far ive got.. found out where i want to display it.. snapshot of the top of the /public_html/design/templates/default/public/user/index.html...(phpfox profile page) Code:
{* START TABS *} {$srcTabbedMenu} {* END TABS *} <table style="width:100%;" cellpadding="4" cellspacing="8"> <tr> {* START LEFT COLUMN *} <td style="width:45%;vertical-align:top;"> {if $aUser.headline} <div style="font-size: 9pt; padding-left: 8px;" id="profile_headline"> {$aUser.headline|process_code} </div> <br /> {/if} {Account::UserInfo oUser=$oUser} RIGHT HERE <br /> {Account::AdvancedRating oUser=$oUser} {if !$bIsOwner && $oCurrUser}{Account::RateUser oUser=$oUser oRater=$oCurrUser}{/if} casino_index_main template.. Code:
$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>DaCypher.net Casino</title> $headinclude </head> <body > $header $navbar <table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='100%'> <thead> <tr align='center'> <td class='tcat'><img src="http://www.dacypher.net/file/casinohead.jpg"></td> </tr> </thead> <tbody> <tr> <td class='alt1'> $abovetable <table style='width:100%;'> <tr> <td style='vertical-align:top;'> $topleftcol <div style='text-align:center;font-size:16pt;font-weight:bold'>$vbphrase[casino_youhave]: $vbphrase[casino_currency_marker]$cash</div> Code:
$vbphrase[casino_currency_marker]$cash Code:
{* START TABS *} {$srcTabbedMenu} {* END TABS *} <table style="width:100%;" cellpadding="4" cellspacing="8"> <tr> {* START LEFT COLUMN *} <td style="width:45%;vertical-align:top;"> {if $aUser.headline} <div style="font-size: 9pt; padding-left: 8px;" id="profile_headline"> {$aUser.headline|process_code} </div> <br /> {/if} {Account::UserInfo oUser=$oUser} <div style='text-align:left;font-size:10pt;font-weight:bold'>$vbphrase[casino_currency_marker]$cash</div> <br /> {Account::AdvancedRating oUser=$oUser} {if !$bIsOwner && $oCurrUser}{Account::RateUser oUser=$oUser oRater=$oCurrUser}{/if} now im thinking maybe i need to initialise this $vbphrase or global.php or something somehow in the profile page?? n.b. im a total php retard so just laugh at me if im way off... :P |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|