Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)

Closed Thread
 
Thread Tools
PRoblem with issuing alerts Details »»
PRoblem with issuing alerts
Version: , by mpadc mpadc is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-26-2005 Last Update: Never Installs: 0
 
No support by the author.

Hi Guys

I upgraded from 3.3.2 to 3.4.2

Cos i wanted that Alert thing installed

Ok Everything done A ok

But PRoblem is this:

in admin cp >Warning Options >

Save copy of Alert Message in a predefined forum?If set to Yes, the Alert PM or e-mail which is send to the alerted member, will also be saved in a forum in your board. You may specify the forum in which the copy will be saved below.


when i set this to yes...and save it it dont Save for some reason meaning it defaults back to "NO"


iive checkced all the settings Alerts are enabled and set to yes..

plus it dont create threads in the specific forum that it spose to when alerted!#

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-26-2005, 07:56 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open your warn_install_setting.php file and find:

PHP Code:
        $setting['warn_alertslifetime']['defaultvalue'] = '0';
    
$setting['warn_alertslifetime']['optioncode'] = '';
    
$setting['warn_alertslifetime']['displayorder'] = '40'
Below that, add

PHP Code:

    $setting
['warn_savecopyalert']['titlephrase'] = 'Save copy of Alert Message in a predefined forum?';
    
$setting['warn_savecopyalert']['descphrase'] = 'If set to Yes, the Alert PM or e-mail which is send to the warned member, will also be saved in a forum in your board. You may specify the forum in which the copy will be saved below.';
    
$setting['warn_savecopyalert']['grouptitle'] = 'warning';
    
$setting['warn_savecopyalert']['value'] = '';
    
$setting['warn_savecopyalert']['defaultvalue'] = '0';
    
$setting['warn_savecopyalert']['optioncode'] = 'yesno';
    
$setting['warn_savecopyalert']['displayorder'] = '41'
Point your browser to that file and run it again.

Rgds
  #3  
Old 04-27-2005, 08:58 AM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers for that got it sorted

ok one other thing now:

When i try to warn/alert a user i get this error message:

Warning: Missing argument 6 for warn_calculations() in /includes/functions_warning.php on line 159

it seems to alert the user but it dont send them emails or PM or anything like that...

and when i try to warn the user in the same way it dont slap them with points or anything either...something drastically wrong here it seems :S

all settings are correct i guess me thinks its that error message which is the problem!
  #4  
Old 04-27-2005, 09:35 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please understand that you are asking me to troubleshoot something which is 5 versions old.

Have you done the changes in the warn_addwarn template? The ones for the alert? It seems that your functions_warning is expecting an $alert variable, which is not there. I can't tell why it is not there, because in the last 5 releases, bugs have been corrected. How can I tell what you need to change now?

rgds
  #5  
Old 04-27-2005, 09:38 AM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Please understand that you are asking me to troubleshoot something which is 5 versions old.

Have you done the changes in the warn_addwarn template? The ones for the alert? It seems that your functions_warning is expecting an $alert variable, which is not there. I can't tell why it is not there, because in the last 5 releases, bugs have been corrected. How can I tell what you need to change now?



rgds

Sorry i forgot to mention ive upgraded to the latest version my apologies :squareeyed:

ive got the latest version installed now.....

what i did was i uninstalled it and resintalled the AWS system all over again (the DB.phrases.templates) and all and i did all the file changes

It all appears well and correct just that Error message appears each time i try to warn a user

when i warn a user it dont send a pm or anything

when i remove the alert it does send the PM

all is up2 date!

thankx
  #6  
Old 04-27-2005, 09:50 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, now we are getting somewhere. So you are in 3.4.7 and the problem you have is that if you send a warning you get that error message? Do me a favor. Download the latest zip file and upload all the distribution files again.

Also, check you settings and make sure you have asked for the warned user to be PMed. What are your settings for PM cut-off?

See if that corrects your problem.
  #7  
Old 04-27-2005, 10:28 AM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
OK, now we are getting somewhere. So you are in 3.4.7 and the problem you have is that if you send a warning you get that error message? Do me a favor. Download the latest zip file and upload all the distribution files again.

Also, check you settings and make sure you have asked for the warned user to be PMed. What are your settings for PM cut-off?

See if that corrects your problem.
Hello,

Correct when i try to send a warning i get that problem!
Latest Files Uploaded:

Settings for User to be pm is set to yes

PM cut off limit is 0 ive checked all that

do u think this is a template issue or a a file issue?
  #8  
Old 04-27-2005, 10:55 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It can be a template issue. Check the various templates, versus the ones which are in the install_warn/warn.xml file, especially the warn_addwarn and warn_addwarn_nopost.

Rgds
  #9  
Old 04-28-2005, 08:41 AM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
It can be a template issue. Check the various templates, versus the ones which are in the install_warn/warn.xml file, especially the warn_addwarn and warn_addwarn_nopost.

Rgds
Hi thank you for that

for some rason i get a nother problem now lol

Manage Warning Options when i set the values and settings there when i save it reverts back to the original -- like all no and settings all dissapear/

any idea with this?

thanks
  #10  
Old 04-28-2005, 12:28 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your setting table, if it contains any rows, with the varname starting with warn_ .

SELECT * FROM setting WHERE varname LIKE 'warn_%'

If not, your settings do not exist. Run the warn_install_setting.php file again (point your browser to it).

Rgds
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04502 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete