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)

T_Montana 05-22-2005 07:20 PM

Awsome......it works..........have no idea how i deleted that much.......hehehe

thought i just overwrote a line or two.......stupid me

thanks a lot paul

T_Montana 05-22-2005 07:35 PM

actually no it's not working.........The bar is added where it says "latest reputation recieved" but then their is black bar beside it (can tell something is not right with it) and the reputation does not show up.Here is test account if you don't mind looking in it....

http:www.craxxxs.com/forums
User:testing
Pass:123456

and here is the edited template....

Code:

<!-- ############## 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>

<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>

<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-23-2005 01:39 AM

Hmm, it looks like you may have messed up the code in usercp.php slightly as well - please PM me a copy of it.

Paul M 05-23-2005 01:42 AM

also, the phrase you need to add looks to be missing.

xmorpher 06-04-2005 07:48 PM

I just installed this hack, but many users are complaining about privacy....

Is it possible to Hide/Show the comments in the profile
using the usercp option to show/hide reputation on posts?.....

i already tried adding the code in the MEMBERINFO template
between the tags:
<if condition="$userinfo['reputationdisplay']"> ....... </if>
but it did not work...

any idea?...

Paul M 06-06-2005 02:33 PM

Sorry, I don't understand your problem - what privacy are they complaining about ??

xmorpher 06-06-2005 02:45 PM

they're complaining that now all the users can see
the comments that were not intended to be public...
(since they were privates)

Paul M 06-06-2005 04:07 PM

Quote:

Originally Posted by xmorpher
they're complaining that now all the users can see
the comments that were not intended to be public...
(since they were privates)

Sorry, but this hack gives no such ability.

All this allows is for any member to see what comments they have given.

xmorpher 06-06-2005 04:39 PM

to see what comments they have given... o received?...


Anyhow,.... there's an option in the usercp that
let's you hide your reputation level....
Can't this be used to hide the comments you have received as well?....

dutchbb 06-12-2005 02:26 PM

Hey Paul can you add page links under the table so users can browse older reputations given also?

Paul M 06-12-2005 03:53 PM

I have no plans to make any changes to this - except for one addition I made on our forums - which is to show your reputation power on the rep given display. This will get added to the 3.5.0 version when I release it.

sharonkitty67 07-14-2005 01:02 PM

I posted my question in the wrong forum originally, shows what a dolt I am


Quote:

Step 2.

Add the following Custom Phrases (in User Tools (global) Phrases)

given_to = "Given To"
latest_reputation_given = "Latest Reputation Given"
Um, where is this? :)

Quote:

Step 3.

Add the following new template;

Name = "usercp_reputationbits_gv"
Doh ;) I just learnt the diff between files and templates LOL!

sharonkitty67 07-14-2005 02:47 PM

Deleted -Im a muppet.

sharonkitty67 07-14-2005 03:12 PM

Yay finally! Clicks install! Thanks!

GSX-Racing 07-19-2005 06:16 AM

Got it working...

/me clicks install


All times are GMT. The time now is 04:10 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.01255 seconds
  • Memory Usage 1,759KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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