vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Automatic tags (https://vborg.vbsupport.ru/showthread.php?t=179772)

dfc005 05-26-2008 08:33 AM

I'd also love to see this mod go through and ad tags to all previous threads.

Brandon Sheley 05-27-2008 04:31 AM

works great!

[high]* Brandon Sheley clicked install and nominated motm :)[/high]

jim6763nva 05-27-2008 06:49 AM

Quote:

Originally Posted by dfc005 (Post 1531639)
I'd also love to see this mod go through and ad tags to all previous threads.

I would think there would have to be a one time maintenance utility that would be run. This mod would do tags going forward.

q8salem 05-27-2008 07:32 AM

Thanks man

It works great

redlabour 05-29-2008 05:03 PM

After Automatic Thread Tagger is dead - any chance to get a Update here with his Code to get a Modification without editing Files? ;)

And yes i agree - we need a Script that Tags all old Threads. :(

steveneff 05-31-2008 10:33 AM

When my posters select tags for a post, if the tag does not already exist the tag is refused.
Is it possible for this mod to check existing tags and only allow them to be added to the posts tag list?

Forget this post, it already does this.

Magnumutz 06-01-2008 06:39 AM

Quote:

Originally Posted by redlabour (Post 1535350)
After Automatic Thread Tagger is dead - any chance to get a Update here with his Code to get a Modification without editing Files? ;)

And yes i agree - we need a Script that Tags all old Threads. :(

Yeah, that's exactly what i was thinking of... how about it buro?

FreshFroot 06-02-2008 12:55 AM

there is no way to REQUIRE tags for all NEW THREADS.. without a file edit?

Silencer Groans 06-02-2008 07:34 AM

Thank

Magnumutz 06-02-2008 02:51 PM

There should be one... some other dude achieved it.

buro9 06-02-2008 07:46 PM

Quote:

Originally Posted by masterross (Post 1525610)
@buro9

mate do u familiar with AJAX?
I think will be better if it's AJAX based hack which takes the words from thread title immediately after we left the title field and put the suggestion in tags field.
So users will have possibility to edit unwanted tags.

Quote:

Originally Posted by Newfarm (Post 1525895)
masterross's idea is actually very, very cool.

That being said, installed and crossing fingers for some fancy ajax implementation ;)

I like this idea a lot.

I quite like the two-pronged approach... AJAX to offer the opportunity for the user to edit, and the server side code to force it if the user consciously removed the tags or if JavaScript were disabled.

I will definitely look at this.

Not sure on the earlier request for non-word characters... can be done with a regexp but is there a regexp that allows unicode for other languages but blocks punctuation? If someone can provide a sample that works with multiple languages I'll use it and give credit accordingly.

guvner 06-06-2008 12:57 PM

Excellent mod - for a tech support forum with members who just can't get used to manually adding tags, this is very useful!

Many thanks.

Mike :)

peterska2 06-08-2008 10:40 PM

The ability to auto tag RSS Feed created posts would finish this off perfectly. I know that on the site I installed it on my members love it and has got the regulars starting to tag their threads and others threads while doing it for them if they forget or don't think about doing it. I just need to be able to do it with RSS Feeds then it will be perfect and I could install it on another few sites which would benefit from it greatly.

dutchbb 06-09-2008 05:00 AM

Exactly what I was looking for, as I was thinking the same: title = good tags. Thank you!

SaPh[i]R 06-09-2008 06:51 AM

Thanks a lot !

citeman 06-12-2008 04:32 PM

One slight problem with this. some of the html characters get through - to remove that use:

Quote:

// HACK : START : AUTO TAG
// if ($type == 'thread' AND $post['taglist'])
// {
if ($type == 'thread')
{

if (!$post['taglist']) {
$temptags = split(' ',$post['title']);
$newtags = array();
require(DIR . '/includes/searchwords.php');
foreach ($temptags as $tagtext) {
if (strlen($tagtext) <= 3 || in_array(strtolower($tagtext), $badwords)) {
// Do nothing
} else {
$tagtext = html_entity_decode($tagtext);
$tagtext = ereg_replace("[^A-Za-z0-9 _]", "", $tagtext);

array_push($newtags,$tagtext);
}
}
$post['taglist'] = join(',',$newtags);
}
// HACK : END : AUTO TAG

drpeppper 06-12-2008 05:44 PM

this is a nice and useful mod.
thank you. installed and marked as.

dutchbb 06-13-2008 01:11 AM

How can we make tags for the old threads from their titles? Is there a script for this? And where can we find these stop words to strip?

nightbloom 06-13-2008 03:03 AM

Sweet, works OK on my forum. Thanks.

glennybee 06-13-2008 03:28 PM

Thanks buro9, easy to implement, great results!

:)

7lanet 06-14-2008 08:55 AM

the code does not work with version 3.7.1
and this code causes mistakes please edite it to be fitted with3.7.1

thank you

guvner 06-14-2008 01:08 PM

Quote:

Originally Posted by 7lanet (Post 1549016)
the code does not work with version 3.7.1

That's not quite accurate - it may not work with your 3.7.1, but it works just fine with mine :)

Universal 06-15-2008 02:17 AM

Thankyou buro9 and also thankyou citeman for that quick fix, those characters were a problem. Works perfectly on 3.7.1 :)

Noodles24 06-16-2008 08:42 AM

I've converted it to a product as I don't like doing code modifications (especially when vbulletin is upgrading every other month).

Should work with 3.7.x (tested with 3.7.1)

ArnyVee 06-16-2008 12:02 PM

Noodles, you are THE man! :D

Hopefully this is 'added' to the actual first post so that we can keep this hack 'updated'. :)

CP, 06-16-2008 12:05 PM

This is what i was looking for exactly! Can somebody kindly help this person to make this hack into an automated feature please?

Cheers

dutchbb 06-16-2008 01:47 PM

Quote:

Originally Posted by ArnyVee (Post 1550749)
Noodles, you are THE man! :D

Hopefully this is 'added' to the actual first post so that we can keep this hack 'updated'. :)

+1 ASA the coder confirms this we can upgrade to the plugin, otherwise its best to wait.

tobybird 06-16-2008 03:58 PM

Quote:

Originally Posted by Kerry-Anne (Post 1544507)
The ability to auto tag RSS Feed created posts would finish this off perfectly. I know that on the site I installed it on my members love it and has got the regulars starting to tag their threads and others threads while doing it for them if they forget or don't think about doing it. I just need to be able to do it with RSS Feeds then it will be perfect and I could install it on another few sites which would benefit from it greatly.

Oh this would be an outstanding addition.

Thank you for this modification!

**Installed**

mavortium 06-19-2008 12:27 AM

Noodles for galactic president!

schlottkej 06-19-2008 07:15 PM

It adds the tags from the RSS feed titles, however, they don't actually work as links...

ALSO, any way to add the functionality where it goes back through each thread and tags based on title? I see the automatic post by NOODLES, but I can't see how it works exactly? I don't know where it is located?

jim6763nva 06-19-2008 10:31 PM

Just installed the xml for this and it doesn't appear it is capturing keywords from RSS titles. Is it supposed to?

MPDev 06-19-2008 11:36 PM

I think you can remove some errors with an extra check:

Code:

// HACK : END : AUTO TAG

        if ( $post['taglist'] )
        {

            fetch_valid_tags($dataman->thread, $post['taglist'], $tag_errors, true, false);
            if ($tag_errors)
            {
                foreach ($tag_errors AS $error)
                {
                    $dataman->error($error);
                }
            }
        }
    }

This way it doesnt try to process blank taglists.

Note: Didnt see the plugin before making this suggestion.

pedroenf 06-20-2008 01:44 PM

Quote:

Originally Posted by Noodles24 (Post 1550642)
I've converted it to a product as I don't like doing code modifications (especially when vbulletin is upgrading every other month).

Should work with 3.7.x (tested with 3.7.1)


Works perfectly in 3.7.0. Thank you for this convertion. You're the man.

Zacarias 06-22-2008 09:47 AM

Installed, works great. :)

thestaton 06-22-2008 01:17 PM

I've decided to uninstall this mod. I think it's a great idea, but I'm just not getting the results I desired. In 95% of my threads it misses the point of the title, and I end up with a tag cloud looking like. ex. this, his, thus, etc etc etc. Hopefully it can be optimized.

higge 06-22-2008 01:47 PM

*installed

Thank you

Amiga Harrison 06-25-2008 12:32 PM

Quote:

Originally Posted by Noodles24 (Post 1550642)
I've converted it to a product as I don't like doing code modifications (especially when vbulletin is upgrading every other month).

Should work with 3.7.x (tested with 3.7.1)

Nice work. :up:

I had been using the manual install method for this mod, but the latest 3.7.2 broke when I added it in after I updated my forum yesterday.

However installing this product version works perfectly on 3.7.2 and I've had no problems.

Why not release this product as it's own mod and give tribute to this original manual mod? That way members would be able to find this much easier solution (no need to manual edit the files after every vB update).

Alovepoem 06-28-2008 10:54 PM

Delete Link :(

EagleNick 06-30-2008 04:10 AM

Nice MOD. :)

Quote:

Originally Posted by Amiga Harrison (Post 1558538)
Why not release this product as it's own mod and give tribute to this original manual mod? That way members would be able to find this much easier solution (no need to manual edit the files after every vB update).

I completely agree... I almost didn't see the XML file Noodles uploaded, so I was about to miss out on installing it.

:)

EDIT:
Where in the AdminCP do I configure settings for this mod? I can't find it anywhere.

Thanks in advance for any help :D

Noodles24 07-01-2008 01:04 AM

Product has been posted as it's own mod: https://vborg.vbsupport.ru/showthread.php?t=184028


All times are GMT. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01435 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete