vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - 'Text to Speech' user posts (https://vborg.vbsupport.ru/showthread.php?t=188839)

C.Birch 08-21-2008 10:00 PM

'Text to Speech' user posts
 
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/

Spank 08-22-2008 05:10 PM

Awesome idea. Is it very sever intensive?

C.Birch 08-22-2008 05:13 PM

Quote:

Originally Posted by Spank (Post 1604604)
Awesome idea. Is it very sever intensive?

Not at all, all text to speech converting is done by vozme.com using there free javascript code. so theres no added load to your site apart from the loading of 1 little image.

choccyclaire 08-22-2008 05:15 PM

Wow, that's so different!

Spank 08-22-2008 05:16 PM

Well that's just bloomin brill. I'm defo gonna install this and test it out.

Brandon Sheley 08-22-2008 05:18 PM

nice idea, I may add this :)

Spank 08-22-2008 05:27 PM

It works brilliantly, this deserves a motm nomination.

Defkalion 08-22-2008 05:45 PM

What languages does this work with?

RvG2 08-22-2008 05:47 PM

cool idea... i like it!

BucWiLd 08-22-2008 06:02 PM

very nice, im waiting for more feedback on the product b4 i install


All times are GMT. The time now is 07:08 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.02320 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete