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)
-   -   An alternative to banning: Miserable Users (https://vborg.vbsupport.ru/showthread.php?t=49810)

MaDCaT75 08-01-2003 04:59 AM

Will this hack be re-written for vB3?

TonTon 08-01-2003 12:40 PM

SQL-query :

ALTER TABLE user ADD miserable smallint( 5 ) unsignedDEFAULT0 NOT NULL

MySQL said:


You have an error in your SQL syntax near 'DEFAULT0 NOT NULL ' at line 1

:(

Zzed 08-01-2003 02:58 PM

Quote:

Today at 06:40 AM TonTon said this in Post #172
SQL-query :

ALTER TABLE user ADD miserable smallint( 5 ) unsignedDEFAULT0 NOT NULL

MySQL said:


You have an error in your SQL syntax near 'DEFAULT0 NOT NULL ' at line 1

:(

Change this: ALTER TABLE user ADD miserable smallint( 5 ) unsignedDEFAULT0 NOT NULL

To this: ALTER TABLE user ADD miserable smallint( 5 ) unsigned DEFAULT 0 NOT NULL

I added a space before and after DEFAULT. ;)

BladeZz 08-01-2003 04:44 PM

This hack works fabulous!Thank you very much!

Airs 08-01-2003 11:26 PM

Hey i installed this hack and surprisingly enough no errors whatsoever O_O but it dosent work? i click the yes and save changes and then when i look at it again its in no..it never changes to yes =/ any help? btw im running vb 2.3.0

Zzed 08-02-2003 01:59 AM

Quote:

Today at 05:26 PM Airs said this in Post #175
Hey i installed this hack and surprisingly enough no errors whatsoever O_O but it dosent work? i click the yes and save changes and then when i look at it again its in no..it never changes to yes =/ any help? btw im running vb 2.3.0
Most porbably you forgot to change the "UPDATE user" query statement in admin/user.php. ;)

-Sidekick- 08-02-2003 05:10 AM

Hey Zzed I posted about a problem modifying the functions.php file for the Starved users hack and you had me email you my functions.php file.

You said you were gonna modify it for me and send it back. I never received it back. Did you need me to send it to you again?

Airs 08-02-2003 03:44 PM

Hey Zzed thnx for the quick reply ^^. Im afraid i did all the edit's correctly..atleast that i can see to user.php and still no go =/.

MaDCaT75 08-09-2003 06:35 AM

Why the hell cant I get this thing to work?

Shiekron 08-09-2003 02:30 PM

I get a bunch of garbled mess after I upload global.php


All times are GMT. The time now is 11:53 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.01485 seconds
  • Memory Usage 1,735KB
  • 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_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