Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
URL-Icon after link Details »»
URL-Icon after link
Version: 1.00, by Kraxell Kraxell is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 01-26-2012 Last Update: Never Installs: 30
Template Edits
 
No support by the author.

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

Screenshots

File Type: jpg link.jpg (28.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-11-2012, 12:26 PM
TombstoneWarrior's Avatar
TombstoneWarrior TombstoneWarrior is offline
 
Join Date: Jan 2012
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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????
Reply With Quote
  #13  
Old 02-12-2012, 09:52 AM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 02-12-2012, 10:19 AM
Merenguista's Avatar
Merenguista Merenguista is offline
 
Join Date: Sep 2010
Location: Morocco
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I want that the icon appears only for links and not images ?
Reply With Quote
  #15  
Old 02-12-2012, 11:22 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kraxell View Post
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
Reply With Quote
  #16  
Old 02-12-2012, 12:56 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 >.<
Reply With Quote
  #17  
Old 02-12-2012, 03:28 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 02-12-2012, 05:32 PM
Merenguista's Avatar
Merenguista Merenguista is offline
 
Join Date: Sep 2010
Location: Morocco
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and if I want that the icon appears to the left of the link, not right ?
Reply With Quote
  #19  
Old 02-12-2012, 06:08 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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; 
}
Reply With Quote
  #20  
Old 02-12-2012, 07:04 PM
Merenguista's Avatar
Merenguista Merenguista is offline
 
Join Date: Sep 2010
Location: Morocco
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks .. Done and marked as installed ..
Reply With Quote
  #21  
Old 02-13-2012, 08:36 PM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kraxell View Post
Hello,

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


Sorry, not possible.
BS it is possible
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 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.04633 seconds
  • Memory Usage 2,329KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete