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)

McMendo 10-20-2007 10:55 PM

Installed. Works great so far, after I managed to figure out things.

But it should be noticed that the install instructions are a mess and a little misguiding in the modification of templates. A couple of times it instructs you replace part of a text code that it had instructed you to add before. Then one time it tells you to search for a text code that is slightly different on 3.6.8.

Sorry that I didn't take note of the exact details. Too little sleep and too much work load this week.

Thank You

Bellardia 10-22-2007 11:20 PM

When I updated to the newest version, it flushed my templates away.

However, in my old templates, I made it so that all users could view warnings and their comments.

Unfortunately, I wasn't the one who coded that part, and the person is no longer around.

Is it possible to revert back to before I installed this, or can you provide me with a code to allow ALL users to view warning details and not just Warnings on postbit?

Delphiprogrammi 10-24-2007 07:44 AM

Quote:

Originally Posted by Bellardia (Post 1366330)
When I updated to the newest version, it flushed my templates away.

However, in my old templates, I made it so that all users could view warnings and their comments.

Unfortunately, I wasn't the one who coded that part, and the person is no longer around.

Is it possible to revert back to before I installed this, or can you provide me with a code to allow ALL users to view warning details and not just Warnings on postbit?

you can select that but warning details are restricted to mods and up you are however free to try and modify it yourself to suite your needs that's the advantage of open source.If you uninstall the product it will indeed wipe the templates and no there is no way back.You could simply remove the permissions checks from the templates and everyone will see it

Bellardia 10-24-2007 04:23 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1367296)
you can select that but warning details are restricted to mods and up you are however free to try and modify it yourself to suite your needs that's the advantage of open source.If you uninstall the product it will indeed wipe the templates and no there is no way back.You could simply remove the permissions checks from the templates and everyone will see it

Can you guide me on which permission checks to remove?

Delphiprogrammi 10-25-2007 08:47 AM

Quote:

Originally Posted by Bellardia (Post 1367575)
Can you guide me on which permission checks to remove?

the warn_view... templates

HTML Code:

<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)">
a line like this indicates that the content is restricted to members from usergroupids 5,6,7

5=supermods
6= administrators
7 = mods

be carefull when removing / editing those lines you do not remove this line on the delete function because you don't want anybody being able to mark warnings as being inactive do you ?

wrestlepower 10-29-2007 08:39 PM

getting an SQL error when trying to modify a user.

MySQL Error : Unknown column 'warn_notes' in 'field list'

Had look through the thread but cant see a fix posted for that yet.

Charuvils 10-30-2007 10:07 AM

thx a lot man

Delphiprogrammi 10-30-2007 04:51 PM

Quote:

Originally Posted by wrestlepower (Post 1371415)
getting an SQL error when trying to modify a user.

MySQL Error : Unknown column 'warn_notes' in 'field list'


Had look through the thread but cant see a fix posted for that yet.

[SQL]
ALTER TABLE user ADD warn_notes SMALLINT DEFAULT '0';
[/SQL]

keep table prefixes in mind if you have one for example if you table table prefix is "vb" the query becomes

[SQL]
ALTER TABLE vb_user ADD warn_notes SMALLINT DEFAULT '0';
[/SQL]

under_takers 11-02-2007 03:28 PM

well, i update this scripts and i face this error and get time by time error

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT w.*, wt.*, u.* FROM vb_warnings w
LEFT JOIN vb_warningype wt ON(wt.warningtypeid = w.warned_warning_id)
LEFT JOIN vb_user u ON(u.userid = w.warned_user) WHERE warned_status =
'L';

MySQL Error : Table 'ibp.vb_warningype' doesn't exist
Error Number : 1146
Date : Friday, November 2nd 2007 @ 07:59:35 AM
Script : http://www.xxxxxx-xxxx.com/vb/cron.php?rand=860392
Referrer : http://www.xxxx-xxxxx.com/vb/forumdisplay.php?f=19
IP Address : 58.186.205.61
Username : Unregistered
Classname : vb_database

Bellardia 11-11-2007 12:07 AM

I've installed a completely clean board. Everything is fine until I warn someone :

This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.

I think the problem lies within the add-on and not anything else, because there simply isn't anything else. =\


All times are GMT. The time now is 11:44 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.01590 seconds
  • Memory Usage 1,747KB
  • 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_html_printable
  • (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