![]() |
Title Tag Fetcher (Auto Replace URL with Titletag)
1 Attachment(s)
Hi there.
Since I needed a new URL Autotext Generator, I always loved the prework of Jafo232 and his Replace URL's With Page Title. I just did some modifications on this Mod and for some forseeing mistypings, I also leaned out the checking of the "www" if given. For those who don't know that mod it's quite simple: 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:
Just import the XML via the ACP and thats all. Uninstall: Just kill it out of your ACP. 01.09.2008 Update Fixed Typo which got us a parse error |
So this is an updated version of the same mod? How does it differ?
|
The difference is just very minor, but needed for my forums.
Some fool around with URL's like the "leet and ubber cool" mixing of caps and lower letters. So I had to add the different www-Versions with caps and non-caps. I also added the Check for the VBulletin-Version. Thats quite it. |
Any Demo site ..!!
I Don't get the point .. |
Dunno how to show a demo.
It's quite easy. If you would post a Link to http://www.vbulletin.org the Script would get in affect. It would load up the site, get redirected to the portal https://vborg.vbsupport.ru/portal.php (You can manually check that by going to vbulletin.org) and fetch the line HTML Code:
<title>vBulletin.org Forum - The Official vBulletin Resource!</title> So http://www.vbulletin.org would automatically posted as: vBulletin.org Forum - The Official vBulletin Resource! Hope that clears things up. :) |
i've got and error (parse error) with this hack ... also it seems that isn't compatible with the Passive Vid hack installed ...
edit: Parse error: syntax error, unexpected T_STRING in /home/fniv/domains/fniv.it/xxx/xxx/includes/functions_newpost.php(175) : eval()'d code on line 50 |
Thank you for the note.
Fixed it. |
Quote:
|
I am sorry, I don't know that Addon, since I create BB-Codes for Youtube and stuff.
|
Quote:
|
Nice Job :)
|
how abount doman name affter the link any idea ???
|
For your next Update, it would be great to have the Option to Select the Links to Convert, like:
Internal Links (the Forum's): Yes/No Option :confused: External Links (Any Other Web Site): Yes/No Option :confused: So that the Admin can Choose to Select one, both or none of the Options. In my case I'd like only to use the Internal Links (for now), but the current Mod Converts Both Internal and External Links to their Titles. Great Mod, I Hope you can offer those Options to make it more Fleible. My Best Regards. :) |
anyone installed it on 380 and got it to work?
i know the version check in there up to 4.0 alpha 1 but does not work on 3.8.0 so far |
not working on 3.8.1 . Thnx for in/unstalling and the good job :)
|
How can I Edit the Plugin of this Mod for it Only to be Applied to the Local Links (URLs of my Forums) and Not External Links? :confused:
My Best Regards. :) |
hello
please upgrade to 3.8.2 |
not working on 3.8.1....
|
Quote:
|
works pretty good so far
on 3.8.2 |
thanks! works with 3.8.3 with AME and another itemstats mod.
|
it is dont work to me
i have 3.8.3.. |
Must be a different addon blocking this.
Please try to disable all other addons to check. |
Get an error with this modification on vBulletin 3.8.4 when using quick reply saying the message I have entered is too short. My message was well over my character limit. Works when using advanced reply though
|
hi , im using 3.8.4 , and its not fetching the title for me , i mean when i paste the link , it still looks the same ,where im doing wrong ?
|
*installed* and working like charm , well , like HMBeauty said , if u use it in advance mode first then it will star workin in quick replay automatically , in VB 3.8.4 , i donu why is that , but thats how i get it worked,
Thanx alot exportforce"for sucha great mod. |
The thing with quick-edit is nothing related to this mod.
Quick Edit goes "another way" of editing. Other mods, related to edit URLs do the same on my boards. |
how long did I searched for that and why didn't I found it?
Until today! Many thanks for that. Installed:up: One thing I would like to do is to strip the branding in my title tag at the end Now it's "This is my title tag...sub-cultures.de" and I would like to remove the "sub-cultures.de" part. I grant you three wishes if anyone can help me! :D |
احسنت
|
Anyone know if this works on vb4?
|
Didn't work in my install of VB4 - got:
The following dependencies were not met: 1. This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 4.0.0 alpha 1 and greater) Anyone have any mod that will work? Thanks! Barb |
This actually works just fine on VB4, you just have to edit the XML file to allow it to install.
Download the mod, open the XML file in notepad or another text editor. Find the line: <dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="4.0.0 alpha 1" /> It will be near the top... Then simply change the max version to 4.9.9: <dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="4.9.9" /> It will now install and work. |
Anyone got this mod playing nicely with AME 2.5 (Automatic Media Embeder) - with both mods enabled the titles of youtube videos become URL's instead of words.
|
I got this "fixed" - the problem was never with AME, the problem was this mod didn't work on youTube links anyway- because youtube puts line-breaks in their title and this mod couldn't deal with that.
To fix this go to your plugin manger -> edit the "Title Replace" plugin Find the line: Code:
preg_match("/<title>[\n\r\s]*(.*)[\n\r\s]*<\/title>/", $page, $title); Code:
preg_match("/<title>[\r\n\s]*([^<>]*)<\/title>/i", $page, $title); |
Thanks for the fix Bird, but I have yet another question. How come when I edit a post and add a URL it does not fetch the new title? It just leaves it as the URL unless its a new post.
|
yeah I noticed this too. As is the mod only works on "new threads" it doesn't work on edited threads. I will see if I can get it to work on both.
|
Is this still working on vb4?
|
Quote:
|
Does this also work for previous posts or only for posts made after installation?
Once this mod is uninstalled, will the links turn back their original state? |
Only works on new posts.
Links will never change back. |
All times are GMT. The time now is 06:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|