![]() |
|
Mod Options |
![]() |
|||||||||||
Auto Title Tag Fetcher (Title Tag as Anchor Text) for vB 4.2.5 & PHP7
![]() Developer Last Online: Aug 2021 ![]() ![]() ![]()
This is an update for vBulletin 4.2.5 and PHP 7.1.
If any of the original coders are still active and want to update this, please do so and then this thread can be archived. However, the last login date for the most recent coder was July 2016 and I wanted to save time for others by putting the information and code modifications in one place. Full credits given below. From the exportforce update for vBulletin 3.7 and 3.8: If you post an URL in the Forums, this Mod just loads the <title>XXXXXX</title> out of the linked website. The title won't be read if the following conditions occur:
Installation: If you have the previous version 1.5c, uninstall from the ACP. Then just import the new product XML via the ACP. Uninstall: Just uninistall it from the ACP. Credits:
Title Tag Fetcher (Auto Replace URL with Titletag as Anchortext) for vBulletin 4.2.5 and PHP 7 Updates: 2017-07-20 Updated product xml file to display correct version and title Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: Andreasmax, Alan_SP
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements Title Tag Fetcher (Auto Replace URL with Titletag) | exportforce | vBulletin 3.8 Add-ons | 124 | 20 Jul 2017 09:58 |
Comments |
#3
|
|||
|
|||
Is the original mod marked with reusable code? If not, then this will have to be removed.
No members have liked this post.
|
#4
|
||||
|
||||
![]()
Originally Posted by final kaoss
Please let us know djbaxter ![]()
![]() Well yes and no, we'd remove this thread and place into the modification graveyard if re-use was not granted HOWEVER djbaxter could post in one of the still active past threads i.e. one that is not in the archives such as https://www.vbulletin.org/forum/showthread.php?t=189658 and share the mod there, granted it would be vB3 thread with a vB4 mod attachment but the point being it could still be shared and used by all who downloaded and within the rules ![]()
__________________
Daddy Does Dios and Figs! Search - Use the search feature to find similar issues/answers. Information - Include screenshots, copy/pasted error codes, url etc. Fixed - Please return to your thread/post and let us know how it was fixed! Thanks - For participating! Click the "Like" ♥ on a post if someone helped you! No members have liked this post.
|
#5
|
|||
|
|||
History of this mod
1. First iteration for vB 3.5 Replace Local Links With Title Jafo232 vBulletin 3.5 22 Aug 2007 00:10 This modification is in the archives. 2. Second iteration for vB 3.6 Replaced by: Replace URL's With Page Title Jafo232 vBulletin 3.6 26 Mar 2013 13:08 This modification is in the archives. 3. Third iteration for vB3.7 Updated and replaced by: Title Tag Fetcher (Auto Replace URL with Titletag) Mod Version: 1.5c, by exportforce vB Version: 3.7.x Developer Last Online: Jul 2016 exportforce commented:
4. Current version (this one) for vB 4.25 and compatibility with PHP7 Show Thread Enhancements - Auto Title Tag Fetcher (Title Tag as Anchor Text) for vB 4.2.5 & PHP7 Mod Version: 2.00, by djbaxter Developer Last Online: Jul 2017 vB Version: 4.2.5 Small changes in the code to make it compatible with 4.2.5 and PHP7. Posted in the vB4 mods forum to make it easier to find.
The code was not explicitly marked as "Reusable". However:
For all those reasons, and for the convenience of the vBulletin 4 user base, I made the decision to post it here. I have contacted exportforce for permission to use and update his code. I await a reply from him but if he has moved on to other software or for other reasons no longer subscribes to vBulletin.org, it may take a while or I may never get a reply. I think the issue here is what is best for the vBulletin 4 community. I didn't post this for personal reward or glory. I posted it for the convenience of the community. I already have it working on my forums so I gain nothing personally by posting it here. I don't make a living selling vBulletin mods and the few I have posted have always been free with Reusable Code. Ineed, BOP5 took one of them and improved it with my full blessing, making my original version redundant. So I'll leave the decision to the moderator: What is most important in an issue like this?
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
Last edited by djbaxter; 20 Jul 2017 at 09:44. |
#6
|
||||
|
||||
I uninstalled the old version installed this one but it still shows as v 1.5c
I thought at first that you had uploaded a completely "new" version that included the PhP 7 code, but it's just the exact same mod from 2008, except with the version number updated to allow installation, with a still separate text file indicating what code to add/replace for PhP 7 compatibility. No members have liked this post.
Last edited by mdawg; 20 Jul 2017 at 20:52. |
#7
|
|||
|
|||
Updated the product file to display the correct information.
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#8
|
|||
|
|||
Hold on. Messed something up. Not working now.
![]()
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#9
|
|||
|
|||
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
Last edited by djbaxter; 20 Jul 2017 at 21:18. |
#10
|
||||
|
||||
I actually installed yours, then went back and reinstalled the old one from the old thread that I manually updated the PhP 7 code for, because (and I don't even know why), whatever you had on this thread was not even working at all for me. My suggestion would be to make the default version the updated one that works with PhP 7 (I believe you have now done that), and include a text file with code to explain how to revert it for use with PhP 5.6 The way it is now, someone might still think that he needs to alter the code to make it work with PhP 7.
Actually I am not sure what you've done because I see this code in the app: $messagetext = preg_replace_callback( '#(^|\[/(' . $skiptaglist . ')\])(.*(\[(' . $skiptaglist . ')\]|$))#siU', function ($matches) { return convert_url_to_bbcode_callback_auto_title($matches[3], $matches[1]); }, $messagetext Which seems to be a mixture of the old code: $messagetext = preg_replace( '#(^|\[/(' . $skiptaglist . ')\])(.*(\[(' . $skiptaglist . ')|$))#siUe', "convert_url_to_bbcode_callback_auto_title('\\3', '\\1')", $messagetext ); and the new: $messagetext = preg_replace_callback( '#(^|\[/(' . $skiptaglist . ')\])(.*(\[(' . $skiptaglist . ')|$))#siU', function($m) { return convert_url_to_bbcode_callback_auto_title($m[3], $m[1]); }, $messagetext ); lol I'm a little hesitant to reinstall what ain't broke, so I'm sticking with what works that I got from the old thread and will just wait to see what happens with this new thread. Thanks! No members have liked this post.
Last edited by mdawg; 20 Jul 2017 at 22:16. |
#11
|
|||
|
|||
I had uploaded a broken version. If you tried that one, you're correct. It wasn't working.
I fixed that and re-uploaded the zip file. That's working fine for me with 4.2.5 and PHP7.1 but remember you need curl active on your server.
__________________
Psychlinks Web Services Affordable Website Design & Management WordPress, vBulletin, Xenforo Customization & Management No members have liked this post.
|
#12
|
||||
|
||||
One thing I have noticed about this is that if you simply copy/paste the URL it won't "pull" the title you have to paste and match style so that the URL appears in plain text (not as a hyperlink).
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:09.