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)

exportforce 08-30-2008 10:00 PM

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:
  • The linked page simply has no <title>-Tag
  • The page is down or the <title>-Tag is not being found within the first 60 seconds
  • The <title>-Tag is not being found within the first 1000 lines of code.
Installation:
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

ArnyVee 08-31-2008 06:00 PM

So this is an updated version of the same mod? How does it differ?

exportforce 08-31-2008 06:07 PM

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.

bokmade 09-01-2008 04:16 AM

Any Demo site ..!!

I Don't get the point ..

exportforce 09-01-2008 06:46 AM

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>
Now it takes the value of the Title-Tag which is "vBulletin.org Forum - The Official vBulletin Resource!" and puts it as automatic text for the link.

So http://www.vbulletin.org would automatically posted as: vBulletin.org Forum - The Official vBulletin Resource!

Hope that clears things up. :)

KURTZ 09-01-2008 07:44 AM

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

exportforce 09-01-2008 08:25 AM

Thank you for the note.
Fixed it.

KURTZ 09-01-2008 08:40 AM

Quote:

Originally Posted by exportforce (Post 1611816)
Thank you for the note.
Fixed it.

yes now it's correct ... but with the Passive VID enabled don't run ... can you give me a solution? thx

exportforce 09-01-2008 08:57 AM

I am sorry, I don't know that Addon, since I create BB-Codes for Youtube and stuff.

Patrick Simmons 09-12-2008 11:05 AM

Quote:

Originally Posted by KURTZ (Post 1611829)
yes now it's correct ... but with the Passive VID enabled don't run ... can you give me a solution? thx

Same here :(


All times are GMT. The time now is 11:47 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
  • Page Generation 0.01366 seconds
  • Memory Usage 1,737KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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