Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Automatic tags Details »
Automatic tags
Mod Version: 1.00, by buro9 (Member) buro9 is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (16 votes - 4.63 average) Installs: 170
Released: 19 May 2008 Last Update: Never Downloads: 190
Not Supported Code Changes Re-usable Code Translations  

Description

With vBulletin tags you can either set to require tags be completed or not. However requiring tags to be completed can easily result in low-quality tags that don't provide SEO value to your forum. With that in mind the thread title often provides better keywords than the tags that the user is forced to enter.

What this modification does is:

When a thread is started, has the user filled in tags?
Yes: Then we do nothing.
No: Then take the thread title, and strip out all words that would be invalid tags and are in the stop words list and use the remaining words as tags.

Example

User enters:
  • Thread title = We like the social group email mod
  • Thread tags =
vBulletin records the new thread as:
  • Thread title = We like the social group email mod
  • Thread tags = email, group, social
Which isn't an entirely bad set of tags and is better than none, and better than the user typing in gibberish (IMHO).

Installing

Installation REQUIRES FILE MODIFICATION. If you are not happy doing this, don't install this mod.

In the file /includes/functions_newpost.php

Find (near line 409):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace that with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Uninstalling

Open the file /includes/functions_newpost.php

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Delete everything up to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Insert in that space:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Screenshots

Screenshots don't really make sense... read the description.

License

You are free to modify, create derivatives, produce any version of this that you wish even for commercial use, just leave in the code an attribution credit that contains the Url to http://www.buro9.com/

Effectively it's this:

Title: Automatic tags by Büro9 is licensed under a Creative Commons Attribution 2.0 UK: England & Wales License.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Wide image automatic resize for html and vB tags in posts - fixes template problems Steve St.Lauren vBulletin 3.0 Full Releases 187 10 Mar 2008 12:16
New Posting Features Pre-Defined Topic Tags for Zoints Thread Tags SBlueman vBulletin 3.6 Template Modifications 4 17 Oct 2007 06:42

  #16  
Old 19 May 2008, 15:00
jasculs jasculs is offline
 
Join Date: Jun 2007
What's the possibility of making automatic tags for threads that already exist?
Reply With Quote
  #17  
Old 19 May 2008, 15:03
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
This would really be good if it did it for older post too. Is there a way to make it add tags weither or not tags are added?
__________________
Live everyday as if it was your last, because one day it just may be.
Reply With Quote
  #18  
Old 19 May 2008, 15:13
buro9 buro9 is offline
 
Join Date: Feb 2002
What are you looking for?
1) Incrementally fixing old threads by populating tags if those threads are replied to?
or
2) Generating tags for all threads that have none?
Reply With Quote
  #19  
Old 19 May 2008, 15:14
buro9 buro9 is offline
 
Join Date: Feb 2002
To be honest I don't think doing all non-tagged threads would be difficult... the code is already up there and I'd just have to iterate over all threads.
Reply With Quote
  #20  
Old 19 May 2008, 15:17
maxicep maxicep is offline
 
Join Date: Oct 2006
Originally Posted by Zaiaku View Post
This would really be good if it did it for older post too. Is there a way to make it add tags weither or not tags are added?
Yes, certainly ...
Reply With Quote
  #21  
Old 19 May 2008, 15:32
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
Well the reason I would like it added to all threads with r without tags is just as discribe in the first post. It may use better tags then the ones already listed. Of course it would be a 1 time run since you don't want it to keep trying to add tags to all the threads over and over again.
__________________
Live everyday as if it was your last, because one day it just may be.
Reply With Quote
  #22  
Old 19 May 2008, 15:39
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Real name: Martin Venema
Works like a charm!

Good work.
Reply With Quote
  #23  
Old 19 May 2008, 17:19
MetalORock's Avatar
MetalORock MetalORock is offline
 
Join Date: Jul 2007
Real name: Olivier
very great hack thanks
__________________
Site : http://www.metalorock.com
Reply With Quote
  #24  
Old 19 May 2008, 20:00
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Real name: Gary Mullins
I have to agree that adding a feature/option to have it go back and generate tags for old, untagged threads would be great!
__________________
Admin for PCApex.com and GameApex.com.
Reply With Quote
  #25  
Old 19 May 2008, 20:24
maxicep maxicep is offline
 
Join Date: Oct 2006
I seen some problems and i removed it for now.

Example:
forum, maxicep.com maxicepdsadasdasd, melodi, mobile, phone

U will get error that "need min 3 character in tags for open thread"

because tags are looking
forum, maxicep.com, maxicepdsadasdasd, me, lodi, mobile, phone

It has problem on some thread titles like which include "<" or ">" character also ","

Just try and see.

If i set to all limits to no limit on tag system options, than no problem but it isnt fine.
Reply With Quote
  #26  
Old 19 May 2008, 22:17
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
excellent mod. thanks very much for this, I will install it later this week.
Reply With Quote
  #27  
Old 19 May 2008, 23:22
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
This reminds me of a good ol vb 2.0 hack Nice and simple too!

Installed!

Edit: Need to exclude non-word characters For example, see the tags on this thread:
http://cellphoneforums.net/htc/t2758...-s710-vox.html
__________________
John

Last edited by tpearl5; 20 May 2008 at 00:16.
Reply With Quote
  #28  
Old 20 May 2008, 05:24
paramegsoft paramegsoft is offline
 
Join Date: Apr 2008
welcome

very nice mod buro9

but please

how i can do it to some forums only

like forum id 4 and 5

and how i activate it in rss forums which get news from another sites

Last edited by paramegsoft; 21 May 2008 at 02:04.
Reply With Quote
  #29  
Old 20 May 2008, 06:18
abrecher abrecher is offline
 
Join Date: Jan 2004
Originally Posted by maxicep View Post
I seen some problems and i removed it for now.

Example:
forum, maxicep.com maxicepdsadasdasd, melodi, mobile, phone

U will get error that "need min 3 character in tags for open thread"

because tags are looking
forum, maxicep.com, maxicepdsadasdasd, me, lodi, mobile, phone

It has problem on some thread titles like which include "<" or ">" character also ","

Just try and see.

If i set to all limits to no limit on tag system options, than no problem but it isnt fine.
This is EXACTLY what I've been waiting for! This user definitely is making a good point and I hope his issues will be addressed in future versions.

I also would LOVE to be able to run a script which would backdate this for all old threads.
Reply With Quote
  #30  
Old 20 May 2008, 10:35
maxicep maxicep is offline
 
Join Date: Oct 2006
Originally Posted by tpearl5 View Post
This reminds me of a good ol vb 2.0 hack Nice and simple too!

Installed!

Edit: Need to exclude non-word characters For example, see the tags on this thread:
http://cellphoneforums.net/htc/t2758...-s710-vox.html
Tags are looking very bad.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:55.

Layout Options | Width: Wide Color: