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)

Gary King 09-19-2003 10:57 PM

Quote:

Originally Posted by DannyITR
Is there a way to change the reason for warning or add new ones?

Also i have another prob. The warning level only appears for the first post on each page!! On the user that starts the the thread can get warned as well as the first user that posted on each additional page.
Look: http://forums.montrealracing.com

There are options in the admin cp to add and change warnings.

DannyITR 09-21-2003 06:20 PM

I looked but I only see the section for warnings under the "vbulletin options" menu at the bottom. I can only change which groups can recieve/give warnings but nothing for changing warnings. I took the download file off the first page of this thread. Is that an old version or something because it seems to have not installed correctly on my forums.

Gary King 09-21-2003 06:37 PM

Quote:

Originally Posted by DannyITR
I looked but I only see the section for warnings under the "vbulletin options" menu at the bottom. I can only change which groups can recieve/give warnings but nothing for changing warnings. I took the download file off the first page of this thread. Is that an old version or something because it seems to have not installed correctly on my forums.

Latest is here: https://vborg.vbsupport.ru/showpost....&postid=296385

DannyITR 09-23-2003 02:24 PM

I installed the latest hack however some users have thier warning level appearing and disapearing. Not all registered users can be warned. One minute I can warn someone, the nextI can't!

Big J 09-24-2003 01:46 AM

g-force2k2 or anyone for that matter, do you know to include the URL to the offending post within the e-mail and pm that gets sent to the user? also, is there a way where a user could click a link in their Cp or somthing to show them all their warnings?

Thanks!!

paolorulez 09-28-2003 02:58 PM

<!-- Database error in vBulletin 2.3.2:

Invalid SQL:
INSERT INTO privatemessage
(privatemessageid, userid, touserid, fromuserid, title, message, dateline, showsignature, iconid, messageread, folderid, receipt)
VALUES
(NULL, '1831', '4', 'Tirannia's Board Warning Notification', 'phyrexianrager2,

You have been issued a warning by paolorulez on the account of Multiple Posting!
You now have 6 Warning Points.
The ban limit is currently set to 25 Total Warning Points.

Thanks,
Tirannia's Board team.', 'phyrexianrager2,

You have been issued a warning by paolorulez on the account of Multiple Posting!
You now have 6 Warning Points.
The ban limit is currently set to 25 Total Warning Points.

Thanks,
Tirannia\'s Board team.', '1064763132', '0', '0', '0', '0', '1')
mysql error: You have an error in your SQL syntax near 's Board Warning Notification', 'phyrexianrager2,

You have been issued a warning' at line 5

mysql error number: 1064
----------------------------------------------------------------------------------------------------

i replace

$pmsg

with

'".addslashes($pmmsg)."'

but not works

help me please

aquariumpros 09-29-2003 06:02 AM

HELP!!

Everything was fine while installing - UNTIL i tried to run the install_warning.php. It won't install the tables/queries correct.

First error I get:
Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: ALTER TABLE user ADD warninglvl int(10) NOT NULL DEFAULT '0'
mysql error: Duplicate column name 'warninglvl'

mysql error number: 1060


Then if I drop the table entry - and click Refresh in the automated script - I get this error next:
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


I don't know where to go next.

(all instructions in the installation_txt have been followed - all file edits are done. I don't understand the queries stating duplicate - as this is the first time I am installing this hack (fresh install - NOT upgrading)

Someone please help!!

TIA,

Gary King 09-29-2003 11:04 AM

Quote:

Originally Posted by aquariumpros
HELP!!

Everything was fine while installing - UNTIL i tried to run the install_warning.php. It won't install the tables/queries correct.

First error I get:
Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: ALTER TABLE user ADD warninglvl int(10) NOT NULL DEFAULT '0'
mysql error: Duplicate column name 'warninglvl'

mysql error number: 1060


Then if I drop the table entry - and click Refresh in the automated script - I get this error next:
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


I don't know where to go next.

(all instructions in the installation_txt have been followed - all file edits are done. I don't understand the queries stating duplicate - as this is the first time I am installing this hack (fresh install - NOT upgrading)

Someone please help!!

TIA,

Run the query [sql]DELETE FROM settinggroup WHERE settinggroupid = 40[/sql] Then run the installer again.

Freezerator 09-29-2003 02:33 PM

Will this one be ported to vb3?

Please say yes! :)

aquariumpros 09-29-2003 03:10 PM

Quote:

Originally Posted by Gary W
Run the query [sql]DELETE FROM settinggroup WHERE settinggroupid = 40[/sql] Then run the installer again.

Thank you very much...that allowed me to finish the install. :)

GREAT Hack!!!


All times are GMT. The time now is 08:00 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.01782 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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