Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Alt Image Attribute BB code - SEO Images Details »»
Alt Image Attribute BB code - SEO Images
Version: 1.01, by roady89 roady89 is offline
Developer Last Online: Oct 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.0 Rating:
Released: 07-25-2008 Last Update: Never Installs: 19
Is in Beta Stage  
No support by the author.

Alt Image Attribute BB code - SEO Images

I have been using this Alt image text BB code for a few months and it works pretty good to SEO images. This is my first MOD post so if this has been posted before or something is incorrect or done wrong please let me know. It is for hot linked images NOT image's posted as attachments. It should work with all versions of Vbulletin.


Title: Alt Attribute BB code


Tag: alt


Replacement:



Example:
HTML Code:
[alt=http://www.image-source.com/example-image.jpg]Alt Text[/alt]
NOTE: Does not work like this [alt]Alt text[/alt].


Description:
Alt Attribute for Images


Use {option}:Yes

Button Image: http://img224.imageshack.us/img224/9674/72419669ss4.png

When posting, type in the text you want as the Alt attribute, highlight the text, click the button and insert your image url into the window promt, hit OK

OR:
Click the button, insert your image URL into the window promt, hit OK and then the editor will be ready for you to fill in the Alt Image Attribute text.


Demo: Used Golf Carts Mouse over images to see alt image text.

Also a Linked Example:
HTML Code:
[url=http//www.example-site.com/][alt=http://www.image-source.com/example-image.jpg]Alt Text[/alt][/url]
Please click INSTALL if you use this BB code.


1.01: Added a Button Image.

Show Your Support

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

Comments
  #2  
Old 07-26-2008, 06:14 PM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!! This would mainly be used by the admins I guess :P Members (well mine) really don't go above and beyond even if it's this easy. But I think this should come standard with the image bbcode when you click the icon, after you enter the url you should be prompt for alt txt.
Reply With Quote
  #3  
Old 07-26-2008, 06:23 PM
roady89 roady89 is offline
 
Join Date: Jun 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Ultimately, that is how I would like for it to be. Exactly the same way you described.
Reply With Quote
  #4  
Old 07-27-2008, 04:25 AM
roady89 roady89 is offline
 
Join Date: Jun 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 1.01. Include a cheesy button. Alot easier to use with the addition of the button.
Reply With Quote
  #5  
Old 07-27-2008, 01:36 PM
Bexter Bexter is offline
 
Join Date: Nov 2006
Location: England
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:O I was looking for this just the other day :O

Thanks

Installed
Reply With Quote
  #6  
Old 07-28-2008, 10:07 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, use tag for images is good for seo, ima use it for http://www.highrankforum.com/, thanks
Reply With Quote
  #7  
Old 08-12-2008, 11:54 PM
roady89 roady89 is offline
 
Join Date: Jun 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AzzidReign View Post
I think this should come standard with the image bbcode when you click the icon, after you enter the url you should be prompt for alt txt.
I was able to come up with a JavaScript code that will prompt for both image URL AND the image description. I am testing it now on my forum and it's working OK...one issue is with IE7. It blocks the prompt unless you allow it. Firefox works fine. I'm trying to incorporate the JavaScript code into vb's JavaScript but with minimal success.
Reply With Quote
  #8  
Old 11-06-2008, 02:09 AM
delmarva's Avatar
delmarva delmarva is offline
 
Join Date: Jun 2006
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree.. Is there any way we can find a solution to all of these missing "alt" tags for hotlinked images to our sites? I think this is killing our SEO and according to my analytics, missing alt tags is not a good thing...
Reply With Quote
  #9  
Old 04-12-2009, 07:32 AM
serhat_kk serhat_kk is offline
 
Join Date: Jun 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to to this automatically. Like giving the thread title to images as an alt tag?
Reply With Quote
  #10  
Old 10-20-2009, 01:23 AM
mhackl mhackl is offline
 
Join Date: Aug 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this not be incorporated into the IMG tag?
Reply With Quote
Reply

Thread Tools

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 11:38 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.07983 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete