cotonti.com : forums sections icons https://www.cotonti.com Son konu mesajları Cotonti en Mon, 01 Dec 2025 10:35:05 -0000 Trustmaster It doesn't seem to be possible anymore without a plugin, the sections code has been changed too much.

]]>
Per, 28 Haz 2012 06:50:20 -0000
fraze yep those are the ones.  rather than an individual icon for each forum i prefer having it work like phpbb/vbulletin where there are 3 icons depending on the forum status. :)  the code i posted was given to me by trustmaster for genoa - doesnt appear to work with siena tho.

]]>
Per, 28 Haz 2012 06:42:31 -0000
Twiebie For forums.sections.tpl?

]]>
Çrş, 27 Haz 2012 22:38:49 -0000
fraze ah not those icons - i'm talking about the icons in the section part of the forums...

]]>
Çrş, 27 Haz 2012 22:00:11 -0000
Twiebie Overwrite the default ones with resource strings in themename.php

$R['forums_icon_posts'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts.gif" alt="'.$L['forums_nonewposts'].'" />';
$R['forums_icon_posts_hot'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_hot.gif" alt="'.$L['forums_nonewpostspopular'].'" />';
$R['forums_icon_posts_locked'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_locked.gif" alt="'.$L['forums_locked'].'" />';
$R['forums_icon_posts_moved'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_moved.gif" alt="'.$L['forums_movedoutofthissection'].'" />';
$R['forums_icon_posts_new'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_new.gif" alt="'.$L['forums_newposts'].'" />';
$R['forums_icon_posts_new_hot'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_new_hot.gif" alt="'.$L['forums_newpostspopular'] .'" />';
$R['forums_icon_posts_new_locked'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_new_locked.gif" alt="'.$L['forums_newpostslocked'].'" />';
$R['forums_icon_posts_new_sticky'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_new_sticky.gif" alt="'.$L['forums_newpostssticky'].'" />';
$R['forums_icon_posts_new_sticky_locked'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_new_sticky_locked.gif" alt="'.$L['forums_newannouncment'].'" />';
$R['forums_icon_posts_sticky'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_sticky.gif" alt="'.$L['forums_sticky'].'" />';
$R['forums_icon_posts_sticky_locked'] = '<img class="icon" src="https://www.cotonti.com/themes/themename/img/system/posts_sticky_locked.gif" alt="'.$L['forums_announcment'].'" />';
$R['forums_icon_subforum'] = '<img class="icon" src="https://www.cotonti.com/modules/forums/img/subforum.png" alt="{PHP.L.Subforum}" />';
]]>
Çrş, 27 Haz 2012 20:22:40 -0000
fraze i used this code successfully with genoa, but it doesnt appear to work with siena..is any of the statements incorrect for siena?

 

<!-- IF {PHP.fsn.fs_state}  -->
   <img src="https://www.cotonti.com/themes/{PHP.theme}/img/forums_locked.png" alt="" />
   <!--
   <!-- ENDIF -->
   <!-- IF {PHP.fsn.fs_newposts}  -->
   <img src="https://www.cotonti.com/themes/{PHP.theme}/img//forums_new.png" alt="" />
   <!-- ELSE -->
   <img src="https://www.cotonti.com/themes/{PHP.theme}/img/forums.png" alt="" />
   <!-- ENDIF -->
]]>
Çrş, 27 Haz 2012 20:03:13 -0000