Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BB-Code Leiste
#1
So ich habe jetzt mal eine Leiste gemacht für die BB-Codes von Tavicu (Link), da die von SlimShady95 nicht funktionierte.

Wenn es dir gefällt dann Bewerte mich Wink

Datei: {DsLan}/htdocs/bbcode.php
Aufgabe: Ersetze alles mit:

PHP Code:
<?php





function bb_player($var) {
        
$var parse($var[1]);

        
$r1 mysql_query("SELECT * FROM users WHERE username='$var'");
        
$n1 mysql_num_rows($r1);
        if(
$n1=="1") {
            if(isset(
$_GET['village'])) { $villageid='village='.$_GET['village'].'&'; } else { $villageid=""; }
            
$result mysql_query("SELECT * FROM users WHERE username='$var'");
            while(
$row mysql_fetch_array($result))
            {
                
$echo='<a href="game.php?'.$villageid.'screen=info_player&id='.$row['id'].'">'.entparse($row['username']).'</a>';
                return 
$echo;
            }
        } else {
            return 
entparse($var);
        }



}



function 
bb_ally($var) {
        
$var parse($var[1]);
        
//$var1=str_replace(' ','+',$var);
        
$r1 mysql_query("SELECT * FROM ally WHERE short='$var'");
        
$n1 mysql_num_rows($r1);
        if(
$n1=="1") {
            if(isset(
$_GET['village'])) { $villageid='village='.$_GET['village'].'&'; } else { $villageid=""; }
            
$result mysql_query("SELECT * FROM ally WHERE short='$var'");
            while(
$row mysql_fetch_array($result))
            {
                
$echo='<a href="game.php?'.$villageid.'screen=info_ally&id='.$row['id'].'">'.entparse($row['short']).'</a>';
                return 
$echo;
            }
        } else {
            return 
entparse($var);
        }

}






function 
bb_village($var)
{


        
$r1 mysql_query("SELECT * FROM villages WHERE x='$var[1]' AND y='$var[2]'");
        
$n1 mysql_num_rows($r1);
        if(
$n1=="1") {
            if(isset(
$_GET['village'])) { $villageid='village='.$_GET['village'].'&'; } else { $villageid=""; }
            
$result mysql_query("SELECT * FROM villages WHERE x='$var[1]' AND y='$var[2]'");
            while(
$row mysql_fetch_array($result))
            {
                
$echo='<a href="game.php?'.$villageid.'screen=info_village&id='.$row['id'].'">'.entparse($row['name']).'</a>';
                return 
$echo;
            }
        } else {
            
$echo="(Ung&uuml;ltieges Dorf)";
            return 
$echo;
        }
}





function 
bb_format($test) {

    
$str=$test;
    



    
$simple_search = array(  
                
'/\[b\](.*?)\[\/b\]/is',  
                
'/\[i\](.*?)\[\/i\]/is',  
                
'/\[u\](.*?)\[\/u\]/is',
                
'/\[s\](.*?)\[\/s\]/is',  
                
'/\[url\=(.*?)\](.*?)\[\/url\]/is',  
                
'/\[url\](.*?)\[\/url\]/is',  
                
'/\[align\=(left|center|right)\](.*?)\[\/align\]/is',  
                
'/\[img\](.*?)\[\/img\]/is',  
                
'/\[font\=(.*?)\](.*?)\[\/font\]/is',  
                
'/\[size\=(.*?)\](.*?)\[\/size\]/is',  
                
'/\[color\=(.*?)\](.*?)\[\/color\]/is',
                
'/\[quote\=(.*?)\](.*?)\[\/quote\]/is',
                
'/\[spoiler\](.*?)\[\/spoiler\]/is',  
                );  





    
$simple_replace = array(  
                
'<strong>$1</strong>',  
                
'<em>$1</em>',  
                
'<u>$1</u>',
                
'<s>$1</s>',  
                
'<a href="$1" rel="nofollow" title="$2 - $1">$2</a>',  
                
'<a href="$1" rel="nofollow" title="$1">$1</a>',  
                
'<div style="text-align: $1;">$2</div>',  
                
'<img src="$1" alt="" />',  
                
'<span style="font-family: $1;">$2</span>',  
                
'<span style="font-size: $1;">$2</span>',  
                
'<span style="color: $1;">$2</span>',
                
'<table class="quote"><tbody><tr><td></td><td class="quote_author">$1 hat folgendes geschrieben:</td></tr><tr><td width="10"></td><td class="quote_message">$2</td></tr></tbody></table>',  
                
'<div id="spoiler"><input value="Spoiler" onclick="toggle_spoiler(this)" type="button"><div><span style="display: none;">$1</span></div></div>'
                
);  

  





    
$aa = array(  
                
'/\[player\](.*?)\[\/player\]/is',  
                );

    
$bb = array(  
                
'/\[ally\](.*?)\[\/ally\]/is',  
                );


    
$cc = array(  
                
'/\[village\](.*?)\|(.*?)\[\/village\]/is',  
                );



    
$a=preg_replace_callback($aa"bb_player"$str);
    
$b=preg_replace_callback($bb"bb_ally"$a);
    
$c=preg_replace_callback($cc"bb_village"$b);
    
$d=preg_replace($simple_search$simple_replace$c);

    return 
$d;

}


