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
  #52  
Old 08-24-2008, 08:05 PM
jamesf4218 jamesf4218 is offline
 
Join Date: Dec 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Which version are you using? The one with local javascript or the one with the remote?
I tried both. Neither worked.

JTF
Reply With Quote
  #53  
Old 08-24-2008, 09:36 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We are using the Local version DJ, because of the window size.

I have noticed additional lag, and I suspect this is the IE issue.

I will be reverting today.

Ste
Reply With Quote
  #54  
Old 08-24-2008, 09:43 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. reverted to remote js version
2. windows unable to open destination window, but the pop up appears behind main forum page, close the alert box, and main forum page blanks out.

3. page lag, had disappeared since going from local to remote

4. I have done some more images for buttons ( please dont ask for any ) I havent got the time to do individual requests.
Reply With Quote
  #55  
Old 08-25-2008, 02:55 PM
jamesf4218 jamesf4218 is offline
 
Join Date: Dec 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(Second edit)

I fixed it myself.

To make it work on IE just change:

Quote:
<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>
to

Quote:
<img onclick="get_id('post_message_$post[postid]','en','fm');" src="images/misc/speech.png" alt="" width="123" height="37" border="0"
style="margin-right:0.4em;"/>
You should also make sure you wait until the page has fully downloaded before clicking the button.
Reply With Quote
  #56  
Old 08-25-2008, 05:59 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I see. I bet your forum was prepending javascript:void(0); with your forum address.
Reply With Quote
  #57  
Old 08-26-2008, 03:31 PM
191251gs 191251gs is offline
 
Join Date: May 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello first thank you for this modification! :up:
I run a forum with people who have bad eyes to read.
Is there also a German translation ?
Thank you and friendly greetings.
Reply With Quote
  #58  
Old 08-26-2008, 05:25 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would use it, but I used voz before and they are down a lot.
Reply With Quote
  #59  
Old 08-26-2008, 08:56 PM
whitetigergrowl whitetigergrowl is offline
 
Join Date: Jun 2004
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked as installed but waiting for a proper IE fix before fully installing.

Many also use VBSEO. Would this have any conflicts with that?
Reply With Quote
  #60  
Old 08-27-2008, 06:46 AM
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 whitetigergrowl View Post
Marked as installed but waiting for a proper IE fix before fully installing.

Many also use VBSEO. Would this have any conflicts with that?
It's probably not an IE problem, but vB problem. Sometime vBulletin puts your board URL in front of Javascript links. Just change javascript:void(0); to # and there shouldn't be a problem.
Reply With Quote
  #61  
Old 08-28-2008, 07:33 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really cool!

I would love to host a text to speech on my dedicated server. does anyone know of any software that would allow me to run something like this from my server?

Edit: I found this http://www.digitalfuturesoft.com/texttospeechserver.php
If I got that, would that work?
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 01:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04896 seconds
  • Memory Usage 2,312KB
  • 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
  • (6)bbcode_code
  • (4)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