Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
iTrader v2.0.1 Details »»
iTrader v2.0.1
Version: 2.0.1, by eoc_Jason eoc_Jason is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Category: Major Additions - Version: 3.5.5 Rating:
Released: 12-13-2005 Last Update: 12-18-2005 Installs: 692
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

iTrader - A user feedback add-on for vBulletin 3.5.x
Copyright ?2004-2005 Jason Rabel, All Rights Reserved.
__________________________________
Latest iTrader Verson: 2.0.1
vB Versions Supported: 3.5.x & 3.6.x
Author: Jason Rabel
Contact: PM me here.
Site: EXTREME Overclocking
??????????????????????????????????
Description:
iTrader for vB 3.5.x & 3.6.x has evolved from Trader Ratings for vB 3.0.x which evolved from Buy/Sell/Trade User Rating System for vB 2.x. This is a rating system for when members buy / sell / trade items from each other (presumably on a FS section of your forum). It is somewhat based on the honor system since there is no automatic way to truly tell if they did engage in a transaction. iTrader came about because it was a pain to try and maintain a single thread listing good / bad traders and so far has worked out quite well.

Features:
  • Rate another member: Positive / Negative / Neutral
  • Specify in each transaction: Buyer, Seller, or Trade
  • Leave multiple comments about the deal
  • Dates & IPs are all recorded to prevent abuse
  • Specify a thread URL to the deal
  • Advanced URL checking
  • Display ratings over time
  • Filter based on Buyer/Seller/Trade/or feedback they left for others
  • Users can edit/delete ratings left for others (time based limitation)
  • iTrader Admins can edit/delete anyone's ratings (just incase)
  • PM notification when new rating or comment is left
  • Per-usergroup permissions
  • Lots of admin controllable options

Installation / Upgrade Info:
Read the included readme file, it explains everything.

Standard Disclaimer:
BACKUP YOUR DATABASE & FILES BEFORE IMPLEMENTING THIS HACK!!!

Donations:
This add-on will always be free, however your donations are kindly accepted and will help towards further development. The link is on the right under "The Developer" info.

Future Additions:
  • AdminCP & ModCP Menus for searching IPs, stats, mass-prune, etc
  • Better navigation across pages
  • Better error descriptions
  • Adjust action icons some
  • Page to link two ratings manually
  • AdminCP Option to choose how ratings are ordered (asc or desc by time)
  • AJAX editing

Release History:
2.0.1 - December 18, 2005
2.0.0 - December 14, 2005

Detailed template edits : (Link)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
vicius_the_one

Comments
  #852  
Old 12-22-2007, 01:58 PM
Howell Howell is offline
 
Join Date: Apr 2007
Location: UK
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used

Code:
<if condition="$vboptions[itrader_profile] =='1'">
Rather than

Code:
<if condition="$post['userid']">
Then if you have the mod disabled it wont appear.
Reply With Quote
  #853  
Old 12-23-2007, 03:48 AM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Told you I wasn't a pro modder! Sweet!!!
Reply With Quote
  #854  
Old 12-23-2007, 01:44 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just like to use the i-trader system forjust one of the forum that has to do with trading and for the otehrs i do not want it to show at all. How do i do that?
Reply With Quote
  #855  
Old 12-23-2007, 01:55 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kronnos, go to your AdminCP->vBulletin Options->iTrader Settings

The last setting states the following:
Quote:
Valid Forums Only
This is to only allow threads from certain forum sections. (i.e. your FS/WTB). Obviously "Strict URL Checking" has to be set to 'yes' for this to have any effect. If a thread does not match up with this list, then it is considered not valid. This should be a comma separated list of your forumid(s), ex: 1,2,3,4 otherwise leave it blank (no text) to disable this check.
This should get you going.

Howell, you have this working in vBulletin 3.6.8
Code:
<if condition="$vboptions[itrader_profile] == '1'">
                <div>$vbphrase[trader_rating]: <b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b></div></if>
Reply With Quote
  #856  
Old 12-23-2007, 01:55 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hamidof View Post
I thought I will share this:
If you want to show iTrader in just some forums, use this code instead:

