News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Tagging

Started by Fustrate, March 30, 2009, 12:50:59 AM

Previous topic - Next topic

Fustrate

Link to Mod



Simple Tagging v1.0



Introduction
A system for tagging your topics with keywords.

Features
o Tags can be added and edited via the post screen, or added individually on the topic display
o View a list of topics tagged with a keyword through ?action=tags;id=## or ?action=tags;name=keyword
o View the most-used keywords at ?action=tags;cloud

Support
Please use the modification thread for support with this modification. Personal messages for support are discouraged.

Languages
o English
o English UTF-8
If you have any translations for any other languages, I would be grateful if you would send them to me via PM or in the Mods topic.

Changelog
> Comment
+ Addition
- Error/bug fix

Version 1.0 Mar. 25th, 2009
> Original Release
Steven Hoffman
Former Team Member, 2009-2012

fords8

Good mod! Installed without a problem. And so far is working good on a site that has over 20 mods installed. Nice work Fustrate!

Fustrate

Good to hear :) 1.0.1 will include an auto-fill box for adding tags, like the PM's "to: " field has.
Steven Hoffman
Former Team Member, 2009-2012

fords8

Quote from: Fustrate on March 30, 2009, 02:06:05 AM
Good to hear :) 1.0.1 will include an auto-fill box for adding tags, like the PM's "to: " field has.
Very cool! Looking forward to it.

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Fustrate

Gahh, forgot to take those. It's 1:30 AM and I need to get up early, so I'll try to take them some time after my doctor's appointment at 3:30 this afternoon.
Steven Hoffman
Former Team Member, 2009-2012

JBlaze

Nice job Fustrate. Props.
Jason Clemons
Former Team Member 2009 - 2012

serunting

dude, i've installed this mod manually since i have to many mods and i did something wrong before.

I don't see the cloud.

I haven't done anything to the display.template.php.
I modified that one before so it's hard to find where is this code:

</td></tr>';
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>

Or any other codes in Dislay.template.php.

I just leave it as it is, since I couldn't find the code.

Where should I add the modification in Display.Template.php and why the cloud doesn't show up?




Sudhakar Arjunan

Thanks for this good mod Fustrate.

Will this mod be like vbgamer tagging system.

since i have used it , once i migrate to 2.0.rc1 . Then vbgamer tagging system is not installing.

So if i install your mod, will i able to use the same database of what is used by old mod after uninstalling it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

serunting - The code for the cloud is in Tagging.template.php and Tagging.php - make sure you upload those to their destinations. Also, attach your theme's Display.template.php file here and I'll attempt to do it for you.

A.SK - I'm planning on making a conversion script to go between the two (either way, just in case you'd ever want to go back)
Steven Hoffman
Former Team Member, 2009-2012

heinandar


Fustrate

soon :) I wrote this mod back in September, but never bothered to finish the 2.0 version until a week ago. Shouldn't take me too long to downgrade the code... unless I get sidetracked again...
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Quote from: Fustrate on March 30, 2009, 11:25:14 AM

A.SK - I'm planning on making a conversion script to go between the two (either way, just in case you'd ever want to go back)

since i have migrated to 2.0.RC1 i could not install it over my forum.

Even the author of the mod was not supporting it.

Kindly help us to fix this as early. So i will be using your mod with the existing setup of tags i have stored over years.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

serunting

Ok, attached is my display.template.php

I already put the tagging.php and tagging.template.php in place.

Fustrate

Here it is, all fresh and new.

Still working on the converter, A.SK
Steven Hoffman
Former Team Member, 2009-2012

Fustrate

Were you using vbgamer's mod before this?
Steven Hoffman
Former Team Member, 2009-2012

Arveles

turkish translate:
// Basit Etiketleme... tr çeviri <<Anadolu>>
$txt['tags'] = 'Etiketler';
$txt['tags_instructions'] = 'Bu konuya ait etiketler girebilirsiniz, etiketleri virgülle ayırınız.';
$txt['tags_admin'] = 'Etiketler';
$txt['tags_title'] = 'Etiketler';
$txt['tags_main'] = 'Ana';
$txt['tags_view'] = 'Hepsine Bak';
$txt['tags_settings'] = 'Ayarlar';
$txt['tags_edit'] = 'Etiketi Düzelt';
$txt['tags_view_single'] = 'Etikete Bak';
$txt['tags_cloud'] = 'Etiket Bulutu';
$txt['tags_name'] = 'Etiket Adı';
$txt['tagsadmin_settings_title'] = 'Ayarları Düzenle';
$txt['tagsadmin_view_title'] = 'Taglara Bak';
$txt['tags_description'] = 'Bu sayfayı görme izniniz var, etiketleri düzenleyebilir ya da silebilirsiniz.';

$txt['tags_topic_settings'] = 'Konu Ayarları';
$txt['tags_tag_cloud'] = 'Etiket Bulutu';
$txt['tags_maximum_length'] = 'En Fazla Etiket Uzunluğu';
$txt['tags_minimum_length'] = 'En Az Etiket Uzunluğu';
$txt['tags_maximum_tags'] = 'Konudaki En Fazla Etiket Sayısı';
$txt['tags_in_cloud'] = 'Etiket Bulutundaki Etiket Sayısı';
$txt['tags_minimum_text_size'] = 'Etiket Bulutundaki En Az Etiket Boyutu';
$txt['tags_maximum_text_size'] = 'Etiket Bulutundaki En Fazla Etiket Boyutu';
$txt['tags_settings_saved'] = 'Ayarları Kaydet.';

$txt['tags_no_topics_tagged'] = 'Üzgünüm, bu konu etiketlenmemiştir. Lütfen anahtar kelimeleri giriniz.';
$txt['tags_none_in_cloud'] = 'Üzgünüm, etiketlenmiş konu bulunmamaktadır!';
$txt['tags_tagged_with'] = 'konular bununla etiketlendi';
$txt['modify_tag'] = '[Düzenle]';
$txt['delete_tag'] = '[Sil]';
$txt['tags_are_you_sure'] = 'Gerçekten Bu Etiketi Silmek İstiyor Musunuz??';
$txt['tags_we_did_it'] = 'Etiketiniz Güncellenmiştir..';
$txt['tags_rename_instructions'] = '<b>Bilgi:</b> Etiketiniz için yeni bir isim giriniz. Etiketin yolu değişmeyecek, sadece adı değişecektir.. Eğer isim daha önceden var ise ikisi bu yeni isim altında birleşeceklerdir..';
Elveda SMF...

Fustrate

Quote from: <<Anadolu>> on March 31, 2009, 02:22:22 PM
ok ..no problem..thank you.
so were you? I'm working on an install script that will do the conversion for you, should be ready this afternoon (in California, that is).

And thank you for the translation - I'll be sure to get yours and serunting's translations in the next version of this mod.
Steven Hoffman
Former Team Member, 2009-2012

Özgür

Furstrate. Are you think "auto tagging" system.?

Ex : I want to all the "bird" in the title for topic tagget to "bird".

If you make this, i happy for work to prettyurl support for this mod.
So Long

Fustrate

<<Anadolu>> - There are also two more strings for Errors and Help, could you also translate those?

$helptxt['tags'] = '<b>Tag Settings</b><br />
Here you can view and manage your forum\'s tags.';
$txt['tags_cant_delete'] = 'That tag doesn\'t exist, so it can\'t be deleted!';


Özgür´ - it's not exactly that, no. It's when you start typing a tag name, and it will suggest an existing tag to use.
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: