Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add ALT and/or TITLE text to linked images in VB3 by BOP5 Details »»
Add ALT and/or TITLE text to linked images in VB3 by BOP5
Mod Version: 1.00, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: Oct 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 17
Released: 15 Mar 2012 Last Update: 16 Mar 2012 Downloads: 91
Supported Uses Plugins Code Changes Additional Files  


The purpose of this mod is to add alt text and/or title text to to the <img> tags generated in VB3.x when an image is linked in a post.

This is the Standard Version. The GOLD Version is FREE but available only from:
Qapla.com - Add Alt Text GOLD by BOP5 Mod

The GOLD edition has 1 additional feature: Smart Tagging
Smart Tagging will check the filename of an image for useful information. If the mod believes the filename can be useful to describing the image it will use a cleaned and formatted version of the filename as the alt or title text. If the mod sees that the filename is all numeric, or a common digital camera format, or a vbulletin attachment filename it will instead use the thread title as the alt/title text for the image.

The Standard edition has only 3 options for alt or title text, each of which can be set independently. - Use Filename, Use Thread Title, or use both Filename AND Thread Title to create the tag.

THIS MOD REQUIRES 1 MANUAL FILE EDIT
Instructions included, the class_bbcode.php file must be edited. Detailed instructions are included on the ONE edit that must be made.

Since VB 3.8.7 is the last VB 3.x release a manual file edit isn't very annoying since you'll never have to worry about re-doing it unless you re-install your forum.

If you ever upgrade to VB4 there is a separate VB4 version that doesn't require any file edits.

Live Demo: A random image posted on JUOT Forums

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vb3_alt_text_filename.jpg
Views:	280
Size:	153.0 KB
ID:	137057Click image for larger version

Name:	vb3_alt_text_threadtitle.jpg
Views:	256
Size:	97.5 KB
ID:	137058Click image for larger version

Name:	vb3_settings.jpg
Views:	176
Size:	112.2 KB
ID:	137059

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add Alt Text to Linked Images by BOP5 (VB 4.1.10+) BirdOPrey5 vBulletin 4.x Add-ons 54 05 Jun 2014 10:50

Comments
  #2  
Old 15 Mar 2012, 14:26
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Reserved.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 16 Mar 2012, 15:01
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I updated the zip file, I had included the wrong instructions for the manual file edit- my apologies.

The real edit, which has been fixed in the instructions now is:

Open file /includes/class_bbcode.php

Find in file: function handle_bbcode_img_match
or
Go to line #: 1993(in VB 3.8.7, may vary in other versions)

Change:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #4  
Old 19 Mar 2012, 17:10
Abu2's Avatar
Abu2 Abu2 is offline
 
Join Date: Sep 2007
Real name: Andrew
//return '<img src="' . $link . '" border="0" alt="" />';
($hook = vBulletinHook::fetch_hook('bbcode_img_match_vb3')) ? eval($hook) : false;
$retval = '<img src="' . $link . '" border="0" alt="'.$bop5alt.'" '.$bop5title.$bop5rscode.' />';
return $retval;
It works perfect in FireFox, but not in IE9.
Image resizer not working in IE9 at all with this code. (I use ncode)
Why?
__________________
Sol lucet omnibus
Reply With Quote
  #5  
Old 19 Mar 2012, 21:11
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It's working on my IE9...

Does it work for you on this page:
http://www.juot.net/forums/showthrea...13#post1286813

Please give me a link to a thread on your site with the problem.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #6  
Old 20 Mar 2012, 22:01
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
Just installed on my vb3.8 and it seems to be working just fine. Thanks!
Reply With Quote
  #7  
Old 21 Mar 2012, 21:25
weindians weindians is offline
 
Join Date: Sep 2006
Has this anything to do with [img] tag which normaly used while posting
__________________
Weindians.net
Reply With Quote
  #8  
Old 21 Mar 2012, 23:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Yes, this works specifically with the regular [img] tag.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #9  
Old 23 Mar 2012, 17:30
weindians weindians is offline
 
Join Date: Sep 2006
great BOP5... thanx for the mod.. also is there a option to add alt text to images exits... also "image linked in post" means <img src"link"/> ??? what if images inserted like [img]link[/img] or is it hotlinking images??
__________________
Weindians.net
Reply With Quote
  #10  
Old 23 Mar 2012, 18:28
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
This will work for all images added via the [IMG] BBCode- It works all existing posts as well, not just new ones.

If it isn't showing on an old post it may mean the post cache needs to be cleared. You can edit-and-resave the post to force the cache to update.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #11  
Old 24 Mar 2012, 00:44
weindians weindians is offline
 
Join Date: Sep 2006
editing and saving posts will be bit time consuming, to check which images in threads are not showing when u have 73k+ threads.... i'm going to install it... thanx..

Update: i installed the gold version from Qapla... used 'alt text' only with 'thead title ' option... its giving all images including signature images same alt tag...?? also i feel smart tag is bad for tinypic hosted images , just numbers u get in alt text
__________________
Weindians.net

Last edited by weindians : 24 Mar 2012 at 01:15.
Reply With Quote
  #12  
Old 24 Mar 2012, 01:46
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
If you used the "thread title" option then yes, every image in the thread (signature or otherwise) will have the thread title as the alt text... That's what it's supposed to do.

Next version will have an option to disable it on signatures. I actually posted code to do it now if you want in the Qapla.com thread, somewhere on the first page or two.

I'll look at fixing tinypic in the next update as well, thanks for the info.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #13  
Old 26 Mar 2012, 17:27
weindians weindians is offline
 
Join Date: Sep 2006
no worries BOP5.... for tinypic any image uploaded gets just numbers.jpg ..do they actually store the orig image name which can be pulled using that number? are u going to exclude tinypic from adding alt/title text
__________________
Weindians.net
Reply With Quote
  #14  
Old 26 Mar 2012, 19:43
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I just uploaded this to tnypic and it's not all numbers... can you give me an example link?

__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #15  
Old 26 Mar 2012, 22:34
weindians weindians is offline
 
Join Date: Sep 2006
its not only numbers letters to.. random way,....

http://i42.tinypic.com/5lbbb6.jpg.... uploaded with name 'boink' and extension 'gif'. i have an account with tinypic..... it never gave me original file name..
__________________
Weindians.net

Last edited by weindians : 30 Mar 2012 at 22:19.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 00:24.

Layout Options | Width: Wide Color: