How to remove message icons?

Started by Alecs, May 22, 2010, 01:51:18 PM

Previous topic - Next topic

Alecs

Hi, i just installed SMF 2 RC3 on localhost and i'm worndering if is there any way to remove the message icons.

I couldn't find any solution to this on the forum. I've tried to replace the icons images for an 1x1px image but it looks bad.

Kill Em All

Admin>Smileys and Message Icons>Settings>Enable customized message icons>tick that>save
then...
you should see a new tab there that says Edit Message Icons. You then have them all there and can delete and add new ones. :)


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Alecs

I'm not talking about replace the message icons. I want to remove them, i don't want the second box where it shows the icon.

Allusion

Can you make a screenshot of the page where you want to remove the message icons? It's not clear which icons you are asking about.

Kill Em All

Well each topic is going to be assigned a message icon... why not just delete all of them and just keep the one you want. Its going to need a message icon...


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Alecs

Quote from: Kill Em All on May 23, 2010, 05:42:00 PM
Well each topic is going to be assigned a message icon... why not just delete all of them and just keep the one you want. Its going to need a message icon...

But I'd like to remove the message icon completely, I just don't want them.

Kill Em All

In your Messageindex.template.php, find this line of code and remove it:

<img src="', $topic['first_post']['icon_url'], '" alt="" />


Then in your Post.template.php, find this line of code and remove it:

<dt>
', $txt['message_icon'], ':
</dt>
<dd>
<select name="icon" id="icon" onchange="showimage()">';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

echo '
</select>
<img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
</dd>


That will hide all the message icons. There is no way to disable them, but this is the next best thing, hiding them...


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: