1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 How to shorten URL's in messages

Discussion in 'Styling and Customization Questions' started by LurkerLou, Sep 17, 2013.

  1. LurkerLou

    LurkerLou Active Member

    When a member copies and pastes a url in the message body, is there anyway to automatically shorten it so it does not show the entire url?
     
  2. Martok

    Martok Well-Known Member

    The easiest and tidiest way of shortening a URL in a message is to use the URL tags e.g.

    Code:
    [URL='http://xenforo.com/community/threads/how-to-shorten-urls-in-messages.59822/']Shorten URLs?[/URL]
    becomes

    Shorten URLs?

    Easy to do with the link button too, just type the text, select it, click the Link button and in the pop-up box paste in the URL.
     
  3. LurkerLou

    LurkerLou Active Member

    That's the optimal way but members don't use it often.
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    You'll need a resource that fetches the pages title if its not in URL tags.
     

Share This Page