vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Automatic Thread Tagger for vB4.x (https://vborg.vbsupport.ru/showthread.php?t=255251)

tmhazzazi 05-19-2012 06:09 PM

it seems very nice, I will have a try now!

thanx in advance

CaneInsider 05-22-2012 04:00 AM

I am using this just fine on 4.1.12 PL 1

final kaoss 07-09-2012 02:13 PM

So am I on the newest vb release.

Naijasite 07-14-2012 09:03 PM

installed on 4.2.0. Tag RSS Feeds?
If yes the auto tagger will also attempt to tag incoming RSS feeds.

In order for RSS tagging to work you will have to manually edit one of the default vbulletin files. Please refer to the product page on vBulletin.org for further information.

Please how do autoTag Rss feed?

JetLee 07-31-2012 03:42 PM

Quote:

Originally Posted by Mr.Danko Jones (Post 2296251)
I looked over some of my latest posts and didn't see anything tagged at all -- infact, by removing tags first I lost tags. Anyone else experience this problem?

Much thanks!

Same thing happened to me on 4.2.0 PL2

I want my tags back!

Akyeame Kwame 10-06-2012 07:10 PM

Quote:

Originally Posted by Naijafinder (Post 2348146)
installed on 4.2.0. Tag RSS Feeds?
If yes the auto tagger will also attempt to tag incoming RSS feeds.

In order for RSS tagging to work you will have to manually edit one of the default vbulletin files. Please refer to the product page on vBulletin.org for further information.

Please how do autoTag Rss feed?

Same thing here. I'd like to know how to autoTag RSS feeds. Since this isn't supported, is there anyone who knows how to do the necessary template edit. I did a search in the mod for feeds and nothing came up on the issue.

Akyeame Kwame 10-06-2012 09:44 PM

1 Attachment(s)
I'm getting this in with a go advanced reply to a thread:

Code:

Deprecated: Function split() is deprecated in /home/************/public_html/forums/includes/functions_autotagger.php on line 389
PHP 5.3.0. Any workaround?

********************************************
Found the answer: split -> explode
http://forums.phpfreaks.com/topic/17...d/#entry932627

Attaching the updated file

CybertronWizard 05-30-2013 01:24 AM

Thanks a lot.Marked as Installed

dethfire 09-25-2013 02:06 PM

Was working and now it's broken. I was half way done running the cron. Now it says it's done, but there are plenty of threads without tags that could have tags.

persianpros 10-10-2013 07:39 AM

something is wrong with this plugin on vb 4.2.2 :

Warning: Function split() is deprecated in /public_html/includes/functions_autotagger.php on line 191

ozzy47 10-10-2013 09:52 AM

Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla

How to fix.

Open the file, includes/functions_autotagger.php on line 191, in that file find the following:

Code:

$excludedForums = split('\|', $vbulletin->options['autotag_exclude_forums']);
Replace with:
Code:

$excludedForums = explode('\|', $vbulletin->options['autotag_exclude_forums']);
Find:
Code:

$excludedUsers = split('\|', $vbulletin->options['autotag_exclude_users']);
Replace it with this:

Code:

$excludedUsers = explode('\|', $vbulletin->options['autotag_exclude_users']);

sadiq6210 10-28-2013 09:00 PM

I got this errors in 4.2.2 / php5.4

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33

mooncreek 11-29-2013 11:35 PM

Getting same errors. Would appreciate update for 4.2.2

Noticed that when editing posts, errors do not allow post to load with edits.

tbworld 11-30-2013 05:09 AM

@Sadig6210, @Mooncreek:

Please read the modification's thread before posting. @Ozzy47 graciously posted several fixes in post #91, https://vborg.vbsupport.ru/showpost.php?p=2451721&postcount=91.

The author has not been online since 2011.

MrD 01-14-2014 10:44 AM

Hi,
i got an Error that the split function is deprecated.
File is includes/functions_autotagger.php Line 394
PHP Code:

$parts split("'=>'"$filterReplaceItems[$x]); 

Can i replace all split to explode?

I ask Phalynx for Permission and Coroner for Coding in 2010 for that Addon.

rootsxrocks 02-03-2014 07:07 AM

Quote:

Originally Posted by ozzy47 (Post 2451721)
Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla

How to fix.

Open the file, includes/functions_autotagger.php on line 191, in that file find the following:

Code:

$excludedForums = split('\|', $vbulletin->options['autotag_exclude_forums']);
Replace with:
Code:

$excludedForums = explode('\|', $vbulletin->options['autotag_exclude_forums']);
Find:
Code:

$excludedUsers = split('\|', $vbulletin->options['autotag_exclude_users']);
Replace it with this:

Code:

$excludedUsers = explode('\|', $vbulletin->options['autotag_exclude_users']);

I just wanted to add I had done this edit without success and turned the mod off till I could get back to it , but just went back and changed several more instances of the split to explode and it appears to be working.
It was hard to catch the errors shown before the page changed. I ignored other lines that included this $subjectTopreg_split(kens = '/\s(?=([^"]*"[^"]*"[^"]*)*$|[^"]*$)/', $title, -1, PREG_SPLIT_NO_EMPTY);

Other lines changed include but are not limited to
line 338
line 421
line 389
line 375
line 394

MrD 02-06-2014 11:35 AM

Exclude from Forums are not Working.
I have a lot of ID´s in the Settings, but the Forums are all Tagged.
Maybe a User or Coder can Fix it?

ITDarasgah 02-13-2014 09:37 AM

I have done
https://vborg.vbsupport.ru/showpost....1&postcount=91
but still found
https://vborg.vbsupport.ru/showpost....3&postcount=92

any idea?

rootsxrocks 02-13-2014 05:06 PM

Quote:

Originally Posted by MrD (Post 2479352)
Exclude from Forums are not Working.
I have a lot of ID?s in the Settings, but the Forums are all Tagged.
Maybe a User or Coder can Fix it?

I was able to exclude 1 forum delete all tags and re run and it worked fine and did not retag all the weather threads

rootsxrocks 02-13-2014 05:15 PM

Quote:

Originally Posted by sadiq6210 (Post 2456893)
I got this errors in 4.2.2 / php5.4

this is the lines as they are in my file im running PHP Version 5.4.24 and it seems to be working without errors but i may have just missed them.



Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15
PHP Code:

  if (intval($thread['threadid']) == 0

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23
PHP Code:

    WHERE t.contentid=".$thread['threadid']." AND autotag=

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32
PHP Code:

$vbulletin->db->query_write("DELETE FROM " TABLE_PREFIX "tagcontent WHERE autotag=1 AND contentid=" $thread['threadid']); 

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33
PHP Code:

$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "thread SET autoskip=0 WHERE threadid=" $thread['threadid']); 


gbicar 02-20-2014 10:36 AM

Quote:

Originally Posted by sadiq6210 (Post 2456893)
I got this errors in 4.2.2 / php5.4


Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33

same mistakes, I tried changing ozzy but has no effect

the plugin that generates the error is this
Automatic Thread Tagger threaddata_postsave

Phaedrus 04-08-2014 01:00 AM

split/explode isn't enough to get rid of all the errors. This causes my forum to freeze on editing a post.

Phaedrus 04-09-2014 03:09 AM

Uninstalled but tagged just in case it works later. Even with the updates listed previously in this thread this caused errors on my forum. Tried the other auto tagger, but it too caused errors. 4.2.2 PL1

Here's to hoping to update this later.

krimznheidiz 04-18-2014 08:14 AM

Is this working for 4.2.2?

pablodip 08-04-2014 01:52 AM

Thanks you ozzy47, is mod run good 4.2.2 :)

