DeeEmm New User Login Redirect MOD

Support thread for FREE DeeEmm New User Login Redirect MOD

http://www.boonex.com/unity/extensions/entry/FREE_MOD_DeeEmm_New_User_Login_Redirect

Support also available at www.DeeEmm.com


Description

This mod will automatically redirect new members to the profile edit page when logging in for the first time. Every time thereafter members are taken to their member page.

Compatibility

This mod is compatible with Dolphin versions 7.0.0 / 7.0.1

Difficulty of installation

Easy - Step by step instructions are included for installation on modded sites. File editing is required.

Changelog

14/06/2010 - Version 1.0 - Initial Version

Dolphin - Ajax Masturbation
Quote · 14 Jun 2010

Mod updated to work with version 7.0.2

Mod also changed in operation - user will be directed to profile edit page if profile has not been updated.

Once edited user will be directed to their dashboard page as normal

/DM

Dolphin - Ajax Masturbation
Quote · 28 Jun 2010

i would like a mod that will redirect the user to the index page after editing their profile, and then everytime they log in..

Quote · 5 Jul 2010

That would most likley be two seperate mods. Redirect after logon is handled in a different section of dolphin then the page editor. Redirect after logon is already available from me.

http://www.boonex.com/unity/extensions/entry/Redirect_to_any_page_after_logon_


DeeEmm has a redirect after join.(new user)

And what you want, a redirect after profile edit would have to be done as a mod to pedit. Not available yet i don't think. Of course i don't really understand the need for something like that.

https://www.deanbassett.com
Quote · 5 Jul 2010

i would like a mod that will redirect the user to the index page after editing their profile, and then everytime they log in..

This mod should do the job, you just need to make a small change.

In the manual installation instructions - you will need to change the line

$sUrlRelocate = 'pedit.php';

to

$sUrlRelocate = 'index.php';
/DM

Dolphin - Ajax Masturbation
Quote · 5 Jul 2010

I think what he means is after editing the profile and clicking save, instead of it saying profile info saved and staying on that page, i think he wants it to redirect to a different page.

But why i do not know.

https://www.deanbassett.com
Quote · 6 Jul 2010

I think what he means is after editing the profile and clicking save, instead of it saying profile info saved and staying on that page, i think he wants it to redirect to a different page.

But why i do not know.

Ahhhh ok. I understand.

Yes this will require two mods - the one above and this one...

Edit

pedit.php

Find...

if( empty( $this -> aErrors[0] ) and empty( $this -> aErrors[1] ) ) { // do not save in ajax mode
                if (!$this -> bAjaxMode or $this->bForceAjaxSave) {
        $this -> saveProfile();
        $sStatusText = '_Save profile successful';

Add underneath...

header("Location: index.php");
exit;

It's not pretty, but if the profile save is successful, then it will redirect to the index page.

HTH

/DM

Dolphin - Ajax Masturbation
Quote · 6 Jul 2010

Hi,

Fist I would like to say that this is a great mod. I would like to redirect a person to their profile page instead of back to the index.php or pedit.php.

How would I do that?

Quote · 20 Nov 2010

 

Hi,

Fist I would like to say that this is a great mod. I would like to redirect a person to their profile page instead of back to the index.php or pedit.php.

How would I do that?

Was this answered anywhere? I am trying to redirect back to profile page after saving profile edit.

Quote · 18 Feb 2011

does this work with .5

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 4 Mar 2011

Will this work with 7.0.6?

Quote · 11 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.