1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

URL Indicator

Discussion in 'Add-on Requests [Archive]' started by Wired, Oct 14, 2010.

  1. Wired

    Wired Active Member

    A while ago there was a vB mod that would place a small icon after every live link. Just tried to replicate it with the censor filter to add an image after [/URL], but no go. Only works when you type that in manually.

    Anyway, I'd like to eventually see this as a mod. Makes it really easy to identify hidden spam links where the spammer makes the color of the text the same as the background.
  2. Shadab

    Shadab Well-Known Member

    It's possible to do that entirely via CSS. Every external link is tagged with a class of "externalLink", so all you need to do is apply a background-image to it. Sample CSS:

    .message .messageText .externalLink,
    .message .signature .externalLink
    	padding-right: 18px;
    	background-image: url('@imagePath/arrow-up.png');
    	background-position: center right;
    	background-repeat: no-repeat;

  3. Wired

    Wired Active Member

    Awesome, thanks!
  4. Kier

    Kier XenForo Developer Staff Member

    The XenForo HTML is peppered with useful classes that are intended for this sort of purpose, which we don't actually use in the default style :)

Share This Page