vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   fetch linked page title (https://vborg.vbsupport.ru/showthread.php?t=219602)

MozyMac 07-27-2009 09:06 PM

fetch linked page title
 
Hello, I have noticed that when i paste a URL in a new thread or new post it fetches the Title of the linked page and display the title.

I'm making youtube bb code and i want if in case the user don't have javascript, they will get URL in the thread, i have done this but i don't know how to make fetch the title.

thank you

Dismounted 07-28-2009 10:26 AM

Quote:

Originally Posted by MozyMac (Post 1856762)
Hello, I have noticed that when i paste a URL in a new thread or new post it fetches the Title of the linked page and display the title.

That is not a default vBulletin feature. You have probably installed vBSEO, or something similar, which does this.
Quote:

Originally Posted by MozyMac (Post 1856762)
I'm making youtube bb code and i want if in case the user don't have javascript, they will get URL in the thread, i have done this but i don't know how to make fetch the title.

To fetch the title, you must request the remote page, and get the title string from the HTML. This is more "advanced" PHP, and thus, you will need some sort of competency in PHP.

MozyMac 07-28-2009 10:37 AM

Quote:

Originally Posted by Dismounted (Post 1857050)
That is not a default vBulletin feature. You have probably installed vBSEO, or something similar, which does this.

To fetch the title, you must request the remote page, and get the title string from the HTML. This is more "advanced" PHP, and thus, you will need some sort of competency in PHP.

thanks for the replay


All times are GMT. The time now is 01:10 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.01364 seconds
  • Memory Usage 1,712KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete