News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Empty Boards Notifications

Started by Sindorf, December 11, 2006, 02:39:53 PM

Previous topic - Next topic

Sindorf

Link to Mod


For SMF 1.1.3 => EBN102b.zip

This mod will enable empty boards notification in the "Last post by" column.

If no posts are present in a board, this mod will add "Open the first topic" message.

If Link Mode is enabled, this message becomes a link, pointing to "New Message" window.

If you enable Message Index text, this mod will show a message saying No messages are present.

For details, you can refer to the pictures.

Picture Legend:

1. Empty Boards Notifications enabled.
2. Link Mode enabled.
3. Empty Boards Notification in Message Index enabled.

For translations, you can PM me.

VERY VERY IMPORTANT NOTE: DON'T FORGET TO ENABLE THE MODIFICATION FROM ADMIN PANEL

FEATURES AND OPTIONS -> EMPTY BOARDS -> ENABLE EMPTY BOARDS

Languages Supported:
- English
- Turkish

Version Legend:
1.0.0 : Initial release
1.0.1 : Uninstall issues resolved. Small additions to message index.
1.0.2 : SMF 1.1.1 compatibility update.
1.0.2a: SMF 1.1.2 compatibility update.
1.0.2b: SMF 1.1.3 compatibility update.

Comments are always welcome! :)

Gourgi

#1
SMF tells me that this mod isn't compatible with 1.1.2 version.
I just edited the .xml file and it works with SMf 1.1.2 .
i attached the mod i used.
basically it is the same package as the current with only these 2 changes :
In the package-info.xml file i replaced this <install for="1.1 RC3, 1.1, 1.1.1">
with this <install for="1.1 RC3, 1.1, 1.1.1, 1.1.2">
and also replaced this <uninstall for="1.1 RC3, 1.1, 1.1.1">
with this <uninstall for="1.1 RC3, 1.1, 1.1.1, 1.1.2">


please update the package  ;D

For those who 'll download my attached package :
BACKUP YOUR FORUM from ftp before applying !!!!
Όσο ζώ, μαθαίνω ...

Sindorf

Thanks Gourgi! I have updated the mod. :)

sermonator

just tried to install on 1.1.2 and got test failed on mod settings??

What to do

KGIII

Did you try the one attached in this thread? What errors did you get?

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

forumnet.be

I just tried to install this mod (the new version for SMF 1.1.2) but I got an error message. (see attachment)
If I do not use the Turkish language, would that create problems if I continue
with installation?

I also added attachment with current mods installed.

netwerker.
www.forumnet.be/aarschot
www.programsofprofit.com/forum
www.netwerkers.info

SlammedDime

Quote from: verduyckt on May 12, 2007, 04:32:41 PM
I just tried to install this mod (the new version for SMF 1.1.2) but I got an error message. (see attachment)
If I do not use the Turkish language, would that create problems if I continue
with installation?

I also added attachment with current mods installed.

netwerker.
Just go ahead with installation and it will still work fine.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

forumnet.be

I just installed it, but no "empty board notifications" for me ...  :'(

Nothing happened at all.

What went wrong?

netwerker.
www.forumnet.be/aarschot
www.programsofprofit.com/forum
www.netwerkers.info

Sindorf

Quote from: verduyckt on May 12, 2007, 04:32:41 PM
I just tried to install this mod (the new version for SMF 1.1.2) but I got an error message. (see attachment)
If I do not use the Turkish language, would that create problems if I continue
with installation?

I also added attachment with current mods installed.

netwerker.

It should not create that kind of error. I have checked the file, and there is still "ignore" line on the languages other than English.

Quote from: verduyckt on May 12, 2007, 08:21:13 PM
I just installed it, but no "empty board notifications" for me ...  :'(

Nothing happened at all.

What went wrong?

netwerker.

You can check files (ModSettings.php , BoardIndex.template.php and MessageIndex.template.php) for the installation and if needed you should add missing lines by hand.

Also, if you use languages other than English, you have to add proper lines to language files;  Modifications.your_language.php and index.your_language.php

Mick.

Hey yall. I just installed this mod and it works on default theme. However,it doesn't work on a custom theme. (custom theme does not have a boardindex.php)


What gives?

candidosa2

when update dont forget portuguese

<file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net
//Admin - Text Strings
$txt['EmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;es';
$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';
$txt['EnableEmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;ess';
$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notifica&ccedil;&atilde;o nas Mensagem Index';
//Forum - Text Strings can be found in index.portuguese_brazilian.php
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net
//Admin - Text Strings
$txt['EmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;es';
$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';
$txt['EnableEmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;ess';
$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notifica&ccedil;&atilde;o nas Mensagem Index';
//Forum - Text Strings can be found in index.portuguese_brazilian-utf8.php
]]></add>
</operation>
</file>



<file name="$themedir/languages/index.portuguese_pt.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf
//Forum - Text Strings
$txt['messageindex_empty_message'] = 'N&atilde;o h&aacute; postes neste f&oacute;rum. Voc&ecirc; pode ser o primeiro a postar a primeira mensagem!';
$txt['boardindex_empty_message'] = 'Seja o primeiro a publicar nesta quadro!';
]]></add>
</operation>
</file>
<file name="$themedir/languages/index.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf
//Forum - Text Strings
$txt['messageindex_empty_message'] = 'N&atilde;o h&aacute; postes neste f&oacute;rum. Voc&ecirc; pode ser o primeiro a postar a primeira mensagem!';
$txt['boardindex_empty_message'] = 'Seja o primeiro a publicar nesta quadro!';
]]></add>
</operation>
</file>


<file name="$themedir/languages/index.portuguese_brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf
//Forum - Text Strings
$txt['messageindex_empty_message'] = 'N&atilde;o h&aacute; postes neste f&oacute;rum. Voc&ecirc; pode ser o primeiro a postar a primeira mensagem!';
$txt['boardindex_empty_message'] = 'Seja o primeiro a publicar nesta quadro!';
]]></add>
</operation>
</file>
<file name="$themedir/languages/index.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf
//Forum - Text Strings
$txt['messageindex_empty_message'] = 'N&atilde;o h&aacute; postes neste f&oacute;rum. Voc&ecirc; pode ser o primeiro a postar a primeira mensagem!';
$txt['boardindex_empty_message'] = 'Seja o primeiro a publicar nesta quadro!';
]]></add>
</operation>
</file>



<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net
//Admin - Text Strings
$txt['EmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;es';
$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';
$txt['EnableEmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;ess';
$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notifica&ccedil;&atilde;o nas Mensagem Index';
//Forum - Text Strings can be found in index.portuguese_pt.php
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net
//Admin - Text Strings
$txt['EmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;es';
$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';
$txt['EnableEmptyBoards'] = 'Quadro vazio de Notifica&ccedil;&otilde;ess';
$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notifica&ccedil;&atilde;o nas Mensagem Index';
//Forum - Text Strings can be found in index.portuguese_pt-utf8.php
]]></add>
</operation>
</file>

Advertisement: