vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom Error Pages (https://vborg.vbsupport.ru/showthread.php?t=148172)

Digital Jedi 05-26-2007 03:43 PM

Custom Error Pages
 
I know you can edit the Error Page a User views when he tries to access a restricted feature. But is there a way you can show a specific page for specific error. What I'd like to do is create an error page for a particular forum.

Another thing I was hoping to do, was maybe redirect a user to a particular page. Maybe even force the user to review an FAQ page first.

The reason I want to do this, is I have a permission based forum with very specific guidelines for posting. I'm needing to make users join the public group before they can post there, but I need to force them to review the FAQ on that section first and foremost. Stickies and Announcements don't seem to be doing the job. Any info is appreciated.

WetWired 05-29-2007 01:53 PM

The way that the errors work, it would be hard to do what you want, except by a javascript redirect in the message text.

Digital Jedi 05-29-2007 02:31 PM

Ah, thanks. I think I understand. I was under the impression, though, that javascript could only be added to the header template. What would I need to do to conceal it in the message text?

WetWired 05-29-2007 08:00 PM

You shouldn't need to do anything special. The browser should recognize the <script> tag anywhere in the page.


All times are GMT. The time now is 07:39 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.01864 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete