Hi
ich besitze bbcode 2.0 und dort kann man ja die Größe von Bildern angeben. Das klappt auch alles ich möchte das aber nicht für die Signaturbilder haben.
Ist das möglich?
betroffene Homepage: externer Link
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" height="22"><span style="color:#3d6797; text-decoration:none; font-size:14px"><strong>{TOPICNAME}</strong></span></td> <td colspan="2" width="30%" height="22" align="right">{ANTWORTEN}</td> </tr> <tr> <td colspan="4" height="4" bgcolor="#1e344c"></td> </tr> <tr> <td colspan="4" height="5" bgcolor="#ffffff"></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0" border="0"> {EXPLODE} <tr> <td colspan="2" width="10%" height="18" bgcolor="#1e344c" style="color:#FFFFFF; font-size:10px"> geschrieben am {date} von <a name="{id}"></a>{erst}</td> </tr> <tr> <td colspan="5" height="10"></td> </tr> <tr> <td width="20%" valign="top"> <table width="120" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" align="center">{avatar}<br /><br /><img src="include/images/rang/{rang}.png"><br />{posts}<br /></td> </tr> </table> </td> <td width="80%" valign="top"> <div style="float: right; width:100%; text-align:right;">{delete} {change} <a href="index.php?forum-newpost-{TID}-z{id}"><img alt="" src="include/images/forum/zid.png" border="0" /></a> </div> <br /><br /><br><hr style="width: 65%;" align="left">{txt}</td> </tr> <tr> <td colspan="2" align="center"><br /><hr style="width: 50%;" align="left">{sig}</td> </tr> <tr> <td colspan="2" align="right"><a href="#top"><img alt="" src="include/images/forum/top.png" border="0" /></a></td> </tr> <tr> <td colspan="2" height="10"></td> </tr> <tr> <td bgcolor="#1e344c" width="100%" colspan="2" height="3"></td> </tr> <tr> <td colspan="2" height="10"></td> </tr> {EXPLODE} </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="40%" align="right">{ANTWORTEN}</td> </tr> </table> <br /> <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right"><table border="0" cellpadding="0" cellspacing="0"> <tr>{SITELINK}</tr></table></td> </tr> </table> {EXPLODE} <br /> <strong>{_lang_administrattopic}</strong><br /> <a href="javascript:renametopic()">{_lang_rename}</a> , <a href="index.php?forum-edittopic-{tid}-2">{_lang_delete}</a> , <a href="index.php?forum-edittopic-{tid}-3">{_lang_shift}</a> , <a href="index.php?forum-edittopic-{tid}-4-2">{status}</a> , <a href="index.php?forum-edittopic-{tid}-5">{festnorm}</a> <script language="JavaScript" type="text/javascript"> <!-- function renametopic () { var x = prompt ( "Bitte den neuen Namen vom Thema eintragen" , "" ); if ( x ) { document.location.href="index.php?forum-edittopic-{tid}-1=0&newTopic="+x; } } //--> </script>
<?php # Copyright by: Manuel # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); # check ob ein fehler aufgetreten ist. check_forum_failure($forum_failure); # toipc als gelesen markieren $_SESSION['forumSEE'][$fid][$tid] = time(); $title = $allgAr['title'].' :: Forum :: '.$aktTopicRow['name'].' :: Beiträge zeigen'; $hmenu = $extented_forum_menu.'<a class="smalfont" href="index.php?forum">Forum</a><b> » </b>'.aktForumCats($aktForumRow['kat']).'<b> » </b><a class="smalfont" href="index.php?forum-showtopics-'.$fid.'">'.$aktForumRow['name'].'</a><b> » </b>'; $hmenu .= $aktTopicRow['name'].$extented_forum_menu_sufix; $design = new design ( $title , $hmenu, 1); $design->header(); # Topic Hits werden eins hochgesetzt. db_query('UPDATE `prefix_topics` SET hit = hit + 1 WHERE id = "'.$tid.'"'); # mehrere seiten fals gefordert $limit = $allgAr['Fpanz']; // Limit $page = ($menu->getA(3) == 'p' ? $menu->getE(3) : 1 ); $MPL = db_make_sites ($page , "WHERE tid = ".$tid , $limit , 'index.php?forum-showposts-'.$tid , 'posts' ); $anfang = ($page - 1) * $limit; $antworten = ''; if (($aktTopicRow['stat'] == 1 AND $forum_rights['reply'] == TRUE) OR ($_SESSION['authright'] <= '-7' OR $forum_rights['mods'] == TRUE)) { $antworten = '<b>[ <a href="index.php?forum-newpost-'.$tid.'">'.$lang['answer'].'</a> ]</b>'; } $class = 'Cmite'; $tpl = new tpl ( 'forum/showpost' ); $ar = array ( 'SITELINK' => $MPL, 'tid' => $tid, 'ANTWORTEN' => $antworten, 'TOPICNAME' => $aktTopicRow['name'] ); $tpl->set_ar_out($ar,0); $i = $anfang +1; $ges_ar = array ('wurstegal', 'maennlich', 'weiblich'); $erg = db_query("SELECT geschlecht, prefix_posts.id,txt,time,erstid,erst,sig,avatar,posts FROM `prefix_posts` LEFT JOIN prefix_user ON prefix_posts.erstid = prefix_user.id WHERE tid = ".$tid." ORDER BY time LIMIT ".$anfang.",".$limit); while($row = db_fetch_assoc($erg)) { $class = ( $class == 'Cnorm' ? 'Cmite' : 'Cnorm' ); # define some vars. $row['sig'] = ( empty($row['sig']) ? '' : ''.bbcode($row['sig']) ); $row['TID'] = $tid; $row['class'] = $class; $row['date'] = date ('d.m.Y - H:i:s', $row['time'] ); $row['delete'] = ''; $row['change'] = ''; if (!is_numeric($row['geschlecht'])) { $row['geschlecht'] = 0; } if (file_exists($row['avatar'])) { $row['avatar'] = '<br /><img src="'.$row['avatar'].'" alt="User Pic" border="0" width="100" />'; } elseif ($allgAr['forum_default_avatar']) { $row['avatar'] = '<br /><img src="include/images/avatars/'.$ges_ar[$row['geschlecht']].'.jpg" alt="User Pic" border="0" width="100" />'; } else { $row['avatar'] = ''; } $row['rang'] = userrang ($row['posts'],$row['erstid']); $row['txt'] = (isset($_GET['such']) ? markword(bbcode ($row['txt']),$_GET['such']) : bbcode ($row['txt']) ); $row['i'] = $i; $row['page'] = $page; if ( $row['posts'] != 0 ) { $row['erst'] = '<a style="color:#FFFFFF; font-size:10px" href="index.php?user-details-'.$row['erstid'].'"><b>'.$row['erst'].'</b></a>'; } elseif ( $row['erstid'] != 0 ) { $row['rang'] = 'gelöschter User'; } if ($forum_rights['mods'] == TRUE AND $i>1) { $row['delete'] = '<a href="index.php?forum-delpost-'.$tid.'-'.$row['id'].'"><img alt="" src="include/images/forum/del.png" border="0" /></a>'; } if ( $forum_rights['reply'] == TRUE AND loggedin() ) { $row['change'] = ' <a href="index.php?forum-editpost-'.$tid.'-'.$row['id'].'"><img alt="" src="include/images/forum/edit.png" border="0" /></a>'; } $row['posts'] = ($row['posts']?'<br />Posts: '.$row['posts']:'').''; $tpl->set_ar_out($row,1); $i++; } $tpl->set_ar_out( array ( 'SITELINK' => $MPL, 'ANTWORTEN' => $antworten ) , 2 ); if (loggedin()) { if ($menu->get(3) == 'topicalert') { if (1 == db_result(db_query("SELECT COUNT(*) FROM prefix_topic_alerts WHERE uid = ".$_SESSION['authid']." AND tid = ".$tid),0)) { db_query("DELETE FROM prefix_topic_alerts WHERE uid = ".$_SESSION['authid']." AND tid = ".$tid); } else { db_query("INSERT INTO prefix_topic_alerts (tid,uid) VALUES (".$tid.", ".$_SESSION['authid'].")"); } } echo 'Optionen:'; if (1 == db_result(db_query("SELECT COUNT(*) FROM prefix_topic_alerts WHERE uid = ".$_SESSION['authid']." AND tid = ".$tid),0)) { echo '<br />- <a href="index.php?forum-showposts-'.$tid.'-topicalert">'.$lang['nomailonreply'].'</a><br />'; } else { echo '<br />- <a href="index.php?forum-showposts-'.$tid.'-topicalert">'.$lang['mailonreply'].'</a><br />'; } } if ( $forum_rights['mods'] == TRUE ) { $tpl->set ( 'status', ($aktTopicRow['stat'] == 1 ? $lang['close'] : $lang['open'] ) ); $tpl->set ( 'festnorm', ($aktTopicRow['art'] == 0 ? $lang['fixedtopic'] : $lang['normaltopic'] ) ); $tpl->set('tid',$tid); $tpl->out(3); } $design->footer(); ?>
$row['sig'] = ( empty($row['sig']) ? '' : str_replace('class="bbcode_image"','',bbcode($row['sig'])) );
$row['sig'] = ( empty($row['sig']) ? '' : str_replace('class="bbcode_image"','style="max-width: 400px;"',bbcode($row['sig'])) );
Geschlossen | ||
Zurück zu Module und Modifikationen |