vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Warnings System Hack v2.1 (https://vborg.vbsupport.ru/showthread.php?t=43265)

hypedave 09-08-2002 04:21 AM

dude you rock !!!!! you installed the email feature woo hoooo
thanks man keep up the good additions

g-force2k2 09-08-2002 06:53 AM

yeah thanks hellsatan... in my upgrade directions it does say to uninstall and then rerun the installer... but either way is fine ;) regards... thanks for the help btw...

g-force2k2

wooolF[RM] 09-08-2002 09:00 AM

]everything works except I can't see $post[warnlink] ... it just give me blank space... :(

yes, i have edited all files, runned all queries and edited all templates... :/

and I have edited settings in the admin panel and saved them

Erwin 09-08-2002 09:09 AM

One tip - for those with many hacks that uses the settingid's, you may want to use a higher settingid than 40 - otherwise you get a db error. You don't actually have to set a settingid - the variables are auto-incremental. If people are getting errors, replace all the 40 with 140 which shouldn't interfere with other hacks that uses settingids.

Otherwise, the hack is brilliant. I just had to tidy up the profile a bit, but it works great. Thanks!

wooolF[RM] 09-08-2002 09:11 AM

]good tip, lemme try :D

wooolF[RM] 09-08-2002 09:16 AM

]Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO setting VALUES (NULL,240, 'No Warning Usergroups', 'NOwarn', '6', 'The usergroupids for the usergroups that can\'t be warned! (seperate each usergroupid by a comma)', '', 5,)
mysql error: You have an error in your SQL syntax near ')' at line 1

mysql error number: 1064


:(((((((((((((((((((((((((

wooolF[RM] 09-08-2002 09:21 AM

I have changed all "40" to "140"... error...
then changed to "240" ... same error...

I have updated my admin cp, tried hellsatan's install_settings.php + tried to do it with mysqladmin...

<-- LOST

wooolF[RM] 09-08-2002 09:34 AM

]now I have deleted all values that have been imported in the DB in setting and settinggroup tables...

tried file by hellsatan again... no luck ...

argh... :(

wooolF[RM] 09-08-2002 09:45 AM

]script DOES insert these values into DB (checked)

Code:

200 140 Warning Logs Per Page WLOGSpp 20 The number of warning logs to show per page!  1
Edit  Delete  201 140 Register Group REGgroup 2 The usergroupid for the registered usergroup!  2
Edit  Delete  202 140 Maximum Ban Limit BANtot 25 The total amount of warning points before user is ...  3
Edit  Delete  203 140 Banned by Warnings Group BANgroup 16 The usergroupid for the banned by warnings usergro...  4

+ it makes group in settinggropu table as
140 Warnings System 140

after this I get error in the script :
Code:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO setting VALUES (NULL,140, 'No Warning Usergroups', 'NOwarn', '6', 'The usergroupids for the usergroups that cant be warned! (seperate each usergroupid by a comma)', '', 5,)
mysql error: You have an error in your SQL syntax near ')' at line 1

mysql error number: 1064

:(

Chris M 09-08-2002 10:22 AM

Hmmm...

Erwin has found out why you have got errors - Conflicting Setting Ids...

Im not sure how to help:(

Satan


All times are GMT. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01702 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete