Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
'Text to Speech' user posts Details »»
'Text to Speech' user posts
Version: 1.01, by C.Birch C.Birch is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.2 Rating:
Released: 08-21-2008 Last Update: 08-22-2008 Installs: 66
Template Edits
Re-useable Code Translations  
No support by the author.

With this very easy mod you will be able to add 'Text to Speech' support to your forum posts so users may have a users post read out to them.

To install

In your 'postbit' and 'postbit_legacy' templates find:
Code:
<!-- controls -->
Add below:
Code:
<a href="javascript:void(0);" 
onclick="get_id('post_message_$post[postid]','en','fm');">
  <img src="images/misc/speech.png" alt="" width="123" height="37" border="0" 
style="margin-right:0.4em;"/></a>
-------------------------------------

In your headinclude template find:
Code:
<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
Add above:
Code:
<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
--------------------------------------

Upload the added image to your images/misc/ folder
Attachment 85889

UPDATE: To have a smaller pop up window
Upload the JS from the zip below to your forums root folder and do the following edit

In your headinclude template find:

Code:
<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
To

Code:
<script type="text/javascript" src="get_text.js"></script>
Thats all, A demo can be found at http://www.yourlsl.com/forums/

Show Your Support

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

Comments
  #62  
Old 09-05-2008, 10:36 PM
dubai2008 dubai2008 is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I add this to vbadvanced Dynamics?

Could any one help please?
Reply With Quote
  #63  
Old 09-08-2008, 01:03 PM
dubai2008 dubai2008 is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still waiting for help...
Reply With Quote
  #64  
Old 09-08-2008, 03:58 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi C.Birch,

This is a great add-on for any forum which wants to offer "accessibility" to visually impaired people.

I have done some minor improvements to the code you have posted to make it more usable with different themes/skins:

Instead of:
Code:
<a href="javascript:void(0);" 
onclick="get_id('post_message_$post[postid]','en','fm');">
  <img src="images/misc/speech.png" alt="" width="123" height="37" border="0" 
style="margin-right:0.4em;"/></a>
Use this:
Code:
<a href="javascript:void(0);" 
onclick="get_id('post_message_$post[postid]','en','fm');">
  <img src="$stylevar[imgdir_button]/speech.png" alt="text to speech" border="0" style="margin-right:0.4em;"/></a>
There are 2 differences here:
1. The path defined is for the SKIN IN USE, so that the speech.png button would have to be placed in the themes "buttons" folder: images/theme_name/butons/ this will allow users to customize the button according to their theme designs.

2. There are no width or height attributes used in the code since this is very restrictive code and button sizes can differ according to forum 'looks'

Hope you find it beneficial,
Thanks once again for this cool mod,
Aku
Reply With Quote
  #65  
Old 09-08-2008, 10:46 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dubai2008 View Post
Still waiting for help...
Unless someone is running vBa Dynamics, we wouldn't know what to tell you.
Reply With Quote
  #66  
Old 09-09-2008, 08:58 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it.. great idea.. though it doesn't work for me due to unsupported language..

How about making it for certain forums only? like I have some English forums and would love to add this to them..

I'll pass on this great idea for now

Thanks


EDIT: since I use different styles for the english/french forums I guess I could use this I just thought of that.. I will give it a try
Reply With Quote
  #67  
Old 09-09-2008, 08:06 PM
dubai2008 dubai2008 is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Unless someone is running vBa Dynamics, we wouldn't know what to tell you.
Well, i can send you the module to use it to make the hack....

What o you think?
Reply With Quote
  #68  
Old 09-11-2008, 11:57 PM
KrU$ty's Avatar
KrU$ty KrU$ty is offline
 
Join Date: Oct 2007
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very well done. Way to think outside the box!
Reply With Quote
  #69  
Old 09-12-2008, 12:40 AM
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont know what i have done wrong

i am not new to installing comlicated mods so this should have been easy for me.

I have made all the edits and done everything but nothing is showing up on my forum.

I have just installed a new style and i made the edits to the new style as that is what i will be using.

Do i have to do it with any other styles as well to make it work?

The site is http://www.cashloopholes.co.uk if that helps and everything is set up so it should be working.
Reply With Quote
  #70  
Old 09-14-2008, 07:45 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You installed it just fine, you just havn't uploaded the button image to right place(s).
Reply With Quote
  #71  
Old 09-19-2008, 07:36 AM
grant.hayman grant.hayman is offline
 
Join Date: Feb 2007
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea,

We have a few blind people on our forum and they have screen reader software already, but this gives the option to anyone.

Does anyone know if there is software for reading the image authentication as that is a stumbling block for blind people as their software can't read the images for obvious reasons.

There must be an alternative to image verificartion that uses sound?? (I hope).

Grant
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:59 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.08268 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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
  • (8)bbcode_code
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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