vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Hellban 0.1 (https://vborg.vbsupport.ru/showthread.php?t=35308)

intellected 02-24-2002 11:20 AM

Updated with modifications!

[edit] Also, dear admins of this board - you might like to modify the PHP-code template so that the tables are left-aligned and dont look like **** ;)

Rick 02-24-2002 09:46 PM

I got this error when I tried to run the query.

SQL-query:

INSERT INTO usergroup VALUES(\"666\",\"Hellban\",\"\",\"0\",\"1\",\"1\", \"1\",\"1\",\"0\",\"1\",\"0\", \"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\" 1\",\"1\",\"1\",\"0\",\"0\",\" 1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\ ",\"1\");
ALTER TABLE post ADD hellban INT UNSIGNED;
ALTER TABLE thread ADD hellban INT UNSIGNED;

MySQL said: Column count doesn't match value count at row 1

supreemball 02-24-2002 11:41 PM

me too, rick.

intellected 02-25-2002 01:19 AM

Quote:

Originally posted by supreemball
me too, rick.
How very wierd - the query is the exact same that I used when inserting it. Anyway, it's not really complicated to circumvent:

Just create a new usergroup, and then go into phpmyadmin and change the groupid to 666.

hagi 02-25-2002 02:45 AM

Quote:

Originally posted by intellected

How very wierd - the query is the exact same that I used when inserting it. Anyway, it's not really complicated to circumvent:

Just create a new usergroup, and then go into phpmyadmin and change the groupid to 666.

i dont have phpmyadmin. i actually didnt know how to run query's until i got that hack for the vbb admin cp. is their any other query i can run to make it work, cause i got the same problems as others and clueless on this. btw, sounds like a good hack.

intellected 02-25-2002 02:56 AM

Quote:

Originally posted by hagi


i dont have phpmyadmin. i actually didnt know how to run query's until i got that hack for the vbb admin cp. is their any other query i can run to make it work, cause i got the same problems as others and clueless on this. btw, sounds like a good hack.

Seriously man, this is indeed the EXACT query I use:

Code:

INSERT INTO usergroup VALUES("666","Ultimate ban","","0","1","1","1","1","0","1","0","0","0","1","1","1","1","0","0","1","1","1","0","0","1","0","0","0","0","0","0","0","0","1");
And it works flawlessly on vB 2.2.2. I have no idea why it doesn't work for you. Anyone got any ideas?

hagi 02-25-2002 03:34 AM

its funny, mine just worked now without me doing anything. well, thanks for the help

Rick 02-25-2002 09:14 PM

Still no good for me :-(

hagi 02-26-2002 01:05 AM

i got the query to work, but the hack itself wont work for some reason

Neo 03-02-2002 07:15 AM

props to you. nice hack.


All times are GMT. The time now is 06:14 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.01560 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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