forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: core212 on January 12, 2007, 04:18:50 pm

Title: tagblitz code
Post by: core212 on January 12, 2007, 04:18:50 pm
I found this code on another post and wanted to know where it is that i'm suppose to drop it in because it doesn't tell me anything. can you guys help??? thanks!

Code: [Select]
default :
// Set up variables to reflect necessary JS link from TagBlitz
$linkcode = "<a onclick=\"NewWindow(this.href,'TagBlitz','650','500','no','center');return false\" onfocus=\"this.blur()\" href=\"http://tagblitz.com/submit/?url={$url}?pos=-{$pic_data['pid']}&msurl={$url}?pos=-{$pic_data['pid']}&amp;title={$title}&keys={$keys}\" target=\"_blank\" TITLE=\"TagBlitz.com allows you to share a page on over 50 social bookmarking websites and services. No signup, no hassle!\"><font color=\"blue\" size=\"+1\">TagBlitz This Page</font></a>";
$buttoncode = "<a onclick=\"NewWindow(this.href,'TagBlitz','650','500','no','center');return false\" onfocus=\"this.blur()\" href=\"http://tagblitz.com/submit/?url={$url}?pos=-{$pic_data['pid']}&msurl={$url}?pos=-{$pic_data['pid']}&amp;title={$title}&keys={$keys}\" target=\"_blank\"><img src=\"http://www.tagblitz.com/img/button_tagblitzthis1.gif\" border=\"0\" ALT=\"TagBlitz.com allows you to share a page on over 50 social bookmarking websites and services. No signup, no hassle!\"></a>";
// Redefine download URL
$normal_url = get_pic_url($pic_data, 'normal');
$fullsized_url = get_pic_url($pic_data);
$thisfiletype = $fullsized_url;
$thisfiletype = substr("$thisfiletype", -3);
switch ($thisfiletype){
case "gif":
$leechcode = "<img src=\"http://www.mimun2.com/gallery/{$fullsized_url}\" alt=\"The world's fastest growing Latino Social Network!\"><br><a title=\"Meet thousands of other people just like you!" href=\"http://www.mimun2.com\" target=\"_top\">Cool people, music, pictures, and videos</a>";
break;

// Other similar image case situations (jpg, png, bmp, etc.) removed for this post due to length.
case "swf":
$leechcode = "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
        codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'
        width=\"320\" height=\"240\">
        <param name='movie' value=\"http://www.mimun2.com/gallery/{$fullsized_url}\">
        <param name='quality' value=\"high\">
        <param name='bgcolor' value='#FFFFFF'>
        <param name='loop' value=\"true\">
        <EMBED src=\"http://www.mimun2.com/gallery/{$fullsized_url}\" quality='high' bgcolor='#FFFFFF' width=\"320\"
        height=\"240\" loop=\"true\" type='application/x-shockwave-flash'
        pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
        </EMBED>
        </OBJECT>
<br><a title=\"World's Fastest Growing Latino Social Network!" href=\"http://www.mimun2.com\" target=\"_top\">Cool people, music, pictures, and videos</a>";
break;

// Other similar media case situations (avi, wmv, swf, mp3, etc.) removed from this post due to length.
Title: tagblitz code
Post by: Stramm on January 12, 2007, 04:31:40 pm
not very bright to post in a thread that's marked solved and deals with another issue
splitting