The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Well thanks for that... just wish i knew which template, and where to put it...
|
#12
|
||||
|
||||
ya can we make it as a option in the vBulletin Options whether we want it to open as a pop up or in a new window.
|
#13
|
|||
|
|||
I had to do this for my forum, many users were unhappy with the current system.
Give me a day and I can make an install for you all . It might take more than a day, I want to work it into the plugin system instead of altering the files. |
#14
|
|||
|
|||
That would be really sweet baron! I have been searching all over and I cannot find a straight answer for this question, so your help is mucho appreciated!
|
#15
|
|||
|
|||
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> 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> Code:
$headinclude $header $footer Code:
<div style="width:$stylevar[formwidth]" align="$stylevar[left]"> 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> 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> 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> 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> 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. |
#16
|
|||
|
|||
You are the man Baron! Been looking for this for a while now! I will try it when I get home as I cannot install any programs at my work computer.
Just curious; when you say "the code isn't perfect," not quite sure what you mean by that, so a little elaboration would be helpful. Thank you! I will let you know if it works on my board. |
#17
|
|||
|
|||
I mean that this is not professional grade, but it gets the job done.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|