vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 12-03-2004 04:06 PM

Quote:

Originally Posted by JimpsEd
Many thanks sv1 :) A great addition.

Maybe some ideas to consider; when a post is warned, have the option to display at the end of the post/highlight it in some way saying what it was warned for, by who, how many points and so on. "Public" warning, as such, to "teach" users a lesson before they do it themselves.

This is hard to do. For example, you may warn a thread, because it was posted in the wrong forum. Obviously, the moderator will move it to the proper forum, so if you put a message saying "This thread was warned because it was posted in the wrong forum", it will have no meaning after the mod moves it.

Rgds

rh2004 12-03-2004 10:26 PM

Hello, I had this installed the other day and its install on a few templates default,
satellite and xmas style now they all was working but I have been adding some new
stuff over the last day or so and its now giving me a blank white page when I try
and click on warnings etc.

I've checked throught everything and they all seem to be there, now it works fine
on default vbulletin template and I can do everything but on the others I get the
blank page...

Do you know whats wrong, I read through some of the topic and other people had
a problem but that was with the one template....

Thanks

rh2004 12-03-2004 10:37 PM

Hello, I had this installed the other day and its install on a few templates default,
satellite and xmas style now they all was working but I have been adding some new
stuff over the last day or so and its now giving me a blank white page when I try
and click on warnings etc.

I've checked throught everything and they all seem to be there, now it works fine
on default vbulletin template and I can do everything but on the others I get the
blank page...

Do you know whats wrong, I read through some of the topic and other people had
a problem but that was with the one template....

Thanks

mcyates 12-03-2004 10:39 PM

Quote:

Originally Posted by rh2004
Hello, I had this installed the other day and its install on a few templates default,
satellite and xmas style now they all was working but I have been adding some new
stuff over the last day or so and its now giving me a blank white page when I try
and click on warnings etc.

I've checked throught everything and they all seem to be there, now it works fine
on default vbulletin template and I can do everything but on the others I get the
blank page...

Do you know whats wrong, I read through some of the topic and other people had
a problem but that was with the one template....


Thanks

Are you sure the templates are acutally in the satellite and zmas styles!!! The blank page would suggest not. Have another check.

rh2004 12-03-2004 11:06 PM

Quote:

Originally Posted by mcyates
Are you sure the templates are acutally in the satellite and zmas styles!!! The blank page would suggest not. Have another check.


Yeah they are there I just checked ... :disappointed:

sv1cec 12-04-2004 04:14 AM

Quote:

Originally Posted by rh2004
Yeah they are there I just checked ... :disappointed:

I am sory, but as I explained before, I have no alternative styles on my forums, so I have no idea how that works. I wish I could help you, but without a testing system, it's hard to do. If the system is working on the default style, it's definitely something missing in the rest.

Rgds

Revan 12-04-2004 10:27 AM

v2.1 now huh? :) Yeah I think this is stable enough for me to install now :)
I didnt read all this template bs too careful, but I hope the fact that I have Child Styles wont come and bite me in the anus ;)
If it does, then I suggest to create a dropdown select menu for the template part of the installer, where the user can choose what style he wishes to install his templates in.


//peace

j_86 12-04-2004 10:30 AM

I had problems with the install (blank) of V2.00 - a problem with the entry of the options into the options table (invalid coloumn ID or something), so I tried entering them myself, and then tried deleting the entry in the table and using the form to create it's own, which worked.

However, all of a sudden, each Yes/No etc. selection has 3 options; Yes Yes No (if it was set to Yes before) and No Yes No (if it was set to No before).

Is this a problem, if it is - any idea how to fix it / what SQL command to use to fix the options table?

Revan 12-04-2004 10:45 AM

I had hoped I could just edit my post but meh gotta bump it now :p
I am in the process of installing this hack, and I must say I don't like having a table of its own for the warning_options. Im in the process of creating $vboptions for it all, then edit every part requiring this query to use $vboptions instead.
If you want, sv1, I can write up an installer part for adding into the datastore to help reduce query load for this hack (having 1 extra query ran every time I access the ACP just wont do for me ;))



EDIT:
Quote:

Originally Posted by JimpsEd
I had problems with the install (blank) of V2.00 - a problem with the entry of the options into the options table (invalid coloumn ID or something), so I tried entering them myself, and then tried deleting the entry in the table and using the form to create it's own, which worked.

However, all of a sudden, each Yes/No etc. selection has 3 options; Yes Yes No (if it was set to Yes before) and No Yes No (if it was set to No before).

Is this a problem, if it is - any idea how to fix it / what SQL command to use to fix the options table?

I am in the process of cleaning up the files, and this will be one of the issues I am fixing.


If you want, sv1, I can send you the files once Im done cleaning them up. It will be issues like the one quoted here, plus coding style I will be tampering with, Im not trying to make my own version of this ;)

sv1cec 12-05-2004 04:22 AM

Quote:

Originally Posted by Revan
I had hoped I could just edit my post but meh gotta bump it now :p
I am in the process of installing this hack, and I must say I don't like having a table of its own for the warning_options. Im in the process of creating $vboptions for it all, then edit every part requiring this query to use $vboptions instead.
If you want, sv1, I can write up an installer part for adding into the datastore to help reduce query load for this hack (having 1 extra query ran every time I access the ACP just wont do for me ;))



EDIT: I am in the process of cleaning up the files, and this will be one of the issues I am fixing.


If you want, sv1, I can send you the files once Im done cleaning them up. It will be issues like the one quoted here, plus coding style I will be tampering with, Im not trying to make my own version of this ;)

Raven,

Your idea of using $vboptions is a solid one, I didn't think of that, as I used ZT's original structure and I just used that table for my hack as well. The query for the options is indeed a pain. I wish I had thought about it, because now, I have to go back and edit all the files (not too ddifficult) and all the templates (gosh I hate that)! Darn!!!

And indeed, the code needs some cleaning work. Now that I've finished installing the other hack I mentioned above (the Inline Moderation Hack, great one), I think I'll spend some time cleaning up the mess.

Of course, your help is welcome, don't forget I started this from ZT's code, so a lot of the code is not mine either. An installer which will take into consideration the styles thing would be a great help, as I do not have any additional styles and I can't even help users with this issue. I just do not know how to handle them.

As for the Yes/No/Yes thing on the drop down menus, I am not sure I can do something about it, I am using vB's standard method, and that's how they show up after you set the value once.


All times are GMT. The time now is 01:31 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.01827 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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