News:

Wondering if this will always be free?  See why free is better.

Main Menu

Topic & Board Note

Started by Akyhne, June 25, 2009, 12:16:06 AM

Previous topic - Next topic

Akyhne

Link to the mod

Topic & Board Note 1.0.3
By Akyhne

Compatibility
SMF 2.0.x


Introduction
Topic NoteThis modification gives you the possability add a description above a topic. This will then show on all pages for a topic.
Imagine you have announced some event in a topic in your forum. You find out the start of the event has changed. What do you do?
You could announce the changes in a new post in the topic. You could also edit the first post where you probably have the event informations anyway. But who would notice?
Now with this mod you go to the first post of the topic and edit the topic info field. Then everyone will notice. The message will show on all pages of the specific topic.

Board Note This feature can be used to specify a text inside a specific board.



Features
o Adds a headline box above the topic where you have provided a topic text.
o Controllable permission per board and member group.
o Enhanced panel in the "Modifications"- panel where you can control such things as layout, color, enable/disable BBC etc.
o Board Note! The same as with topic note. There's no settings for this feature, as only admins have access to add board notes. Examples of use...
  • Add an explenation to a board instead of having a sticky topic to do the same.
  • having an image as teaser for the board
  • Link to important topics within the board or subboards (using )
Board Note supports HTML as well as BBC
o Costum view of board notes added.


Installation
Simply install the package to install on the SMF Default Core Theme ONLY. Remember to uninstall previous versions!
NOTE: You will have to edit Display.template.php, ManageBoards.template.php, Post.template.php as well as MessageIndex.template.php for themes using custom versions of these files!

REQUIRED: A manual edit is REQUIRED for ALL themes (other than SMF Core Default) which have a custom Post.template.php, ManageBoards.template.php or Display.template.php, unless the automatic installation feature of modding custom themes will work for you.


Unistallation
Just uninstall the mod as usual from the package center.


Where to change settings for the mod
This mod will only work in boards where you enabled the option. Just go to the board where you will allow topic announcements, and click the new option box called "Allow Topic Notes".
(New) From version 0.4+, there are also added member group permission.
Besides that, you can find additional options in the admin center, to change how the text should appear. Goto Admin -> Modifications and choose "Topic Note" from the menu.


Additional notes
When you create an event from the calendar, you can not add a note right away. Post the event, then browse to the first post in the event and click the 'modify' button to edit the post. From there, you can edit the topic note if permissions allow this.


Supported languages
English
English British
Danish
Turkish

Thanks to Antes for the Turkish translation.


Changelog

0.1 8th June 2009
o First beta

0.2 12th June 2009
o Second beta

0.3 19th June 2009
o Changed name from Topic Info to Topic Note through the mod

0.3.1 21th June 2009
o A minor coding error corrected

0.4 26th June 2009
o Added member group permission to the mod

0.4.1 30th June 2009
o Solved a bug when moving and redirecting a topic. Solved a text bug.

0.4.2 17th July 2009
o SMF 2.0 RC1.2 compability

0.4.3 29th August 2009
o corrected a small error and added Turkish language

0.5 13th November 2009
++ Added board note as well. The mod will now be named 'Board and topic note' (works only for RC2 and up)
o Added 2.0 RC2 support
! Redesigned some of the code
+ Added Danish and Turkish to the package

0.6 27th April 2010
Added RC3 support

0.6a 11th June 2010
Found a small bug in the installation that removed a few permission settings in admin center.

0.7 16th July 2010
! Arghh.. spiders are making troubles. Fixed a problem when a topic is hidden to a user or a spider.

0.8 2nd November 2010
Updated to work with SMF 2 RC4

0.9 14th December 2010
! Fixed undefined index error when creating an event from the calendar
- Removed 2.0 RC1, 2.0 RC1-1&  2.0 RC1.2 support
+ Added a redirect to the mods settings after installation

0.9.1 12th february 2011
+ SMF2 RC5 support added

1.0 29th july 2011
+ SMF2.0 support - out of beta

1.0.1 10th june 2012
+ SMF 2.0.x support
+ Added more predefined views, "Note View", "Roundframe View" and "Information View"
! Renamed the mod from "Topic Note" to "Topic & Board Note"

1.0.2 2nd july 2012
! Fixed topic notes being deleted when editing events in the calendar, linked to the topic. Note you can't add a topic note to the creation of the event, but after the event has been created, you can add it the usual way by editing the first post.

1.0.3 4th july 2012
+ Added custom view for board notes

Sevgiformu.com


Marcus Forsberg

The link was there but the "Link to mod" text was gone. I fixed it.
Good mod Akyhne.

Sevgiformu.com

Thank you, you're a great manager Nas


Thank you also very good in a mode Akyhne 


Akyhne

Quote from: Smog on June 25, 2009, 06:36:47 AM
Thanks for the mod, can be useful. However only when it is enhanced with membergroup permissions.

That will probably be in a near future version.


Akyhne

Added member group permissions in version 0.4.

Sudhakar Arjunan

Quote from: Akyhne on June 25, 2009, 10:06:20 PM
Added member group permissions in version 0.4.

Good mod and i was expecting this member group permission.

Thank you.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum


Groundhog

#10
Thanks Akyhne for a handy mod. :)

Hey and it comes to life when you use the marquee bbc

Akyhne

Never thought of that ;)

Antes

#12
Nice Mod :)

Here is Turkish Translate

ManageBoards.turkish

$txt['mboards_topic_note']  = 'Konu Notlarına İzin Ver';
$txt['mboards_topic_note_desc'] = 'Bu özellik sayesinde yazarın koyacağı ek notlar konunun üst kısmında yer alır';


Modifications.turkish

$txt['topicnote'] = 'Konu Notları';
$txt['topicnote_desc'] = 'Konu Notları konu sahibine konu hakkında önemli bilgileri yazmasını sağlar - tıpkı son dakika değişikliği gibi.';
$txt['topicnote_setting'] = 'Konu Notları Ayarları';
$txt['topicnote_exp'] = 'Konu Notları için kontrol ayarları';
$txt['topicnote_bbc'] = 'Konu Not bölümünde BBCyi aktif et';
$txt['topicnote_bbc_desc'] = 'Not: BBC Kod seçeneğini kapatmanız halinde bile otomatik olarak kodlar silinmeyecek ve gösterilmeye devam edilecektir!';
$txt['topicnote_textcolor'] = 'Yazınız için bir renk seçin';
$txt['topicnote_textcolor_desc'] = 'Sadece BBC kapatılmış ise işe yarar. Sadece Web renkleri uygulanabilir!';
$txt['topicnote_multiline'] = 'Tek Satır veya Çoklu Satır';
$txt['topicnote_multiline_desc'] = 'Seçiniz : Tek Satır Görünümü , Çoklu Satır Görünümü.';
$txt['topicnote_multiline_no'] = 'Tek Satır Kullan';
$txt['topicnote_multiline_yes'] = 'Çoklu Satır Kullan';
$txt['topicnote_view'] = 'Notun Görüntülenme Şeklini Seçin';
$txt['topicnote_view_desc'] = 'Bir Şey';
$txt['topicnote_header_view'] = 'Üstbilgi Görünümünü Kullan';
$txt['topicnote_box_view'] = 'Kutu Görünümünü Kullan';
$txt['topicnote_custom_view'] = 'Şahsi Görünümü Kullan';
$txt['topicnote_html'] = 'Şahsi HTML Kod Görünümü';
$txt['topicnote_html_warning'] = 'Şahsi HTML Kod Görünümünüz [note] tagını içermemektedir';
$txt['topicnote_html_desc'] = 'Bu bölümde kendi HTML kodunuzu yerleştirerek not kutunuzun nasıl görüneceğini düzenliyebilirsiniz . Kodları [note] tagı ile ayır<br />Not: Bu görüntüleme şekli sadece \Şahsi Görünümü Kullan/ ibaresi işaretlendiyse çalışır.';
$txt['topicnote_boardnotice'] = 'Bölümlerde Konu Notları ikonunu göster';
$txt['topicnote_boardnotice_desc'] = 'Eğer bu opsiyon seçilmişse, bölümde not yazılmış konularda uyarı üçgeni gösterilecektir';
$txt['permissionname_make_topic_note'] = 'Konu Notu Yarat'


also i find a little text bug i think :/

Akyhne

Hi Antes. Thx for the translation.

This string is untranslated:
$txt['topicnote_header_view'] = 'Use topic header view';

Yeah, I can see there's an error. I will check up on it.

Could you test the attached package? If it works, I will attach it to the first post in this topic.

Antes

Quote from: Akyhne on June 27, 2009, 01:53:59 PM
Hi Antes. Thx for the translation.

This string is untranslated:
$txt['topicnote_header_view'] = 'Use topic header view';

Yeah, I can see there's an error. I will check up on it.

Could you test the attached package? If it works, I will attach it to the first post in this topic.

worked nice , updated my post - i'm glad if you use copy/paste cause its being little comic ,

eg : satır / satir - notları / notlari ( we say EnglishTurkish to those types xD )

( opened topic in Turkish/Mod Translate part ... )

Alpay

interesting, take attention mod :)

Thanks.

gidrox1

Help please....

Has established fashions, like all has well risen without errors, in a new topic I write the note, but it is not displayed

Alpay

Quote from: gidrox1 on June 28, 2009, 08:59:42 PM
Help please....

Has established fashions, like all has well risen without errors, in a new topic I write the note, but it is not displayed

admin> boards > Modify Boards > modify > Allow Topic Notes (okey)

Akyhne

You have to enable topic notes for all boards where you want to use the topic note.

Özgür

Akhyne if i try to move any topic, i get this error
The database value you're trying to insert does not exist: topic_note
So Long

Advertisement: