vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Show rep given in usercp (https://vborg.vbsupport.ru/showthread.php?t=149681)

Carnage 06-13-2007 09:00 PM

Show rep given in usercp
 
Searched for this mod on vborg but couldn't find it; i did have something similar to this installed on vb 3.0.x but not for 3.6 So i threw this together by modifying the existing rep display code and adding it as a plugin.

Hasn't been tested with any version other than the one i'm currently running however since its made up from slightly modified vb code i dont anticipate there being any issues.

Installation:

1) Import the product file.

2) in USERCP template find:

HTML Code:

<!-- ############## END NEW REPUTATION ##############  -->
</if>

Add above:

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="5">
                        <span class="smallfont" style="float:$stylevar[right]">
                                &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>
                        Latest Reputation Given
                </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">Given To</td>
                </if>
                <td class="thead">$vbphrase[comment]</td>
        </tr>
        $reputationcommentbits2
</tbody>
</table>

Support:

i will try to support this mod but i dont check vborg that often so its best to contact me via my own forums (link in sig)

testebr 06-14-2007 05:08 AM

Read:

Display Reputation Comments Given

https://vborg.vbsupport.ru/showthread.php?t=122592

FreshFroot 06-14-2007 05:16 AM

I don't get the point of this hack?

aren't rep comments displayed by default?

Carnage 06-14-2007 11:54 AM

Quote:

Read:

Display Reputation Comments Given

https://vborg.vbsupport.ru/showthread.php?t=122592
weird... that didn't turn up when i searched for this...

Quote:

I don't get the point of this hack?

aren't rep comments displayed by default?
This shows the ones given by the user as well as the ones recieved


All times are GMT. The time now is 12:51 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.01445 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete