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 11:16
New Posting Features Pre-Defined Topic Tags for Zoints Thread Tags SBlueman vBulletin 3.6 Template Modifications 4 17 Oct 2007 05:42

Comments
  #2  
Old 19 May 2008, 10:11
HaYLaZ's Avatar
HaYLaZ HaYLaZ is offline
 
Join Date: Apr 2005
I accepted this modification but I took error;

Parse error: parse error, unexpected $end in C:\AppServ\www\vbulletin\includes\functions_newpost.php on line 1730
__________________

Pm Me For Turkish Translation Of Your Hacks
Reply With Quote
  #3  
Old 19 May 2008, 10:19
CThiessen CThiessen is offline
 
Join Date: May 2007
Hi,
pretty good idea. Do you think it might be possible in the future to check against an own positive List?
I think I do have about 100 Tags with the Main Words that Guest are looking for.

Christian
__________________
My Sites in German: Brasilien with Brasilien Forum
Reply With Quote
  #4  
Old 19 May 2008, 10:32
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by HaYLaZ View Post
I accepted this modification but I took error;

Parse error: parse error, unexpected $end in C:\AppServ\www\vbulletin\includes\functions_newpost.php on line 1730
The bit of code to be modified is around line 410.

Line 1730 is the very end of the file. It would suggest that there is a problem with the file that you have edited... check the code in the file that it ends with "?>".

I applied this hack to a file with no other modifications, and it does not create an error.
Reply With Quote
  #5  
Old 19 May 2008, 10:33
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by CThiessen View Post
Hi,
pretty good idea. Do you think it might be possible in the future to check against an own positive List?
I think I do have about 100 Tags with the Main Words that Guest are looking for.

Christian
I don't see why not. This is why I allow derivative works... if you have a feature that you want implemented, go ahead and implement it
Reply With Quote
  #6  
Old 19 May 2008, 10:36
buro9 buro9 is offline
 
Join Date: Feb 2002
Actually... on the parse error... double check the number of brackets, the installation advice originally missed one, but it's now corrected.
Reply With Quote
  #7  
Old 19 May 2008, 10:50
CThiessen CThiessen is offline
 
Join Date: May 2007
Smile

Originally Posted by buro9 View Post
if you have a feature that you want implemented, go ahead and implement it
I canīt do that, I do not have the knowledge. Only Ideas.
next Step than is to Change words.
If somebody is writing:
  • American Airlines
  • Lufthansa
  • Delta Airlines
Change it in:
  • Fligth
or that ever to meet our special Keywords.
Christian

PS: I will install but in the Moment I canīt use FTP from here.
__________________
My Sites in German: Brasilien with Brasilien Forum
Reply With Quote
  #8  
Old 19 May 2008, 11:48
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Thanks ^_^
very good
Reply With Quote
  #9  
Old 19 May 2008, 12:23
buro9 buro9 is offline
 
Join Date: Feb 2002
It should work with arabic too if tags work with arabic. You can change the code to fit your needs if you feel it's not suited for you
Reply With Quote
  #10  
Old 19 May 2008, 12:33
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Can I make it too in reply
Reply With Quote
  #11  
Old 19 May 2008, 12:36
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by 7lanet View Post
Can I make it too in reply
That sentence doesn't really make sense to me.

Do you mean that you want to populate tags for a thread if there are no tags already and someone responds to the thread? If so, this may be possible.
Reply With Quote
  #12  
Old 19 May 2008, 12:42
maxicep maxicep is offline
 
Join Date: Oct 2006
Perfect

Installed !
Reply With Quote
  #13  
Old 19 May 2008, 12:54
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
I mean
The amendment that I have done only for new post
But old post does not add topics
Can I make my words appear in new reply
Reply With Quote
  #14  
Old 19 May 2008, 13:03
buro9 buro9 is offline
 
Join Date: Feb 2002
Originally Posted by 7lanet View Post
I mean
The amendment that I have done only for new post
But old post does not add topics
Can I make my words appear in new reply
Yeah, I like that idea too.

I'll have to check to see whether I know about the thread at this point and whether updating the post will affect the thread... it may not.
Reply With Quote
  #15  
Old 19 May 2008, 13:07
leeman's Avatar
leeman leeman is offline
 
Join Date: Nov 2004
*Installed*
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 23:28.

Layout Options | Width: Wide Color: