![]() |
THANXX again. This is working just M-a-r-v-e-l-o-u-s!
|
Great Work!!!!
Thanks!!! |
I imagine not many people use the HTML "alt" image tag with vBulletin, but I do with my class newsletters, which go back for nine years. Word Links breaks the image if the alt tag one of the auto-linked words. For example, "homework" is automatically linked. If I have an image with "homework" in the alt tag (and I do, every week), here's what I get: X (broken image) homework3.gif" alt="homework"> (homework is a link)
Not a big deal, really. It's really a great product. Thanks! |
I know most people don't use alt in their images in vBulletin, but actually this mod should work even if they do. I just checked your site (the one in your profile) and found this example link in one of your posts (by viewing the HTML source)
HTML Code:
<img src="http://www.pb5th.com/pbkidz10/log/051611.jpg" alt="!!!"> HTML Code:
<img src="http://www.pb5th.com/pbkidz10/log/051611.jpg" alt="!!!" /> |
Quote:
|
Are you using a BBCode? If so it would be a simple fix and work on all past images as well. If it is a BB Code paste the replacement text into a post and I can update it for you.
|
Quote:
|
Quote:
|
I am far, far from an expert, but I'm wondering if this would work:
Take: "> Replace " /> |
It might but it may cause other problems with other tags... also I think the replacement variable is run after all other mods so it wouldn't help in this case.
Ideally you'd need some type of search and replace on your database using a regular expression to find your old <img> tags and update them to xhtml <img> tags.... But I wouldn't get involved in something risking your database if things don't go well. Another solution but not ideal would be a plugin that runs on postbit_display_complete with executon order 1 (so it runs before this mod) to change your html <img> tags to xhtml <img> on the fly. But it would really depend on how consistent your existing tags were entered. Is it always src="" before alt="" for example? if they were inconsistent this wouldn't work. |
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|