Login Link

I am a facebook games site so we require all users to have facebook and they must register with it as we removed regular join and only use deanos facebook connect.

All of that is set but just noticed when not logged in you see

Hello Guest, Join Login

Join takes them to the Deanos Facebook Connect as I have already set that but login brings up the default popup login screen. I want to find where that login is and either remove or better yet set where that links to when guest clicks

Login and join are already hidden in admin so this has to be in the theme or templates

Anyone have a clue where

Quote · 28 Feb 2012

check    templates/base/scripts/BxBaseMenu.php

look after   //--- Get additional links(right side) ---//

 

Quote · 28 Feb 2012

Not sure there but thanks

I need to redirct login to denoes facebook connect

If anyone wants to see what I am talking about go to www.onimous.net

If you chick join it goes direct to Deanos facebook connect

Now I want login to take them to same place

Quote · 28 Feb 2012

errr

Have looked everywhere for the location of the "login" tab and still cant find its location

Quote · 28 Feb 2012

rhimpr pointed your to where those links are generated. I'll be more specific.

In templates/base/scripts/BxBaseMenu.php look for this code at about line 877. Do not take that line number as being exact. Line number are different for different versions of dolphin. Use your eyes.

        //--- Get additional links(right side) ---//
        $sAddons = "";
        if(isMember()) {
            $aProfile = getProfileInfo();           

            $sAddons = _t('_Hello member', $aProfile['NickName']);
            $sAddons .= ' <a href="' . $this->sSiteUrl . 'member.php">' . _t('_sys_breadcrumb_account') . '</a>';
            $sAddons .= ' <a href="' . $this->sSiteUrl . 'logout.php">' . _t('_sys_breadcrumb_logout') . '</a>';
        }
        else {
            $sAddons = _t('_Hello member', _t('_sys_breadcrumb_guest'));
            $sAddons .= ' <a href="' . $this->sSiteUrl . 'join.php">' . _t('_sys_breadcrumb_join') . '</a>';
            $sAddons .= ' <a href="javascript:void(0)" onclick="showPopupLoginForm(); return false;">' . _t('_sys_breadcrumb_login') . '</a>';
        }

The line i marked in red is what generates that logon link. Change it to what you want.





https://www.deanbassett.com
Quote · 28 Feb 2012

I was in there 15 times and didnt see....Thanks Deano...Fixed

Quote · 28 Feb 2012
 
 
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.