Customizing SMF > Modifications and Packages

Simple Announcement Mod

(1/12) > >>

Chupko:
Simple Announcement Mod Support Topic     Link to ModAuthor:
Chupavac

Languages:
English

Compatibility:
1.1.12, 1.1.13, 1.1.16, 1.1.18, 2.0.2, 2.0.4

Screenshots:

In admin panel:


When Mod Installed:

Enjoy in Mod  ;)

Masterd:
Nice mod! :D

Chupko:
Ty Masterd =)

Arctos:
Hi,

I have a problem with using this mod in other than default theme.
I use As Theme and tryed manually instal this Mod but it not appear.
Maybe i did something wrong.


--- Code: ---//Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
', $txt['welcome_guest'], ' ';
}
              echo '
    </div>';
      echo '
<div id="news">
   <span class="smalltext"><b>', $txt[102], '</b>: <br />', $context['random_news_line'], '</span>
</div></div><br />';
//Start
//Simple Announcement Mod by Chupko
if (!empty($modSettings['annoc_enable_each']))
{
 echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; ">
', (empty($modSettings['annoc_title'])) ? $txt['annoc_title_default'] : $modSettings['annoc_title'], '</div></div>
        <table border="0" width="100%" class="tborder">
            <td class="windowbg2" valign="middle" align="left">
         ', (empty($modSettings['annoc_content'])) ? $txt['annoc_content_default'] : $modSettings['annoc_content'], '
         </td></table>';
}
// End
}

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
--- End code ---
Is this placed in good place of code or maybe code itself is invalid  or something?

Oh anyway i use v1.1.12 of SMF

Chupko:
can you attach the index.template.php ? :)

Navigation

[0] Message Index

[#] Next page

Go to full version