Hey, I just wanted to say thanks for this excellent hack!
I installed 2.1 on my vB 2.30 system and it works great.
However, I am running into one issue with the showthread template in regards to the usertrade (eBay feedback tyep) hack I also have installed.
It looks like they both call for a window to be opened in their scripts, and since they are located in the same spot, it causes some code to be shown at the bottom of the showthread, and then the entire showthead repeats.
I know this isn't an issue related to this hack, but I'd like to have both working properly. Here's the problem area in showthead:
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=n o,location=no,menubar=no,scrol lbars=no,width=175,height=275,resizeable=yes,statu s=no")
}
function whotrade(userid) {
window.open("usertrade.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=640 ,height=480,left=0,top=0") ; }
// -->
<!-- Warnings Hack v2.0 [ g-force2k2 ] -->
function showwarnings(userid) { window.open
("warn.php?s=&action=show_warn&userid="+userid,
"show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600 ,height=350"); }
function addwarnings(postid) { window.open
("warn.php?s=&action=add_warn&postid="+postid,
"add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=400 ,height=200"); }
<!-- Warnings Hack v2.0 [ g-force2k2 ] -->
</script>
</head>
Could someone with some PHP guru skills, please point me in the right direction to a correction which can be made to get the script working correctly?
Thanks!
|