vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - iTrader v2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=102965)

eoc_Jason 12-13-2005 10:00 PM

iTrader v2.0.1
 
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)

eoc_Jason 12-14-2005 07:16 PM

Before anyone asks... The necessary info to upgrade from Trader Ratings 3.0.x is included in the zip file...

JulianD 12-14-2005 07:17 PM

Thanks Jason!! upgrading right now!

Wait for my comments.

lanc3lot 12-14-2005 07:26 PM

Damn i have lost the first reply :(

My damn phone call :(

Cheers, going to test it now:)

ImportPassion 12-14-2005 07:26 PM

sweet. thanks dood!

mrderanged 12-14-2005 07:27 PM

Jason,

First off thanks for your dedication in porting this to 3.5!!!

Quick question for you. I haven't installed this yet, but intend to as soon as possible.

I know that there are 3 choices "Buyer, Seller and Trade". How hard would it be to implement a 4th choice?

My forum deals with exotic pets (tarantulas mostly) and we do "breeding loans" and I would be interested in using this for feedback for that as well, so I would need that choice (in addition to the other 3) and the ability to group those transactions on the itrader page (like you can just view buyer, seller, trade or left feedback transactions currently)

Thanks for any info you could give,

Scott

eoc_Jason 12-14-2005 07:28 PM

Yes, please let me know if it does not install correctly or something is missing! It shouldn't though since I developed it on a separate forum than my main one, and it installed on there okay.

I'm going to be gone for about 30min (from when I post this comment), so if someone else in this thread reports something is broken, please wait to download it so I can fix it.

Scott - It shouldn't be too difficult... Mostly just where it does the checks for transaction type, add a couple phrases & modify the templates.

grimmer 12-14-2005 07:32 PM

i think i just had a joygasam....

dsotmoon 12-14-2005 07:35 PM

thank you jason, going to install this evening

The Wise One 12-14-2005 07:37 PM

installing on my test board now. will post a bit later when i have finished testing.

much thanks for all the hard work you put into this. im certain it wont dissapoint!

orban 12-14-2005 07:38 PM

Where is that "home page" of the trader ratings? Where you could see latest trades and all?

lazyseller 12-14-2005 07:39 PM

wow you made alot of people happy......... there are probally hundreds of 3.0 users waiting for this before they upgrade..

dieselpowered 12-14-2005 07:43 PM

Well done again jason!!!!

Kihon Kata 12-14-2005 07:51 PM

Gunna love this....

JulianD 12-14-2005 07:52 PM

Successfully installed and upgraded on my live forums... I haven't opened the system to my users because it's not translated yet to spanish but everything seems to be working fine!

evenmonkeys 12-14-2005 07:54 PM

Oh my god... just wet myself. Thanks!

eoc_Jason 12-14-2005 07:59 PM

Quote:

Originally Posted by orban
Where is that "home page" of the trader ratings? Where you could see latest trades and all?

There is no "home page" like there was on the old version. It really didn't provide relevant data, it was more of just a 'cool to look at' thing. When I get the admin / mod pages completed there will be a page similar to that so the staff can see what's going on.

There is still a lot of things to do, but right now the core stuff works. The admin pages will end up containing some stats stuff, IP search, etc...

lazyseller 12-14-2005 08:18 PM

allowing users to change and delete their feedback whats a good setting for this ? i run an automotive site

dsotmoon 12-14-2005 08:26 PM

just installed on my live board, easy, easy install, great job Jason

while i was testing it out I noticed one thing maybe for the future...

when you edit additional comments via the detail page or post a reply it doesnt give you an easy way to get back to the detail page of the person you are editing without hitting the back button

hope that makes sense? not a biggie, just maybe a convenience add on for the future

thanks again Jason! awesome job

Kihon Kata 12-14-2005 08:31 PM

That is my line, don't steal it LOL

Quote:

Originally Posted by xYarub
Oh my god... just wet myself. Thanks!


orban 12-14-2005 08:34 PM

Quote:

Originally Posted by eoc_Jason
There is no "home page" like there was on the old version. It really didn't provide relevant data, it was more of just a 'cool to look at' thing. When I get the admin / mod pages completed there will be a page similar to that so the staff can see what's going on.

There is still a lot of things to do, but right now the core stuff works. The admin pages will end up containing some stats stuff, IP search, etc...

Thanks Jason. I was just a bit confused but you're right.

Really really great work.

-orban

Noonster 12-14-2005 08:34 PM

Installed - everything imported from old version without a problem and its working PERFECTLY!!!

Thanks :D

lexx27 12-14-2005 08:41 PM

I like it! Nice Job

Spinball 12-14-2005 08:44 PM

Thanks, Jason.
I clicked 'Begin Data Conversion' to upgrade and the browser timed out.
Reluctant to click it again.
What now?

[Edit - 21476 rows in the user_rate_trade table and 1923 rows in the itrader table]
[Edit 2 : If you want me to run this manually, will this SQL statement work? (I don't have any table prefix)?
Quote:

INSERT INTO itrader (userid, rateduserid, rating, buyselltrade, subject, dealurl, dateline) SELECT userid, rateduser, userrating, userbuysell, usercomments, userurl, userdate from user_rate_trade

puertoblack2003 12-14-2005 09:28 PM

ok cool hack and **installed** :rolleyes: i want to do a test on it now where do i go and use the trader on a user? :ermm: :nervous:

dsotmoon 12-14-2005 09:30 PM

Quote:

Originally Posted by nievesidenshop
ok cool hack and **installed** :rolleyes: i want to do a test on it now where do i go and use the trader on a user? :ermm: :nervous:

did you read the template info file and add it to your templates?, this will let users access it from postbit or memberinfo

coolgus 12-14-2005 09:36 PM

Thank you Jason for all your work

2fast4ya 12-14-2005 09:39 PM

Hello. I have 3.5, and i'm doing a fresh install of this hack. I've done all the uploads and plugins. I'm a bit stumped on the tempelate part though. Please consider I am a noob at this, and I beleive your explenation is a little too advanced for me to comprehend. Can you please assist me so I can finish this install? Thank you.

puertoblack2003 12-14-2005 09:40 PM

Quote:

Originally Posted by dsotmoon
did you read the template info file and add it to your templates?, this will let users access it from postbit or memberinfo

thanks, missed that part... :nervous:

akoj 12-14-2005 09:45 PM

THANKS!! Upgraded on live board and all went well. In the process of deciding where to add in memberinfo and member_results...anyone have any creative ideas? :ermm:

coloradok5 12-14-2005 09:57 PM

Awesome, can you restict the use of this to people in a secondary group? Would like to have it so everyone can view but only members in a secondary usergroup could leave feedback.

tylercruz 12-14-2005 09:59 PM

Have it up and running at DomainForums.com

AWI 12-14-2005 10:00 PM

Thanks man, installed on 3.5.2 and no problems to report.

eoc_Jason 12-14-2005 10:05 PM

Quote:

Originally Posted by dsotmoon
just installed on my live board, easy, easy install, great job Jason

while i was testing it out I noticed one thing maybe for the future...

when you edit additional comments via the detail page or post a reply it doesnt give you an easy way to get back to the detail page of the person you are editing without hitting the back button

hope that makes sense? not a biggie, just maybe a convenience add on for the future

thanks again Jason! awesome job

No sure what you mean exactly. After you submit a comment or edit it stays on the detail page. If you mean the user summary page, you *might* be able to via the navbits, otherwise you can click on their name that makes up the summary info in the top two rows. If that is not what you are looking for please be a bit more specific and I will see what I can do.


Quote:

Originally Posted by spinball
Thanks, Jason.
I clicked 'Begin Data Conversion' to upgrade and the browser timed out.
Reluctant to click it again.
What now?

[Edit - 21476 rows in the user_rate_trade table and 1923 rows in the itrader table]
[Edit 2 : If you want me to run this manually, will this SQL statement work? (I don't have any table prefix)?

You would end up with duplicate ratings, truncate the itrader table first. Yes that query *should* work. However after you do that you will need to run a global score update. There is an included PHP file to do that, it's in the extras/admincp folder in the zip.

----------------------------------------

Sorry I was short on the documentation. It was actually longer but I overwrote one of the files after I spent a bunch of time typing it all out so I had to start it over from scratch and just didn't have the energy to re-do it all as indepth again. I will write out better documentation when I get a little free time, or someone else is more than welcome to. ;)

I'm about to update the topbox thingy in this thread with the planned additions for the next update. However, I will say this now do not expect an update until after christmas or maybe even new years. (Unless there is a bug / flaw, those gets fixed asap).

dsotmoon 12-14-2005 10:06 PM

Quote:

Originally Posted by akoj
THANKS!! Upgraded on live board and all went well. In the process of deciding where to add in memberinfo and member_results...anyone have any creative ideas? :ermm:

i added this to memberinfo under usernotes...

Code:

<!-- start iTrader plugin -->
        <div class="panel">
        <div style="padding:;">
        <fieldset class="fieldset">
        <legend>$userinfo[username]s iTrader</legend>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
        <tr>
        <td>
        iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)
        </td>
        </tr>
        </table>
        </fieldset>
        </div>
        </div>
        <!-- end iTrader plugin-->


eoc_Jason 12-14-2005 10:07 PM

Hmm... not 100% sure, but it *should* work properly as long as you set the primary group to view but not rate, then the other group to both view & rate. I do not use secondary groups on my forum, sorry.

If it doesn't work let me know, and I can look into it further.

Quote:

Originally Posted by coloradok5
Awesome, can you restict the use of this to people in a secondary group? Would like to have it so everyone can view but only members in a secondary usergroup could leave feedback.

dsotmoon - Could you please refrain from using the name "Trader Ratings", the product name is "iTrader"... I will hopefully be releasing a slightly different addon for vB with the name "Trader Ratings" and do not want people to get the two products confused.

iTrader = Local (forum) ratings only
Trader Ratings = Global ratings (same ratings over many forums)

akoj 12-14-2005 10:12 PM

One, hopefully quick, thing I can't figure out....

I decided to set up the members_resultsbit like this:

hollyhobby420
iTrader: ()
Newbie

However, the trade number will not show...even for people who have feedback...have it in the template as such:

Code:

<tr align="center">
        <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]">
                <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
<div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div>
                <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
        </td>

Can someone please tell me what I am doing wrong? The value is showing in the parathesis in the member info area.

The Wise One 12-14-2005 10:12 PM

ok got it installed with zero problems. very nice!

im trying to tweak the MEMBERINFO template a little. id like to add the Feedback Score and Positive Feedback percentage but it wont show. so far ive tried adding the following code:

$userinfo[tradepcnt]%

$userinfo[tradescore]

neither of which are working. $vbphrase[itrader_positive_feedback]: isnt working either.

ive also tried including functions_itrader.php and itrader_global.php to member.php. that also didnt work.

is there a relatively easy way to make this work? i dont mind file edits.

dsotmoon 12-14-2005 10:14 PM

Quote:

Originally Posted by eoc_Jason

dsotmoon - Could you please refrain from using the name "Trader Ratings", the product name is "iTrader"...

sure no problem, i changed it for you, its just what I call it on my forum, thats all

The Wise One 12-14-2005 10:14 PM

Quote:

Originally Posted by akoj
One, hopefully quick, thing I can't figure out....

I decided to set up the members_resultsbit like this:

hollyhobby420
iTrader: ()
Newbie

However, the trade number will not show...even for people who have feedback...have it in the template as such:

Code:

<tr align="center">
        <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]">
                <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
<div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div>
                <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
        </td>

Can someone please tell me what I am doing wrong? The value is showing in the parathesis in the member info area.

try changing

$post[itrader_total]

to

$userinfo[itrader_total]


All times are GMT. The time now is 10:14 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.01890 seconds
  • Memory Usage 1,843KB
  • 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
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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