vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [OzzModz] URL Icon Before Or After Links In Posts (https://vborg.vbsupport.ru/showthread.php?t=314177)

ozzy47 09-12-2014 07:54 PM

Quote:

Originally Posted by bzcomputers (Post 2514836)
Latest version fixed my issues, custom images work fine now, thanks.

Couple of recommendations for future releases:
1) Add the padding-left/right option to the stylevar
2) Add a margin-left/right option and put it in the stylevar
3) Add the ability to use different icons based on whether the link leaves the site (changes domain) or is an internal link.

Those seem possible. :)

ozzy47 09-12-2014 07:57 PM

Quote:

Originally Posted by OUTL4W (Post 2514846)
would it be possible to pull in the favicon from the url?...if not that's ok...

Just add the favicon to the ozzmodz_mods/ozzmodz_url_icon/images folder, then in the stylevar use, favicon.ico

bzcomputers 09-15-2014 02:40 AM

Anyway to stop this from adding icon to quoted message "posted by" link:

https://vborg.vbsupport.ru/external/2014/09/6.jpg

...possibly skipping anything referencing class="bbcode_postedby". Actually, it might be better overall if it just didn't add the icon to any link referenced by an <img>.

ozzy47 09-15-2014 09:35 AM

I am going to have to do some studying on how to stop it from showing on everything.

bzcomputers 09-15-2014 03:07 PM

Quote:

Originally Posted by ozzy47 (Post 2515231)
I am going to have to do some studying on how to stop it from showing on everything.

Yeah, that may be a pain to figure out.

In the mean time I added this to fix the post quote issue (also had to remove the "!important" reference on the background from the original css):

Code:

.bbcode_postedby a {
        background: none !important;
        padding-left: 0 !important;
}


ozzy47 09-15-2014 05:12 PM

That's a interesting workaround, and probably the easiest way to do it. :)

ozzy47 10-05-2014 03:03 PM

v2.0.0 (October 5, 2014)
- Added ability to have different images for internal/external links.
- Added a url whitelist, that will be treated as internal links.
- Image(s) will no longer show next to the quoted by link in post quotes.
- Images will no longer show up in the attachments box.
- Images will no longer show next to the email links.
- Images will no longer show up next to inline images.
- Added additional stylevars to control the new images, and the padding and margin.
- Added stylevars to set colors for the links.
- Added code to tell the difference between internal/external links.
- Added two more CSS templates, for use with the internal/external images.

mitch84 10-05-2014 03:26 PM

hi, I don't understand, how add a different image for a specific domain?
ex:
vbulletin.org=> image a
vbulletin.com=>image b
thx

ozzy47 10-05-2014 03:27 PM

That is not possible, only different images for internal/external images.

mitch84 10-05-2014 04:47 PM

ok, not for me, uninstalled


All times are GMT. The time now is 08:46 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.02265 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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