Username, Logo, Thumbnail outside Dolphin

This might come in handy if you are creating a custom home page or a splash page maybe.
The images below show 3 functions you can call

  1. Site Logo
  2. Your username
  3. Your thumbnail

You can also display you icon which is smaller than the thumbnail and more.
I will just show you how to use the listed above.

DISPLAY SITE LOGO

  1. Create a new .php file
  2. Require the following files:
    • require_once('inc/header.inc.php');
    • require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
  3. Below this we need to check to see if we're logged in, so add this function
    • check_logged();
  4. Now you can display the logo by typing in the getMainLogo function
    • echo getMainLogo();
  5. Upload the file to your root directory and run it, you should now see the site logo displayed

DISPLAY YOUR USERNAME

  1. while inside the php file still type in the getNickName function which carries only 1 parameter
    • echo getNickName($ID);

DISPLAY YOUR THUMBNAIL

  1. The get_member_thumbnail function takes in 5 parameters and can be used like this
    • echo get_member_thumbnail($ID, $float, $bGenProfLink, $sForceSex, $aOnline);

DISPLAY YOUR ICON

  1. The get_member_icon takes in 3 parameters and can be used like this
    • echo get_member_icon($ID, $float, $bGenProfLink);

I have been working on a page and it contains a comments section which has these included except for the member icon.
This shows you what you can expect to see.

Thumbnail 1

Thumbnail 2

Be a dolphin, be creative in you own way and you will attract a audience
Quote · 14 Mar 2010
 
 
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.