Back to vBulletin 3.5 Template Modifications

Respond To Rep
Mod Version: 1.00, by .Tim

This modification is in the archives.
vB Version: 3.5.3 Rating: (0 vote - 0 average) Installs: 17
Released: 29 Jul 2005 Last Update: 29 Jul 2005 Downloads: 7
Not Supported Template Edits  

This hack puts a 'Respond To Rep' link at the end of each rep line and opens up a new pm window for the user. Nothing major but I'm sure some might find it useful.

Step 1:

In the 'usercp_reputationbits' template

Find:

PHP Code:
</if>
    <
td class="$reputationbgclasswidth="50%"><span class="smallfont">$reputation[reason]</span></td

Change It To (change the url to the path to your site):

PHP Code:
<td class="$reputationbgclasswidth="50%"><span class="smallfont">$reputation[reason]</span></td>
<
td class="alt2" nowrap="nowrap"><span class="smallfont"><a href="http://www.yoursite.com/private.php?do=newpm&u=$reputation[whoadded]target="_blank">Respond To Rep</td>
</if> 

Step 2:

In the 'USERCP' template.

Find:

PHP Code:
<td class="tcat" colspan="$reputationcolspan"

To:

PHP Code:
<td class="tcat" colspan="6"

Then find:

PHP Code:
td class="thead">$vbphrase[comment]</td

And after it add:

PHP Code:
<td class="thead">Respond</td


This may not have been the best way to do the hack or the cleanest way but it works. I'm open to suggestions, this is my first hack and I'm not THAT familiar with all this yet. Hope yall like it and find it usefull though.

I'd like to be able to make it quote the rep in the response but I haven't figured that out yet.

Download

This modification is archived and cannot be downloaded.

Screenshots

 


vblts.ru supports vBulletin®, 2022-2024