?>

Datei: {DsLan}/htdocs/stamm.css
Aufgabe: Füge am Ende der Datei hinzu:

PHP Code:
#spoiler div{ background:#EFE6C9 none repeat scroll 0 0; border: 1px inset; margin: 3px 0px; padding: 6px; } 


Datei: {DsLan}/htdocs/script.js
Aufgabe: Füge am Ende der Datei hinzu:
PHP Code:
var BBCodes = {
   
/*
    target: null,
    
    init: function(options) {
        this.target=$(options.target);
    },
  */
    
insert:function(start_tag,end_tag,force_place_outside){
        
//window.confirm("TEXT DER IN DER BOX ERSCHEINT");

    
var input=gid('message');
        
input.focus();        
        
        if(
typeof document.selection!='undefined'){
            var 
range=document.selection.createRange();
            var 
ins_text=range.text;
            
range.text=start_tag+ins_text+end_tag;
            
range=document.selection.createRange();
            if(
ins_text.length>0||true==force_place_outside){
                
range.moveStart('character',start_tag.length+ins_text.length+end_tag.length);
            }else{
                
range.move('character',-end_tag.length);
            }
            
range.select();
        }
    else if(
typeof input.selectionStart!='undefined'){
            var 
start=input.selectionStart;
            var 
end=input.selectionEnd;
            var 
ins_text=input.value.substring(start,end);
            var 
scroll_pos=input.scrollTop;
            
input.value=input.value.substr(0,start)+start_tag+ins_text+end_tag+input.value.substr(end);
            var 
pos;
            if(
ins_text.length>0||true===force_place_outside){
                
pos=start+start_tag.length+ins_text.length+end_tag.length;
            }else{
                
pos=start+start_tag.length;
            }
            
input.setSelectionRange(start start_tag.lengthend start_tag.length);
            
input.scrollTop=scroll_pos;
        }
        return 
false;
    }
}

function 
insertBBcode(textareaIDstartTagendTag) {
    
//BBCodes.insert(startTag, endTag);
    
return false;
}

function 
toggle_spoiler(ref) {
    var 
display_value ref.parentNode.getElementsByTagName('div')[0].getElementsByTagName('span')[0].style.display;
    if(
display_value == 'none'){
        
ref.parentNode.getElementsByTagName('div')[0].getElementsByTagName('span')[0].style.display 'block';
    }
    else {
        
ref.parentNode.getElementsByTagName('div')[0].getElementsByTagName('span')[0].style.display 'none';
    }


Datei: {DsLan}/htdocs/templates/game_settings_profile.tpl
Aufgabe: Ersetze alles mit:

PHP Code:
<form action="game.php?village={$village.id}&amp;screen=settings&amp;action=change_profile&amp;h={$hkey}enctype="multipart/form-data" method="post">
    <
table class="vis">
        <
tr>
            <
th colspan="2">
                
Eigenschaften
            
</th>
        </
tr>
        <
tr>
            <
td>
                
Geburtsdatum:
            </
td>
            <
td>
                <
input name="day" type="text" size="2" maxlength="2" value="{$profile.b_day}/>
                    <
select name="month">
                        <
option label="Januar" value="1" {if $profile.b_month==1}selected{/if}>Januar</option>
                        <
option label="Februar" value="2" {if $profile.b_month==2}selected{/if}>Februar</option>
                        <
option label="März" value="3" {if $profile.b_month==3}selected{/if}>März</option>
                        <
option label="April" value="4" {if $profile.b_month==4}selected{/if}>April</option>
                        <
option label="Mai" value="5" {if $profile.b_month==5}selected{/if}>Mai</option>
                        <
option label="Juni" value="6" {if $profile.b_month==6}selected{/if}>Juni</option>
                        <
option label="Juli" value="7" {if $profile.b_month==7}selected{/if}>Juli</option>
                        <
option label="August" value="8" {if $profile.b_month==8}selected{/if}>August</option>
                        <
option label="September" value="9" {if $profile.b_month==9}selected{/if}>September</option>
                        <
option label="Oktober" value="10" {if $profile.b_month==10}selected{/if}>Oktober</option>
                        <
option label="November" value="11" {if $profile.b_month==11}selected{/if}>November</option>
                        <
option label="Dezember" value="12" {if $profile.b_month==12}selected{/if}>Dezember</option>
                    </
select>
                <
input name="year" type="text" size="4" maxlength="4" value="{$profile.b_year}/>
            </
td>
        </
tr>
        <
tr>
            <
td>
                
Geschlecht:
            </
td>
            <
td>
                <
label>
                    <
input type="radio" name="sex" value="f" {if $profile.sex=='f'}checked="checked"{/if} />
                        
weiblich
                
</label>
                <
label>
                    <
input type="radio" name="sex" value="m" {if $profile.sex=='m'}checked="checked"{/if} />
                        
männlich
                
</label>
                <
label>
                    <
input type="radio" name="sex" value="x" {if $profile.sex=='x'}checked="checked"{/if} />
                        
nicht angegeben
                
</label>
            </
td>
        </
tr>
        <
tr>
            <
td>
                
Wohnort:
            </
td>
            <
td>
                <
input name="home" type="text" size="24" maxlength="32" value="{$profile.home}/>
            </
td>
        </
tr>
        <
tr>
            <
td>
                
Persönliches Wappen:
            </
td>
            <
td>
                {if !empty(
$user.image)}
                    <
img src="graphic/player/{$user.image}alt="Wappen" />
                    <
br />
                    <
input name="del_image" type="checkbox" />
                    
Wappen löschen
                    
<br />
                {/if}
                   <
input name="image" type="file" size="40" accept="image/*" maxlength="1048576" />
                <
br />
                <
span style="font-size: xx-small">max240x180max120kByte, (jpgjpegpnggif)</span>
            </
td>
        </
tr>
        <
tr>
            <
td colspan="2">
                <
input type="submit" value="OK" />
            </
td>
        </
tr>
    </
table>
    <
br />
</
form>

<
form action="game.php?village={$village.id}&amp;screen=settings&amp;action=change_text&amp;h={$hkey}method="post">
    <
table class="vis">
        <
tr>
            <
th colspan="2">
                
Persönlicher Text:
            </
th>
        </
tr>
        <
tr id="bbcode">
        <
td colspan="2">
            <
div style="text-align: left; overflow: visible;">
                <
a id="bb_button_bold" title="Fett" href="#" onclick="BBCodes.insert('[b]', '[/b]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll 0px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_italic" title="Kursiv" href="#" onclick="BBCodes.insert('[i]', '[/i]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -20px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_underline" title="Unterstrichen" href="#" onclick="BBCodes.insert('[u]', '[/u]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -40px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_strikethrough" title="Durchgestrichen" href="#" onclick="BBCodes.insert('[s]', '[/s]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -60px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_quote" title="Zitat" href="#" onclick="BBCodes.insert('[quote=Author]', '[/quote]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -140px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_url" title="Adresse" href="#" onclick="BBCodes.insert('[url]', '[/url]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -160px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_spoiler" title="Spoiler" href="#" onclick="BBCodes.insert('[spoiler]', '[/spoiler]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -260px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_player" title="Spieler" href="#" onclick="BBCodes.insert('[player]', '[/player]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -80px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_tribe" title="Stamm" href="#" onclick="BBCodes.insert('[ally]', '[/ally]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -100px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_coord" title="Koordinate" href="#" onclick="BBCodes.insert('[coord]', '[/coord]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -120px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
    
                {
literal}
                <
script type="text/javascript">
                    $(
document).ready(function(){
                        
BBCodes.init({target '#message'});
                    });
                </
script>
                {/
literal}
    
            </
div>            
      </
td>
    </
tr>        
        <
tr>
            <
td colspan="2">
                <
textarea id="message" name="personal_text" cols="50" rows="10">{$profile.personal_text}</textarea>
            </
td>
        </
tr>
        <
tr>
            <
td>
                <
input type="submit" name="send" value="OK" />
            </
td>
            <
td align="right">
        <
a onclick="javascript:popup_scroll('help.php?mode=bb', 700, 400); return false;" href="help.php?mode=bb" target="_blank">BB-Codes</a>
      </
td>
      
        </
tr>
    </
table>
</
form


Datei: {DsLan}/htdocs/templates/game_mail_new.tpl
Aufgabe: Ersetze alles mit:

PHP Code:
{if $preview}
    <
table width="100%">
    <
tr><td colspan="2" valign="top" style="background-color: white; border: solid 1px black;">
    {
php} echo bb_format($this->_tpl_vars['preview_message']); {/php}
    </
td></tr>
    </
table><br />
{/if}

<
form name="header" action="game.php?village={$village.id}&amp;screen=mail&amp;mode=new&amp;action=send&amp;answer_mail_id={$view}&amp;h={$hkey}method="post">
  <
table class="vis">
    <
tbody>
      <
tr><td>An:</td><td>
          <
input type="text" name="to" size="50" value="{$inputs.to}/>{if $user.ally_mass_mail==&& $user.ally!=-1}
          <
a href="javascript:popup_scroll('igm_to.php?', 250, 300)">Empfänger einfügen</a>{/if}</td>
      </
tr>
      <
tr><td>Betreff:</td><td>
          <
input type="text" name="subject" size="50" value="{$inputs.subject}/></td>
      </
tr>
    <
tr id="bbcode">
        <
td colspan="2">
            <
div style="text-align: left; overflow: visible;">
                <
a id="bb_button_bold" title="Fett" href="#" onclick="BBCodes.insert('[b]', '[/b]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll 0px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_italic" title="Kursiv" href="#" onclick="BBCodes.insert('[i]', '[/i]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -20px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_underline" title="Unterstrichen" href="#" onclick="BBCodes.insert('[u]', '[/u]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -40px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_strikethrough" title="Durchgestrichen" href="#" onclick="BBCodes.insert('[s]', '[/s]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -60px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_quote" title="Zitat" href="#" onclick="BBCodes.insert('[quote=Author]', '[/quote]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -140px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_url" title="Adresse" href="#" onclick="BBCodes.insert('[url]', '[/url]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -160px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_spoiler" title="Spoiler" href="#" onclick="BBCodes.insert('[spoiler]', '[/spoiler]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -260px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_player" title="Spieler" href="#" onclick="BBCodes.insert('[player]', '[/player]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -80px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_tribe" title="Stamm" href="#" onclick="BBCodes.insert('[ally]', '[/ally]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -100px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_coord" title="Koordinate" href="#" onclick="BBCodes.insert('[coord]', '[/coord]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -120px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
    
                {
literal}
                <
script type="text/javascript">
                    $(
document).ready(function(){
                        
BBCodes.init({target '#message'});
                    });
                </
script>
                {/
literal}
    
            </
div>            
      </
td>
    </
tr>
        <
tr>

            <
td colspan="2">
                <
textarea id="message" name="text" tabindex="3" cols="70" rows="16">{$inputs.text}</textarea>
            </
td>
        </
tr>
        <
tr>
<
td colspan="2" align="right"><a onclick="javascript:popup_scroll('help.php?mode=bb', 700, 400); return false;" href="help.php?mode=bb" target="_blank">BB-Codes</a></td>
</
tr>
    </
tbody>
</
table>
<
input type="submit" name="preview" value="Vorschau" /> <input type="submit" name="send" value="Senden">
</
form

Datei: {DsLan}/htdocs/templates/game_ally_in_ally_overview.tpl
Aufgabe: Ersetze alles mit:

PHP Code:
<table width="100%"><tr><td valign="top">
        
    <
table class="vis" width="100%">
    {if 
$num_pages>1}
        <
tr>
            <
td align="center" colspan="3">
                {
section name=countpage start=1 loop=$num_pages+1 step=1}
                    {if 
$site==$smarty.section.countpage.index}
                        <
strong> &gt;{$smarty.section.countpage.index}&lt; </strong>
                    {else}
                        <
a href="game.php?village={$village.id}&amp;screen=ally&amp;site={$smarty.section.countpage.index}"> [{$smarty.section.countpage.index}] </a>
                    {/if}
                {/
section}
            </
td>
        </
tr>
    {/if}
    <
tr><th>Datum</th><th>Ereignis</th></tr>

        {foreach 
from=$events item=arr key=id}
            <
tr>
                <
td>{$arr.time}</td>
                <
td>{$arr.message}</td>
            </
tr>
        {/foreach}

    </
table>
        
</
td><td valign="top" width="360">
    <
table class="vis" width="100%"><tr>
    <
td><a href="game.php?village=36841&amp;screen=ally&amp;action=exit&amp;h=cc6f" onclick="javascript:ask('Willst du wirklich deinen Stamm verlassen?', 'game.php?village={$village.id}&amp;screen=ally&amp;action=exit&amp;h={$hkey}'); return false;">Stamm verlassen</a></td>
    </
tr></table>
    
            

    {if !empty(
$preview)}
        <
table class="vis" width="100%">
            <
tr><th colspan="2">Vorschau</th></tr>
            <
tr><td colspan="2" align="center">{php} echo bb_format($this->_tpl_vars['ally']['intern_text']); {/php}</td></tr>
        </
table>
    {/if}
    
    <
script type="text/javascript">
    function 
bbEdit() {ldelim}
        
gid("show_row").style.display 'none';
        
gid("edit_link").style.display 'none';
        
gid("edit_row").style.display '';
        
gid("submit_row").style.display '';
        
gid("bbcode").style.display '';
    {
rdelim}
    </
script>

    <
form action="game.php?village={$village.id}&amp;screen=ally&amp;action=edit_intern&amp;h={$hkey}method="post" name="edit_profile">
    <
table class="vis" width="100%">
            <
tr><th colspan="2" width="100%">Interne Ank&uuml;ndigungen</th></tr>
        <
tr id="show_row" align="center"><td colspan="2">{php} echo bb_format($this->_tpl_vars['ally']['intern_text']); {/php}</td></tr>
    {if 
$user.ally_found==1}
        <
tr id="bbcode">
        <
td colspan="2">
            <
div style="text-align: left; overflow: visible;">
                <
a id="bb_button_bold" title="Fett" href="#" onclick="BBCodes.insert('[b]', '[/b]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll 0px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_italic" title="Kursiv" href="#" onclick="BBCodes.insert('[i]', '[/i]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -20px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_underline" title="Unterstrichen" href="#" onclick="BBCodes.insert('[u]', '[/u]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -40px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_strikethrough" title="Durchgestrichen" href="#" onclick="BBCodes.insert('[s]', '[/s]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -60px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_quote" title="Zitat" href="#" onclick="BBCodes.insert('[quote=Author]', '[/quote]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -140px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_url" title="Adresse" href="#" onclick="BBCodes.insert('[url]', '[/url]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -160px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_spoiler" title="Spoiler" href="#" onclick="BBCodes.insert('[spoiler]', '[/spoiler]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -260px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_player" title="Spieler" href="#" onclick="BBCodes.insert('[player]', '[/player]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -80px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_tribe" title="Stamm" href="#" onclick="BBCodes.insert('[ally]', '[/ally]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -100px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_coord" title="Koordinate" href="#" onclick="BBCodes.insert('[coord]', '[/coord]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -120px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
    
                {
literal}
                <
script type="text/javascript">
                    $(
document).ready(function(){
                        
BBCodes.init({target '#message'});
                    });
                </
script>
                {/
literal}
    
            </
div>            
      </
td>
    </
tr>
    <
tr id="edit_row"><td colspan="2"><textarea id="message" name="intern" cols="40" rows="15">{$ally.edit_intern_text}</textarea></td></tr>
        <
tr id="submit_row"><td><input type="submit" name="edit" value="Speichern" /> <input type="submit" name="preview" value="Vorschau" /></td></tr>
    {/if}
    </
table>
    </
form>
    {if 
$user.ally_found==1}<a id="edit_link" href="javascript:bbEdit()" style="display:none">bearbeiten</a><br />{/if}
    
    {if empty(
$preview)}
        <
script type="text/javascript">
          
gid("edit_row").style.display 'none';
            
gid("submit_row").style.display 'none';
            
gid("bbcode").style.display 'none';
            
gid("edit_link").style.display '';
        </
script>
    {else}
        <
script type="text/javascript">
              
gid("edit_row").style.display '';
              
gid("bbcode").style.display '';
              
gid("show_row").style.display 'none';
            
gid("submit_row").style.display '';
            
gid("edit_link").style.display 'none';
        </
script>
    {/if}

</
td></tr></table

Datei: {DsLan}/htdocs/templates/game_ally_in_ally_properties.tpl
Aufgabe: Ersetze alles mit:

PHP Code:
<table cellspacing="0">
<
tr><td valign="top">
{if 
$user.ally_found==1}
    <
form action="game.php?village={$village.id}&amp;screen=ally&amp;mode=properties&amp;action=change&amp;h={$hkey}method="post">
    <
table class="vis" width="100%">
        <
tr><th colspan="2">Eigenschaften</th></tr>
        <
tr><td>Name:</td><td><input type="text" name="name" value="{$ally.name}/></td></tr>
        <
tr><td width="140">Abk&uuml;rzung (maximal 6 Buchstaben):</td><td><input type="text" name="tag" maxlength="6" value="{$ally.short}/></td></tr>
        <
tr><td width="140">Homepage:</td><td><input type="text" name="homepage" maxlength="128" size="50"  value="{$ally.homepage}/></td></tr>
        <
tr><td width="140">IRC-Channel:</td><td><input type="text" name="irc-channel" maxlength="128" size="50"  value="{$ally.irc}/></td></tr>
        <
tr><td colspan="2"><input type="submit" value="Ändern" /></td></tr>
    </
table>
    </
form>

    <
table class="vis" width="100%">
    <
tr><th>Stamm aufl&ouml;sen</th></tr>
    <
tr><td><a href="javascript:ask('Willst du wirklich deinen Stamm aufl&ouml;sen?', 'game.php?village={$village.id}&amp;screen=ally&amp;mode=properties&amp;action=close&amp;h={$hkey}')">Stamm aufl&ouml;sen</a></td></tr>
    </
table>
{/if}

</
td><td valign="top" width="360">

{if 
$user.ally_diplomacy==1}
    {if !empty(
$preview)}
        <
table class="vis" width="100%">
            <
tr><th colspan="2">Vorschau</th></tr>
            <
tr><td colspan="2" align="center">{php} echo bb_format($this->_tpl_vars['ally']['description']); {/php}</td></tr>
        </
table>
    {/if}

    <
script type="text/javascript">
    function 
bbEdit() {ldelim}
        
gid("show_row").style.display 'none';
        
gid("edit_link").style.display 'none';
        
gid("edit_row").style.display '';
        
gid("submit_row").style.display '';
        
gid("bbcode").style.display '';
    {
rdelim}
    </
script>

    <
form action="game.php?village={$village.id}&amp;screen=ally&amp;mode=properties&amp;action=change_desc&amp;h={$hkey}method="post" name="edit_profile">
    <
table class="vis" width="100%">
            <
tr><th colspan="2" width="100%">Beschreibung</th></tr>
        <
tr id="show_row" align="center"><td colspan="2">{php} echo bb_format($this->_tpl_vars['ally']['description']); {/php}</td></tr>
        <
tr id="bbcode">
        <
td colspan="2">
            <
div style="text-align: left; overflow: visible;">
                <
a id="bb_button_bold" title="Fett" href="#" onclick="BBCodes.insert('[b]', '[/b]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll 0px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_italic" title="Kursiv" href="#" onclick="BBCodes.insert('[i]', '[/i]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -20px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_underline" title="Unterstrichen" href="#" onclick="BBCodes.insert('[u]', '[/u]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -40px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_strikethrough" title="Durchgestrichen" href="#" onclick="BBCodes.insert('[s]', '[/s]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -60px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_quote" title="Zitat" href="#" onclick="BBCodes.insert('[quote=Author]', '[/quote]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -140px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_url" title="Adresse" href="#" onclick="BBCodes.insert('[url]', '[/url]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -160px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_spoiler" title="Spoiler" href="#" onclick="BBCodes.insert('[spoiler]', '[/spoiler]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -260px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_player" title="Spieler" href="#" onclick="BBCodes.insert('[player]', '[/player]');return false;">
            <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -80px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_tribe" title="Stamm" href="#" onclick="BBCodes.insert('[ally]', '[/ally]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -100px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
                <
a id="bb_button_coord" title="Koordinate" href="#" onclick="BBCodes.insert('[coord]', '[/coord]');return false;">
                    <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -120px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                </
a>
    
                {
literal}
                <
script type="text/javascript">
                    $(
document).ready(function(){
                        
BBCodes.init({target '#message'});
                    });
                </
script>
                {/
literal}
    
            </
div>            
      </
td>
    </
tr>
        <
tr id="edit_row"><td colspan="2"><textarea id="message" name="desc_text" cols="40" rows="15">{$ally.edit_description}</textarea></td></tr>
        <
tr id="submit_row"><td><input type="submit" name="edit" value="Speichern" /> <input type="submit" name="preview" value="Vorschau" /></td><td align="right"><a onclick="javascript:popup_scroll('help.php?mode=bb', 700, 400); return false;" href="help.php?mode=bb" target="_blank">BB-Codes</a></td></tr>
    </
table>
    </
form>
    <
a id="edit_link" href="javascript:bbEdit()" style="display:none">bearbeiten</a><br />

    {if empty(
$preview)}
        <
script type="text/javascript">
          
gid("edit_row").style.display 'none';
            
gid("submit_row").style.display 'none';
            
gid("bbcode").style.display 'none';
            
gid("edit_link").style.display '';
        </
script>
    {else}
        <
script type="text/javascript">
              
gid("edit_row").style.display '';
              
gid("bbcode").style.display '';
              
gid("show_row").style.display 'none';
            
gid("submit_row").style.display '';
            
gid("edit_link").style.display 'none';
        </
script>
    {/if}
    <
br />
    <
form action="game.php?village={$village.id}&amp;screen=ally&amp;mode=properties&amp;action=ally_image&amp;h={$hkey}enctype="multipart/form-data" method="post">
        <
table class="vis" width="100%">
            <
tr>
                <
th>
                    
Stammeswappen:
                </
th>
            </
tr>
            <
tr>
                <
td>
                    {if !empty(
$ally.image)}
                        <
img src="graphic/ally/{$ally.image}alt="Wappen" />
                        <
br />
                        <
input name="del_image" type="checkbox" />
                        
Wappen löschen
                        
<br />
                    {/if}
                    <
input name="image" type="file" size="40" accept="image/*" maxlength="1048576" />
                    <
br />
                    <
span style="font-size: xx-small">max300x200max256kByte, (jpgjpegpnggif)</span>
                </
td>
            </
tr>
            <
tr>
                <
td colspan="2">
                    <
input type="submit" value="OK" />
                </
td>
            </
tr>
        </
table>
 </
form>
{/if}

</
td></tr></table

Datei: {DsLan}/htdocs/templates/game_ally_in_ally_intro_igm.tpl
Aufgabe: Ersetze alles mit:

PHP Code:
<br />
<
form method="post" action="/game.php?village={$village.id}&screen=ally&mode=intro_igm&action=intro_igm&h=5568">
  <
table class="vis">
    <
tbody>
      <
tr>
        <
th>Begrüßungs-IGM:
        </
th>
      </
tr>
      <
tr id="bbcode">
          <
td>
              <
div style="text-align: left; overflow: visible;">
                  <
a id="bb_button_bold" title="Fett" href="#" onclick="BBCodes.insert('[b]', '[/b]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll 0px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_italic" title="Kursiv" href="#" onclick="BBCodes.insert('[i]', '[/i]');return false;">
              <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -20px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_underline" title="Unterstrichen" href="#" onclick="BBCodes.insert('[u]', '[/u]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -40px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_strikethrough" title="Durchgestrichen" href="#" onclick="BBCodes.insert('[s]', '[/s]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -60px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_quote" title="Zitat" href="#" onclick="BBCodes.insert('[quote=Author]', '[/quote]');return false;">
              <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -140px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_url" title="Adresse" href="#" onclick="BBCodes.insert('[url]', '[/url]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -160px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_spoiler" title="Spoiler" href="#" onclick="BBCodes.insert('[spoiler]', '[/spoiler]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -260px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_player" title="Spieler" href="#" onclick="BBCodes.insert('[player]', '[/player]');return false;">
              <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -80px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_tribe" title="Stamm" href="#" onclick="BBCodes.insert('[ally]', '[/ally]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -100px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
                  <
a id="bb_button_coord" title="Koordinate" href="#" onclick="BBCodes.insert('[coord]', '[/coord]');return false;">
                      <
div style="display: inline-block; background: url(&quot;graphic/bbcodes/bbcodes.png?1&quot;) no-repeat scroll -120px 0px transparent; padding-left: 0px; padding-bottom: 0px; margin-right: 2px; margin-bottom: 3px; width: 20px; height: 20px;">&nbsp;</div>
                  </
a>
      
                  {
literal}
                  <
script type="text/javascript">
                      $(
document).ready(function(){
                          
BBCodes.init({target '#message'});
                      });
                  </
script>
                  {/
literal}
      
              </
div>            
        </
td>
      </
tr>
      <
tr>
      <
td><textarea id="message" name="text"  cols="70" rows="20"/>{$allyIgm}</textarea></td>
      </
tr>
      <
tr><td>
          <
input type="submit" value="Ändern"/></td>
      </
tr>
    </
tbody>
  </
table>
</
form

Datei/Bild: [Image: bbcodes.png]
Aufgabe: In den Ordner {DsLan}/htdocs/graphic/bbcodes kopieren

Wenn du das alles gemacht hast, den Ordner templates_c leeren und den Cache deines Browser

Wenn es dir gefallen hat dann Bewerte mich Wink
[Image: create.php?uid=511]
Reply
#2
NIcht schlecht Smile Darf ichs in meine All In One Packen?
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#3
na klar Wink
[Image: create.php?uid=511]
Reply
#4
Ich kann das bei tpl nicht ändern!
mfg:BaroniConfusednob:
Reply
#5
wieso denn nicht?

"Rechtsklick" -> "Öffnen mit ..." -> Ein Texteditor öffnen
[Image: create.php?uid=511]
Reply
#6
Datei/Bild: [Bild: bbcodes.png]
Aufgabe: In den Ordner {DsLan}/htdocs/graphic/bbcodes kopieren

Ich habe so eine all in one Version und das gibt es diesen Order nicht!

Fatal error: Call to undefined function: bb_format() in C:\Dokumente und Einstellungen\Fabian\Eigene Dateien\Downloads\All-In-One-1.0\All In One 1.0\htdocs\templates_c\%%A7^A79^A791D467%%game_ally_in_ally_overview.tpl.php on line 96
mfg:BaroniConfusednob:
Reply
#7
Ist mir auch aufgefallen als ichs in meine aio bauen wollte.. bei mir zeigt der auch dann fehler an beim Stamm usw..
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#8
is en bissle komplex^^
Wenn ich helfen konnte, dann bewertet mich bitte. -->Bewertung
Reply
#9
und wie soll man das jetzt machen?
mfg:BaroniConfusednob:
Reply
#10
Den Ordner bbcodes muss man auch neu erstellen Big Grin

Und zum anderen Fehler (der ist von Tavicu's Tutorial) hast du das gemacht?:
Quote:2. Now open the file include.inc.php and add after all code written in the file the following line:
PHP Code:
<?php include('bbcode.php'); ?>
Save the file and exit.

ODER

Bei meinem Tut den?:
Quote:Datei: {DsLan}/htdocs/bbcode.php
Aufgabe: Ersetze alles mit:
...

wenn es immer noch nicht funktioniert dann sag mal was in der Datei
%%A7^A79^A791D467%%game_ally_in_ally_overview.tpl.php in der Zeile 96 steht.
[Image: create.php?uid=511]
Reply
#11
I don't know Big Grin

But I think it would work Wink
[Image: create.php?uid=511]
Reply
#12
good!
Reply
#13
Don´t write in so old threads...

MfG Manuel
Reply
#14
Also der link der bb codes zum download ist down !!
Reply
#15
Er ist nich off, Abbar hat nur den link nicht erneuert..

http://www.twlan.org/de/showthread.php?tid=635
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#16
kann doch mal passieren Wink
Reply
#17
War ja nicht böse gemeint Wink
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#18
Ich hab mal versucht ne nachricht zu schreiben, die bb-codes zeile ist da! aber, wenn ich draufdrücke passiert nichts, ist nur ein bild, vll hab ich auch was falsch geamcht Sad
Reply
#19
http://www.twlan.org/de/showthread.php?tid=635
Hast du das Installiert?..
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#20
nein, mach ich jez mal
Reply




Users browsing this thread: 1 Guest(s)