MyBB.de Forum

Normale Version: Link im Profilfeld und Zeilenumbruch
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2 3 4 5 6 7
Hattest du alle diesbezüglichen Änderungen erstmal wieder entfernt?
Aus dem besagten Thread? Ja, war ja eh die falsche Stelle und bezog sich auf Umbrüche im Benutzername und Titel.. ich brauch es ja für die definierten Profilfelder
OK...geh mal bitte in deine Theme-Templates > Postbit > postbit_classic und kopiere den gesamten Inhalt und poste ihn mal bitte hier.

Ich ändere ihn dann passend ab (ist einfacher als zu erklären, wo genau Wink)
Du kannst keinen automatischen Zeilenumbruch bei gewünschten 20 od 30 Zeichen erwirken.
(03.11.2013, 07:15)MrBrechreiz schrieb: [ -> ]Du kannst keinen automatischen Zeilenumbruch bei gewünschten 20 od 30 Zeichen erwirken.

Scheinbar ging es aber nach dieser Anleitung aus dem Forum durchaus, womöglich für eine ältere Version: https://www.mybb.de/forum/thread-5901-pa...lenumbruch

Ja gerne... hier der Code:

PHP-Code:
{$ignore_bit}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
<
tr>        
<
td class="{$altbg}width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />        
<
span class="smalltextprofil">            
{
$post['usertitle']}<br /></span>        
<
span class="smalltext">{$post['userstars']}            
{
$post['groupimage']}            
{
$post['useravatar']}<br />            
{
$post['user_details']}<br><br>
<
img src="http://www.buffymagazin.de/CamdenVillage/Hell/Bilder/Forum/charakterinfo.png"><br>
<!-- 
ProfileFields --><!-- /ProfileFields --><br>
<
align="center><img src="{$post['fid16']}"></align>
<table width="
100%" border="0"> 
<tr>  
<td bgcolor="
#838383"><font color="#ffffff">AGE & B-DAY</font></td> </tr> </table>
{$post['fid17']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">JOB</font></td> </tr> </table>{$post['fid23']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">LIVING</font></td> </tr> </table>
<
a href="http://{$post['fid20']}title="{$post['fid20']}">{$post['fid30']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">STATUS</font></td> </tr> </table>{$post['fid22']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">MY HEART GOES TO</font></td> </tr> </table>
<
a href="http://{$post['fid31']}title="{$post['fid31']}">{$post['fid24']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">ARMED</font></td> </tr> </table>{$post['fid25']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">WEAPONS</font></td> </tr> </table>
{
$post['fid26']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">OUTFIT</font></td> </tr> </table>
<
a href="http://{$post['fid27']}title="{$post['fid27']}">
{
$post['fid28']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">IN PAIN</font></td> </tr> </table>{$post['fid29']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">RELATIONS</font></td> </tr> </table>
<
a href="{$post['fid21']}">FRIENDS ENEMIES</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">PROFIL</font></td> </tr> </table>
<
a href="{$post['fid19']}">MY LIFE</a><Br />
{
$post['usermood']}            
</
td>    
<
td class="{$altbg}valign="top">        
<
table width="100%">            
<
tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>            
<
br />            
<
div id="pid_{$post['pid']}class="post_body">                {$post['message']}            
</
div>            
{
$post['attachments']}            
{
$post['signature']}            
<
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}"><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>    {$post['iplogged']}            
</
div></td></tr></table></td></tr>
<
tr>    
<
td class="{$altbg}style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>    
<
td class="{$altbg}style="vertical-align: middle;">        
<
table width="100%" border="0" cellpadding="0" cellspacing="0">    
<
tr valign="bottom">                
<
td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>                
<
td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>            </tr>        
</
table>    
</
td></tr></table
OK..danke!

Hier ist das angepasste postbit_classic Template:
PHP-Code:
{$ignore_bit}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
<
tr>        
<
td class="{$altbg}width="15%" valign="top" style="white-space: normal; text-align: center;word-break: break-word;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />        
<
span class="smalltextprofil">            
{
$post['usertitle']}<br /></span>        
<
span class="smalltext">{$post['userstars']}            
{
$post['groupimage']}            
{
$post['useravatar']}<br />            
{
$post['user_details']}<br><br>
<
img src="http://www.buffymagazin.de/CamdenVillage/Hell/Bilder/Forum/charakterinfo.png"><br>
<!-- 
ProfileFields --><!-- /ProfileFields --><br>
<
align="center><img src="{$post['fid16']}"></align>
<table width="
100%" border="0"> 
<tr>  
<td bgcolor="
#838383"><font color="#ffffff">AGE & B-DAY</font></td> </tr> </table>
{$post['fid17']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">JOB</font></td> </tr> </table>{$post['fid23']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">LIVING</font></td> </tr> </table>
<
a href="http://{$post['fid20']}title="{$post['fid20']}">{$post['fid30']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">STATUS</font></td> </tr> </table>{$post['fid22']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">MY HEART GOES TO</font></td> </tr> </table>
<
a href="http://{$post['fid31']}title="{$post['fid31']}">{$post['fid24']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">ARMED</font></td> </tr> </table>{$post['fid25']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">WEAPONS</font></td> </tr> </table>
{
$post['fid26']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">OUTFIT</font></td> </tr> </table>
<
a href="http://{$post['fid27']}title="{$post['fid27']}">
{
$post['fid28']}</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">IN PAIN</font></td> </tr> </table>{$post['fid29']}
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">RELATIONS</font></td> </tr> </table>
<
a href="{$post['fid21']}">FRIENDS ENEMIES</a>
<
table width="100%" border="0"
<
tr>  
<
td bgcolor="#838383"><font color="#ffffff">PROFIL</font></td> </tr> </table>
<
a href="{$post['fid19']}">MY LIFE</a><Br />
{
$post['usermood']}            
</
td>    
<
td class="{$altbg}valign="top">        
<
table width="100%">            
<
tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>            
<
br />            
<
div id="pid_{$post['pid']}class="post_body">                {$post['message']}            
</
div>            
{
$post['attachments']}            
{
$post['signature']}            
<
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}"><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>    {$post['iplogged']}            
</
div></td></tr></table></td></tr>
<
tr>    
<
td class="{$altbg}style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>    
<
td class="{$altbg}style="vertical-align: middle;">        
<
table width="100%" border="0" cellpadding="0" cellspacing="0">    
<
tr valign="bottom">                
<
td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>                
<
td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>            </tr>        
</
table>    
</
td></tr></table

Probier es mal bitte...
(03.11.2013, 13:07)SvePu schrieb: [ -> ]OK..danke!

Ich hab zu danken Smile

Oh und du bist mein Held!!! Es funktioniert perfekt!!!! Vielen, vielen Dank!!!!
Freut mich dass ich dir da weiterhelfen konnte. Wink

Irgendwie gibt es noch ein Problem mit den Charakterinfo-Grafiken - die "rang_johnc.png" wird nicht gefunden. In welchem Odrner hast du diese Bilder drin?
Nicht die eleganteste Art, aber schön das es ja doch für deinen Zweck funktioniert. Dafür sind nun Fehler in der Validierung ohne Ende zu finden.
Was meinst du??
Seiten: 1 2 3 4 5 6 7