Deprecated: Function eregi() is deprecated in /www/htdocs/v116052/mainfile.php on line 82

Deprecated: Function set_magic_quotes_runtime() is deprecated in /www/htdocs/v116052/includes/mx_system.php on line 31
FLASH-FOR-NUKE - PHP-Nuke HOWTO
 
 
 
HOME Forum
 
Gallery Your Account
 
 
Hauptmenü

Community

Sonstiges

Flash Gallery

News pragmamx.org

How to redirect users to the Homepage

18.6.1. How to redirect users to the Homepage

Are you looking for a way to redirect a user to Home rather than Your Account when they login? Would you rather prefer them to go to Your Account only when they choose to and be automatically redirected to Home when they login? There is a simple way to accomplish this (see How to redirect users to the Homepage and Redirect login to home):

Find the following lines in function login() in the modules/Your_Account/index.php:

Header("Location: modules.php?name=Your_Account&op=userinfo&bypass=1&username=$username");

Change it to this:

Header("Location: index.php"); 

See Section 18.2.1 for the inverse procedure - but don't try both.


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

 
  Alle Logos und Warenzeichen auf dieser Seite sind Eigentum der jeweiligen Besitzer und Lizenzhalter.
Im übrigen gilt Haftungsausschluss. Weitere Details finden Sie im Impressum.
Diese Webseite basiert auf pragmaMx 0.1.9, dieses CMS ist frei erhältlich.
wong folkd Linkarena oneview webnews Yigg BlinkList del.icio.us facebook Furl Google Yahoo

Bot-Trap Logo


Seitenerstellung in 0.1211 Sekunden, mit 16 Datenbank-Abfragen
modifiziert für pragmaMx von