Logo URL

Hello

Is it possible to change the url destination when clicking on logo.

right now it goes to root/index, but i would like it to go to members profil page.

Quote · 25 Jun 2014

You want the logo link to lead to a particular member profile or browse.php ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Jun 2014

Assuming you want to go to the logged in members profile. What about guests that are not logged in.

https://www.deanbassett.com
Quote · 25 Jun 2014

yes it is the loged in member profile i want it to redirect to.

and i am forcing them to register, so no guests have access there anyway.

Quote · 25 Jun 2014

Edit the file templates\base\scripts\BxBaseFunctions.php

Look for this.

    function genSiteLogo()
    {
        global $dir, $site;

        $sFileName = getParam('sys_main_logo');
        if (!$sFileName || !file_exists($dir['mediaImages'] . $sFileName))
            return '<a class="mainLogoText" href="' . BX_DOL_URL_ROOT . '">' . getParam('site_title') . '</a>';

        return '<a href="' . BX_DOL_URL_ROOT . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
    }


Change to this.

    function genSiteLogo()
    {
        global $dir, $site;

        $sFileName = getParam('sys_main_logo');
        if (!$sFileName || !file_exists($dir['mediaImages'] . $sFileName))
            return '<a class="mainLogoText" href="' . BX_DOL_URL_ROOT . getUsername() . '">' . getParam('site_title') . '</a>';

        return '<a href="' . BX_DOL_URL_ROOT . getUsername() . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
    }

https://www.deanbassett.com
Quote · 25 Jun 2014
 
 
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.