Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2005, 12:31 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default alt="$thread[icontitle]" : Question

I've installed a few mods, and now I'm finding on my portal page when I hover my mouse over both my News and Thread icons posted there. The ALT message being shown is now a path name like this "$thread[icontitle]" instead of a message for some strange reason.

What changes do I need to make in my portal.php file to fix this problem. I have done a search in the file and found therfe are two ALT titles entries for both News Icons and Thread icons. Which I have listed below.

Thread:
alt="$thread[icontitle]">';
alt="'.$thread[icontitle].'">';

News:
alt="$news[icontitle]">';
alt="'.$news[icontitle].'">';
Reply With Quote
  #2  
Old 08-22-2005, 03:58 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ALT is used for alternate text (if image viewing is disabled in application show alternate text).

Many people confuse the ALT attribute with the TITLE attribute -- TITLE will produce a tooltip. NOTE: IE displays the ALT as a tooltip but that was done because of compatibility issues with early Netscape browsers. This is not the correct way of using the ALT attribute.

Another way to look at it:
ALT values are parsed by search engines while TITLE values are ignored.
So, if you have many icons on the page with NOTEPAD (alternate text on notepad icon) you are actually hurting your SEO.

you should just leave the ALT empty - as the icon seldom has nothing to do with the message

For example:
{Notepad} Star Trek MMO Exclusive Interview
Reply With Quote
  #3  
Old 08-22-2005, 04:55 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you saying, search engines don't get thread titles, but do get ALT name title. Meaning if I have 5 threads all using the same Notpad ALT icon text. All the threads would not be indexed by the search engine because it would asume there all the same threads because of the ALT title on the icon.
Reply With Quote
  #4  
Old 08-22-2005, 05:17 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no that's not what I am saying...
threads will still be indexed; but, you are making it harder for people to find the page by using 'words' that are not relevant to the subject at hand

NOTE: when I say TITLE, I mean title="title of link or image" vs. alt="alternate text of image"

So, the TITLE value will usually be ignored by search engines while the ALT value will be parsed along with any other text on the page

To confuse you even more
ALT value are usually picked up by screen readers while the TITLE value is not
eg. A text reader would read "notepad Star Trek MMO Exclusive Interview" to the listener. I would think that would confuse the listener compared to "Star Trek MMO Exclusive Interview".

Search engines will completely ignore the below as code:
HTML Code:
<img src="notepad.gif" alt="" title="Notepad icon" width="16" height="16" />
Search engines will read "notepad" as text:
HTML Code:
<img src="notepad.gif" alt="notepad" width="16" height="16" />

Another tip:
always use width/height on all images -- your pages will display faster
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 10:03 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.03340 seconds
  • Memory Usage 2,190KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete