Redirect to any page after login - Revisited

There's been several threads about this in the past, but none seem to address one aspect of this often requested option:

Changing the line  . . .

$sUrlRelocate = BX_DOL_URL_ROOT . 'member.php';

to profile.php or index.php in the member.php file works fine for the Join/Login box on the top right of the home page, but it doesn't work for the Login block in Page Builder.

I'm using the login block but it insists on sending members to their Account page.

Can someone tell me where I can change the code in the Login Block to direct members to either their Home or Profile page?

Thanks

Quote · 18 Aug 2019

Look for this in inc/design.inc.php.

            'relocate' => array(
                'type' => 'hidden',
                'name' => 'relocate',
                'value'=> isset($_REQUEST['relocate']) ? $_REQUEST['relocate'] : BX_DOL_URL_ROOT . 'member.php',

Change member.php to what you want there.

NOTE: There is a member.php above that in the form_attrs section. Don't change that one. Just change the one noted above in the relocate section.

https://www.deanbassett.com
Quote · 19 Aug 2019

Thanks Deano, that did it.

Oddly, I missed design.inc.php when I searched with Agent ransack. I must have been asleep.

Regards

John

Quote · 19 Aug 2019

It's getting there. Will be releasing the first beta soon. Month or so. Just getting the site setup, and my own licensing system and server in place.

I decided that the dolphin module business is dead. I would be wasting my time on that. Modules are no longer selling.

So i need to make money somehow, and i would rather be doing this full time instead of where i am now. So if i can get things to take off on this, maybe. Guess we shall see.

https://www.deanbassett.com
Quote · 20 Aug 2019

Sorry John for more or less hijacking your thread.

Geeks, making the world a better place
Quote · 20 Aug 2019

Be my guest. My question was answered and all's well at this end ;-)

Quote · 20 Aug 2019

 

I was hoping that Andrew would be interested in selling the Dolphin trademark to the community so that the recognition would be there for the developers to return.

 
I somehow just don't see that happening.

If there is no community on this then you fork, I fork, John forks, and on and on.  There will be no developers interested in working to create modules when there are dozens of forks each requiring custom code.
I understand that is possible. I am hoping that won't happen.

As for your modules, are you saying that you won't be releasing any of the modules that break with Dolphin upgrades?
Thats correct. I am sorry, but i can't put that kind of time into upgrades that will have no additional sales. All of my modules features will eventually be built into the cheetah product instead.

By the way, did you remove the Flash apps?  If so, then you add a way to adjust FFMPEG settings in the admin?
I have not removed the flash apps yet. Eventually they will be. At this time, all i have done is change BX_, BX_DOL references and a number of other references to the dolphin product, all boonex links and callbacks to their site, and fixed a couple of obvious bugs.

Most of what i am doing now is getting a doc wiki setup, support forums, market and licensing system, and github repository setup so i can support and maintain the product and provide a community for the product.

Once that is done, then i will release an alpha or beta version of the product to find and fix problems and begin improvements and changes.

https://www.deanbassett.com
Quote · 22 Aug 2019

Deano; are you changing the database engine from MyISAM to InnoDB?

Geeks, making the world a better place
Quote · 3 Sep 2019

 

Deano; are you changing the database engine from MyISAM to InnoDB?


Good point. I think i will have to at some point as the MyISAM engine is being phased out in future versions of MySql. Or at least that's that what i read somewhere.

Anyhow. Given the default version on some distros, like redhat and CentOS is MariaDB 5.5 and Full Text searches are not available in InnoDB until version 5.6, i will have to deal with that first. Dolphin has a option to enable or disable it, but i will have to either get rid of it, or automate it based on Full text search abilities of the database engine.

Anyhow, i have added it to the issues in my github repo.

https://www.deanbassett.com
Quote · 4 Sep 2019
 
 
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.