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 Thread Tagger (https://vborg.vbsupport.ru/showthread.php?t=185495)

black_diamond 12-04-2008 03:30 PM

Anyone got any ideas, I have done this from the other thread:

Using this to tag RSS feeds

Unfortunately vBulletin does not include (that I can see) a hook that is called when an RSS thread is created. This means that it is not possible to hook into the code and perform auto tagging. All is not lost though, however it does require an edit to one of the default vBulletin files.

This is what you need to do:

Open includes/cron/rssposter.php
Find the following line:

Code:
$itemdata->set('ipaddress', '');On a new line immediately after this paste in:

Code:
require_once(DIR . '/includes/functions_autotagger.php');
$autotags = GetAutoTags($itemdata->fetch_field('title'), "", true, $itemdata->fetch_field('forumid'), $feed['userid'], $item['rssfeedid']);
$itemdata->set('taglist', $autotags);Save the file and place on you server.

Once this is done, and you have enabled RSS tagging in the configuration then RSS threads will be tagged.

But all I get in the tag box of an RSS feed thread is the word "Array" ,Thanks

LoRdGd 12-04-2008 05:29 PM

Is it possible to auto tag all threads im mu board? I have installed this modyfication, but i dont know how to do it. Can somebody help me?

24hourForum.com 12-04-2008 05:38 PM

Quote:

Originally Posted by black_diamond (Post 1678514)
Anyone got any ideas, I have done this from the other thread:

Using this to tag RSS feeds

Unfortunately vBulletin does not include (that I can see) a hook that is called when an RSS thread is created. This means that it is not possible to hook into the code and perform auto tagging. All is not lost though, however it does require an edit to one of the default vBulletin files.

This is what you need to do:

Open includes/cron/rssposter.php
Find the following line:


Code:
$itemdata->set('ipaddress', '');On a new line immediately after this paste in:


Code:
require_once(DIR . '/includes/functions_autotagger.php');
$autotags = GetAutoTags($itemdata->fetch_field('title'), "", true, $itemdata->fetch_field('forumid'), $feed['userid'], $item['rssfeedid']);
$itemdata->set('taglist', $autotags);Save the file and place on you server.

Once this is done, and you have enabled RSS tagging in the configuration then RSS threads will be tagged.


But all I get in the tag box of an RSS feed thread is the word "Array" ,Thanks

i added the codes and no tags...

24hourForum.com 12-04-2008 05:39 PM

Quote:

Originally Posted by LoRdGd (Post 1678562)
Is it possible to auto tag all threads im mu board? I have installed this modyfication, but i dont know how to do it. Can somebody help me?

yes, go into cp admin, and click on maintance and scroll to the bottom and find TAG ALL THREADS and run it!

unfv 12-05-2008 05:00 AM

I had to uninstall this product because it shows a javascript error "object required" line:380 car:8 every time I change the focus from Subject to Message input.

Phalynx 12-05-2008 10:53 AM

Please, DON'T EDIT YOUR FILES, as this is not necessary since v1.0.x. RSS are indexed automatically. See also this post for a fix for the newest beta:
https://vborg.vbsupport.ru/showpost....&postcount=510 (thanks for MrNase!)

If you get JavaScript errors by changing focus from subject to message revert your templates or just disable the AJAX-Tagging.

KevinL 12-05-2008 11:37 AM

I shut off the add the prefix in the tag and it's auto tagging them again.

yasser4101 12-06-2008 11:59 AM

hanks
:)

PHILIPS-08 12-06-2008 04:40 PM

thanx mate good one

MuTheMatrix 12-23-2008 02:26 AM

thanks for this.

is a lot helpfull in my forum.


All times are GMT. The time now is 05:53 AM.

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.01548 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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