Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BPDEV-FLICKR now online with BPDEV-ADMIN-MENU and BPDEV-SIMPLEPIE

So here are the updated youtube functions

function youtube_head_load_js() {

global $bp; ?>

<!–BPDEV-YOUTUBE PLUGIN LOAD STYLE&CSS–>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/mootools.js”></script>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/swfobject.js”></script>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/videobox.js”></script>

<!–BPDEV-YOUTUBE PLUGIN LOAD STYLE&CSS–>

<? }

function youtube_head_load_css() {

global $bp; ?>

<link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/videobox.css” type=”text/css” media=”screen” />

<link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/style.css” type=”text/css” media=”screen” />

<? }

AND the flickr functions

function flickr_head_load_js() {

global $bp; ?>

<!–BPDEV-FLICKR PLUGIN LOAD STYLE&CSS START–>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/prototype.js”></script>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/scriptaculous.js?load=effects,builder”></script>

<script type=”text/javascript” src=”<?php echo bloginfo(‘wpurl’).$bp; ?>js/lightbox.js”></script>

<!–BPDEV-FLICKR PLUGIN LOAD STYLE&CSS STOP –>

<? }

function flickr_head_load_css() {

global $bp; ?>

<link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’).$bp; ?>css/lightbox.css” type=”text/css” media=”screen” />

<link rel=”stylesheet” href=”<?php echo bloginfo(‘wpurl’). $bp; ?>css/style.css” type=”text/css” media=”screen” />

<? }

AND the youtube css

li a#my-youtube, li a#user-youtube {

background: url(../images/youtube_bullet.gif) 89% 57% no-repeat;

}

AND the flickr css

li a#my-flickr, li a#user-flickr {

background: url(../images/flickr_bullet.gif) 89% 57% no-repeat;

}

Skip to toolbar