XF 1.5 Thread Tagging

Tags are a common method of adding keywords to content to aid searching and discovery. In XenForo 1.5, we're adding support for applying tags to threads, as well as a framework for add-ons to add tags to their own content types.

upload_2015-6-25_12-53-21.webp


Thread tags apply to the thread itself (rather than individual posts), so they are displayed at the top of the thread view, independent of any post.

Clicking any tag will take you to a page displaying all content that has that tag attached to it:

upload_2015-6-25_12-54-22.webp


These results pages will be accessible to search engines (and of course end users) to help them relate the tagged content to each other.

To edit the tags in an existing thread, clicking the "edit" link shown in the first screenshot will bring up an overlay with a tag editor:

upload_2015-6-25_12-55-15.webp


When typing a tag in, auto-complete options will be displayed.

Tagging Options
If you are allowing untrusted users to apply tags, it may be useful to apply some limits. To do this, there are a number of options:

upload_2015-6-25_12-55-50.webp


These options cover limits over the amount of tagging an individual user can do and the actual structure of the tags. Note that tags will have some normalization applied (lower casing, white space adjustments, etc) independent of any structure limits.

Tagging Permissions
There are also a number of permissions that allow you to control who can tag content:
  • Create new content tag (global) - this controls whether a user can create an entirely new tag. If they do not have this permission (but have permission to apply tags), the user will only be able to use a tag that has already been created.
  • Bypass user content tag limit (global) - having this permission allows the user to bypass the "Max Content Tags Per User" option.
  • Tag thread by self (global and per forum) - this permission allows a user to apply tags to threads they create. By default, they will only be able to edit the tags they applied to the thread.
  • Tag thread by anyone (global and per forum) - this permission allows a user to apply tags to threads created by anyone. Like above, they will generally only be able to edit the tags they applied.
  • Manage tags by others in own thread (global and per forum) - this permission extends the tag management to control any tag that has been applied to their own thread, regardless of who applied it.
  • Manage tags by anyone (global and per forum) - this is a moderator-level permission that allows full tag management.
Admin Tag Management
Admins can manage tags through the admin control panel. They are given a list of tags, including filtering and sorting options:

upload_2015-6-25_12-57-55.webp


Editing a tag gives the following options:

upload_2015-6-25_12-58-13.webp


Normally, when a tag is created, the "URL version" is automatically generated. This is what will be displayed in the URL when viewing the tag results page (example.com/community/tags/tag-name-here/). Normally, this is automatically generated from the user entered tag by deaccenting and normalizing, along with some extra processes to ensure uniqueness. However, an admin can manually override this if desired.

Normally tags will be removed when they are no longer used (specifically, when their last usage is removed). Choosing to make a tag permanent prevents this. This is mostly significant for communities where admins will create a list of valid tags and not allow users to add their own.

Deleting a tag should be straightforward enough. Merging tags allows you to change all references to tag X into tag Y.

Tag Searches
Tag searching is exposed via a new tab on the search pages:

upload_2015-6-25_12-59-19.webp


This allows searching by a single tag or multiple tags. Entering multiple tags will only return content with all tags applied.

Below this, we display a tag cloud showing the most popular tags with various "weights" to indicate how popular they are. There are some options that control what is included in the tag cloud:

upload_2015-6-25_12-59-49.webp


In terms of searching itself, tags are included as part of the content's title, allowing the text of the tag to be searched. With XenForo Enhanced Search, this automatically increases the relevancy of a result matching a tag. Tags are also indexed as "metadata" internally which means they can be searched via a non-keyword method. This is not exposed by default outside of the dedicated tag search page.

Tagging for Developers
Like many other systems in XenForo, the tagging framework is implemented in a content-agnostic way. This allows tagging to be added to many content types easily. Developers wishing to add tagging to their content mostly just need to implement the necessary handler class and display the tags on their content pages.

We intend on releasing updates to our official add-ons to add support for tagging.



That's all for today. Until next time...
 
Wooohooo!! So. Very. Happy. About. This.

Thank you, XF team, for adding this to the software. :D

I'm struck by how many people are suggesting features related to tagging. I want all of those features myself!

However, what I am especially grateful for is that now that this is being added to the core, the addon development community will soon be able to start making addons to provide these same features. I loved XenTag, but there was never going to be an addon economy for extending it. Now, if I really want something, I can hire a developer or code it myself, and I have a sustainable way of bringing that code forward with me.

Related to extensibility, I love how the API is content agnostic. It's perfect for extending! It shows why it's so important for tagging to be in the core.

So, thank you! You've made some customers very happy. :) Thanks for listening to that feedback.
 
Last edited:
Some thoughts about how helpful tagging is to SEO...

Search engines seem to be using other signals more and more, but the link graph will always be a valuable source of information for them, and the more we can improve it (including with anchor text) the better we can do with SEO, particularly with long tail searches (where forums can thrive). Of course, it's also terrific for usability and helping people find great old threads related to their interests.

I've written several detailed posts about the plusses and minuses of tagging it in a thread entitled "XF SEO Tweaks."

