PDA

View Full Version : Display Reputation Comments You Have Given


Paul M
07-04-2005, 10:00 PM
This modification is no longer available or supported.

This shows members who their last few reputation comments have been given to - in the same manner as their received comments. The list is collapsable. The users current repping power is also displayed, in the same manner as their points total. The number of comments to display is a setting in the reputation section of vb Options.


History:

v2.31 : Converted to Product.
v2.32 : Fixed display to turn off when reputation is disabled.
v2.33 : Minor changes, no update necessary.

.Tim
07-05-2005, 10:46 PM
Sweet! I converted the 3.0 version for my board since it was in such high demand but it's nice to have a plug in version now. *does happy dance*

Kirk Y
07-06-2005, 12:41 AM
Great idea. *Improvises his own happy dance*

Dream
07-06-2005, 02:19 AM
great one thanks for sharing

ive been wanting to draw some attention to the reputation system, already raised everyone's reputation power, and this is a great addition

edit: im thinking about making a "view all" link. would you use it/make it/not use it paul?

Azhrialilu
07-06-2005, 07:41 AM
I've just put this one on beta 3, but it's not showing up anywhere... it's listed as being installed, I've made the template addition and edit... I even spent 10 minutes giving people reputation and both them and me checking to see if it showed up anywhere.... I'm pretty sure it's me who's missing something and being dim, but any ideas? :D

Paul M
07-06-2005, 07:54 AM
Does the account you are using have display reputation turned off ?

Azhrialilu
07-06-2005, 07:56 AM
Nope... I thought that and went in and reset all the rep for every usergroup so they can't switch it off.

Chris M
07-06-2005, 11:47 AM
Nope... I thought that and went in and reset all the rep for every usergroup so they can't switch it off.
Same - Not showing -.-

Satan

Paul M
07-06-2005, 05:07 PM
Sorry but you both need to be more specific - what exactly is not showing ?

This appears in the usercp, above the reputation received display.

A cannot look at your forum(s) without a link, and test account, since obviously only members can see this.

Paul M
07-06-2005, 05:09 PM
edit: im thinking about making a "view all" link. would you use it/make it/not use it paul?Not use - 'view all' on our forum would give a list well over a thousand in some cases.

Dream
07-06-2005, 05:17 PM
any problem if I do it and release?

Azhrialilu
07-06-2005, 05:24 PM
Sorry but you both need to be more specific - what exactly is not showing ?

This appears in the usercp, above the reputation received display.

A cannot look at your forum(s) without a link, and test account, since obviously only members can see this.

I'm not really sure how much more specific I can get than it's not showing up anywhere :D... nothing shows up, zilch, zero, nada ;) not above the reputation received, below it, to the left or to the right *grin*

(I'm sorry, I'm being flippant I know.. it's not really directed at you.. but it's be humorous or kill the kids right now :) )

But come to think on it, neither is reputation received display showing up.. so that could be the problem..... let me have a look into that, then if I can't figure it out I'll make up a test account :D

Thanks for the quick responses so far tho, Paul.. it really is appreciated (I'm sure my flippantness didn't convey that earlier in this same post!)

Paul M
07-06-2005, 06:05 PM
But come to think on it, neither is reputation received display showing up.. so that could be the problem..... let me have a look into that, then if I can't figure it out I'll make up a test account :DThe display of both is controlled by this IF in the USERCP template ;


<!-- ############## REPUTATION GIVEN - PAUL M ############## -->
<if condition="$show['reputation']">
Are you absolutely certain that the account you are using has "Show My Reputation Level" ticked in the usercp > edit options ?

If so, try taking the above IF line out (you will also need to remove the "</if>" which is shown here ;


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

Azhrialilu
07-06-2005, 06:34 PM
Removing that condition did indeed fix the problem.. now both reputation given and received is showing up! :)

Thanks loads, Paul.. you're a star :D

//Edit//
And you live approximately 10 miles away from me LOL. Just noticed that and had to point it out ;)

Paul M
07-06-2005, 07:00 PM
Hmm, having looked at this - it's a problem with using hooks rather than file edits. :(

The $show variable is set to 'true' as it should be, but after you drop out of the hook it's reset to 'false' again (if you have received comments it will get set to true again, otherwise it won't, and the display will fail).

