Fancybox v1.5 fr IlchClan 1.1:
"""""""""""""""""""""""
Beschreibung:
-------------
Intigration des Fancybox Scipts in Ilch fr Gallary und BBCode 2.0 Youtube Videos

Entwickelt
----------
 von http://fancy.klade.lv/
 Angepasst von dAnIiiiEl
 Ilch
 
Installation:
-------------
 BBCode 2.0 installieren

 Alles aus dem Upload Ordner Hochladen

 Folgendes in den <head></head> Bereich deines Aktuellen Designs einfgen
  
  <link rel="stylesheet" type="text/css" href="include/extras/fancybox/jquery.fancybox.css" media="screen" />
  <script type="text/javascript" src="include/includes/js/jquery-1.3.2.min.js"></script>  
  <script type="text/javascript" src="include/extras/fancybox/jquery.fancybox-1.2.1.pack.js"></script> 
  <script type="text/javascript" src="include/extras/fancybox/jquery.easing.1.3.js"></script>
  <script type="text/javascript">
	$(document).ready(function() {
		$("table#galimages a").fancybox(
		{ 
		'zoomSpeedIn': 800, 
		'zoomSpeedOut': 500, 
		'zoomSpeedChange': 800,
		'zoomOpacity': 0.5,
		'overlayOpacity': 0.5,
		'easingIn' : 'easeOutBack',
		'easingOut'	: 'easeInBack',
		'overlayShow': true
		}
		);
		
		$("div#bbvideo a").fancybox(
		{ 
		'zoomSpeedIn': 800, 
		'zoomSpeedOut': 500, 
		'zoomSpeedChange': 800,
		'zoomOpacity': 0.5,
		'overlayOpacity': 0.5,
		'overlayShow': true
		}
		);
	});
   </script>

Fakten zum Modul:
-----------------
 Nur YouTube Videos

 Bei Interesse, im extras Ordner das Orginal Fancybox Script mit Beispielen!

 Die beschreibung der Bilder wird als Titel des Bildes genommen!

 Achtung: Es wird folgende Datei von bbcode2 beschrieben:
  include\includes\class\bbcode.php
  
  Es wurde nur eine Zeile bearbeitet  (Zeile: 526):
  
  		// Edited by dAnIiiiEl
		if($typ == "youtube") {
			$str = "<div id=\"bbvideo\"><a href=\"#".$id."\"><img alt=\"\" src=\"http://i.ytimg.com/vi/".$id."/default.jpg\"></a><div style=\"display:none\" id=\"".$id."\"><object width=\"".$this->info['YoutubeBreite']."\" height=\"".$this->info['YoutubeHoehe']."\"><param name=\"movie\" value=\"http://www.youtube.com/v/".$id."\"></param><embed src=\"http://www.youtube.com/v/".$id."\" type=\"application/x-shockwave-flash\"  width=\"".$this->info['YoutubeBreite']."\" height=\"".$this->info['YoutubeHoehe']."\" bgcolor=\"".$this->info['YoutubeHintergrundfarbe']."\"></embed></object></div></div>";
		}
		// Edited by dAnIiiiEl

######################################################
Einbau in PicOfX:
######################################################
- Box PicOfX im ordner include/boxes mit einem editor ffnen
- suche nach: 
-----------------------------------------------------
	<?php    
    
    echo '<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td align="center">';
    echo '<a target="_blank" href="index.php?gallery-show-'.$cid.'-p'.$anz.'" onClick="return picOfxOeffneFenster('.$anz.','.$cid.');"><img src="include/images/gallery/'.$picofxThumb.'" width="'.$picofxImg[0].'" height="'.$picofxImg[1].'" alt=""></a>';
    echo '</td></tr></table>';
  } else {

    echo $lang['nothingavailable'];
  }
?>
-----------------------------------------------------
 und ersetze es durch:
-----------------------------------------------------
<?php    
    
    echo '<table width="100%" id="galimages" border="0" cellpadding="2" cellspacing="0"><tr><td align="center">';
    echo '<a rel="galimagesrel" href="index.php?gallery-show-'.$cid.'-p'.$anz.'"><img src="include/images/gallery/'.$picofxThumb.'" width="'.$picofxImg[0].'" height="'.$picofxImg[1].'" alt=""></a>';
    echo '</td></tr></table>';
  } else {

    echo $lang['nothingavailable'];
  }
?>
-----------------------------------------------------

#####################################################
Einbau in Usergallery:
#####################################################
- ffne include/templates/user/gallery.htm
-suche nach:
------------------------------------------------------
<table class="border" border="0" cellspacing="1" cellpadding="0">
         <tr>
           <td><a target="_blank" href="include/images/usergallery/img_{id}.{endung}"><img src="include/images/usergallery/img_thumb_{id}.{endung}" border="0" alt="{name}" title="{name}" /></a></td>           
         </tr>
       </table>
------------------------------------------------------
und ersetze es durch:
------------------------------------------------------
<table class="border" id="galimages" border="0" cellspacing="1" cellpadding="0">
         <tr>
           <td><a rel="galimagesrel" href="include/images/usergallery/img_{id}.{endung}"><img src="include/images/usergallery/img_thumb_{id}.{endung}" border="0" alt="{name}" title="{name}" /></a></td>           
         </tr>
       </table>
-----------------------------------------------------
 

Bekannte Einschrnkungen / Fehler:
----------------------------------
 Nur YouTube Videos

Haftungsausschluss:
-------------------
Ich bernehme keine Haftung fr Schden, die durch dieses Skript entstehen.
Benutzung ausschlielich AUF EIGENE GEFAHR.