Home arrow Forum
Redirection parameter after registration. Help really appreciated
  Welcome, Guest. Please login or register.
December 03, 2008, 06:38:26 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  Mambo 3rd Party Addon Hacks  |  Module Hacks  |  Topic: Redirection parameter after registration. Help really appreciated « previous next »
Pages: [1] Go Down Print
Author Topic: Redirection parameter after registration. Help really appreciated  (Read 2209 times)
Fernando
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Redirection parameter after registration. Help really appreciated
« on: April 08, 2005, 08:40:13 PM »

Hi,

I post on mamboserver and PercyKing came with this solution. See the starting thread: http://forum.mamboserver.com/showthread.php?t=38821

In modules/mod_comprofilerlogin451.xml

AFTER
Code:
<param name="posttext" type="text" default="" label="Post-text" description="This is the Text or HTML that is displayed below the login form" />

ADDED

Code:
<param name="register" type="text" default="" label="Register Redirection URL" description="What page will the login redirect to after registration, if let blank will load register result page" />

I tried but did not worked. I think that something is missing in the mod_comprofilerlogin451.php file. So I tried this:

Add:
Code:
$register= $params->def( 'register', $return );

After this:

Code:
$registration_enabled = $mainframe->getCfg( 'allowUserRegistration' );
$pretext = $params->get( 'pretext' );
$posttext = $params->get( 'posttext' );
$login = $params->def( 'login', $return );
$logout = $params->def( 'logout', $return );


I know I have done something wrong. Because my knowledge in php is Zero.
Logged
Pages: [1] Go Up Print 
Forum  |  Mambo 3rd Party Addon Hacks  |  Module Hacks  |  Topic: Redirection parameter after registration. Help really appreciated « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE