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)

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 10:07 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.01281 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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