vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

Delphiprogrammi 02-16-2007 03:07 PM

Quote:

Originally Posted by alexhirurg (Post 1182200)
bugreport ! i've not understood the condition - when it happening, but it happening often...

Look at first comma after VALUES - there is strange... no userid, no username. Why it can be ?
this report from one of the administrators account.

Code:

Invalid SQL:
 
                      INSERT INTO pmtext_warned
                      (fromuserid, fromusername, title, before_title, message, before_message, touserarray, dateline)
                      VALUES
                      (,
                      '',
                      '',
                      '<i>The user did not enter a title</i>',
                      'B?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the mighty mountains\nfill your chest with burning desire,\nI will play the langspil [violin-fiddle-like instrument]\nand soothe your mind\n\nB?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the cruel storms rage\nand the dark blizzard crouches above,\nI shall light five candles\nand drive away the winter/twilight shadows',
                      'B?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the mighty mountains\nfill your chest with burning desire,\nI will play the langspil [violin-fiddle-like instrument]\nand soothe your mind\n\nB?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the cruel storms rage\nand the dark blizzard crouches above,\nI shall light five candles\nand drive away the winter/twilight shadows',
                      '',
                      1171311326);
 
MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
                      '',
                      '',
                      '<i>The user did not enter a title</i>',
                      'B?*um b?*um b' at line 4
Error Number : 1064
Date        : Monday, February 12th 2007 @ 12:15:26 PM
Script      : http://www.linkinparkforums.com/editpost.php?do=updatepost&postid=463949
Referrer    :
IP Address  : 194.144.42.227
Username    : Friðbjörn
Classname    : vB_Database


that is caused by the automatic warnings future disable it and the errormessages will disappear until i can have a look in fixing that

Delphiprogrammi 02-16-2007 03:09 PM

Quote:

Originally Posted by chikkoo (Post 1182293)
Though I wanted to install AWS in 3.5, since it was in Beta, I was using Inferno Warning System. Now I am still continuing with it, though it is not 100% working (adding warnings but not banning).

Now I am planning to switch to AWS 3.6.1, before that some queries:

1) Can I import the Warning points from Inferno Warning System?
2) Inferno had some warning blocks (green+yellow+red), does your warning levels/points have such blocks/pictures?
3) Does every one can see other members warning points and warning reason?

Thanks for your support.

1)nope
2)nope
3)No only mods and up and the warned person (his own only)

Delphiprogrammi 02-16-2007 03:13 PM

Quote:

Originally Posted by alexhirurg (Post 1182204)
also i want to ask authors - is it possible to embed manual changes to templates to the xml ?
like as parse_templates plugin, or - i don't know the way to change templates in install/uninstall scripts - may be somebody know ?
only one way that i can invent - get it by fetch_template, change and store directly to the database by SQL query..
Any thinks ?

I think you mean to have the template edits automated ? i think that would be impossible

Delphiprogrammi 02-19-2007 08:16 PM

hi people,

I have added a new thing.Using the new "adminmessage" system that whas introduced by jelsoft in one of 3.6.x beta's don't remember exactely which one.When you install the system (a complete new install not an upgrade) you will see a message on what todo next toget the system working on your board.This is most to help new vBulletin "modding" users to get started quickly and when you uninstall the system you will see a message telling you which file(s) are save to remove from your server

Puntal 02-24-2007 10:40 AM

Thanks for great hack.

I installed it,and works fine,but since installing it,we cannot see avatars or signatures anymore!!!

I am using Postbit and not postbit_legacy

Thanks for help in advance.

Delphiprogrammi 02-24-2007 12:35 PM

Quote:

Originally Posted by Puntal (Post 1189627)
Thanks for great hack.

I installed it,and works fine,but since installing it,we cannot see avatars or signatures anymore!!!

I am using Postbit and not postbit_legacy

Thanks for help in advance.

ey don't yell that's completely normal.There is a setting in your warning options that controls this."Avatar Cut Off limit" and "Signature Cutoff Limit" set both to "0" (zero) if you want to ALWAYS allow (regardless off any warnings) members to keep there avatar and signature)

gusfune 02-24-2007 08:54 PM

Is it possible to moderators warn other moderators using this hack? If not, would it be possible in a near future?

Delphiprogrammi 02-25-2007 06:09 PM

Quote:

Originally Posted by gusfune (Post 1189975)
Is it possible to moderators warn other moderators using this hack? If not, would it be possible in a near future?

No Not By Default But You Could Try Removing The Moderator's Usergroup From The Protected Usergroups ....

alexhirurg 02-25-2007 08:14 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1183961)
I think you mean to have the template edits automated ? i think that would be impossible

I think that using preg_replace() and other string funcs will help to do it automatically ;)
but i've asked - is this possible to transfer changing templates to the plugin that will hook entry named "parse_templates" ?
I did it in mine 2 plugins w/o any hard work... but your have many changes, of course...

Delphiprogrammi 02-27-2007 02:23 PM

Quote:

Originally Posted by alexhirurg (Post 1190594)
I think that using preg_replace() and other string funcs will help to do it automatically ;)
but i've asked - is this possible to transfer changing templates to the plugin that will hook entry named "parse_templates" ?
I did it in mine 2 plugins w/o any hard work... but your have many changes, of course...

$vbulletin->templatecache[] = str_replace() ...... and so on BUT you have to "give" a comment string on where to insert the changes.Because this system contains many changes this is something you have todo by hand.I think you have to first insert a comment into the template(s) that need to be modified then vBulletin can "parse" them through that hook.I've seen it done in other mods

HTML Code:

<!-- this is a comment -->
or a "unique" part of the code will do to


All times are GMT. The time now is 08:27 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.01705 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_html_printable
  • (7)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