EDIT:

Hi, I've had to disable as it brought me problems in threads, when a user edits and gives branded store stays .. and have to refresh the page to see the results

tini_lam 08-28-2014 03:10 AM

Quote:

Originally Posted by sadiq6210 (Post 2456893)
I got this errors in 4.2.2 / php5.4


Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33

I have try edit functions_autotagger.php on line 15
edit
Code:

        if (intval($thread['threadid']) == 0)
Replace with:
Code:

        if (intval($threadinfo['threadid']) == 0)
wow, it great, not error :) you can try edit same on line 23, 32, 33, it well work

Socialvb 10-19-2014 04:42 PM

I was trying to use on my forum but when i create thread, the automatic tags are not added. Why? Someone solved the problem?

RawBoard 12-31-2014 10:00 AM

Quote:

Originally Posted by tini_lam (Post 2512938)
I have try edit functions_autotagger.php on line 15
edit
Code:

        if (intval($thread['threadid']) == 0)
Replace with:
Code:

        if (intval($threadinfo['threadid']) == 0)
wow, it great, not error :) you can try edit same on line 23, 32, 33, it well work

thanks work is not error :)

jim@ars 01-14-2016 10:41 PM

Is there any way, out of the box, to prevent tagging in a particular forum or do I need to put on my PHP hat?

mdawg 05-15-2017 08:32 PM

Does this work with vb 4.2.5 running PhP 7?

final kaoss 02-16-2019 02:47 AM

Quote:

Originally Posted by mdawg (Post 2586565)
Does this work with vb 4.2.5 running PhP 7?

I've noticed it stopped working after enabling php 7.1 myself.


All times are GMT. The time now is 01:01 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.01412 seconds
  • Memory Usage 1,825KB
  • 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
  • (13)bbcode_code_printable
  • (5)bbcode_php_printable
  • (9)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
  • (31)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