vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Automatic Thread Tagger for vB3.8 (https://vborg.vbsupport.ru/showthread.php?t=201156)

mdawg 05-09-2014 05:50 PM

The big issue with updating to 3.8.8. is they want you to buy a vb 5 license just to get 3.8.8 unless I sneak download it and install it.

I am considering going all the way to vb 5:
https://vborg.vbsupport.ru/showthrea...93#post2496993

tbworld 05-09-2014 06:12 PM

Depending on your hosting environment you might still be able to run PHP v5.3. Talk to your host. Although, there are several threads here on vBulletin.org discussing running v3.8.7 on PHP v5.4.

mdawg 05-09-2014 08:13 PM

Yes I can set it back to 5.2 or 5.3, but somehow I suspect that is not the problem. Maybe I need to reinstall this thread tagger, or maybe there is a conflict elsewhere.

tbworld 05-09-2014 08:27 PM

I cannot comment about the 'autotagger' error as I do not use the MOD. However, that is a somewhat typical php 5.3 --> 5.4 error.

mdawg 05-10-2014 12:27 AM

It has nothing to do with the version of the vbulletin (3.8.7 PL4 or 3.8.8. beta 4) - I verified this. Also I reinstalled the auto thread tagger - same error, unable to "Save" edit unless "Go Advanced," and then view those errors as noted before edit is saved.

tbworld 05-10-2014 02:10 AM

You could try to replace the error line #15 with:

Code:

    if (!isset($thread['threadid'])  or  intval($thread['threadid']) == 0)
Sorry, I have no setup to test this.

Dr.CustUmz 05-10-2014 05:23 AM

Quote:

Originally Posted by mdawg (Post 2497074)
It has nothing to do with the version of the vbulletin (3.8.7 PL4 or 3.8.8. beta 4) - I verified this. Also I reinstalled the auto thread tagger - same error, unable to "Save" edit unless "Go Advanced," and then view those errors as noted before edit is saved.

i tried to tell you that lol, its the plugin conflicting not your vb =P wish i could help more but i cant duplicate this nor do i notice anything incorect =( hope you get it sorted out man, but know just cause you cant auto tag threads its SOOO not worth upgrading to a vb5 lic. i have one... and yet i still use vb3 =)

tbworld 05-10-2014 05:50 AM

It has always been the product that was incompatible with php 5.4. It was never a vBulletin problem. I do not remember anyone stating that it was. :)

Since this is not reusable code, there is not much for anyone to do here. A kind request has to be made to the author of the code for updating.

mdawg 05-30-2014 04:13 AM

Quote:

Originally Posted by tbworld (Post 2497081)
You could try to replace the error line #15 with:

Code:

    if (!isset($thread['threadid'])  or  intval($thread['threadid']) == 0)
Sorry, I have no setup to test this.

Okay I edited the code in line 15, functions_autotagger.php:

Success! seems to work okay now.

(I even toggled the file back and forth with the original code to make sure this was the issue - it was!) Able to edit properly now in both quick edit form (so more forever spinning circle on the Save) and advance edit, with no errors.

dethfire 05-30-2014 04:28 AM

this plugin is not useful anymore, twitter will flag your account because it looks spammy

ForceHSS 05-30-2014 04:55 AM

Don't use twitter then :)

tazegame 06-16-2014 06:58 PM

thanks for plugin :)

mdawg 04-03-2015 04:30 AM

How about making this for vb 5 - vb5 is the wave of the future!

I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.

Simon Lloyd 04-03-2015 04:24 PM

Quote:

Originally Posted by mdawg (Post 2542224)
How about making this for vb 5 - vb5 is the wave of the future!

I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.

Why are you posting the exact same message in lots of threads??????

beansbaxter 09-16-2016 12:24 PM

Would love to see an update to this in order to work with PHP 5.4 please ooooh please!

yellow_spider 07-04-2018 11:18 AM

Worked OK for me on php 5.4 ?

Anyway it does not appear to work on php 7.x I have not yet had chance to look at a fix for it although in theory it does not (appear) to be a difficult thing to sort out.

Code:

Call to undefined function split() in ....\includes\functions_autotagger.php on line 148
Only in php7 , php5.6 perfectly fine :) . Confirmed by switching back to 5x without any issues and it works.

Trace:
Code:

#1 : vbstop() called in ....\includes\class_core.php on line 3834
#2 : vbulletin_exception_handler() called in  on line

Var Type: [ NULL ]

Var Data: null

Something here tells me that likely a "require" or "require once" might be all that is needed as I cannot quite see why said function is awol in a different php version, unless its one of the &= vs = things.

I've not looked into this just yet but if anyone has any clues would be appreciated to point me in the right direction! :D

yellow_spider 07-04-2018 07:57 PM

1 Attachment(s)
I thought I'd try replacing split with explode, which after a couple of tests appears to work now. :)

There are 11 instances of 'split' (not 'preg_split' , just 'split') to change in / includes / functions_autotagger.php , did not notice anything else in the two other files that needed any changes.

"Proof is in the pudding" so to speak so I grabbed a few RSS imports, then manually ran the auto tagger and now it does work with php7... I am running 7.0.10 to be more precise about it.

Pic of a random test RSS thread which then had the auto tagger run on it:


All times are GMT. The time now is 04:48 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.01501 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (3)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
  • (17)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