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)

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 05:17 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.01951 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)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