Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Alert Thread messages are blank... Details »»
Alert Thread messages are blank...
Version: , by Ski-Whiz Ski-Whiz is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

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

I upgraded to 3.4.4.. Well for some reason the I'm getting the new thread for Alerts, but nothing is in this thread..

However, when I send a warning for the same thing, that thread will post the thread as normal.

So when sending alerts, the thread is blank, when sending warnings, the threads are posted as normal.

Anyone else getting Alert threads to work in 3.4.4? I haven't upgraded to 3.4.5,a s I didn't see this as a bug..

Maybe I'll update to 3.4.5 and just see if the alert thread works??

Show Your Support

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

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

I am a bit confused by your terminology. What do you mean "the new thread for Alerts"? An alert does not create a thread in any Forum, even if you have selected that option in the Warning Options, only warnings do. Or are you refering to the PMs send to the alerted or warned member?
  #3  
Old 04-22-2005, 09:22 AM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alerts are created threads on my site..hmm..

They are blank. The topics are there, but no body.. That's odd..
When I select the Alert "Yes", it creates a thread in my selected forum, like I said with no body.
I can PM you a test admin account to play with if you like.. It's wierd, if you said it won't create a thread.. I don't mind if it doesn't... I'm just seeing one, that's blank..
  #4  
Old 04-22-2005, 11:10 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Darn you are right!

Heheh, this program has more features than I know of!

In any case, if you want the Alerts to create a thread in a specific forum, edit your functions_warning and find:

PHP Code:
        if ($alert=='No')
        {    
            eval(
'$messageb .= "' fetch_template('warn_pm') . '";');
            
$title="You have been warned";
            
$messagecopy=$messageb;
        }
        else
        {
            eval(
'$messageb .= "' fetch_template('warn_pm_alert') . '";');
            
$title="You have been alerted";

        } 
Replace that with:

PHP Code:
        if ($alert=='No')
        {    
            eval(
'$messageb .= "' fetch_template('warn_pm') . '";');
            
$title="You have been warned";
        }
        else
        {
            eval(
'$messageb .= "' fetch_template('warn_pm_alert') . '";');
            
$title="You have been alerted";

        }
                
$messagecopy=$messageb
Also, find:

PHP Code:
if ($alert=='No')
        {
            eval(
'$messageb .= "' fetch_template('warn_em') . '";');
            eval(
'$messagecopy .= "' fetch_template('warn_pm') . '";');
            
$title="{$vboptions['messagetag']} - You have been warned";
        }
        else
        {
            eval(
'$messageb .= "' fetch_template('warn_em_alert') . '";');
            
$title="{$vboptions['messagetag']} - You have been alerted";
            
        } 
And replace that with:

PHP Code:
if ($alert=='No')
        {
            eval(
'$messageb .= "' fetch_template('warn_em') . '";');
            eval(
'$messagecopy .= "' fetch_template('warn_pm') . '";');
            
$title="{$vboptions['messagetag']} - You have been warned";
        }
        else
        {
            eval(
'$messageb .= "' fetch_template('warn_em_alert') . '";');
            eval(
'$messagecopy .= "' fetch_template('warn_pm_alert') . '";');
            
$title="{$vboptions['messagetag']} - You have been alerted";
            
        } 
If you do not want Alerts to be created as threads, then in functions_warning.php find:

PHP Code:
if ($vboptions['warn_savecopy']=='1' AND $vboptions['warn_savecopyforum']!=''
Replace that with:

PHP Code:
if ($vboptions['warn_savecopy']=='1' AND $vboptions['warn_savecopyforum']!='' AND $alert=='No'
Next version, I'll have an option for that.

Rgds
  #5  
Old 04-22-2005, 11:51 PM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.. I was hoping you'd find something..

I didn't want you to think it was me.. I try my best to fix the problems myself, I just found it odd, and I rechecked everything!

Man, you are doing a GREAT job of staying on top of this hack!! Bravo!!
  #6  
Old 04-23-2005, 05:15 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, doing my best.
Closed Thread


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:02 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.10969 seconds
  • Memory Usage 2,273KB
  • Queries Executed 19 (?)
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
  • (6)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete