vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   URL Descriptions (https://vborg.vbsupport.ru/showthread.php?t=195679)

ErnieTheMilk 11-07-2008 03:05 PM

URL Descriptions
 
I was looking for a simple solution to where people pop a url link into a post and it comes up with a description as opposed to just the website.

Not sure if this is an add on or a feature of vB. If it is an add on, can anyone point me in the direction of what it is? Not sure if it to do with the link or the properties side of things. I am using 3.7

Cheers

snakes1100 11-07-2008 03:10 PM

<a href="https://www.vbulletin.org" target="_blank">This is vbulletin.org, you friendly hack support site!</a>

{url=www.vbulletin.org]This is vbulletin.org, you friendly hack support site!{/url]

Change the two { to [

Standard feature of vbulletin software.

or

Would you mean something more along the lines of a popup box messages, when they hover over a link?

noppid 11-07-2008 03:11 PM

The BB codes have room for two variables I believe, not three. There is replacement and description. So I dunno how to pull that off.

You got the data after [tag= and the data between [tag]and[/tag] you can work with. You need a place to feed a description as well if I understand correctly?

ErnieTheMilk 11-07-2008 03:15 PM

This is exactly what I am looking for!

How can I make this automatically happen on my site?

Could you tell me please?

Quote:

Originally Posted by snakes1100 (Post 1661250)
This is vbulletin.org, you friendly hack support site!

{url=www.vbulletin.org]This is vbulletin.org, you friendly hack support site!{/url]

Change the two { to [

Standard feature of vbulletin software.

or

Would you mean something more along the lines of a popup box messages, when they hover over a link?


snakes1100 11-07-2008 03:20 PM

There is no automagical way that im aware of, you would need to add custom code to create a new way of posting links.

Add a new field when clicking "reply to post" or "new thread", have two input boxes added under the text field, one asks for link, one asks for description, the hack/custom code would combine and dump it into the text filed upon submittal.

Lynne 11-07-2008 03:26 PM

search "replace" "all mods" "titles only"

Replace URL's With Page Title

ErnieTheMilk 11-07-2008 03:56 PM

Quote:

Originally Posted by Lynne (Post 1661273)
search "replace" "all mods" "titles only"

Perfect

Thanks so much!

snakes1100 11-07-2008 03:58 PM

That hack forces a replacement, that does not add a custom description and is why i didnt post it.

Lynne 11-07-2008 04:12 PM

Quote:

Originally Posted by snakes1100 (Post 1661305)
That hack forces a replacement, that does not add a custom description and is why i didnt post it.

I posted it just in case it was close enough to what he wanted.

snakes1100 11-07-2008 04:15 PM

Quote:

Originally Posted by Lynne (Post 1661318)
I posted it just in case it was close enough to what he wanted.

I wasn't commenting about you Lynne, i was just informing him of what that actually is, thats going to force what ever is set on the page that it is linked to, thats not a custom description, i posted what i did so he knows.


All times are GMT. The time now is 07:18 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.01037 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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