PHP Code:
<if condition="$post['userid'] AND in_array($forum[forumid], array(3,43,23,9))"><div>iTrader Feedback(s): (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if> 
Note:
3,43,23,9 (coma separated) are sample forum IDs where you have to use your own, to find these IDs simply browse the forums you want to include and in the URL you see your_domain.com/forumdisplay.php?f=40 where 40 is the ID of this forum.
This is really great, just what I was looking for, in what and where in the template would I need to paste this code to work?
Reply With Quote
  #857  
Old 12-23-2007, 01:57 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zendiver View Post
Kronnos, go to your AdminCP->vBulletin Options->iTrader Settings

The last setting states the following:


This should get you going.
Oh, I have seen this option but I though it only let users use the URL's from the specific forums specified but is the Itrader only seen in these forums as well?
Reply With Quote
  #858  
Old 12-23-2007, 02:21 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That IS for your iTrader Ratings for specified forums.
Reply With Quote
  #859  
Old 12-23-2007, 02:25 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Howell View Post
I used

Code:
<if condition="$vboptions[itrader_profile] =='1'">
Rather than

Code:
<if condition="$post['userid']">
Then if you have the mod disabled it wont appear.
If you use the code you specified, it will ONLY show up if a member has only 1 iTrader rating (if at all - I tried yours and it wouldn't show up for anyone having a rating). If you want the information to show up in the postbit when they have a rating and NOT to show up when they don't have, then use the following:
PHP Code:
<if condition="$post[itrader_total] != '0'">
                <
div>$vbphrase[trader_rating]: <b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b></div></if> 
Reply With Quote
  #860  
Old 12-23-2007, 02:31 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zendiver View Post
Kronnos, go to your AdminCP->vBulletin Options->iTrader Settings

The last setting states the following:


This should get you going.

Howell, you have this working in vBulletin 3.6.8
Code:
<if condition="$vboptions[itrader_profile] == '1'">
                <div>$vbphrase[trader_rating]: <b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b></div></if>
I would not need this code if I am using 3.6.7 right? So what code would I need to insert into my templates and where?
Reply With Quote
  #861  
Old 12-23-2007, 02:50 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kronnos,
Create a GLOBAL phrase variable "trader_rating" and give it the text "iTrader Rating" OR replace: $vbphrase[trader_rating]: with iTrader Rating: (either way will work)

In your postbit_legacy template:

FIND:
Code:
<!-- message -->
PASTE AFTER: (note x,x,x,x - these are your forum ID's)
PHP Code:
<if condition="in_array($forum[forumid], array(X,X,X,X))">
        <if 
condition="($post[itrader_total] == '0')">
            <
div style="text-align:center;font-weight:bold;color:grey;">This user has no <a href="$vboptions[bbdir]/itrader.php?$session[sessionurl_q]u=$post[userid]">trader rating</ascore. <a href="$vboptions[bbdir]/itrader_feedback.php?$session[sessionurl_q]u=$post[userid]">Leave Feedback</a></div><br />
        <else />
            <if 
condition="($post[itrader_total] < '0')">
                <
div style="text-align:center;font-weight:bold;color:red;">This user has a negative <a href="$vboptions[bbdir]/itrader.php?$session[sessionurl_q]u=$post[userid]">trader rating</ascore of $post[itrader_total]! <a href="$vboptions[bbdir]/itrader_feedback.php?$session[sessionurl_q]u=$post[userid]">Leave Feedback</a></div><br />
            </if>
        <else />
            <
div style="text-align:center;font-weight:bold;color:blue;">This user has a positive <a href="$vboptions[bbdir]/itrader.php?$session[sessionurl_q]u=$post[userid]">trader rating</ascore of $post[itrader_total]! <a href="$vboptions[bbdir]/itrader_feedback.php?$session[sessionurl_q]u=$post[userid]">Leave Feedback</a></div><br />
        </if>
      <else />
      </if>
      <else />
      </if> 
I just tested this on my test server and it worked just fine. Just make sure the put the forum id's you want this to show up in in place of the x's.
Reply With Quote
Reply

Thread Tools

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 01:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08255 seconds
  • Memory Usage 2,349KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_code
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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