PDA

View Full Version : Integration with vBulletin - Listen This Post


Uasuforos
09-06-2009, 10:00 PM
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:

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



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



<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 (http://www.uasuforos.com/foro/f7/buscamos-disenador-grafico-postulate-ve-mas-3495/)

Especial Thanks PoLiZe (http://www.uasuforos.com/foro/members/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:


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


<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 (http://www.uasuforos.com/foro/members/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:
<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:
<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
It?s not xhtml valid:

change to:

Thanks, Modified.

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

Ok.

Or a button thats in English

Ok, tomorrow upload button for English

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

Thanks, style no free, is payment.

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
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
I want to know if we can speak or record our own voices?

No, use the service de vozme.com

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
I don't see the listen button on your demo site.

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