Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Listen This Post Details »»
Listen This Post
Version: 1.00, by Uasuforos Uasuforos is offline
Developer Last Online: Jan 2017 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.4 Rating:
Released: 09-06-2009 Last Update: Never Installs: 11
Template Edits
Re-useable Code Translations  
No support by the author.

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.




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



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>



Step 7:
Save the Template.

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



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).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-08-2009, 03:07 AM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it.
Reply With Quote
  #13  
Old 09-08-2009, 06:54 AM
Uasuforos's Avatar
Uasuforos Uasuforos is offline
 
Join Date: Jun 2008
Location: Mexico
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
It?s not xhtml valid:

change to:
Thanks, Modified.

Quote:
Originally Posted by Loco.M View Post
maybe a description of the mod in the first post would help
Ok.

Quote:
Originally Posted by Redlinemotorsports View Post
Or a button thats in English
Ok, tomorrow upload button for English

Quote:
Originally Posted by saadessa View Post
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 View Post
Nice, I want to know how can I add female voice in this code?
ml male

fm female

Check this code.


Thanks for responses.
Reply With Quote
  #14  
Old 09-08-2009, 06:23 PM
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redlinemotorsports View Post
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.



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.

Reply With Quote
  #15  
Old 09-08-2009, 09:33 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to know if we can speak or record our own voices?
Reply With Quote
  #16  
Old 09-08-2009, 09:44 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very kewl........
Reply With Quote
  #17  
Old 09-09-2009, 12:26 AM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the difference between your mod and:
https://vborg.vbsupport.ru/showthread.php?t=188839
Reply With Quote
  #18  
Old 09-10-2009, 05:29 AM
Uasuforos's Avatar
Uasuforos Uasuforos is offline
 
Join Date: Jun 2008
Location: Mexico
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ricardoNJ View Post
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 View Post
What is the difference between your mod and:
https://vborg.vbsupport.ru/showthread.php?t=188839
Is many simple.
Reply With Quote
  #19  
Old 09-10-2009, 08:26 AM
EidolonAH EidolonAH is offline
 
Join Date: Apr 2009
Location: London, England
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 09-10-2009, 09:49 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see the listen button on your demo site.
Reply With Quote
  #21  
Old 09-10-2009, 10:56 AM
EidolonAH EidolonAH is offline
 
Join Date: Apr 2009
Location: London, England
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
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
Reply With Quote
Reply

Thread Tools

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 06:50 PM.


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.08300 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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