![]() |
Will this work in vb 4.2.3 has anyone tried it?
|
Yes it works in 4.2.3
|
When I try to import the xml, I get this error:
The following dependencies were not met: This product is not compatible with version 4.2.3 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 4.0.0 alpha 1 and greater). By the way I am running PHP 5.5 on that server, does that matter? |
Open the product .XML file, and near the top you will find a section something like:
HTML Code:
<dependencies> |
Like a charm! it voiks.
One thing I noticed that is that on the old posts, simply editing/saving does not force the mod to convert the URL to external title - must click to edit post, cut out the URL, post it in a web browser, copy it again, and re-post it. |
Quote:
However if code is already: [url=http://www.google.com]www.google.com[/url] it will not fetch b/c it already has a title. Code needs to be [url]http://www.google.com[/url] or just [url]www.google.com[/url] for it to work. |
It has something to do with that if the URL has already become a hyperlink, the mod does not recognize it. So after I click to edit a post, I cut out the URL (hyperlink), post it in a browser, then re-post it back into the post in a form where it is no longer a hyperlink and then save it. Then the mod recognizes it and converts to an external title.
Perhaps this is exactly what you are saying in a less technical manner; I don't know. |
|
Hope I did not miss it and this has already been noted somewhere: Should you have any issues with non-standard characters and character encoding (as I did in my German language forum with ???? and the like), this may be of use to you:
In the plugin "Title_Replace" at hook "url_to_bbcode" find: PHP Code:
PHP Code:
|
I'm not getting this to work on 4.2.3 Patch Level 2. Links included in posts just show up normally with the URL and ellipses. (I have included all the mods in the thread.)
I also tried the ZIP version (with the maxversion change alone) and no dice. Any advice? |
Anything in your PHP Error Log?
|
No errors. (Only from my Wordpress install which is gone.) So I reset the log, did a new post with a link to be processed and no errors in the log still.
Anything else to check? To reconfirm, you're saying this positively works on the latest 4.2.3 version? Are you running this there? Also can you confirm that the current ZIP version is all I need or are we talking about modifying it based on the comments since the ZIP? |
I'm not saying any of that, I simply asked if there was anything in the error log. What version of PHP are you using?
|
I'm on PowWeb: Current Default version of PHP: 5.6
|
It's still working for me on vB 4.2.3 with PHP 5.5.34
As far as I know, vB4 isn't certified above PHP 5.5.x yet, is it? |
My PowWeb panel lets me pick my PHP version: 5.3, 5.5, or 5.6. Should I bump it down to 5.5 and report back?
|
Quote:
vBulletin 4.2.3 requires PHP 5.4.0+ and MySQL 4.1.0+. As far as I know, you should be fine with PHP 5.6.x and vB 4.2.3. :) |
Given this was written for vB3.7 (and probably PHP 5.2 or even 5.1) its not going to be much of a surprise if it doesnt work properly on 4.2.3 and PHP 5.5 or 5.6.
|
Quote:
|
THANK YOU, Rhodium! It did not matter which PHP version I used, all worked once I set allow_url_fopen = On
|
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? |
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). |
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. |
Running fine for me with 4.2.5 on PHP 7.1.
|
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. |
Quote:
Code:
New Thread Test |
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.
|
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. |
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 |
Quote:
What happens if you disable that one and keep Title Tag Fetcher installed? |
I have tried that yes - disabling AutoTagger but leaving this mod, which is the one I care about more, running, but still posts invisible and this PhP error:
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 |
You could try editing the plugin from your AdminCP.
This seems to be what it doesn't like (at the very end of the plugin code - PLUGIN not PRODUCT): Code:
$messagetext = preg_replace( Code:
$messagetext = preg_replace_callback( |
Do appreciate the help! but it did not solve anything.
When I switched out that code and tested it with PhP 5.6 running, the mod stopped fetching external titles, and the regular URL posted with no conversion to title. Same result with PhP 7 running, whether I had the other mod (auto tagger), on or off - posts were no longer invisible, but the regular URL posted with no conversion to title. i.e. the replaced code did eliminate the weird, invisible post behavior, but it also stopped the external title fetcher from fetching external titles, whether in PhP 5.6 or 7. |
Try that, works for me
replace Code:
$messagetext = preg_replace( Code:
$messagetext = preg_replace_callback( |
Very good! thank you. Now the Title Tag Fetcher (Auto Replace URL with Titletag) mod works at my forum running 4.2.5 with PhP 7 enabled, without making posts invisible.
I wonder if you could take a look at this: https://vborg.vbsupport.ru/showthrea...07#post2586407 for the other mod, Automatic Tagger From Message Content and Title - the issue seems to be similar in that the threads/posts are happening, but error codes interrupt the process. |
Quote:
However, on two SSL (https://) forums, it no longer fetches the page title, whether the URL being fetched is https:// or http:// This is the entire updated plugin: PHP Code:
See https://vborg.vbsupport.ru/showthread.php?t=323627 You need to have this setting enabled: allow_url_fopen = On |
1 Attachment(s)
To simplify updating for PHP 7.x, use attached product. The text files are for information only: Just delete the 1.5c version and import the new xml product (no files to upload).
Also posted at https://vborg.vbsupport.ru/showthread.php?t=325234 Please post there for support and I'll do what I can to help. |
Thanks djbaxter. So, I did what rhodium suggested in post #114 but what you updated and attached there is different?
|
Quote:
|
I'm just asking if it is different. I simply did what Rhodium suggested it seems to work, but my forum is http not https.
|
All times are GMT. The time now is 07:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|