View Single Post
  #63  
Old 12-17-2007, 08:02 PM
afullcup afullcup is offline
 
Join Date: Jul 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Several people have asked for some changes that I also needed and made, so I'm sharing them...

I removed the entire Contact Info section since that info is all already on the User's Profile. I also added a link to view the member's entire feedback.

Here's my entire itrader_profile template. Screenshot also attached. HTH

Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" align="center">$vbphrase[itrader_member_profile]</td>
		<td class="tcat" align="center">$vbphrase[itrader_recent_ratings]</td>
	</tr>
	<tr>
		<td class="alt1" valign="top">
			<div align="$stylevar[left]">
			<table border="0" cellpadding="5" width="100%">
				<tr>
					<td><b>$vbphrase[itrader_feedback_score]:</b><br /><b>$vbphrase[itrader_positive_feedback]:</b></td>
					<td><b>$userinfo[tradescore]<br />$userinfo[tradepcnt]%</b></td>
				</tr>
				<tr>
					<td>$vbphrase[itrader_positive_members]:<br />$vbphrase[itrader_negative_members]:</td>
					<td>$userinfo[tradepos]<br />$userinfo[tradeneg]</td>
				</tr>
				<tr>
					<td>$vbphrase[itrader_positive_all]:</td>
					<td><if condition="$userinfo[tradeposall]">$userinfo[tradeposall]<else />0</if></td>
				</tr>
				<if condition="$userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->bf_ugp_forumpermissions['canpostnew']">
				<tr>
					<td colspan="2" align="center"><a href="itrader_feedback.php?$session[sessionurl]u=$userinfo[userid]"><b>$vbphrase[itrader_submit_feedback] $userinfo[username]</b></a></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><a href="itrader.php?$session[sessionurl]u=$userinfo[userid]"><b>View all feedback for $userinfo[username]</b></a></td>
				</tr>
				</if>
			</table>
			</div>
		</td>
		<td class="alt1" align="center" valign="top">
			<div align="$stylevar[left]">
			<table border="0" cellpadding="2" width="100%">
				<tr>
					<td>&nbsp;</td>
					<td align="center">$vbphrase[itrader_past_month]</td>
					<td align="center">$vbphrase[itrader_past_6_months]</td>
					<td align="center">$vbphrase[itrader_past_12_months]</td>
				</tr>
				<tr>
					<td colspan="4" class="alt2" style="padding:1px"></td>
				</tr>
				<tr style="color:#008000">
					<td align="left"><img src="images/icons/icon10.gif" align="absmiddle" alt="Positive" /> $vbphrase[itrader_positive]</td>
					<td align="center"><if condition="$userinfo[tradepos30]">$userinfo[tradepos30]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradepos180]">$userinfo[tradepos180]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradepos365]">$userinfo[tradepos365]<else />0</if></td>
				</tr>
				<tr>
					<td colspan="4" class="alt2" style="padding:1px"></td>
				</tr>
				<tr>
					<td align="left"><img src="images/icons/icon5.gif" align="absmiddle" alt="Neutral" /> $vbphrase[itrader_neutral]</td>
					<td align="center"><if condition="$userinfo[tradeneu30]">$userinfo[tradeneu30]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradeneu180]">$userinfo[tradeneu180]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradeneu365]">$userinfo[tradeneu365]<else />0</if></td>
				</tr>
				<tr>
					<td colspan="4" class="alt2" style="padding:1px"></td>
				</tr>
					<tr  style="color:#FF0000">
					<td align="left"><img src="images/icons/icon8.gif" align="absmiddle" alt="Negative" /> $vbphrase[itrader_negative]</td>
					<td align="center"><if condition="$userinfo[tradeneg30]">$userinfo[tradeneg30]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradeneg180]">$userinfo[tradeneg180]<else />0</if></td>
					<td align="center"><if condition="$userinfo[tradeneg365]">$userinfo[tradeneg365]<else />0</if></td>
				</tr>
			</table>
			</div>
		</td>

	</tr>
</table><br>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01269 seconds
  • Memory Usage 1,791KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete