The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
'Text to Speech' user posts Details »» | |||||||||||||||||||||||||
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 --> 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> 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> Code:
<script type="text/javascript" src="get_text.js"></script> Show Your Support
|
Comments |
#62
|
|||
|
|||
How can I add this to vbadvanced Dynamics?
Could any one help please? |
#63
|
|||
|
|||
Still waiting for help...
|
#64
|
||||
|
||||
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> 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> 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 |
#65
|
||||
|
||||
Unless someone is running vBa Dynamics, we wouldn't know what to tell you.
|
#66
|
||||
|
||||
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 |
#67
|
|||
|
|||
Quote:
What o you think? |
#68
|
||||
|
||||
very well done. Way to think outside the box!
|
#69
|
||||
|
||||
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. |
#70
|
||||
|
||||
You installed it just fine, you just havn't uploaded the button image to right place(s).
|
#71
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|