Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 17

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Module Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09.04.2005, 16:50   #1 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Posts: 11
fermambers is on a distinguished road
Question Redirection parameter after registration. Community Builder

Hi,

I'm using advanced login module from community builder and I would like a paramenter to the module so the user go to a desired page deisgned by me after the registration on my site, not after the login process (this feature is already implemented). So 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:
PHP Code:
$register$params->def'register'$return ); 
After this:

PHP 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.
Could anyone give me a hand?

Tks
Fermambers
fermambers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yanc and Community Builder integration santier Mambo 4.5.1 General Talk 9 21.11.2007 18:25
use community builder login as the default mailalon Mambo 4.5.1 General Talk 2 15.03.2005 09:57
AKOForms with Community Builder FerretLife Component Development 0 17.02.2005 02:29
Community Builder - Registrierungsvorgang funzt nicht canonme Komponenten 1 15.02.2005 18:34
component for registration lists misapma Component Development 3 03.07.2004 16:52


All times are GMT +2. The time now is 08:19.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.