Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Nuke

Icon für Themen Beitrag

Recommended Posts

Wenn man ein Neues Thema erstell kan man ja für das Neue Thema auch ein Icon auswählen. Besteht die möglichkeit so wie im vB (ja bin umsteiger) ein Icon als Standart zu setzen wenn man kein ausgewählt hatt? habe mal ein Bild angehangen das man die Spalte mal sehen kann.

Share this post


Link to post

Dazu brauchst du keine Modifikation, sondern kannst es direkt im Skin einstellen. Gehe dazu in den jeweiligen Skin und dort zum Editor der HTML Templates. Hier wählst du "Post Screen" aus und in den Templatebits "PostIcons". Dort hast du dann folgenden HTML Quelltext:

<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
  <tr>
<td align="right" valign='top' width='20%'>
 <strong>{ipb.lang['post_icon']}</strong>
 <br /><span class='desc'>{ipb.lang['post_optional']}</span>
</td>
<td align="left" width='80%'>
  <input type="radio" class="radiobutton" name="iconid" value="1" />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon1.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="2"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon2.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="3"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon3.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="4"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon4.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="5"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon5.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="6"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon6.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="7"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon7.gif"  align='middle' alt='' /><br />
  <input type="radio" class="radiobutton" name="iconid" value="8" />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon8.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="9"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon9.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="10"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon10.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="11"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon11.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="12"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon12.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="13"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon13.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="14"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon14.gif"  align='middle' alt='' /><br />
     <input type="radio" class="radiobutton" name="iconid" value="0" checked="checked" />&nbsp;&nbsp;{ipb.lang['picons_none']}
</td>
  </tr>
 </table>
</div>
</td>
</tr>
Bei dem gewünschten Icon fügst du noch checked="checked" hinzu. :) Beispiel: PostIcon 13 soll vorselektiert sein. Somit wird aus
<input type="radio" class="radiobutton" name="iconid" value="13"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon13.gif"  align='middle' alt='' />
einfach
<input type="radio" class="radiobutton" name="iconid" value="13" checked="checked"  />&nbsp;&nbsp;<img src="{ipb.vars['img_url']}/folder_post_icons/icon13.gif"  align='middle' alt='' />

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×