vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Trader Ratings v1.2.0 (https://vborg.vbsupport.ru/showthread.php?t=65730)

eoc_Jason 09-08-2004 01:59 AM

Oops... Man I need to get more sleep... I just updated the .zip again... So now people upgrading from 1.1.0 -> 1.2.0 should go smooth.

Everyone else, just follow the step above, making sure it is "1.2.0" and NOT "v1.x.0"

oldfan 09-08-2004 09:31 AM

eoc_Jason thanks alot for this feature :)
One question, how could I remove "Wall of Shame" ?

Watson 09-08-2004 01:46 PM

This is still the best hack I have used, Thanks very much (if I wasnt an unemployed bum I would donate) It just works so well for my music trading forums

VodkaFish 09-08-2004 03:25 PM

Quote:

Originally Posted by oldfan
eoc_Jason thanks alot for this feature :)
One question, how could I remove "Wall of Shame" ?

You can remove it by editing the tratings_stats template. Look for the $vbphrase[tratings_wall_of_shame] area. Let's say you wanted to just comment it out so you have just the two other columns, you could do something like this:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[tratings]</title>
$headinclude
</head>
<body>
$header
$navbar

  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
      <td class="tcat" align="center"><phrase 1="$vbphrase[tratings]">$vbphrase[x_statistics]</phrase></td>
      <td class="tcat" align="center">$vbphrase[tratings_recent_ratings]</td>
      <td class="tcat" align="center">$vbphrase[tratings_find_member]</td>
    </tr>
    <tr>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
        <table border="0" cellpadding="5">
          <tr>
            <td>$vbphrase[tratings_total_feedback]:<br>$vbphrase[tratings_members_rated]:</td>
            <td><b>$pginfo[total_ratings]<br>$pginfo[rated_count]</b></td>
          </tr>
          <tr>
            <td>$vbphrase[tratings_feedback_today]:<br>$vbphrase[tratings_average_feedback]:</td>
            <td>$pginfo[ratings_today]<br>$pginfo[ratings_average]</td>
          </tr>
        </table>
        </div>
        </td>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
        <table border="0" cellpadding="2" width="100%">
          <tr>
            <td>&nbsp;</td>
            <td align="center">$vbphrase[tratings_past_month]</td>
            <td align="center">$vbphrase[tratings_past_6_months]</td>
            <td align="center">$vbphrase[tratings_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="$vbphrase[tratings_positive]" /> $vbphrase[tratings_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="$vbphrase[tratings_neutral]" /> $vbphrase[tratings_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="$vbphrase[tratings_negative]" /> $vbphrase[tratings_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>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
                <form action="memberlist.php" method="post">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="getall" />
                        <div class="fieldset">
                                $vbphrase[username]:<br />
                                <input type="text" class="bginput" size="25" name="ausername" value="" />
                        </div>

                        <div style="margin-top:$stylevar[cellpadding]px">
                                <input type="submit" class="button" value="Search Now" accesskey="s" />
                        </div>
                </form>
        </div>
        </td>
    </tr>
  </table>

<br />

<table cellpadding="0" cellspacing="5" border="0" align="center">
        <tr>
        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_recent_ratings]</td>
                </tr>
                $pginfo[recent_ratings]
                </table>
        </td>
        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_top_traders]</td>
                </tr>
                $pginfo[top_rated]
                </table>
        </td>
<!--        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_wall_of_shame]</td>
                </tr>
                $pginfo[bottom_rated]
                </table>
        </td> -->
        </tr>
</table>

<div align="right" class="smallfont">$vbphrase[tratings] $vbphrase[tratings_version]</div>
$footer

</body>
</html>


eoc_Jason 09-08-2004 05:02 PM

Alternatively if you want it to appear automatically when the first negative rating is given, you can do the conditionals around that block instead of the comments...

like: <if condition="!$pginfo[bottom_rated]">....</if>

(I think that should work, but its not tested).

VodkaFish 09-08-2004 08:27 PM

I got rid of it on mine because there's a single negative rating. I know it sounds silly, but for a guy that had one trade go bad, I didn't want to crucify him until he had company :)

oldfan 09-09-2004 02:43 AM

worked like a charm, thanks !

Quote:

Originally Posted by VodkaFish
You can remove it by editing the tratings_stats template. Look for the $vbphrase[tratings_wall_of_shame] area. Let's say you wanted to just comment it out so you have just the two other columns, you could do something like this:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[tratings]</title>
$headinclude
</head>
<body>
$header
$navbar

  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
      <td class="tcat" align="center"><phrase 1="$vbphrase[tratings]">$vbphrase[x_statistics]</phrase></td>
      <td class="tcat" align="center">$vbphrase[tratings_recent_ratings]</td>
      <td class="tcat" align="center">$vbphrase[tratings_find_member]</td>
    </tr>
    <tr>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
        <table border="0" cellpadding="5">
          <tr>
            <td>$vbphrase[tratings_total_feedback]:<br>$vbphrase[tratings_members_rated]:</td>
            <td><b>$pginfo[total_ratings]<br>$pginfo[rated_count]</b></td>
          </tr>
          <tr>

            <td>$vbphrase[tratings_feedback_today]:<br>$vbphrase[tratings_average_feedback]:</td>
            <td>$pginfo[ratings_today]<br>$pginfo[ratings_average]</td>
          </tr>
        </table>
        </div>
        </td>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
        <table border="0" cellpadding="2" width="100%">
          <tr>
            <td>&nbsp;</td>
            <td align="center">$vbphrase[tratings_past_month]</td>
            <td align="center">$vbphrase[tratings_past_6_months]</td>
            <td align="center">$vbphrase[tratings_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="$vbphrase[tratings_positive]" /> $vbphrase[tratings_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="$vbphrase[tratings_neutral]" /> $vbphrase[tratings_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="$vbphrase[tratings_negative]" /> $vbphrase[tratings_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>
        <td class="alt1" valign="top">
        <div align="$stylevar[left]">
                <form action="memberlist.php" method="post">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="getall" />
                        <div class="fieldset">
                                $vbphrase[username]:<br />
                                <input type="text" class="bginput" size="25" name="ausername" value="" />
                        </div>

                        <div style="margin-top:$stylevar[cellpadding]px">
                                <input type="submit" class="button" value="Search Now" accesskey="s" />
                        </div>
                </form>
        </div>
        </td>
    </tr>
  </table>

<br />

<table cellpadding="0" cellspacing="5" border="0" align="center">
        <tr>
        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_recent_ratings]</td>
                </tr>
                $pginfo[recent_ratings]
                </table>
        </td>
        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_top_traders]</td>
                </tr>
                $pginfo[top_rated]
                </table>
        </td>
<!--        <td valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
                <tr>
                <td class="tcat" align="center" nowrap="nowrap">$vbphrase[tratings_wall_of_shame]</td>
                </tr>
                $pginfo[bottom_rated]
                </table>
        </td> -->
        </tr>
</table>

<div align="right" class="smallfont">$vbphrase[tratings] $vbphrase[tratings_version]</div>
$footer

</body>
</html>



oldfan 09-09-2004 02:45 AM

thanks again eoc_Jason :)
BtW has Trader Ratings 1.2.0 been voted a HOTM yet?
If not it should be!

thanks

eoc_Jason 09-09-2004 04:49 PM

1.1.0 was submitted I think for two months... Didn't make #1 pick though...

Maybe this version will get a few more votes if it gets listed again.

ChrisBaktis 09-10-2004 06:55 PM

Awesome Upgrade!


All times are GMT. The time now is 04:49 AM.

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.01723 seconds
  • Memory Usage 1,830KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete