'Text to Speech' user posts

mastram

New Member
'Text to Speech' user posts - vBulletin.org Forum

Version: 3.7.2

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 attached image to your images/misc/ folder

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 YourLSL Forums - Powered by vBulletin
 
Top