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)

ryans 11-07-2002 07:11 PM

It doesn't give me that option.

drumsy 11-08-2002 02:52 PM

Double check to make sure on the install all templates were added for the warning system and that you made all the necessary template edits.

mheinemann 11-08-2002 10:43 PM

This hack works great, but I'm having one small problem, when I warn a user, and have "Send Warning PM to User?" checked, I get this error.

Quote:

Database error in vBulletin 2.2.8:

Invalid SQL:
INSERT INTO privatemessage
(privatemessageid, userid, touserid, fromuserid, title, message, dateline, showsignature, iconid, messageread, folderid, receipt)
VALUES
(NULL, '28', '28', '2', 'Dolphin's Bay Warning Notification', 'test,

You have been issued a warning by Mike on the account of Spamming!
You now have 2 Warning Points.
The ban limit is currently set to 25 Total Warning Points.

Thanks,
Dolphin's Bay team.', '1036801329', '0', '0', '0', '0', '1') mysql error: You have an error in your SQL syntax near 's Bay Warning Notification', 'test,

You have been issued a warning by Mike on' at line 5

mysql error number: 1064
if I have it unchecked, it doens't give me this.

partang2 11-10-2002 02:52 PM

Can anyone tell me how I get the link in postbit showing up?
Have installed the latest version on a 2.2.8 and all is ok, only this problem.... I am using the Ravio template.

Barret 11-10-2002 08:41 PM

partang2 Read back its been posted here 50 times. ;)
Now for my problem.
When I go to warn a person I get a page that says this.
Quote:

The page cannot be found
Now I can see warning.php and all the seetings but cant seem to modify it like in warning a user. I have the warning file in the root folder of the board so it should show up "which it does" and add/modify.
After going through all 18 pages I cant see where anyone else had this problem. :(
Any ideas?
Thanks

partang2 11-10-2002 09:44 PM

I must be blind! I have read all the posts in this thread 2 times now... I can see that many peoples have asked the same thing, but I cant see a answer to this issue. The only thing I see is "Update in controlpanel...." and I have done that but still no link in postbit.....!! What else do I have to do?

Barret 11-10-2002 10:37 PM

You updated vBulletin Options/[Warnings System]?
Thats all I had to do. :)

partang2 11-10-2002 10:56 PM

Yes I have done that. In fact all works, but the link will not show up in postbit template. I see it there when I preview the template, but not in the "real" page..... Any suggestions?

Barret 11-10-2002 11:26 PM

This is how mine looks.
PHP Code:

<p align="right"><b><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]<br>$post[warnlink]</smallfont></b></p

Hope this helps. :)

mheinemann 11-11-2002 01:11 AM

Quote:

Originally posted by mheinemann
This hack works great, but I'm having one small problem, when I warn a user, and have "Send Warning PM to User?" checked, I get this error.



if I have it unchecked, it doens't give me this.

I just did some more testing, and if I leave the comment blank, I don't get the error either. Any Ideas?


All times are GMT. The time now is 08:06 PM.

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.01515 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)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