new in forums
| 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="themes/{PHP.theme}/img/forums_locked.png" alt="" />
<!--
<!-- ENDIF -->
<!-- IF {PHP.fsn.fs_newposts} -->
<img src="themes/{PHP.theme}/img//forums_new.png" alt="" />
<!-- ELSE -->
<img src="themes/{PHP.theme}/img/forums.png" alt="" />
<!-- ENDIF -->
|
| Twiebie |
|
|---|---|
|
Overwrite the default ones with resource strings in themename.php
$R['forums_icon_posts'] = '<img class="icon" src="themes/themename/img/system/posts.gif" alt="'.$L['forums_nonewposts'].'" />';
$R['forums_icon_posts_hot'] = '<img class="icon" src="themes/themename/img/system/posts_hot.gif" alt="'.$L['forums_nonewpostspopular'].'" />';
$R['forums_icon_posts_locked'] = '<img class="icon" src="themes/themename/img/system/posts_locked.gif" alt="'.$L['forums_locked'].'" />';
$R['forums_icon_posts_moved'] = '<img class="icon" src="themes/themename/img/system/posts_moved.gif" alt="'.$L['forums_movedoutofthissection'].'" />';
$R['forums_icon_posts_new'] = '<img class="icon" src="themes/themename/img/system/posts_new.gif" alt="'.$L['forums_newposts'].'" />';
$R['forums_icon_posts_new_hot'] = '<img class="icon" src="themes/themename/img/system/posts_new_hot.gif" alt="'.$L['forums_newpostspopular'] .'" />';
$R['forums_icon_posts_new_locked'] = '<img class="icon" src="themes/themename/img/system/posts_new_locked.gif" alt="'.$L['forums_newpostslocked'].'" />';
$R['forums_icon_posts_new_sticky'] = '<img class="icon" src="themes/themename/img/system/posts_new_sticky.gif" alt="'.$L['forums_newpostssticky'].'" />';
$R['forums_icon_posts_new_sticky_locked'] = '<img class="icon" src="themes/themename/img/system/posts_new_sticky_locked.gif" alt="'.$L['forums_newannouncment'].'" />';
$R['forums_icon_posts_sticky'] = '<img class="icon" src="themes/themename/img/system/posts_sticky.gif" alt="'.$L['forums_sticky'].'" />';
$R['forums_icon_posts_sticky_locked'] = '<img class="icon" src="themes/themename/img/system/posts_sticky_locked.gif" alt="'.$L['forums_announcment'].'" />';
$R['forums_icon_subforum'] = '<img class="icon" src="modules/forums/img/subforum.png" alt="{PHP.L.Subforum}" />';
|
| fraze |
|
|---|---|
|
ah not those icons - i'm talking about the icons in the section part of the forums... |
| Twiebie |
|
|---|---|
|
For forums.sections.tpl? |
| 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. |
| Trustmaster |
|
|---|---|
|
It doesn't seem to be possible anymore without a plugin, the sections code has been changed too much. May the Source be with you!
|