vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - URL-Icon after link (https://vborg.vbsupport.ru/showthread.php?t=277651)

Kraxell 01-26-2012 11:00 PM

URL-Icon after link
 
1 Attachment(s)
With this little template-modification, you can show a little icon after everey link (automaticly), user can see links better now (linked-images too)

Open template additional.css

Add at the end

HTML Code:

.postlist .postdetails .postbody .content .postcontent a {
        background: url("images/icons/url.gif") no-repeat scroll right center transparent !important;
        padding-right: 15px;
}

to show the image to the right side of link OR

HTML Code:

.postlist .postdetails .postbody .content .postcontent a {
        background: url("images/icons/url.gif") no-repeat scroll left center transparent !important;
        padding-left: 15px;
}

to show on the left side of the link.


Upload the attached icon (url.gif) to:
root/images/icons/

Than clean up your post-cache (ACP -> maintenance).

If you use it, please push install, rate and nominate :)

Testet until 4.1.9

Brandon Sheley 01-27-2012 08:00 PM

screenshot?

Kraxell 01-27-2012 08:13 PM

1 Attachment(s)
I'm sorry, thought the poeple know what it makes ^^

Screenshote attached.

Dr.osamA 01-28-2012 12:14 AM

thank you
installed and rated

billstelling 01-29-2012 08:43 AM

Nice little mod.. Thanks..

Kraxell 01-29-2012 09:49 AM

Your welcome :)

nerowolfe 01-29-2012 04:05 PM

Ty.

iyama 02-07-2012 09:36 AM

A short code buth same as: https://vborg.vbsupport.ru/showthread.php?t=259978

Kraxell 02-07-2012 12:42 PM

Thank for link, didnt know, that there are an other version.

Gemma 02-11-2012 11:41 AM

Useful. Thanks :)

TombstoneWarrior 02-11-2012 12:26 PM

what could this possible do if members dont know its a link they must be dumd. unless i have what this mod does confussed someone help me find out????

Kraxell 02-12-2012 09:52 AM

Hello Tombstone,

option 1: some designs/themes are dont have a big difference between normal text and hyperlinks. So if you use one of this themes, you 'll find the positive part of this modifiation :)

option2: its only a little make-up-effect

Merenguista 02-12-2012 10:19 AM

Hi, I want that the icon appears only for links and not images ?

Krusty1231 02-12-2012 11:22 AM

Quote:

Originally Posted by Kraxell (Post 2298799)
Hello Tombstone,

option 1: some designs/themes are dont have a big difference between normal text and hyperlinks. So if you use one of this themes, you 'll find the positive part of this modifiation :)

option2: its only a little make-up-effect

Agreed - some styles it is hard to see the color change from inside a post from a text to a URL. This mod fixes that.

Nice one.

Installed.

Thanks

Emeralda 02-12-2012 12:56 PM

Oh wow, that might be great and I'd finally be able to change links to black. But it creates a rather undesired effect with Mentions: http://prntscr.com/62nb8 <- is there a way to somehow prevent it from adding an icon after mentions? It would require much more coding, so yeah, it would be quite demanding >.<

Kraxell 02-12-2012 03:28 PM

Hello,

then you must write the hole sentece as link. otherwise its not possible

Quote:

Hi, I want that the icon appears only for links and not images ?
Sorry, not possible.

Merenguista 02-12-2012 05:32 PM

and if I want that the icon appears to the left of the link, not right ?

Kraxell 02-12-2012 06:08 PM

Use this one:

HTML Code:

.postlist .postdetails .postbody .content .postcontent a {
        background: url("images/icons/url.gif") no-repeat scroll left center transparent !important;
        padding-left: 15px;
}


Merenguista 02-12-2012 07:04 PM

Thanks .. Done and marked as installed ..

AURFSCAN 02-13-2012 08:36 PM

Quote:

Originally Posted by Kraxell (Post 2298941)
Hello,

then you must write the hole sentece as link. otherwise its not possible


Sorry, not possible.

BS it is possible :rolleyes:

Kraxell 02-13-2012 09:07 PM

Quote:

Originally Posted by AURFSCAN (Post 2299393)
BS it is possible :rolleyes:

Iam interested of your suggestion.

tini_lam 09-09-2014 11:23 PM

if I need icon won't display in quote then how do that


All times are GMT. The time now is 06:34 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.01100 seconds
  • Memory Usage 1,753KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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