News:

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

Main Menu

Tagging System For Topics

Started by SMFHacks.com Team, December 19, 2006, 10:59:20 AM

Previous topic - Next topic

vbgamer45

Yeah I just made a fix to it. Download the mod again and copy Tags.php  to your sources folder to fix that problem.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

L.G.S

Thanks VBGamer big help.

Sorry to keep buggin ya, where would I change the border colour in the tags page when you click a tag?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


vbgamer45

Tags.template.php that is controlled by the css tags though.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Greek

It works now.
I have just a question. Where appears the options in bold? I cannot find them.
Quote<?php
//Tagging System Version 1.0 by:vbgamer45 http://www.smfhacks.com
//Tags text strings
$txt['smftags_tags'] = 'Tags';
$txt['smftags_tagtosuggest'] = 'Tag To Suggest:';
$txt['smftags_popular'] = 'Popular Tags';
$txt['smftags_latest'] = 'Latest Tagged Posts';
$txt['smftags_resultsfor'] = 'Results for ';
$txt['smftags_suggest'] = 'Suggest Tag';
$txt['smftags_addtag'] = '[Add Tag]';
$txt['smftags_deletetag'] = '[Delete Tag]';
$txt['smftags_addtag2'] = 'Add Tag';
$txt['smftags_tagtoadd'] = 'Tag to Add';
//Tags Admin Settings
$txt['smftags_set_mintaglength'] = 'Minimum Tag Length';
$txt['smftags_set_maxtaglength'] = 'Maximum Tag Length';
$txt['smftags_set_maxtags'] = 'Max number of tags per topic';
$txt['smftags_err_deletetag'] = 'You do not have permission to delete the tag.';
$txt['smftags_err_notopic'] = 'No topic selected.';
$txt['smftags_err_notag'] = 'You need to enter a tag.';
$txt['smftags_err_mintag'] = 'The tag is smaller than the minimum tag length of ';
$txt['smftags_err_maxtag'] = 'The tag is greater than the maximum tag length of ';
$txt['smftags_err_toomaxtag'] = 'Tag limit per topic exceeded.';
$txt['smftags_err_permaddtags'] = 'You are not allowed to add tags to that topic.';
$txt['smftags_err_alreadyexists'] = 'That tag for that topic already exists.';
$txt['smftags_settings'] = 'Tags Settings';
$txt['smftags_pages'] = 'Pages: ';
$txt['smftags_savesettings'] = 'Save Settings';
///Results Display
$txt['smftags_subject'] = 'Subject';
$txt['smftags_startedby'] = 'Started by';
$txt['smftags_replies'] = 'Replies';
$txt['smftags_views'] = 'Views';
?>

Dannii

Oohhhhh nice I'll have to try this one :)
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

vbgamer45

Quote from: Greek on December 20, 2006, 04:25:38 AM
It works now.
I have just a question. Where appears the options in bold? I cannot find them.
Quote<?php
//Tagging System Version 1.0 by:vbgamer45 http://www.smfhacks.com
//Tags text strings
$txt['smftags_tags'] = 'Tags';
$txt['smftags_tagtosuggest'] = 'Tag To Suggest:';
$txt['smftags_popular'] = 'Popular Tags';
$txt['smftags_latest'] = 'Latest Tagged Posts';
$txt['smftags_resultsfor'] = 'Results for ';
$txt['smftags_suggest'] = 'Suggest Tag';
$txt['smftags_addtag'] = '[Add Tag]';
$txt['smftags_deletetag'] = '[Delete Tag]';
$txt['smftags_addtag2'] = 'Add Tag';
$txt['smftags_tagtoadd'] = 'Tag to Add';
//Tags Admin Settings
$txt['smftags_set_mintaglength'] = 'Minimum Tag Length';
$txt['smftags_set_maxtaglength'] = 'Maximum Tag Length';
$txt['smftags_set_maxtags'] = 'Max number of tags per topic';
$txt['smftags_err_deletetag'] = 'You do not have permission to delete the tag.';
$txt['smftags_err_notopic'] = 'No topic selected.';
$txt['smftags_err_notag'] = 'You need to enter a tag.';
$txt['smftags_err_mintag'] = 'The tag is smaller than the minimum tag length of ';
$txt['smftags_err_maxtag'] = 'The tag is greater than the maximum tag length of ';
$txt['smftags_err_toomaxtag'] = 'Tag limit per topic exceeded.';
$txt['smftags_err_permaddtags'] = 'You are not allowed to add tags to that topic.';
$txt['smftags_err_alreadyexists'] = 'That tag for that topic already exists.';
$txt['smftags_settings'] = 'Tags Settings';
$txt['smftags_pages'] = 'Pages: ';
$txt['smftags_savesettings'] = 'Save Settings';
///Results Display
$txt['smftags_subject'] = 'Subject';
$txt['smftags_startedby'] = 'Started by';
$txt['smftags_replies'] = 'Replies';
$txt['smftags_views'] = 'Views';
?>
Suggest a tag is not in yet. I am still thinking of things to add to the tagging system so send me some ideas.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

