get_css
Usage: mixed get_css(bool return)
Purpose: Pulls and displays CSS from forums depending on user's skin.
Availability: IPB SDK 1.0
Purpose: Pulls and displays CSS from forums depending on user's skin.
Availability: IPB SDK 1.0
Pulls and displays CSS from forums depending on user's skin. If return is set to TRUE, the CSS will be returned.
// Show board CSS on your site
<html>
<head> <?php $SDK->get_css(); ?>
<html>
<head> <?php $SDK->get_css(); ?>
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
thinglie
that's tight, setting the Default "return" Value to FALSE !!!!
CirTap
Why not?
if ( !$css = $SDK->get_css() ) {
$css = "body {color:black;background:white;}"
}
$url = "http://www.example.com/";
echo $ipb_skin->Redirect("bla", $url, $css);
thinglie
CirTap, What Exactly does that do exept generate an Error?
cow
The above code was supposed to be used along with some other code, and allows you to use IPB's redirect template with your own colours.