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)

WoodiE 10-26-2002 02:56 PM

I just upgraded to 2.2.8, how do i reinstall this?

I have ran the uninstall and it runs without a single problem, but if i run the install i get a database error:

Database error in vBulletin Control Panel 2.2.8:

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

mysql error number: 1062

Date: Saturday 26th of October 2002 10:55:29 AM
Script: http://www.rcnitrotalk.com/forum/for...ing.php?step=2
Referer: http://www.rcnitrotalk.com/forum/adm...ll_warning.php


How do i fix this?


-WoodiE

Link14716 10-26-2002 03:23 PM

Change all occurences of '40' in the install file to '99'.

Do this at your own peril, but it should work :)

X-Fan 10-27-2002 05:45 AM

Quote:

Originally posted by g-force2k2
as for the warnconfig.php i don't know how many times in my thread that i have stated there isn't one ;P its been replaced by the vbulletin options in version 2.0...
Then why does it still state in the installation instructions for v2.1:

Quote:

Go to the Admin CP and create a new usergroup.
Call the group Banned by Warnings :: And be sure to restrict all access to the forum from this usergroup!
Then Submit and right click the edit link to that new usergroup. Remember the Usergroupid for the config of the warnconfig.php!
(ie. 8)

Notice ::
Open warnconfig.php and configure this according to your forum!
?!

The hack isn't working any more after I upgraded my forums to v2.2.8 I no longer see the warn link in postbit, even though the correct code is in the template. Also, clicking the Modify Warning link (indeed any of the warnings hack links) in my site's admin take me to a blank page.

Any help is appreciated, as this is an invaluable hack!

Erwin 10-27-2002 06:07 AM

X-fan, when you upgraded you must have accidentally removed some code from your functions.php and members.php - you need to reinstall the hack carefully.

X-Fan 10-27-2002 06:08 AM

Okay, I sussed it out. For some reason, the rows had gone from the settinggroup and settings tables in my site's database. I went to add them back in manually, but the vBPad hack had id 40 so I set the warnings hack to id 50.

However, clicking "Modify Warnings" in my Admin CP still brings up a blank page, even after I've set all the configurations via vBulletin Options.

Erwin 10-27-2002 06:10 AM

A blank page usually means a missing template - make sure when the required templates are in all your templateset, not just default.

X-Fan 10-27-2002 06:10 AM

Erwin, I'd added all the code back into the files and templates, but for some reason there were fields missing from my site's DB as I explained above.

I worked out the problem with Modify Warnings giving me a blank screen too - I was still using the old version of admin_warnings.php! LOL ;)

Erwin 10-27-2002 06:13 AM

There you go! All fixed, all by yourself. ;) Well done! Your site is looking good - 25 queries on your home page, and 27 on forumhome! I'm sure that's only 25% of what it was with vBPortal. :)

X-Fan 10-27-2002 06:59 AM

Thanks Erwin! I appreciate the kind words. As well as being my full-time job, my site is a labor of love for me :) It's almost like my third child! ;)

WoodiE 10-27-2002 01:24 PM

Thanks Link14716 that fixed the problem, but now when I log in the admin control panel under:

vBulletin Options -> I have two [Warnings System] links listed. How do i remove the old one?

-WoodiE


All times are GMT. The time now is 09:15 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.01619 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
  • (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