The core issue, as you know, is that most forums have some really amazing threads and quite a few weak ones. Unfortunately, once the amazing threads fall of the first page of threads for any subforum, they have almost no inlinks with any pagerank. By tagging our best threads, we can create a network of links between our best content. By adding a tag cloud to a high pagerank page, we can send pagerank to the entire network of "best threads."

Of course, this is just a starting point for thinking about the SEO aspects of tagging, so I provided our strategies for maximizing the benefits and avoiding possible pitfalls in the following post:
http://xenforo.com/community/threads/xf-seo-tweaks.67500/#post-710064

I'm a big fan of "curated" lists of tags, like are used on Stack Overflow and Wikipedia. You can implement this in XenTag by setting the permissions so that only certain user groups can make new tags. This is exactly what Stack Overflow does and based on their SEO performance it seems to work. Panda made it clear that Google is concerned about thin content on a site-wide basis, so curating the tag list can be key, especially in small and medium forums. I think that using XenTag's description field can also help to avoid thin content issues.

I describe the research I've done in how the smart people at Stack Overflow and the entire Stack Exchange network use a curated list of tags to improve their SEO in the following post:
http://xenforo.com/community/threads/xf-seo-tweaks.67500/#post-710068
 
Just out of curiosity, I wonder how hard would it be for someone to write an addon that scans new or edited posts for hashtags (similar to how @mentions work) and then attempts to automatically add a thread tag.

With tagging being so new in the core, it seems that there are some gaps in the addon marketplace relating to tagging.
 
@Mike Everything else is looking great but why the Tag Cloud is displaying under search engine page and do not have its own dedicated page, ie, xenforo.com/community/tags ? where we could also search tags, exactly like XFMG does it. Tag List | XenForo Community
XenTag add-on by @xfrocks also has done it similar, I love that approach and I find it super easy to use. Integrating tag search and tag cloud with search engine page is only making it hard to use. Since it is still in Alpha stage, I'd suggest reconsider it please, Thanks.

Is it possible to show the tag cloud on the sidebar, or it is only available for the tag search page?


included in this suggestion:

Show "Tag Cloud" at Forum Home & for each Forum-Node | XenForo Community


:)
 
I don't know why you guys not like to expose those "Most Popular Tags" on front-end? (even with a link)
There is no indication anywhere on forum list page or forum view page that we have "Most Popular Tags" list and we also have "Tag Search" option in the forum. I don't think our members will ever know about it until we admins tell them directly. This seems like a "hidden" feature.
 
It's a valid suggestion, so if it hasn't already been made you could create one. If it has, you should show your support there.
 
ye like from the birvium metadata essentials:

https://*******.com/attachments/create_thread-png.1565/
you may also consider extending this to the nodes as well for admins:

https://*******.com/attachments/forum_data-png.1567/

also i recon this should be extended to posts & profile posts not just threads.
 
Some thoughts about how helpful tagging is to SEO...

Search engines seem to be using other signals more and more, but the link graph will always be a valuable source of information for them, and the more we can improve it (including with anchor text) the better we can do with SEO, particularly with long tail searches (where forums can thrive). Of course, it's also terrific for usability and helping people find great old threads related to their interests.

I've written several detailed posts about the plusses and minuses of tagging it in a thread entitled "XF SEO Tweaks."

The core issue, as you know, is that most forums have some really amazing threads and quite a few weak ones. Unfortunately, once the amazing threads fall of the first page of threads for any subforum, they have almost no inlinks with any pagerank. By tagging our best threads, we can create a network of links between our best content. By adding a tag cloud to a high pagerank page, we can send pagerank to the entire network of "best threads."

Of course, this is just a starting point for thinking about the SEO aspects of tagging, so I provided our strategies for maximizing the benefits and avoiding possible pitfalls in the following post:
XF SEO Tweaks

I'm a big fan of "curated" lists of tags, like are used on Stack Overflow and Wikipedia. You can implement this in XenTag by setting the permissions so that only certain user groups can make new tags. This is exactly what Stack Overflow does and based on their SEO performance it seems to work. Panda made it clear that Google is concerned about thin content on a site-wide basis, so curating the tag list can be key, especially in small and medium forums. I think that using XenTag's description field can also help to avoid thin content issues.

I describe the research I've done in how the smart people at Stack Overflow and the entire Stack Exchange network use a curated list of tags to improve their SEO in the following post:
XF SEO Tweaks
This post is very informative. It sounds like tags, if implemented correctly, can be a significant factor in improving SEO. The key is the implementation. If the features used by Stack Overflow like synonyms (replacing tag variations with a single chosen replacement) and requiring at least one tag in specific forums, then this is exciting. If managing tags is the best strategy then the tag management tools need to be comprehensive.
Otherwise tagging could be a missed opportunity at least until these features are included.
 
With regard to reporting tags
reporting the first post in the thread would probably be the main approach to that
Reporting the first post might be like accusing the author of the first post of something inappropriate when they may not have been responsible for creating the tag. Especially if the tag creator
is tracked in the database but it isn't currenty exposed in the UI
Plus if tags are content agnostic then the problem of content reporting extends to XMG and Resources etc.
Is it maybe better to bite the bullet now and create a comprehensive set of tag management tools?
 
Top Bottom