vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Integration with vBulletin - Listen This Post (https://vborg.vbsupport.ru/showthread.php?t=222631)

Uasuforos 09-06-2009 10:00 PM

Listen This Post
 
1 Attachment(s)
This is a small modification to be able to listen to post long, Functional in the version 3.8.x It is possible also to be implemented for Spanish.

Step 1:
Go to "Styles & Templates" >> "Style Manager".

Step 2:
Press the "Go" Button.

Step 3:
Edit template.

http://www.uasuforos.com/tutos/step1.jpg


Step 4:
Make Double-Click en "Postbit Templates"

http://www.uasuforos.com/tutos/step2.jpg

Step 5:
Make Double-Click en "postbit_legacy"

Step 6:

Search this code:

Code:

<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>

And after add:
For male Voice:

Code:


<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','en','ml');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" /></a>

For Female Voice:

Code:


<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','en','fm');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" /></a>


http://www.uasuforos.com/tutos/step7.jpg

Step 7:
Save the Template.

Step 8:
Upload image listen.gif in template directory default or in use.

http://www.uasuforos.com/listen.gif

Example.

This Link

Especial Thanks PoLiZe
(By the adaptation).


Use in FireFox Perfectly an IE8 Limit to 250 Words

-----------------------------------------------------------

Para Implementarlo en espa?ol solo se debe poner este codigo:

Voz de Hombre:
Code:


<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','es','ml');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" /></a>



Voz de Mujer:
Code:


<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','es','fm');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" /></a>


Y editar el boton y subirlo a las carpetas de los temas donde implementaran el codigo.


Especial Thanks PoLiZe
(By the adaptation).

Medtech 09-07-2009 06:02 AM

What does this do exactly? makes text audible?

Uasuforos 09-07-2009 06:50 AM

Yes, check

http://vozme.com/webmasters.php?lang=en

Kolbi 09-07-2009 12:40 PM

It?s not xhtml valid:
Quote:

<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','en','ml');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" ></img></a>
change to:
Quote:

<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<a href="javascript:void(0);"
onclick="get_id('post_message_$post[postid]','en','ml');">
<img src="$stylevar[imgdir_button]/listen.gif" alt="Listen this post" border="0" /></a>

nomoreturn 09-07-2009 02:03 PM

Installed but not work for other lang its just for english and also for me not working in postbit_leagacy its just works in postbit
Step 5:
Make Double-Click en "postbit_legacy"

works in postbit
useing 3.8.4

Brandon Sheley 09-07-2009 02:17 PM

maybe a description of the mod in the first post would help ;)

HMBeaty 09-07-2009 02:18 PM

Or a button thats in English

erel34 09-07-2009 02:31 PM

thanks

saadessa 09-07-2009 06:37 PM

this nice hack
the style on your forum is very nice is it free ??

ricardoNJ 09-07-2009 08:19 PM

Nice, I want to know how can I add female voice in this code?

ricardoNJ 09-08-2009 03:07 AM

I did it.

Uasuforos 09-08-2009 06:54 AM

Quote:

Originally Posted by Kolbi (Post 1881070)
It?s not xhtml valid:

change to:

Thanks, Modified.

Quote:

Originally Posted by Loco.M (Post 1881117)
maybe a description of the mod in the first post would help ;)

Ok.

Quote:

Originally Posted by Redlinemotorsports (Post 1881119)
Or a button thats in English

Ok, tomorrow upload button for English

Quote:

Originally Posted by saadessa (Post 1881229)
this nice hack
the style on your forum is very nice is it free ??

Thanks, style no free, is payment.

Quote:

Originally Posted by ricardoNJ (Post 1881270)
Nice, I want to know how can I add female voice in this code?

ml male

fm female

Check this code.


Thanks for responses.

Cableguy69 09-08-2009 06:23 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1881119)
Or a button thats in English

Would it not be wiser to create a button that matches your forum? You could create one with the PSD if one came with your skin that is.

Or you could simply use an icon such as these.

https://vborg.vbsupport.ru/external/2009/09/47.jpghttps://vborg.vbsupport.ru/external/2009/09/48.jpghttps://vborg.vbsupport.ru/external/2009/09/49.jpghttps://vborg.vbsupport.ru/external/2009/09/50.jpg

Obviously they would need to be resized to suit you needs, but I think the button image is irrelevant.

The button for my own forum would look like this.

https://vborg.vbsupport.ru/external/2009/09/51.jpg

ricardoNJ 09-08-2009 09:33 PM

I want to know if we can speak or record our own voices?

hotwheels 09-08-2009 09:44 PM

very kewl........

Hostboard 09-09-2009 12:26 AM

What is the difference between your mod and:
https://vborg.vbsupport.ru/showthread.php?t=188839

Uasuforos 09-10-2009 05:29 AM

Quote:

Originally Posted by ricardoNJ (Post 1881785)
I want to know if we can speak or record our own voices?

No, use the service de vozme.com

Quote:

Originally Posted by Hostboard (Post 1881836)
What is the difference between your mod and:
https://vborg.vbsupport.ru/showthread.php?t=188839

Is many simple.

EidolonAH 09-10-2009 08:26 AM

The speech is awkward and it doesn't work on posts with any BBCode tags, but it is never the less a brilliant step in the right direction for making forums more accessible for people with sight difficulties.
First rate idea, my hat off to you, well done for sharing this.

Hornstar 09-10-2009 09:49 AM

I don't see the listen button on your demo site.

EidolonAH 09-10-2009 10:56 AM

Quote:

Originally Posted by hornstar1337 (Post 1882445)
I don't see the listen button on your demo site.

You can see it working here:
http://www.arcanehades.com/nurturemh...read.php?t=204


All times are GMT. The time now is 02:14 AM.

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.01091 seconds
  • Memory Usage 1,767KB
  • 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
  • (5)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete