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)
-   -   Show Thread Enhancements - Title Tag Fetcher (Auto Replace URL with Titletag) (https://vborg.vbsupport.ru/showthread.php?t=189658)

Kane@airrifle 01-28-2017 07:55 AM

This mod has the effect of recording your own server as a guest on your forum which results in some odd behaviour such as listing your server in WOL and not having the ability to tag forum urls where guests do not have viewing permissions.

So, is this expected behaviour; should the code be modified to get around it? If so, how?

mdawg 05-07-2017 05:12 PM

Yes, correct Rhodium, must have
PHP set for
allow_url_fopen = On

This mod is running okay now, once I made that PHP adjustment, in my 4.2.3 forum running PHP 5.6.30

Note: for any URLs that were not converted (during a period when you had allow_url_fopen = Off ), you must go back in and edit those posts AND remove the hyperlinks from the non-coverted URLs before re-saving the posts. Easiest way to do this is:
1. Click, Edit Post
2. Cut the URL that has not been converted
3. Paste it into a new browser window
4. Copy that URL that has been posted in that browser window
5. Paste the URL back into the post.
6. Save

https://vborg.vbsupport.ru/showpost....3&postcount=87

Now the mod will have created the title for the post. For some reason, edit and save does nothing unless you remove the hyperlink from the URL in question (one that has not been converted).

mdawg 05-12-2017 02:33 AM

This mod will not work with vb 4.2.5 IF running php 7. It will work under PhP 5.6

Quick replies while running this mod in php 7, go blank.

Kane@airrifle 05-12-2017 03:42 AM

Running fine for me with 4.2.5 on PHP 7.1.

mdawg 05-12-2017 04:02 AM

Have you made posts? Or threads? New ones I mean? Then try making a QUICK REPLY to the post, within the thread. Then try an Advanced Reply to the post, within the thread.

Also, I have a phpinfo.php file loaded in my directory to verify which exact version of PhP I am running, and an .htaccess file that was forcing PhP 5.6 for this directory only, for my vb4 forum only. I commented out the code in that .htaccess to revert to PhP 7, and that was when I determined these issues with this mod.

Issues I had were with PhP 7.0.18 if that makes a difference.

Kane@airrifle 05-12-2017 11:49 AM

Quote:

Originally Posted by mdawg (Post 2586410)
Have you made posts? Or threads? New ones I mean? Then try making a QUICK REPLY to the post, within the thread. Then try an Advanced Reply to the post, within the thread.

Issues I had were with PhP 7.0.18 if that makes a difference.

Yes; result below:

mdawg 05-12-2017 12:41 PM

I don't know what your post above means. The URLs just direct me back to my own post within this thread. I meant, have you done that within your own vb4 forum that verifiably is running PhP 7 (such as verified with a phpinfo.pho file) and with this mod running.

djbaxter 05-12-2017 12:51 PM

It means it does work with PHP 7.1.

He's showing you examples: the notification email shows that he entered URLs and his post above demonstrates that they were converted to titles.

mdawg 05-13-2017 12:44 AM

Well for whatever reasons, when I toggle this mod here, and this other mod (Automatic Tagger)
https://vborg.vbsupport.ru/showpost....&postcount=459
on and off, my vb 4 php 7 forum has issues, namely that posts made are invisible other than at most the title of a post on an advanced reply, and the issues go away when I disable those two mods.

These are the PhP errors from the error_log :

-May-2017 19:51:40 America/Los_Angeles] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/*****/public_html/*****.com/forums/includes/class_core.php on line 1424
[12-May-2017 19:54:32 America/Los_Angeles] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 70
[12-May-2017 19:54:34 America/Los_Angeles] PHP Deprecated: Function split() is deprecated in /home/*****/public_html/*****.com/forums/includes/functions_autotaggerfromcontentandtitle.php on line 85
[12-May-2017 19:56:24 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68
[12-May-2017 19:56:24 America/Los_Angeles] PHP Fatal error: Call to undefined function split() on line 85 in /home/mdawg/public_html/truepassage.com/forums/includes/functions_autotaggerfromcontentandtitle.php
in /home/mdawg/public_html/truepassage.com/forums/vb/vb.php on line 286
[12-May-2017 19:56:24 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/mdawg/public_html/truepassage.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68

Those errors are with both mods running.

With autotagger off, but external title fetcher ON (under php 7):

[12-May-2017 20:08:35 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68

djbaxter 05-13-2017 01:06 AM

Quote:

Originally Posted by mdawg (Post 2586459)
Well for whatever reasons, when I toggle this mod here, and this other mod (Automatic Tagger)
https://vborg.vbsupport.ru/showpost....&postcount=459
on and off, my vb 4 php 7 forum has issues, namely that posts made are invisible other than at most the title of a post on an advanced reply, and the issues go away when I disable those two mods.

I had conflicts with Automatic Tagger even before vBulletin 4.2.5 and with PHP 5.x.

What happens if you disable that one and keep Title Tag Fetcher installed?


All times are GMT. The time now is 05:38 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.01575 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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