News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Tagging System For Topics

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

Previous topic - Next topic

vbgamer45

Yeah for now. It does not check for deleted topics.
Community Suite for SMF - Grow your forum with 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

Slack

Is there a way to get a listing of ALL tags?  It seems of you just list "popular" tags -- it leaves things wide open for users to create duplicate tags.  What would be nice: when a user clicks "add tag" a picklist of existing tags appears and they can either pick an existing tag or enter a new one.

halitayarci

I have a small problem with this mod. When English language is selected the strings are shown however after changing the language they disappear. I have created Tags.turkish.php and Tags.german.php files manually.
hxxp:mustafau.com [nonactive]

vbgamer45

That will happen if use other languages you will need to copy the text strings and from modifications.english.php to modfications.yourlanguage.php
Community Suite for SMF - Grow your forum with 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

@ngel

Why the TAGS menu is displayed in the main menu even if a user is not logged ?

At this time, I added this if (($context['user']['is_logged']) && (allowedTo('smftags_suggest')))before the line
echo ($current_action == 'tags' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '


in the file Index.Template.php

I also see that the Suggest Tags in Permissions is not displayed so, I changed this in the file ManagePermissions.Php
before'smftags' => array(
'smftags_manage' => false,

after'smftags' => array(
'smftags_suggest' => false,
'smftags_manage' => false,


rem : these informations was also missing in the tags.xml from the installation



vbgamer45

The suggest tags is not built in yet.
Community Suite for SMF - Grow your forum with 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

@ngel

You're right but I needed a "solution" to avoid the display the TAGS menu in main-menu for any user.

Thanks for this powerfull mod.

geezmo

Is it possible to have the tags be placed inside a block from the Ad Management Mod? I want to place the tags at the end of every post.

Patxi

one suggestion to think about:

does it make sense to enhance the "tags" table with  a "parent"-tag. That means you could create tags in different levels => TAG-Tree

so if every new tag would be grouped to the right parent-tag than a "forum-table of content" could be generated automatically.
the best would be, if the order of this tree could be edited in the admin-panel.

what do you think? is it to complicated to program?

geezmo

Quote from: geezmo on January 18, 2007, 02:34:38 AM
Is it possible to have the tags be placed inside a block from the Ad Management Mod? I want to place the tags at the end of every post.

Anyone?

vbgamer45

I am not sure I don't know the ad management mod.
Community Suite for SMF - Grow your forum with 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

geezmo

It's this one. It lets you easily put ads (or any php or html code) almost anywhere in the forum, the header, footer, right-side block, left-side block, below the nav menu, after the last post, etc.

Back to my question. Is there a simple code I can use to show the cloud tag? I'll just need to copy this code, paste it in one part of the forum (like a sidebar), then the tag cloud appears there.

webfan

#72
Great Mod again, vbgamer45  :)
Only that my pages now have 3 xml errors at all  >:(
All the trouble is, that there are not 50 or 1000 errors, only 3, and I cant find them.
I tried to delete two lines of  </td></tr></table> in tags.template.php
But I'm not really sure.
Now I really have to go to sleep.

Thank you for working on our SMF's  :)

EDIT:
I changed
//Tagging System
echo '<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="windowbg">
<b>', $txt['smftags_topic'], '</b>';

in display.template.php to
//Tagging System
echo '<b>', $txt['smftags_topic'], '</b>';

I don't know how, but the pages (postings) now pass validation.


crud3w4re

What is this TAG MOD for? Like... search engines?
www.anoniche.com
Join my site ...please :)

webfan

QuoteWhat is this TAG MOD for?
It's written in your forum http://crud3w4re.com/index.php?topic=89.0 .
QuoteLike... search engines?
First, it is usefull for searching relevant topics by a human user.
Here a discussion, unfortunatly in german, about what is the difference between tags and categories.
http://forum.developers-guide.net/showthread.php?t=4902
As summary I would say tags are more flexibel, "free", compared to "hierarchical" categories.
Experimentally, you can add the tags to your keywords (index.template.php), to make it relevant for search engines, too (adjust YOUR_KEYWORDS to your keywords string var):
foreach ($context['topic_tags'] as $i => $tag)
{
$YOUR_KEYWORDS.=', '.$tag['tag'];
}


mfg

[Lucien]

#75
HeY this is really a great mod!! Installed it and works like a charm!

But i have a few questions, is it possible when editing the first post to add some tags, or can this only be done when starting a new topic? I mean adding tags to topics that were not tagged before..

And where do i delete tags from topics that are deleted.. Sorry if this was allready asnwered, but i did not find it anywere..

But again this is a great mod, thank you!!
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Ataraxicstorm

This is a really cool mod, theres just one thing I cant figure out how to alter.

As it is, the tags, when first used, start at the top and eventually disappear of the tag cloud no matter how many times its used after that (unless its set to show 1000's lol), is there anyway to set it up so when a new topic is posted with a tag already in use, that tag gets moved back to the front of the tag cloud.... if that makes any sense lol

Lew Cipher

Installed today. I had to hand mod Post.php but then it seems to work great.

Version: SMF 1.1.2
Many mods installed

casp3r

Stupid question - but how do I get into the admin for this mod? :)

Thanks
Aviation forum & gallery
www.niaviation.co.uk

vbgamer45

Its in your Admin CP. Under Tags Configuration
Community Suite for SMF - Grow your forum with 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

Advertisement: