vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display Reputation Given in UserCP (https://vborg.vbsupport.ru/showthread.php?t=69296)

fuse3k 04-02-2005 01:03 PM

<a href="http://forum.tampaimports.com/" target="_blank">http://forum.tampaimports.com/</a>

visitor:tivisitor

Thank you.

Paul M 04-02-2005 01:26 PM

I get this;

Quote:

You have entered an invalid username or password. Please press the back button, enter the correct details and try again. Don't forget that the password is case sensitive. Forgotten your password?

GamerzWorld 04-02-2005 09:48 PM

Quote:

Originally Posted by fuse3k
I installed it...followed all the directions...but when i goto UserCP I don't see anything there...no Rep givin or error messages. Any ideas?

Same

www.mirzone.net

ID : test
pass : test

Paul M 04-03-2005 10:02 AM

Quote:

Originally Posted by GamerzWorld
Same

www.mirzone.net

ID : test
pass : test

That user appears to have "Display Reputation (Level)" turned off. It also appears that the option to alter this (in the usercp) is disabled for it's usergroup.

GamerzWorld 04-03-2005 01:41 PM

Quote:

Originally Posted by Paul M
That user appears to have "Display Reputation (Level)" turned off. It also appears that the option to alter this (in the usercp) is disabled for it's usergroup.

Ye i worked that out :) Thanks for help

NFLForums 04-10-2005 06:12 PM

Thanks! Works great! :)

Greebo 04-22-2005 01:08 PM

Quote:

Originally Posted by Bison
Good work Paul!

Question ... is there a way to control how many items to show in the admincp just like it is with reputation received?

I wanted this as well - so I changed:

LIMIT 0, 10

to

LIMIT 0, $vboptions[showuserrates]

in the new query that is added to usercp.php

Then you can change the # displayed for both with the same User Reputation option.

Great hack, much desired, thanks!

S@NL - BlackBik 05-16-2005 05:29 PM

Clicked Install, nice job :)

T_Montana 05-22-2005 05:37 PM

nice hack....installed but i think i overwrote something in my template.Can you figure out what i need to fix?Should be simple....here is the the last part of template where the edit is....

Code:

<!-- ############## SUBSCRIBED FORUMS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
                        $vbphrase[subscribed_forums]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
        <tr align="center" valign="bottom">
                <td class="thead" width="2%">&nbsp;</td>
                <td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
                <td class="thead">$vbphrase[last_post]</td>
                <td class="thead">$vbphrase[threads]</td>
                <td class="thead">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead" width="20%">$vbphrase[moderator]</td>
                </if>
        </tr>
        $forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>

<if condition="$show['reputation']">
<!-- ############## Paul Marsden - Display Reputation Given Hack v1.0 ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="$reputationcolspan_gv">
                        <span class="smallfont" style="float:$stylevar[right]">
                                &nbsp; &nbsp;
                                <a href="#top" onclick="return toggle_collapse('usercp_repgiven')"><img id="collapseimg_usercp_repgiven" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_repgiven].gif" alt="" border="0" /></a>
                        </span>
                        $vbphrase[latest_reputation_given]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_repgiven" style="$vbcollapse[collapseobj_usercp_repgiven]">
        <tr>
                <td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
                <td class="thead">$vbphrase[date]</td>
                <td class="thead" nowrap="nowrap">$vbphrase[given_to]</td>
                <td class="thead">$vbphrase[comment]</td>
        </tr>
        $reputationcommentbits_gv
</tbody>
</table>
<br />
<!-- ############## End of Reputation Given Hack ##############  -->
</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
        <td width="100%">&nbsp;</td>
        <td align="$stylevar[right]">$forumjump</td>
</tr>
</table>


Paul M 05-22-2005 07:15 PM

Yep, looks like you removed the reputation received part ;

Above this (near the bottom) ;

Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%">
Re-add ;

Code:

<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="$reputationcolspan">
                        <span class="smallfont" style="float:$stylevar[right]">
                                <phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
                                &nbsp; &nbsp;
                                <a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
                        </span>
                        $vbphrase[latest_reputation_received]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
        <tr>
                <td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
                <td class="thead">$vbphrase[date]</td>
                <if condition="$vboptions['showuserraters']">
                <td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
                </if>
                <td class="thead">$vbphrase[comment]</td>
        </tr>
        $reputationcommentbits
</tbody>
</table>
<br />
</if>



All times are GMT. The time now is 07:20 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.01299 seconds
  • Memory Usage 1,760KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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