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 01-21-2007 12:53 PM

hi people,

Allright I will investigate this and see if i and see what i can do

I cannot reproduce this please make sure you have the latest code

Edit plugin "AWS:warn link in usermanager" and replace all code with this

PHP Code:

$quicklinks["../Warn.php?" $vbulletin->session->vars['sessionurl'] . "do=WarnUserNoPost&id=" $vbulletin->GPC['userid']] = $vbphrase['aws_warn_user_admin']; 

if you are still getting that error then please tell me exactely what you are trying todo .... You could also disable the plugin which causes the problem (it is only used to provide a link to warn a user in the usermanager)

SportsZone 01-21-2007 06:31 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1164233)
if you are still getting that error then please tell me exactely what you are trying todo .... You could also disable the plugin which causes the problem (it is only used to provide a link to warn a user in the usermanager)

I have re-edited that plugin and I still get this error:

Quote:

Fatal error: Call to a member function on a non-object in /home/temp/public_html/includes/class_dm_user.php(2385) : eval()'d code on line 1
To get the error I added a new member via admincp > users > add new user

I also disabled the AWS:warn link in usermanager plugin, and tried to add a new member via admincp, and I got the same error messgae:

Quote:

Fatal error: Call to a member function on a non-object in /home/temp/public_html/includes/class_dm_user.php(2385) : eval()'d code on line 1

Delphiprogrammi 01-22-2007 06:52 PM

Quote:

Originally Posted by SportsZone (Post 1164458)
I have re-edited that plugin and I still get this error:



To get the error I added a new member via admincp > users > add new user

I also disabled the AWS:warn link in usermanager plugin, and tried to add a new member via admincp, and I got the same error messgae:


do you mind if i look at that at your board ? it is working normally here but as long as there is one user with a problem i'm not happy about my work ;)

SportsZone 01-22-2007 08:20 PM

lol sure. I'll PM you temp admin details.

Delphiprogrammi 01-23-2007 11:49 AM

hi,

That bug is now confirmed here a temporary workaround is disabling he plugin at hook location private_insertpm_process i will see what i cando about it

Problem solved

open plugin at hook location private_insertpm_process at tyhe verry top before any other code add

PHP Code:

global $vbulletin


save enable plugin

done

test users => add a new user

ciao ;)

SportsZone 01-23-2007 02:40 PM

Excellent, thanks for the fix :D

Celtkin 01-24-2007 09:27 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1162466)
are you sure you didn't (by accident) removed that code from postbit , postbit_legacy and MEMBERINFO templates ? you can always revert your templates to the vBulletin's original but note you will loose any modifications you've made to it.For setting up the build in infraction system you can read here

Yes, I just reversed the AWS installation instructions. I removed the AWS code and added back the code that was replaced.

Nonetheless, we eliminated the original problem of having non-staff members see the warnings by removing that code from the postbit.

alexhirurg 01-25-2007 04:07 AM

Is it possible to have a 0 points warning type ?
for example 'Congratulations'
i think is possible to remove condition >0 in add type form, but where is it ?

And also about USERCP template - it's not changed by install instructions, but how user can see his warnings in user CP ?

Delphiprogrammi 01-26-2007 10:15 AM

Quote:

Originally Posted by alexhirurg (Post 1166827)
Is it possible to have a 0 points warning type ?
for example 'Congratulations'
i think is possible to remove condition >0 in add type form, but where is it ?

And also about USERCP template - it's not changed by install instructions, but how user can see his warnings in user CP ?

1)That would be pretty useless this is not meant as a "thank you" system
2)The second one (the usercp thing) well it's a good idea and i will see to add it
3) hmmz point 2 that whole information needs tobe queried again from the database that will add a load of querys No i'm not doing that i changed my mind i'm verry sorry

akanevsky 02-03-2007 10:28 PM

Quote:

Originally Posted by alexhirurg (Post 1166827)
Is it possible to have a 0 points warning type ?
for example 'Congratulations'
i think is possible to remove condition >0 in add type form, but where is it ?

And also about USERCP template - it's not changed by install instructions, but how user can see his warnings in user CP ?

That is possible with "Smith" Warning System, you might want to check that out - it's published here at vB.org...


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.01643 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_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