Ok, the code isn't perfect, but here goes.
Replace your reputation.php file with the attached reputation.php file (it's just the vB 3.5.0 reputation.php file).
Then goto your styles and templates, and under your SHOWTHREAD template, find the following.
Code:
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
And underneath it add.
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=229,left = 362,top = 284');");
}
// End -->
</script>
Then open up your reputation template under your User Reputation Templates Group, and remove the following.
Code:
$headinclude
$header
$footer
After that, open up your reputationbit template, find and remove the following. It should be at the beginning.
Code:
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
The next step depends on whether you use the horizontal postbit or the legacy postbit, the code changes are exactly the same, but they are in different positions within the template.
If you are using the horizontal postbit version, find the following code:
Code:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if>
And replace with.
Code:
<if condition="$show['reputationlink']"><A HREF="javascript:popUp('reputation.php?$session[sessionurl]p=$post[postid]')"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></A></if>
If you are using the legacy version, find the following code:
Code:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
And replace with:
Code:
<if condition="$show['reputationlink']"><A HREF="javascript:popUp('reputation.php?$session[sessionurl]p=$post[postid]')"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></A></if>
And that should do it, I'll warn you right off the bat that this hasn't been tested with vB 3.5.2 yet.
EDIT: File removed as full vBulletin files are not allowed to be attached here and the license was still showing at the top of the file.