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)

Sue 12-09-2002 07:53 AM

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL:
SELECT logid, username, userid, target, targetid, timestamp, type, postid, comment
FROM warnings_log
ORDER BY logid
LIMIT 0,
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

ps - how do you warn the user? I don't see anything about it in their profiles or in the admin ctrl panel.

pps - I noticed a significant difference in the time that my board takes to load after installing this... sort of like a pause before everything loads.. any ideas?

Sue 12-10-2002 10:37 AM

ttt

SpeedStreet 12-10-2002 01:40 PM

G-Force,

Once again, you talent supercedes our desires...This is prolly one of the most in-depth hacks I've yet to see that maintain usefullness on our sites! Kudos to you!

One thing I wish we could enact would be to allow warnings only to take place in forums moderators actually moderate. I had an issue yesterday where something got out of control, and instead of notifying the moderator in control of that section, a moderator went out on his own and proceeded to warn the user.

Is there a way to do this? is it already implemented and I just don't know it? Thanks!

egn 12-10-2002 06:56 PM

I hacked it, and the links to the warning informtaion dont show on the postbit, and it doesnt show in the profile field.. 2.2.9


http://www.elitegaming.net/forum

x8oz 12-14-2002 12:47 AM

i love the hack, so far so go with 2.2.9 :) I was wondering if its possible to incorporate this into vbshoutbox 1.0? like a addon. if not, its cool. I love the hack, good job!

Bison 12-14-2002 06:45 PM

Quote:

Originally posted by egn
I hacked it, and the links to the warning informtaion dont show on the postbit, and it doesnt show in the profile field.. 2.2.9


http://www.elitegaming.net/forum

You missed a whole bunch of the install code. You have to enter this in the postbit, and getinfo templates [Manually]!

Jadelit 12-16-2002 12:25 AM

this works for 2.2.9 right?

Jadelit 12-16-2002 06:03 AM

edit- never mind, I didn't update my vb options

Great hack

TutorialForums 12-22-2002 04:26 AM

I had to uninstall the hack but would like to reinstall it. When I tried to run the install_warning.php file a second time, I got an error:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
mysql error: Duplicate entry '40' for key 1

mysql error number: 1062

Date: Saturday 21st of December 2002 09:44:11 PM
Script: http://www.tutorialforums.com/admin/...ing.php?step=2
Referer: http://www.tutorialforums.com/admin/...l_warning.php?


How can I fully remove it, so I can successfully reinstall it?

My apologies if this was asked before - I read as many pages of this thread as I could, but there's a ton hehe ;)
Thanks!

ladyfyre 12-22-2002 07:40 PM

I tried running the install script, and keep getting this error:

PHP Code:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQLINSERT INTO settinggroup VALUES (40'Warnings System'40)
mysql errorDuplicate entry '40' for key 1

mysql error number
1062 



All times are GMT. The time now is 03:02 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.01812 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_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