Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 2 Gast/Gäste
Link im Profilfeld und Zeilenumbruch
#11
Hattest du alle diesbezüglichen Änderungen erstmal wieder entfernt?
Zitieren
#12
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
Zitieren
#13
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)
Zitieren
#14
Du kannst keinen automatischen Zeilenumbruch bei gewünschten 20 od 30 Zeichen erwirken.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#15
(03.11.2013, 06: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
Zitieren
#16
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...
Zitieren
#17
(03.11.2013, 12:07)SvePu schrieb: OK..danke!

Ich hab zu danken Smile

Oh und du bist mein Held!!! Es funktioniert perfekt!!!! Vielen, vielen Dank!!!!
Zitieren
#18
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?
Zitieren
#19
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.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#20
Was meinst du??
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Profilfeld mit Link Afrobongo 7 3.440 25.10.2013, 18:59
Letzter Beitrag: navis
  Profilfelder Zeilenumbruch federleicht 0 1.110 04.09.2011, 09:13
Letzter Beitrag: federleicht
  Zeilenumbruch in Awards 2.0 einfügen alexa 4 2.075 27.08.2011, 16:59
Letzter Beitrag: alexa
  [MyCode] Bei Zeilenumbruch kein Parsen Zwoetzen 3 2.281 01.12.2008, 22:46
Letzter Beitrag: Manuel