Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: tagblitz code  (Read 3445 times)

0 Members and 1 Guest are viewing this topic.

core212

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
tagblitz code
« 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
tagblitz code
« Reply #1 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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.