vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   redirection (https://vborg.vbsupport.ru/showthread.php?t=52991)

Serge 05-15-2003 07:03 PM

redirection
 
Is there a function of some sort I can pass in PHP so that when someone submits a forum it shows a message and then redirects kind of like vbulletin. I'm currently looking for how they do it but having trouble finding it. Could some one lend a few words?

Thanks,
Serge

Xenon 05-16-2003 09:32 AM

standartredirect is defined in functions.php

but it's just to stop the user a bit, truely code is executed during this time...

Serge 05-16-2003 05:50 PM

Well this really didn't really help I don't think. I don't seem how they to it. They don't seem to use a function to forward the user to another page. I need to know how to redirect a user after they have submitted a form. Any more help you can provide?

EDIT: I guess I could include a redirection page using the include function and then in that page have a meta tag to take them somewhere. If there is an easier way be let me know.

Xenon 05-16-2003 08:40 PM

you can either use the header() function for a redirect as you can see in forumdisplay.php for example or if you already startet the output you have to use javascript to redirect as you'll find in the redirect templates.


All times are GMT. The time now is 12:48 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.02181 seconds
  • Memory Usage 1,705KB
  • 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