Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Addon] Show Itrader Stats In Profile Details »»
[Addon] Show Itrader Stats In Profile
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-12-2006 Last Update: 03-12-2006 Installs: 232
Uses Plugins Template Edits
Code Changes  
No support by the author.


Brought to you by:
DopeGFX
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------


What does this do?
This Addon allows you to have user's itrader stats displaying in their profile. You can customize this easily by editing the itrader_profile template and/or changing where you want to put $itrader_profile in your memberinfo template.

What does this hack require?
Template Edits: 1
File Edits: 1
Products Imported: 1
[high]You must have iTrader installed[/high]

Enjoy the hack.


Don't forget to click INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 09-19-2007, 12:50 AM
vnairp11 vnairp11 is offline
 
Join Date: Jul 2007
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot of this mod. what does view full profile link do.. it just reloads the page is there a way to remove it?
Reply With Quote
  #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
  #64  
Old 12-19-2007, 03:45 AM
DotSauce's Avatar
DotSauce DotSauce is offline
 
Join Date: Dec 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by afullcup View Post
Several people have asked for some changes that I also needed and made, so I'm sharing them...
Thank you for the update, I wouldn't have installed without this. Cheers.
Reply With Quote
  #65  
Old 12-19-2007, 04:15 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by afullcup View Post
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>
Does look neater, I do see what you edited out. Looks nice
Reply With Quote
  #66  
Old 02-03-2008, 03:41 PM
RFrye RFrye is offline
 
Join Date: Jan 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question:

I kept getting a syntax error in member php on line 27 when I replaced messaging with

'messaging',
'itrader'

So I edited this as follows;

'messaging',
'itrader',

The error is gone, but I am not cetain this code will perform it's function now, does anyone know?
Reply With Quote
  #67  
Old 02-05-2008, 12:14 AM
Realbigsource's Avatar
Realbigsource Realbigsource is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I'm having some problem with this plug in....i'm receiving the error message below when I edit and upload the member.php tamplete.

Parse error: syntax error, unexpected T_IF in /home/realb6/public_html/forum/member.php on line 834

This is what like 834 looks like:
Parse error: syntax error, unexpected T_IF in /home/realb6/public_html/forum/member.php on line 834

832 ));
833 eval('$navbar = "' . fetch_template('navbar') . '";');
834 <if condition="$vboptions[itrader_profile] == '1' ">$itrader_profile</if>
835
836$bgclass = 'alt2';

This is the instruction for the above:
// ############# Do The Following In The MEMBERINFO template ##############

Search For:
$navbar

Add Below:
<if condition="$vboptions[itrader_profile] == '1' ">$itrader_profile</if>
Reply With Quote
  #68  
Old 02-06-2008, 04:20 AM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Realbigsource, I think you are editing the member.php file, not the MEMBERINFO template.

Templates are edited through the Admin Control Panel, Style Manager. They do not contain PHP code, but a simplified template language (look in the vBulletin Documentation for templates).

And generally speaking, you should never touch the php files of vBulletin, unless you are required to hack them by hacks or code modifications in general.
Reply With Quote
  #69  
Old 02-27-2008, 02:33 AM
dmark101's Avatar
dmark101 dmark101 is offline
 
Join Date: Oct 2002
Location: SoCal
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oooooookay. i installed this some time ago, along with itrader and i'm not getting it to show up in the profile.
Reply With Quote
  #70  
Old 02-27-2008, 07:52 AM
dmark101's Avatar
dmark101 dmark101 is offline
 
Join Date: Oct 2002
Location: SoCal
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dmark101 View Post
oooooookay. i installed this some time ago, along with itrader and i'm not getting it to show up in the profile.
ok, i'm a dumbass. forgot the option for the profile was off by default. it works perfectly again.
Reply With Quote
  #71  
Old 03-03-2008, 12:34 AM
uppie1414 uppie1414 is offline
 
Join Date: Jan 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can you see this in a post? I'd like to have it show up w/out actually having to click on their profiles. thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:51 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.05388 seconds
  • Memory Usage 2,328KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete