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)

Paul M 09-09-2004 10:00 PM

Display Reputation Given in UserCP
 
This modification is no longer available or supported.

This displays the last 10 posts that you gave reputation to, in the same style as the display of comments you have received. The display is can be collapsed in the same manner. A Screenshot of my test system is attached as well as the instructions.

HiDeo 09-10-2004 09:29 PM

Nice job thanks

Phalynx 09-13-2004 10:43 AM

Thanks, installing.

Loxias 12-20-2004 04:52 AM

Does this show on the profile when another user clicks to see a user's reputation or just for the individual user in UserCP only?

Paul M 12-20-2004 07:21 AM

This is a display in your usercp only, only you can see it, no one else.

Bison 12-30-2004 11:18 PM

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?

Paul M 12-30-2004 11:24 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?

Nope, it's set at 10 in the code.

Bison 12-30-2004 11:28 PM

So ... there's no-way to with your code, or there is ... but you rather have it controlled from the usercp.php?

folkish 01-05-2005 05:09 AM

/me clicks install!

Really great hack. i saw this on a friends forum and wondered how to do it...then I found this...great!

Trisha 01-16-2005 04:26 PM

installed! thanks!

Megareus Rex 01-17-2005 05:40 PM

Excellent hack! My members love it :P

Ymeaga1n 01-18-2005 03:14 AM

I noticed you did a silent update for 3.0.5 :) thanks for fixing it :).

.Tim 02-09-2005 05:02 PM

Having a little bit of a problem. https://vborg.vbsupport.ru/showpost....6&postcount=37 :(

Paul M 02-09-2005 05:57 PM

Quote:

Originally Posted by tim4902
Having a little bit of a problem. https://vborg.vbsupport.ru/showpost....6&postcount=37 :(

Sorry, but it's not really possible to tell anything from an image.

.Tim 02-09-2005 07:15 PM

Quote:

Originally Posted by Paul M
Sorry, but it's not really possible to tell anything from an image.

What you see in the image, that's all it shows when you scroll to the right. Never shows the name or comments for the reputation and as you can see from the size of the bottom scroll bar it goes on for a while.

What information do you need?

Paul M 02-09-2005 07:32 PM

A link to your site, and a test login, would be helpful.

.Tim 02-09-2005 09:17 PM

Quote:

Originally Posted by Paul M
A link to your site, and a test login, would be helpful.

I'll PM you the info.

Paul M 02-09-2005 09:45 PM

Quote:

Originally Posted by tim4902
I'll PM you the info.

Your problem is the other hack (Reputation Click Tracker).

This message is displayed ;
Quote:

In the last 24 hours, you have given reputation to 0 posters.
You can give reputation to 99999999999999 more posters today.
It is then trying to draw a bar with a width of 99999999999999 and hence screwing up the whole display ! Take that hack out and it will work fine.

.Tim 02-09-2005 09:49 PM

Problem solved, thanks!

dfdems 02-09-2005 10:22 PM

Just installed it, works well

Colin F 02-10-2005 10:27 AM

Moved thread to Miscellaneous Hacks

Paul M 02-10-2005 10:59 AM

Quote:

Originally Posted by Colin F
Moved thread to Miscellaneous Hacks

Why ?

Paul M 02-13-2005 10:04 AM

Quote:

Originally Posted by Colin F
Moved thread to Miscellaneous Hacks

Hello, can you reply please - why was this moved after five months ?

MAK-upl 02-18-2005 03:12 PM

clicks install

Paul M 02-18-2005 05:57 PM

Quote:

Originally Posted by MAK-upl
clicks install

Thanks.

Quote:

Originally Posted by Paul M
Hello, can you reply please - why was this moved after five months ?

I see I still have no reply to my question :mad:

Leah 02-22-2005 09:30 PM

Quote:

Originally Posted by HiDeo
Nice job thanks

Hi,
I was wondering if it's possible to combine this hack with this one:
https://vborg.vbsupport.ru/showthread.php?t=60496

Paul M 02-23-2005 07:25 AM

I have no idea - try it and see.

Moncal 03-11-2005 12:55 AM

Great hack Paul!

I put it under the rep recieved instead of above it. :)

fuse3k 04-02-2005 03:18 AM

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?

Paul M 04-02-2005 10:04 AM

A test login on your forum would help. :)

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 05:50 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.01579 seconds
  • Memory Usage 1,835KB
  • 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
  • (16)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
  • (40)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