vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Quick Reply Error Message (https://vborg.vbsupport.ru/showthread.php?t=173813)

Boofo 03-23-2008 04:35 AM

Here is what I am using in the newpost_process hook.

Code:

if ($vbulletin->GPC['fromquickreply'] AND $vbulletin->userinfo['automod'])
{
$errors[] = $vbphrase['utomod'];
}


And still no error shows when I hit submit.

Boofo 03-24-2008 01:45 PM

Anyone have any ideas on this?

Lynne 03-24-2008 02:12 PM

Have you tried using text instead of a phrase in your error message? At least then you can see if it works and if it just doesn't like phrases.

(I'm actually following this because I have custom script running in my attachment uploads and have never been able to get it to spit out errors so I'll probably try something similar to what you do to get this to work.)

Boofo 03-24-2008 02:26 PM

Yeah, I tried it with words after trying the phrase and nothing. :(

Dismounted 03-25-2008 05:09 AM

Are you using Firefox?

Boofo 03-25-2008 05:13 AM

No, sir. IE7.

Is the code right for that hook?


All times are GMT. The time now is 12:44 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.01524 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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