I can get round it with a bit of extra code, but my test site is offline atm, I'll do it when my test forum is back up (later hopefully) and get you and Chris to test it.

Paul M
07-06-2005, 09:24 PM
Same - Not showing -.-

Satan

Nope... I thought that and went in and reset all the rep for every usergroup so they can't switch it off.

Both of you please delete the existing plugin and try the 2.10 version. Azhrialilu - can you try it with the IF back in. Thanks.

Paul M
07-06-2005, 09:29 PM
any problem if I do it and release?Fine by me as long as it's either as a post in here - or linked to this as an add-on. :)

Azhrialilu
07-07-2005, 08:58 AM
Both of you please delete the existing plugin and try the 2.10 version. Azhrialilu - can you try it with the IF back in. Thanks.

Did you change the User Control Panel template edit at all? Only I decided to do the whole thing from scratch - reverted the template then redid the edits as per the new upload and it appears (I'm probably wrong as I'm not that fluent in PHP) that there's an </if> missing, so when I try to save the template it errors out.

Paul M
07-07-2005, 02:34 PM
Did you change the User Control Panel template edit at all? Only I decided to do the whole thing from scratch - reverted the template then redid the edits as per the new upload and it appears (I'm probably wrong as I'm not that fluent in PHP) that there's an </if> missing, so when I try to save the template it errors out.Nope, no change to the template, just a slight change to the plugin XML.

Chris M
07-07-2005, 03:33 PM
Now it works :)

Thanks Paul :)

Satan

phlogiston
07-08-2005, 12:12 PM
The $show variable is set to 'true' as it should be, but after you drop out of the hook it's reset to 'false' again (if you have received comments it will get set to true again, otherwise it won't, and the display will fail).

I can get round it with a bit of extra code
To save using the extra plugin location you could set a $show['reputationgiven'] variable to use in the USERCP template wrapped around your new section instead.
That way it's also slightly better practice in cases where users may have only received rep (or only given).

Azhrialilu
07-10-2005, 08:51 AM
Thought I'd already replied, but I haven't lol... all installed and working perfectly now :D

Paul M
07-10-2005, 11:45 AM
To save using the extra plugin location you could set a $show['reputationgiven'] variable to use in the USERCP template wrapped around your new section instead.
That way it's also slightly better practice in cases where users may have only received rep (or only given).This is basically what is already done, except the value is copied back to the original at the moment - this was to fix the immediate problem without either of them having to change their template. However, it's an excellent idea and I will modify and upload. :)

sharonkitty67
07-14-2005, 12:50 PM
Wrong forum lol :)

sharonkitty67
07-14-2005, 12:59 PM
Sorry.

jancarlo
07-22-2005, 09:46 AM
In vBulletin 3,5,0 beta 4 is not looked at null in usercp that it is? I have read to all the posts but I have not found solutions. :disappointed:

ciao
jancarlo

Paul M
07-22-2005, 11:53 AM
In vBulletin 3,5,0 beta 4 is not looked at null in usercp that it is? I have read to all the posts but I have not found solutions. :disappointed:

ciao
jancarlo
Sorry, I don't understand the question/problem, can you clarify ?

cecdah
07-23-2005, 06:31 PM
Installed.:)

jancarlo
07-23-2005, 07:51 PM
Sorry, I don't understand the question/problem, can you clarify ?

simple, than in the profile customer I do not see no famous one of admonition or not.

ciao
jancarlo

Paul M
07-23-2005, 08:04 PM
I think maybe you are using an online translator ?

I'm going to take a wild guess here - and assume you cannot see the reputation given in usercp ? if so, note that it will not be displayed unless you have actually given reputation to someone.

cecdah
07-23-2005, 10:09 PM
:lol:

akanevsky
07-23-2005, 10:17 PM
Screenshots please?

Paul M
07-23-2005, 10:24 PM
This is a screenshot from the 3.0.7 version (https://vborg.vbsupport.ru/attachment.php?attachmentid=20602) - it is identical (well almost) :)

Roxie
07-24-2005, 02:40 AM
Very handy. Works great. :)

akanevsky
07-24-2005, 11:51 AM
Very handy. Works great.
Yep. Installed.

FleaBag
07-28-2005, 11:21 AM
Doesn't seem to show up on RC1...

Paul M
07-28-2005, 04:33 PM
Works fine here, nothing has changed in RC1 to affect it, did you revert your template by any chance ?

FleaBag
07-31-2005, 11:24 AM
Which template? Sorry...

Paul M
07-31-2005, 12:19 PM
The template(s) added or altered for this hack (USERCP as I recall).

FleaBag
07-31-2005, 12:29 PM
I'm sorry for wasting your time Paul - I hadn't made the edit at all, or I had reverted after RC1 install. Not sure which, but it had been an all nighter of hacking heh.

Thanks for your time and effort!

ambumann
09-19-2005, 07:38 PM
Installed.

*wondering why everyone is dancing*

bi11i
09-20-2005, 10:18 PM
why not remove the if statements and put the code segment in right before the last end-if of reputation received? Wouldn't that accomplish the same goal?The display of both is controlled by this IF in the USERCP template ;


<!-- ############## REPUTATION GIVEN - PAUL M ############## -->
<if condition="$show['reputation']">
Are you absolutely certain that the account you are using has "Show My Reputation Level" ticked in the usercp > edit options ?

If so, try taking the above IF line out (you will also need to remove the "</if>" which is shown here ;


<!-- ############## END NEW REPUTATION ############## -->
</if>Works great, btw - love it! Why not a vb standard, who knows...?

Paul M
09-21-2005, 12:04 AM
The if's are there so that this only shows if you have given any reputation (vb does the same with the received section).

As for it being standard within vB - I have no idea why it isn't - the logic of displaying one, while not the other, baffles me - but hey, we are just mere users .......

slank
09-30-2005, 07:21 PM
cool idea ...i like it and installs it

dutchbb
10-04-2005, 03:57 PM
Thank you

Paul, do you have any idea how to add the old pages under rep given/received?

Paul M
10-04-2005, 04:39 PM
Paul, do you have any idea how to add the old pages under rep given/received?Sorry, I don't follow. What are the "old pages" ?

dutchbb
10-05-2005, 10:21 AM
I mean this: your hack shows the last 10 or 15 reps. We use to have a hack that shows "page 1|2|3|4|5|6|..." under the table like in forumdisplay and showthread to view reps older than the last 15.
To have this for both given and received reps would be a good additition https://vborg.vbsupport.ru/external/2011/01/19.gif

The Geek
10-05-2005, 11:02 AM
excellent addition Paul. well done.

Paul M
10-05-2005, 05:10 PM
I mean this: your hack shows the last 10 or 15 reps. We use to have a hack that shows "page 1|2|3|4|5|6|..." under the table like in forumdisplay and showthread to view reps older than the last 15.
To have this for both given and received reps would be a good additition https://vborg.vbsupport.ru/external/2011/01/19.gifI've never seen this, you would need to be displaying a hell of a lot of comments for this to be neccessary, I can't honestly see a great need for it, so I doubt I will ever add it.

excellent addition Paul. well done.Thank you, a compliment indeed from such a master as yourself. :)

The Geek
10-05-2005, 06:51 PM
I've never seen this, you would need to be displaying a hell of a lot of comments for this to be neccessary, I can't honestly see a great need for it, so I doubt I will ever add it.

Thank you, a compliment indeed from such a master as yourself. :)

Wow - not only do a get a sweet addition for my site, I get an ego boost! Cheers m8 - I dont know about 'master', but hey... Ill bear the burden if I must ;)

Keep up the great work.

dutchbb
10-06-2005, 09:29 AM
I've never seen this, you would need to be displaying a hell of a lot of comments for this to be neccessary, I can't honestly see a great need for it, so I doubt I will ever add it.
You can see it here: https://vborg.vbsupport.ru/showthread.php?t=60496&highlight=reputation+pages

You don't need to display all the reputations, just split it up in pages.
My members would love this, it's nice to read older too instead of just the last 15 (why would you keep them in the database if you don't access/read them?)

Thanks anyway, you guys are doing great work :)

Paul M
10-06-2005, 05:50 PM
Adding paging would be quite a bit of work, so no, it's not likely to happen. Sorry.

dutchbb
10-09-2005, 03:37 PM
Oh I noticed you forgot to pre cache the template in usercp. Just to let you know.

Julie
10-13-2005, 02:00 PM
Ah, brilliant! I've been looking for something like this, and one of my members requested it the other day. Thank you! :D

*clicks install*

Paul M
10-17-2005, 03:53 AM
Now updated to a product. The only changes are that the template is now phrased, and the number of comments to display is now a setting in the reputation section of vb Options. If you wish to upgrade, delete the current plugin, replace the template edit with the new code, and import the product.

rb290
12-16-2005, 08:25 AM
whats the phrases for "Your Reputation Power is 48 Points"

especially the phrase for the number itself

Paul M
12-16-2005, 08:50 AM
whats the phrases for "Your Reputation Power is 48 Points"

especially the phrase for the number itselfI would think this line in the instructions answers these ;

<span class="smallfont" style="float:$stylevar[right]">$vbphrase[your_reputation_power] $rpower $vbphrase[points]

dreamer81
12-16-2005, 09:02 AM
there is no screenshot? why not?

Paul M
12-16-2005, 06:46 PM
Maybe because I haven't added one ......

Ragnarok
12-17-2005, 08:18 AM
Installed in anticipation of the day when I get unlazy.. er active enough to activate reputation :p

Thanks! :)

Lynch
02-21-2006, 07:13 AM
Looking for some help here. Longtime listener, first time caller. ;)


I'm probably the dumbest guy on board here, but I'm looking at step two and scratching my head and looking at it, and scratching my head some more. What in the world does this mean:

Step 2.

Upload the product via the Product Manager using the supplied XML file.

I'm sure this is painfully obvious to everyone, but I'm either having a complete brainfart, a meltdown, or a combination of the two. WTF is the "product manager"!?

I can see:

Style Manager
Replacement Variable Mgr
Language Mgr
Phrase Mgr
FAQ Mgr
Announcement Mgr
Forum Mgr
etc etc etc. But nowhere do I see "product manager" :(

Any and all help would be greatly appreciated.

Ragnarok
02-21-2006, 08:44 AM
AdminCP > Plugin System > Manage Products

That's what you're looking for, I think. ;)

Lynch
02-21-2006, 09:34 AM
Well duh!!! Man, do I feel sheepish!

https://vborg.vbsupport.ru/external/2006/02/4.jpg


Thanks a ton! Everything works like a charm now. :)

ronak_143
02-21-2006, 10:12 AM
luks gud

Paul M
02-21-2006, 12:28 PM
Well duh!!! Man, do I feel sheepish!You're not the first, nor will you be the last.

http://www.vbulletin.com/forum/showthread.php?t=174957

Lynch
02-21-2006, 11:12 PM
Paul: Great hack btw. We had it installed on 3.0.7 (which I think was also yours). We just upgraded to 3.5.3 this past weekend so this was one of the first things I wanted to get back into place.

Someday, I would certainly hope that vb would put this little piece into the actual code. It seems like such a 'normal' thing to include with the whole rep system

Anyway, thanks! :)

Paul M
04-01-2006, 03:34 PM
Minor update today (v2.32) - fixed the small bug where the display would not be turned off if reputation display is disabled (or indeed the whole reputation system is turned off).

JJR512
04-01-2006, 03:58 PM
Minor update today (v2.32) - fixed the small bug where the display would not be turned off if reputation display is disabled (or indeed the whole reputation system is turned off).
I had the most recent version (I downloaded it a few days ago). Do I just import/overwrite the product file, or are there also differences in the template modifications?

JJR512
04-01-2006, 04:02 PM
Nevermind, I did a comparison and saw the template mods are the same.

Paul M
04-01-2006, 05:04 PM
Nevermind, I did a comparison and saw the template mods are the same.Yes, no change to the template, just the plugin code.

pete_brady
04-01-2006, 05:26 PM
thanks dude. nicely done.

Aislinn
04-04-2006, 06:35 PM
Worked and looks fantastic! Thanks so much!

masterross
04-05-2006, 07:49 AM
can you upload some pics?
or provide link where is already installed?

thanks,
Ross

Paul M
04-05-2006, 10:13 AM
Theres a screenshot in the old 3.0 version ;

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

Jinovich
04-05-2006, 12:08 PM
Has this got the "view all reputation recieved" link in it? and is it possible to control what is displayed to several usergroups using conditionals.

