Simple Portal

Customization => Custom Coding => Topic started by: Scatter on April 29, 2011, 09:35:03 AM

Title: Shoutbox outside simpleportal
Post by: Scatter on April 29, 2011, 09:35:03 AM
Hi, were just wondering about how to display a shoutbox block outside simpleportal in a standalone page. Would be great to know how to do it. Thanks.
Title: Re: Shoutbox outside simpleportal
Post by: grafitus on April 29, 2011, 09:57:41 AM
global $sourcedir;

require_once($sourcedir . '/PortalBlocks.php');

$params['shoutbox'] = {shoutbox_id};
sp_shoutbox($params, 0);
Title: Re: Shoutbox outside simpleportal
Post by: Oldcrow on May 01, 2011, 12:12:12 PM
Quote from: grafitus on April 29, 2011, 09:57:41 AM
global $sourcedir;

require_once($sourcedir . '/PortalBlocks.php');

$params['shoutbox'] = {shoutbox_id};
sp_shoutbox($params, 0);


I also would like the Shout Box to stand alone, and as wide as the forum is.

Can you explain just how this is done..

I'd really appreciate the help.

Thanks Ron..
EhPortal 1.39.8 © 2024, WebDev