L.G.S

How about if someone makes a topic and doesn't add tags, the tags system automatically scans the topic and title and chooses the most relevant ones?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


vbgamer45

That's a little bit of work like what is the critera of tags that it will include and how does it deem what is important.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

L.G.S

#29
ok nevermind then, thought that's what ya was goin for with the unused word strings lol

edit: I think I know something which would be good.. Can we have it so that if you click Add Tags in a topic without tags, that we can add more than one at a time.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Greek

Quote from: vbgamer45 on December 20, 2006, 09:23:50 AM
Suggest a tag is not in yet. I am still thinking of things to add to the tagging system so send me some ideas.
Thanks for the answer.
I think that it doesn't need something more your mod. The most important is to execute its main target and as far it does it good enough  :)

Laibeus Lord

To be honest, I really don't know what's the use of "tags" in a forum.  But wth!  I already saw two non-SMF forums using tags!  So maybe it will really be useful one day, so download time and install time.... :D

Great job!!


stoecki

very nice mod! I have been waiting for a tag-mod and here it is.
it would be nice if you could implement the possibility to add more than one tag a time (like the way to add more than one attachment) and a possibility to manage all tags in admin-interface, for example delete a tag from all topics and such things. some statistics for the admins would also be nice.


thanks for this great mod.

KGIII

Ouch, this rocks hard enough to hurt my head. It hurt my head so much that...

Err...

If the post is imported from RSS from a WordPress blog AND is tagged already...

(You see where I'm going don't you?)

How can I use those tags as these tags? ;)

Same server at least but tags may well be parsed in RSS using the plugin...

That would make it the ultimate. Hell, I'd worship the ground you walked on if you could do it. I might already.

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?

KGIII

Some investigation shows that the tags aren't (silly me) sent with the RSS feed with WordPress plug-in but are stored (and easily found) in the database.

I use my blog's RSS feed to post the comments there to the News section of the forum. I use a tag system at the blog. I adore the tag ideals... Getting those tags automatically inserted is looking like it might be more complicated than I was hoping.

I did have an idea... Actually a few...

How about an option to change how many recently tagged topics are on the tags page?
How about letting people pick the weight for when tags are resized tags page?
How about letting people pick the font color for various tag sizes on the tags page?

I think those would be great additional features to have with the MOD actually. (I've been poking at it a bit. Once again, thanks. Simply fantastic work as always - enough to make me go rate it even.)

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?

vbgamer45

Updated the mod.
Fixed showing topics title from boards that they do not have permission to.

Will look into some features for the next major version.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harro

Just installed it, great mod!!
But would be even greater if you have seperate permissions for adding and removing tags to topics ;)

vbgamer45

Quote from: Harro on December 27, 2006, 07:36:10 PM
Just installed it, great mod!!
But would be even greater if you have seperate permissions for adding and removing tags to topics ;)
That's something I could do in the future.
Currently that permission is tied to the thread starter or people who have the manage tags permission.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harro

Yeah, I noticed.
But I want every member to have the possibility to add tags, but removing somebody else's tag shouldn't be allowed.

But it's a great mod.
It's a mod SMF needed already a long time ago ;)

karlbenson

#39
gr8 mod. However during some heavy testing i gave it, it threw up an error in my error log when there are no tags and I visit the tags screen.  When there are tags, this error does not appear.

On a complete brand spanking new install of SMF 1.1.1 (no mods, no custom skins) hosted on VPS. PHP running i think is 5.1.  Hope this helps.


admin   Today at 04:12:26 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: min() [<a href='function.min'>function.min</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 123

   admin   Today at 04:12:26 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: max() [<a href='function.max'>function.max</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 122

   admin   Today at 04:12:19 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: min() [<a href='function.min'>function.min</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 123

   admin   Today at 04:12:19 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: max() [<a href='function.max'>function.max</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 122

   admin   Today at 04:12:16 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: min() [<a href='function.min'>function.min</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 123

   admin   Today at 04:12:16 PM 
86.133.78.125     6229d472c780ab62d866886d3ab22a80 
http://sdvsraw2.com/index.php?action=tags 
2: max() [<a href='function.max'>function.max</a>]: Array must contain atleast one element
File: /home/sdvsraw2/public_html/Sources/Tags.php
Line: 122


Advertisement: