Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 2
Seite [1]
Horscht


Poststar




Beiträge: 686
# Thema - 20.07.2008 um 12:32 Uhr
Hallo,

wäre es möglich, das man den Videos im Forum die Größe 385x300(Beispiel) gewährt. Auf der News Seite jedoch 550x450(Beispiel)?


Lg


------------------
Grüße, Horscht
Inaktiv
Sickboy


King for a day




Beiträge: 284
# Antwort: 1 - 20.07.2008 um 14:43 Uhr
Hi horscht,
vervollständige den abcode.php code wie folgt:
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
1. / 2. / ... 
<?php  //YouTube Videoaddon
function cs_abcode_yt($matches) {
        
    global 
$cs_main;

    
$op_videoabcode cs_sql_option(__FILE__,'videoabcode');
  
    if (
$matches[0] == '[/yt]') {
        
$return cs_html_div(0);
    }
    elseif(empty(
$matches[1])) {
        
$return cs_html_div(1,0,0);
    } 
    else {
        if (
$cs_main['mod'] == 'news'){

            
$name '<object type="application/x-shockwave-flash" style="width:500px; height:500px;wmode:transparent;" data="http://www.youtube.com/v/' $matches[1] . '&rel=1&color1=0x' $op_videoabcode['ytcolor1'] . '&color2=0x' $op_videoabcode['ytcolor2'] . '&border=' $op_videoabcode['ytborder'] . '&csp=true"><param name="movie" value="http://www.youtube.com/v/'.$matches[1].'&rel=1&color1=0x' $op_videoabcode['ytcolor1'] . '&color2=0x' $op_videoabcode['ytcolor2'] . '&border=' $op_videoabcode['ytborder'] . '&csp=true" /><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /><param name="autostart" value="false" /></object>';
            
$return    cs_html_div(1,0,0).$name.cs_html_br(1).cs_html_div(0);
        
        } else {

            
$name '<object type="application/x-shockwave-flash" style="width:' $op_videoabcode['width'] . 'px; height:' $op_videoabcode['height'] . 'px;wmode:transparent;" data="http://www.youtube.com/v/' $matches[1] . '&rel=1&color1=0x' $op_videoabcode['ytcolor1'] . '&color2=0x' $op_videoabcode['ytcolor2'] . '&border=' $op_videoabcode['ytborder'] . '&csp=true"><param name="movie" value="http://www.youtube.com/v/'.$matches[1].'&rel=1&color1=0x' $op_videoabcode['ytcolor1'] . '&color2=0x' $op_videoabcode['ytcolor2'] . '&border=' $op_videoabcode['ytborder'] . '&csp=true" /><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /><param name="autostart" value="false" /></object>';
            
$return    cs_html_div(1,0,0).$name.cs_html_br(1).cs_html_div(0);
        }

    }
    return 
$return;
}
?>

mit
 
1.
1. / 2. / ... 
<?php if ($cs_main['mod'] == 'news'?>


gibst du das jeweilige modul an.

mfg


Inaktiv
|
Horscht
Thread-Ersteller


Poststar




Beiträge: 686
# Antwort: 2 - 20.07.2008 um 20:43 Uhr
Danke

Kann geschlossen werden.


------------------
Grüße, Horscht

Inaktiv
|

Dieses Thema wurde von SCHIRI ClanSphere Team PM geschlossen.

Antworten: 2
Seite [1]