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)

lingstar 07-18-2010 02:25 PM

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

BirdOPrey5 11-29-2010 02:09 AM

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.

BirdOPrey5 11-30-2010 12:01 AM

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.

BirdOPrey5 01-17-2011 01:15 AM

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);
Replace it with these lines:
Code:

preg_match("/<title>[\r\n\s]*([^<>]*)<\/title>/i", $page, $title);
$title = preg_replace ("#[\r\n]#"," ", $title);

This will fix the problem with youtube (line breaks in titles) AND the issue someone else mentioned where captial <TITLE> tags didn't work either.

jbizzle 01-17-2011 02:02 AM

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.

BirdOPrey5 01-17-2011 03:55 AM

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.

iyama 03-16-2011 06:17 AM

Is this still working on vb4?

HMBeaty 03-16-2011 06:44 AM

Quote:

Originally Posted by iyama (Post 2173885)
Is this still working on vb4?

Works for me (vBulletin 4.1.2)

Alfa1 03-16-2011 01:03 PM

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?

BirdOPrey5 03-16-2011 01:07 PM

Only works on new posts.

Links will never change back.


All times are GMT. The time now is 08:03 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.01077 seconds
  • Memory Usage 1,735KB
  • 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
  • (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