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)

students_forum 10-04-2008 07:19 PM

Quote:

Originally Posted by Magnumutz (Post 1634231)
Delphiprogrammi has started being active again, let's hope he can update this wonderful mod !

cyber stalking I see ... you must be desperate!

jmurrayhead 10-06-2008 05:27 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1635570)
hi folks,

I have some spare over the weekend and i will install this on my 37.3 testboard and see what happens


Mr. Delphi, how was your weekend? Any progress? :D

Delphiprogrammi 10-06-2008 05:55 PM

Quote:

Originally Posted by jmurrayhead (Post 1638752)
Mr. Delphi, how was your weekend? Any progress? :D

Yes the protected usergroups feature is indeed not working finding the problem cause will be quite impossible as that would require me to digg through more then 3800 lines of PHP code so this is not the news you all wanted to hear but i guess it's time for a switch to the vBulletin infraction system

jmurrayhead 10-06-2008 06:08 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1638782)
Yes the protected usergroups feature is indeed not working finding the problem cause will be quite impossible as that would require me to digg through more then 3800 lines of PHP code so this is not the news you all wanted to hear but i guess it's time for a switch to the vBulletin infraction system


This is horrible news... :(

Magnumutz 11-14-2008 03:03 PM

Oh NO !!
Switching to the infraction system is such a great loss :(

sv1cec 11-14-2008 04:17 PM

Delphi, welcome back.

The protected user groups should work fine, the check is made near the top of Warn.php in the function check_user. The function itself is located in functions_warning.php.

Delphiprogrammi 11-16-2008 07:22 PM

hi,

I'll be honest here.I just cannot understand how the new profile pages work i mean there is some explanation here but it's still not clear to me and aws that ....

sv1cec 11-17-2008 08:29 AM

Now you know why I hate the new coding scheme that vB is using these days?

Sorry buddy, I wish I could help. However, I think there are ways around it. Maybe you can add a block at the end of profile page with the warning buttons and the warning information. I do not know. It seems that vB is trying to make our lives more difficult, rather than facilitating coders.

tehPARADOX 01-05-2009 11:07 PM

Quote:

Originally Posted by pnosko31 (Post 1569694)
I was looking over this mod as i was thinking of using it and discovered in mysql it creates a table called vb_warningtype and in the file in some spots it tries to use the database vb_warning_types - that may cause some problems you are having

Can anyone possibly help me with this situation?

I have recently noticed old warnings are not getting removed automatically via Cron.

EDIT:
Manually executing the cron job: kill_warns, shows that warningype table doesn't exist. Looking over mysql, the table is named warningtype.

So I edited kill_warns.php:
Code:

    LEFT JOIN " . TABLE_PREFIX . "warningype wt ON(wt.warningtypeid = w.warned_warning_id)
to:
Code:

    LEFT JOIN " . TABLE_PREFIX . "warningtype wt ON(wt.warningtypeid = w.warned_warning_id)
Tried running the cron again, this time I received the following error:
Code:

AWS - Kill warnings

Fatal error:  Call to undefined function convert_array_to_bits() in /home/xxxxx/public_html/forum/includes/cron/kill_warns.php on line 114

Line 114 shows this code:
Code:

        $user = array_merge($user,convert_array_to_bits($user['options'],$vbulletin->bf_misc_useroptions));
Any help would be appreciated.

sv1cec 01-06-2009 03:40 PM

Unless DelphiProgramming has changed the names of the tables, the name for the Warning Types table should be "warning_types".

If that's not the case, I would suggest you contact Delphi.

As for the unvalid function call, at the top of the kill_warns.php file you have to see the following lines:

Code:

        require_once('./global.php');
        require_once('./includes/functions_user.php');
        require_once('./includes/functions_newpost.php');
        require_once('./includes/functions_warning.php');

Please note that this is from the old AWS (for vB 3.0.xx) I haven't worked on the code after that, Delphi has.


That part of the code you quote (the one with convert_array_to_bits) doesn't exist in my code.


All times are GMT. The time now is 11:46 AM.

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.01656 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (5)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