Paul M
04-05-2006, 06:35 PM
Has this got the "view all reputation recieved" link in it? This hack is for reputation given, not received. :)

and is it possible to control what is displayed to several usergroups using conditionals.The question is a bit vague - but you can edit the template as it suits - if you want.

Nathan2006
04-10-2006, 08:26 PM
Thank you Paul :)

Install

masterross
04-10-2006, 09:08 PM
Theres a screenshot in the old 3.0 version ;

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

thank u
i'm goin to install it :)

gotdunes
04-12-2006, 01:31 PM
I had the hack installed in my forum. The only problem is that I as the admin see's both points given and recvd. How come none of the other users on my board can see it there User CP? Did I do something wrong?

masterross
04-12-2006, 03:27 PM
I had the hack installed in my forum. The only problem is that I as the admin see's both points given and recvd. How come none of the other users on my board can see it there User CP? Did I do something wrong?
you didnt set right permission in other usergroups

BR,
Ross

gotdunes
04-13-2006, 12:20 AM
you didnt set right permission in other usergroups

BR,
Ross
everything is set to yes

Paul M
04-13-2006, 03:34 AM
Have these users actually given reputation ?

Have you checked that you did the template edit correctly ? (in all relevant styles ?)

gotdunes
04-13-2006, 07:05 PM
Have these users actually given reputation ?

Have you checked that you did the template edit correctly ? (in all relevant styles ?)

Someone else installed the mod for me and yes we have given points to each other. I the Admin can only see both given and recvd points the users cannot see both. Here is what is showing in the template Perfect Blue, I have two templates:

<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>


<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
<a href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[new_subscribed_threads]</a><span class="normal">: ($numthreads)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
<if condition="$show['threads']">
<tr class="thead">

<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>

<td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" align="center">$vbphrase[replies]</td>
<td class="thead" align="center">$vbphrase[views]</td>
</tr>
$threadbits
<else />
<tr>
<td class="alt1" align="center" colspan="7"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
</tr>
</if>
<tr>
<td align="$stylevar[right]" colspan="7" class="tfoot">
<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->


<if condition="$show['forums']">
<!-- ############## 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>

<!-- ############## REPUTATION GIVEN - PAUL M ############## -->

<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]">$vbphrase[your_reputation_power] $rpower $vbphrase[points]
&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">Given To</td>
<td class="thead">$vbphrase[comment]</td>
</tr>
$reputationcommentbits_gv
</tbody>
</table>
<br />

<!-- ############## END REPUTATION GIVEN ############## -->
<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 />
<!-- ############## END NEW REPUTATION ############## -->
</if>

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





This one is in the default one:




<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>


<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
<a href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[new_subscribed_threads]</a><span class="normal">: ($numthreads)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
<if condition="$show['threads']">
<tr class="thead">

<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>

<td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" align="center">$vbphrase[replies]</td>
<td class="thead" align="center">$vbphrase[views]</td>
</tr>
$threadbits
<else />
<tr>
<td class="alt1" align="center" colspan="7"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
</tr>
</if>
<tr>
<td align="$stylevar[right]" colspan="7" class="tfoot">
<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->


<if condition="$show['forums']">
<!-- ############## 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']">
<!-- ############## 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 />
<!-- ############## END NEW REPUTATION ############## -->
</if>

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

Wordplay
05-03-2006, 07:11 AM
how do you make something like this that is collapsable, collapsable to begin with, so that people have to klick the collapse button to see it?

GetGamer.com
05-07-2006, 06:33 PM
Looks like a great hack. How would I modify this so that comments given are only visible to the member (not publicly visible)?

Paul M
05-07-2006, 07:21 PM
Um, this is in your usercp, nothing is publicly visible.

gotdunes
05-08-2006, 01:18 PM
PaulM

Are my html codes correct?

Paul M
05-08-2006, 02:16 PM
You seem to have removed the IF statement, apart from that it looks right.

GetGamer.com
05-08-2006, 04:54 PM
Um, this is in your usercp, nothing is publicly visible.Doh! So it is... *clicks install*

Insert Username
09-19-2006, 02:36 PM
Just curious why this won't be updated for 3.6.

Paul M
09-19-2006, 05:29 PM
There is a seperate 3.6 version.