vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change page after login (https://vborg.vbsupport.ru/showthread.php?t=111403)

vbreal 03-26-2006 04:06 PM

Change page after login
 
I need a way to change the page a person goes to when they login. I don't want it to go str8 to the forum. Want to test something out thanks

IrPr 03-26-2006 11:33 PM

means u want to change redirect page after login from forumhome to another one ?

vbreal 03-27-2006 05:52 PM

yes exactly

Stangsta 03-27-2006 06:22 PM

You have to edit the login.php file.

vbreal 03-30-2006 01:49 AM

what exactly do i have to change

Asi9ine 03-30-2006 02:12 PM

Okay, here is assuming you have 3.5.3 and you want to redirect to another page. Please, someone correct me on this if I am wrong.

Find a phrase in login.php called exec_header_redirect. I would recommend achieving this by opening login.php in WordPad, pressing Ctrl + F to bring up the "Find" function, then entering that phrase. When you find it, you will find something after it called [forumhome]. I believe that is the redirect function. Now what you have to do next is go into your AdminCP, open "Phrase Manager" and add new phrase in GLOBAL. Call this phrase anything you want, as long as you remember it and it isn't taken already by another phrase. The text you need to place in there is the URL to the desired page where members log in to. Save that phrase, and insert the phrase in login.php where it says [forumhome], in between those brackets. Make sure you backup the file, however, because it might cause problems. Reupload the original if it does cause problems.

vbreal 03-30-2006 02:45 PM

thanks alot i will give that a try

shivam 11-24-2006 05:54 PM

Doesnt work


All times are GMT. The time now is 01:06 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.01053 seconds
  • Memory Usage 1,714KB
  • 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
  • (8)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