Simple Icons & RSS

Started by inter, November 16, 2009, 09:43:32 AM

Previous topic - Next topic

inter

Link to Mod

Simple Icons RSS
Icons.png = ID Board (1.png ; 2.png ; 3.png ...)
Destination Icons by Folder: Themes/default/images/s-icons/
Site - http://smfrus.ru/index.php/topic,241.0.html
Author: Inter
Thanks: Adren
Sorry for my English

kingkingston

is this like the mod images on board ?

edi67

#2
really good work, but one question png image are good but with that fuc... IE always there is background grey around, how is possible remove it leaving png format?

one implementation , is possible JUSTIFY the text in description of section for have it more clean ?
look example of my text description in boards:

http://crazyzone.biz/prova/index.php

As u can see the text is not justify and is not good view
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

kingkingston

Quote from: edi67 on November 18, 2009, 03:58:21 AM
really good work, but one question png image are good but with that fuc... IE always there is background grey around, how is possible remove it leaving png format?

one implementation , is possible JUSTIFY the text in description of section for have it more clean ?
look example of my text description in boards:

http://crazyzone.biz/prova/index.php

As u can see the text is not justify and is not good view
png pictures are blank in background so they take in the colour of the page it is placed on

edi67

Quote from: kingkingston on November 18, 2009, 04:41:38 AM
png pictures are blank in background so they take in the colour of the page it is placed on

Sorry but may be you DONT use IE 5.5 or 6 because in these browser png pic have grey background and not transparent, control

read bro
PNG Files Do Not Show Transparency in Internet Explorer

Web developers who work with PNG files can use the AlphaImageLoader filter, ... for Microsoft Internet Explorer, visit the following Microsoft Web sites: ...
support.microsoft.com/kb/294714
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

inter

Hello!
Excuse for my English language:)
If you do not accept pictures in a format.png can safely change them for a format .jpg or .gif
Personally to me all the same than my users use are their problem!
Theme Curve in general is badly displayed in ie6 - start up update the browsers
Sorry for my English

edi67

Quote from: Inter on November 21, 2009, 12:27:40 PM
Hello!
Excuse for my English language:)
If you do not accept pictures in a format.png can safely change them for a format .jpg or .gif
Personally to me all the same than my users use are their problem!
Theme Curve in general is badly displayed in ie6 - start up update the browsers

nichego vsem budit horosho
Cpacibo klassni mod ;)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

inter

#7
This Code For Theme Prof RC2:

BoardInrex.template.php

Find:

<h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>';

Replace:

<div style="float:left; margin-right: 6px; margin-left: 6px;"><div style="float: left; margin-right: 6px;">
            <img src="Themes/default/images/s-icons/', $board['id'], '.png" width="40" height="40" alt="*" title="', $board['name'], '" /></div></div><h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="Themes/default/images/s-icons/rss.png" alt="rss" /></a>';


MessageIndex.template.php

Find:

<h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>';

Replace:

<div style="float:left; margin-right: 6px; margin-left: 6px;"><div style="float: left; margin-right: 6px;">
            <img src="Themes/default/images/s-icons/', $board['id'], '.png" width="40" height="40" alt="*" title="', $board['name'], '" /></div></div><h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="Themes/default/images/s-icons/rss.png" alt="rss" /></a>';
Sorry for my English

scimmiotto

Loop code example:
The following statement is FALSE
The previous statement is TRUE.

dkharp

Hello,

This is a simple and cool little mod!  I currently have intsalled
QuoteMod Name     Version     
1.    SimplePortal    2.3.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Favourite (Favorite) Boards    1.1

Im running: Powered by SMF 2.0 RC2 | SMF © 2006–2009, Simple Machines LLC

I had to do a manual install due to a errors because of the favorite mod. But I am still not getting it installed right. can you look at this and tell me what I need to do to get both them to work?

atfosan

Is this mod completely compatible with 2.0 RC3?
my SMF project - school site: forum with PortaMx and SimpleSEF mods

atfosan

Quote from: Arantor on March 09, 2010, 10:00:50 AM
Given that RC3 is a little over 12 hours old, it's possible the author hasn't had time to check yet... a little patience perhaps?

I only asked... I have patience and I will wait for answer in needed time that author makes checks and changes.  ;)
my SMF project - school site: forum with PortaMx and SimpleSEF mods

cro.senator

lol, how to use this mod? after successful installation i havent seen any changes so far... where am i supposed to insert icon iDs? i use RC3

tnx guys...

teh_Krall

#13
Quote from: cro.senator on May 08, 2010, 01:10:31 AM
lol, how to use this mod? after successful installation i havent seen any changes so far... where am i supposed to insert icon iDs? i use RC3

tnx guys...

When he said simple he wasn't lying :D

There's really nothing to set, install it and it'll show up on your default board which uses the Core theme on SMF 2 RC3. If you want it to work on your other themes you have to copy the .png files from the mod to: YourTheme/images/s-icons.

----

Thanks for the simple and great mod Inter! 

AK_CCM

I love this mod and I use it with my forum at http://forum.pilze-bayern.de

Is it possible to add link-support to the icons?
It would be great, if the users could click on the icons to go into the boards.

Divaksh

#15
I wana fatch all images from default theme.

how to do that?

                if (file_exists($settings['theme_dir'] . '/images/s-icons/' . $board['id'] . '.png'))           
               {$s_icons=$settings['images_url']. '/s-icons/' . $board['id'] . '.png';}
            else
               {$s_icons=$settings['images_url']. '/s-icons/icon.png';}


wot changes shud i make?

Eudemon

i changed the board icon size in boardindex.template
   <td class="window icon"><img src="' . $s_icons . '" width="90" height="50" alt="*" title="', $board['name'], '" /></td>

but the icon size for child boards are still 40X40
what should i do if i want to make the child boards 90X50 also
i can't find the size option for child boards

thx

inter

Quote from: Eudemon369 on December 19, 2010, 05:26:43 PM
i changed the board icon size in boardindex.template
   <td class="window icon"><img src="' . $s_icons . '" width="90" height="50" alt="*" title="', $board['name'], '" /></td>

but the icon size for child boards are still 40X40
what should i do if i want to make the child boards 90X50 also
i can't find the size option for child boards

thx

MessageIndex.template.php
Sorry for my English

kingkingston


Eudemon

is there an option to remove the new feature lol

Advertisement: