Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Aug 10 2007 09:15 PM
    • Views: 1479
     


    * * * * *
    0 Ratings

    Welcome Panel block in Unreal Portal

    Dean's Welcome Panel integration in Unreal Portal's custom block

    Posted by lucidservant on Aug 10 2007 09:15 PM
    It's so easy that I'm embarrassed to post it.. But since lot of ppl ask me for that.. there we go.. :)

    All you have to do when you install Dean's Board Panel is:

    In /sources/action_public/uportal.php

    Find
    //Portal Blocks
    
    		if(is_array($this->ipsclass->cache['uportal_blocks']))
    		{
    			foreach($this->ipsclass->cache['uportal_blocks'] as $Data)
    			{
    				$GLOBALS['block'][$Data['name']] = $Data['show'];
    				$blocks[$Data['name']] = $Data['align'];
    			}
    		}

    Add above
    //-----------------------------------------
    		// D22-Board Panel
    		//-----------------------------------------
    
    		if ($this->ipsclass->vars['bp_show'] || $this->ipsclass->vars['bp_guestp'])
    		{
    			require_once(ROOT_PATH.'sources/d22mods/bpanel.php');
    			$bp		   =  new bp;
    			$bp->ipsclass =& $this->ipsclass;
    			$this->output .= $bp->display();
    		}

    Save & upload :]

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune