![]() |
i am getting the following error when i try to install any help please
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40) mysql error: Duplicate entry '40' for key 1 mysql error number: 1062 Date: Wednesday 14th of May 2003 02:45:20 AM Script: http://www.spinzone.org/forums/forums/admin/query.php Referer: Repair Report: This type of error cannot be automatically repaired. |
Looks like you already have it installed.
|
Hello i have installed this hack and become this message if i will see a user profile:
Fatal error: Call to undefined function: checkwarnlink() in /home/www/web3/html/vbulletin2/forum/member.php on line 1388 and on this line is this code PHP Code:
thomas |
Quote:
|
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! |
Got a screenshot of the problem?
|
Ewww...sorry, I don't. I just uninstalled the Warning System Hack until I could get it resolved. So I can't take a screenshot.
Basically, everything looked normal, but at the end of the page, you'd see: ---- w.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") ; } ---- Then, the page would repeat. The header would follow again (at the bottom of the page...not a typo, it would be the header), and the entire thread would be displayed again, within one page. Looks like both scripts are calling for the same open window action which is causing it to trip out. |
Is there a way to use this for the warning system and not for the banning because I am going to be using the miserable banning system and just need something so people know they are warned.
Dark Shogun |
I guess you could just set the amount of points given for each warning to 0, or if it doesn't allow that ((i've not tested) then set each warning to 1 point and the points people are banned at to 100. Eitherway, that's a lot of warnings ;)
|
I just installed it, works good :)
|
All times are GMT. The time now is 03:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|