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)

fonzie11 01-20-2006 07:14 PM

i just installed it.. but how do i leave the people the feedback now? Were do i goto?

kontrabass 01-23-2006 09:01 PM

Sorry if this has been asked previously (did a search): Is there a way to specify the name(s) of moderators who are to receive reports of bad ratings?

graham_w 01-24-2006 03:24 AM

Quote:

Originally Posted by eoc_Jason
graham_w - It links directly to a (thread) URL for normal users, it only links to the detail page for the two people involved in the deal & admins. You can still access the (thread) URL on the detail page if you click the linked comment text at the top.

Ahh thanks mate :) Makes sense that would happen like that !

Another question - we used to keep a manual scoring system, and want to update all members feedback score in itrader with their total. What is the best way to manually add this ? Don't mind if its manual DB work - just need to know the best way :)

exilera 01-24-2006 02:33 PM

I'm not a coder, so I'm not sure exactly where to add the rating code to the postbit/postbit legacy, memberinfo, etc, or make any changes necessary for it to look good.

Would someone mind posting where they placed the iTrader display code on their forums?

Another question, how would I add a link to the iTrader display in the user's CP to add it under "Miscellaneous"?

Thanks!

exilera 01-24-2006 03:07 PM

Quote:

Originally Posted by Damian
All the template edits I have posted in this thread are in the attached zip file.



In memberlist

Find:

PHP Code:

<td class="thead" align="$stylevar[left]nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=username&amp;pp=$perpage$usergrouplink">$vbphrase[username]</a$sortarrow[username]</td

After add:

PHP Code:

<td class="thead" nowrap="nowrap">iTrader</td


In memberlist_resultsbit

Find:

PHP 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>
        <if 
condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
    </
td

After add:

PHP Code:

<td class="$bgclass">(<strong><a href="itrader.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[itrader_total]</a></strong>)  / $userinfo[itrader_pcnt]%</td

If you want an button instead of a text link showing current score, add this instead of the above:

PHP Code:

<td class="$bgclass"><a href="itrader.php?$session[sessionurl]u=$userinfo[userid]"><img src="$stylevar[imgdir_button]/itrader.gif" alt="itrader.gif" title="Submit feedback for $userinfo[username]border="0" /></a></td

Make a button "itrader.gif" and upload it to your button directory. I made a button for those of you using the default template.

Would you mind doing the same thing for the Postbit and postbit legacy templates, and the AdminCP?

exilera 01-24-2006 03:24 PM

By the way, how would I fix the bottom bar in the attached image? :)

Thanks for the help!

Guest210212002 01-24-2006 03:44 PM

Quote:

Originally Posted by exilera
By the way, how would I fix the bottom bar in the attached image? :)

Thanks for the help!

I believe you'd need to look for colspan="4" to the bottom row of that template, and change it to colspan="5".

exilera 01-24-2006 03:52 PM

Quote:

Originally Posted by Chris-777
I believe you'd need to look for colspan="4" to the bottom row of that template, and change it to colspan="5".

Hmm, I believe this is the relevant code from the MEMBERLIST template:

Code:

<td class="tfoot" colspan="$totalcols" align="$stylevar[right]">
                <span class="smallfont">
                <if condition="$show['usergroup']">
                        <input type="submit" class="button" value="$vbphrase[remove_selected_users]" />
                <else />
                        <phrase 1="$first" 2="$last" 3="$totalusers">$vbphrase[showing_results_x_to_y_of_z]</phrase>
                </if>
                </span>
        </td>


AllenMead 01-28-2006 04:26 PM

Great hack, upgrade installed seamlessly. One question, how do I show this in the user's profile on each post instead of at the top or bottom 'outside' of the post as it does on your site Jason?

Thanks in advance!

phonexpo 01-28-2006 04:35 PM

Quote:

Originally Posted by AllenMead
Great hack, upgrade installed seamlessly. One question, how do I show this in the user's profile on each post instead of at the top or bottom 'outside' of the post as it does on your site Jason?

Thanks in advance!

Hi,

Put the code in to the postbit legacy ;).


All times are GMT. The time now is 10:54 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.01928 seconds
  • Memory Usage 1,767KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (5)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