View Full Version : fetch linked page title
MozyMac
07-27-2009, 09:06 PM
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
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.
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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.