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
  #2  
Old 09-07-2009, 06:02 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does this do exactly? makes text audible?
Reply With Quote
  #3  
Old 09-07-2009, 06:50 AM
Uasuforos's Avatar
Uasuforos Uasuforos is offline
 
Join Date: Jun 2008
Location: Mexico
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, check

http://vozme.com/webmasters.php?lang=en
Reply With Quote
  #4  
Old 09-07-2009, 12:40 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #5  
Old 09-07-2009, 02:03 PM
nomoreturn's Avatar
nomoreturn nomoreturn is offline
 
Join Date: Apr 2009
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 09-07-2009, 02:17 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe a description of the mod in the first post would help
Reply With Quote
  #7  
Old 09-07-2009, 02:18 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or a button thats in English
Reply With Quote
  #8  
Old 09-07-2009, 02:31 PM
erel34's Avatar
erel34 erel34 is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #9  
Old 09-07-2009, 06:37 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this nice hack
the style on your forum is very nice is it free ??
Reply With Quote
  #10  
Old 09-07-2009, 08:19 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, I want to know how can I add female voice in this code?
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:57 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.06992 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (2)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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