vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

Delphiprogrammi 06-06-2006 09:53 AM

Quote:

Originally Posted by GoTTi
first quesiton:

all the postbit modifications...should i be altering the postbit_legacy also???

also the instructions say:



when i look in my postbit_legacy i see:

Code:

<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
what do i do?

if you use postbit_legacy then yes ...... postbit is the "default" template in 3.5.x .The code sample you posted above tells me you have some other hack installed that involves signatures as that's not "standard" vb's template code.I don't have the time nor the patience to support third party hacks

GoTTi 06-06-2006 12:49 PM

Quote:

I don't have the time nor the patience to support third party hacks
good thing im not asking you to support third party hacks. im asking you how do i fit the AWS code into the code i currently have. what should it look like? do i NEED to replace the code? can i add it to the postbit_legacy?

Delphiprogrammi 06-06-2006 01:19 PM

Quote:

Originally Posted by GoTTi
good thing im not asking you to support third party hacks. im asking you how do i fit the AWS code into the code i currently have. what should it look like? do i NEED to replace the code? can i add it to the postbit_legacy?

you could try it like this

Code:

<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true"
AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">

but i suggest you make you a note there in the code so if it causes errors you can easly find it back

HTML Code:

<!-- aws signatures -->
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true
AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)"
>

<!--end off aws signatures -->

that should get both things working

Marcus Lau 06-07-2006 03:49 AM

Is it good for 3.5.4?

GoTTi 06-08-2006 09:10 AM

my users can see the warning levels and points for other users. is that suppose to be that way?

GoTTi 06-08-2006 09:10 AM

Quote:

Originally Posted by Marcus Lau
Is it good for 3.5.4?

yea this works perfect for 354

Delphiprogrammi 06-08-2006 10:51 AM

Quote:

Originally Posted by GoTTi
my users can see the warning levels and points for other users. is that suppose to be that way?

there is a setting that controls that however it's default value is 'mgm' which means managment team (your mods supermods or admins) can see it normal users cannot(unless there own warnings offcource) it's in the warning options page

GoTTi 06-08-2006 01:00 PM

yea its set to mgm, but there are users seeing warnings for others in the postbit.

i use the legacy style.

on the left side, some people are seeing warnings for a user and some arent seeing the warnings.

Delphiprogrammi 06-08-2006 02:53 PM

people,

I have been playing with vbulletin 3.6.0 and i can tell you aws will not work on 3.6.0 and i feel it is pretty useless to port it why ?

well 3.6.0 includes a system called "infractions" which is much more advanced ... also ....

all users who use the aws hack and are planning (or already did) upgrade to 3.6.0 please read this

you'll probably want to uninstall this hack.When you do it will erase all the database settings used BUT VBULLETIN 3.6.0 USES A FIELD WITH THE SAME NAME so ... if this has happend to you run

Code:

ALTER TABLE user ADD warnings INT UNSIGNED NOT NULL default '0';
keep tableprefixes in mind ...

Hornstar 06-08-2006 10:26 PM

Quote:

Originally Posted by Delphiprogrammi
people,

I have been playing with vbulletin 3.6.0 and i can tell you aws will not work on 3.6.0 and i feel it is pretty useless to port it why ?

well 3.6.0 includes a system called "infractions" which is much more advanced ... also ....

all users who use the aws hack and are planning (or already did) upgrade to 3.6.0 please read this

you'll probably want to uninstall this hack.When you do it will erase all the database settings used BUT VBULLETIN 3.6.0 USES A FIELD WITH THE SAME NAME so ... if this has happend to you run

Code:

ALTER TABLE user ADD warnings INT UNSIGNED NOT NULL default '0';
keep tableprefixes in mind ...


I plan on updating to 3.6 like most when it is in final

so, explain again what steps should be done to totally uninstall this hack so nothing goes wrong with 3.6.

I didnt fully understand the above.

Thanks


All times are GMT. The time now is 05:05 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.02140 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (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