The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#82
|
|||
|
|||
I'd rather not post it publicly but for future reference:
|
#83
|
||||
|
||||
Quote:
|
#84
|
|||
|
|||
Hmmm
Great idea for a hack filburt1 Thanks. Just one thing, has anyone been able to sucessfully add a new group since adding this hack ? Below is what I am now getting Code:
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmodifyprofile,canviewmembers,canview,showgroup,cansearch,canemail,canpostnew,canmove,canopenclose,candeletethread,canreplyown,canreplyothers,canviewothers,caneditpost,candeletepost,canusepm,canpostpoll,canvote,canpostattachment,ismoderator,canpublicevent,canpublicedit,canthreadrate,cantrackpm,candenypmreceipts,maxbuddypm,maxforwardpm,canwhosonline,canwhosonlineip,cangetattachment) VALUES (NULL,'Banned by Warnings','',0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0) mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Tuesday 06th of May 2003 07:57:10 PM Script: http://localhost/rnas/rnas/admin/usergroup.php Referer: http://localhost/rnas/admin/usergroup.php?action=add&s= |
#85
|
|||
|
|||
That's a known bug; easy to fix but I don't have the time.
|
#86
|
||||
|
||||
will you have time for the payed version if i get it cause everything but the known bug is making me buy it.
|
#87
|
|||
|
|||
I believe this is fixed in the paid version (it definitely is in my webmail hack which uses the same concept), checking now.
|
#88
|
|||
|
|||
Yes, it's fixed in that version.
(to those who want to fix it in the meantime, just update the VALUES part of the INSERT query to add $candeleteusercomments). |
#89
|
|||
|
|||
Quote:
[high]* SemperFidelis pleads stupid[/high] |
#90
|
||||
|
||||
Quote:
Find: PHP Code:
PHP Code:
|
#91
|
|||
|
|||
Ok
Thanks for that drumsy But if Ive done what you have suggested correctly, it hasnt worked. Here is the code in usergroup.php Code:
$DB_site->query("INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmodifyprofile,canviewmembers,canview,showgroup,cansearch,canemail,canpostnew,canmove,canopenclose,candeletethread,canreplyown,canreplyothers,canviewothers,caneditpost,candeletepost,canusepm,canpostpoll,canvote,canpostattachment,ismoderator,cancalendar,canpublicevent,canpublicedit,canthreadrate,cantrackpm,candenypmreceipts,maxbuddypm,maxforwardpm,canwhosonline,canwhosonlineip,cangetattachment) VALUES ($candeleteusercomments,NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembers,$canview,$showgroup,$cansearch,$canemail,$canpostnew,$canmove,$canopenclose,$candeletethread,$canreplyown,$canreplyothers,$canviewothers,$caneditpost,$candeletepost,$canusepm,$canpostpoll,$canvote,$canpostattachment,$ismoderator,$canpublicevent,$canpublicedit,$canthreadrate,$cantrackpm,$candenypmreceipts,$maxbuddypm,$maxforwardpm,$canwhosonline,$canwhosonlineip,$cangetattachment)"); Code:
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmodifyprofile,canviewmembers,canview,showgroup,cansearch,canemail,canpostnew,canmove,canopenclose,candeletethread,canreplyown,canreplyothers,canviewothers,caneditpost,candeletepost,canusepm,canpostpoll,canvote,canpostattachment,ismoderator,cancalendar,canpublicevent,canpublicedit,canthreadrate,cantrackpm,candenypmreceipts,maxbuddypm,maxforwardpm,canwhosonline,canwhosonlineip,cangetattachment) VALUES (1,NULL,'Testing Group','Im A Test User !',0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,1,0,1) mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Thursday 08th of May 2003 12:13:55 PM Script: http://localhost/rnas/rnas/admin/usergroup.php Have I messed up or does something else need to be done ? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|