1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Listen this post

Discussion in 'Template Modifications [Archive]' started by PoLiZe, Dec 5, 2010.

  1. PoLiZe

    PoLiZe Well-Known Member

    Hi people of xf..


    ok now i make a button for listen the post (with voice), in the forum, that is simple


    EDIT template "message"

    and search:

    HTML:
    <div class="messageContent">
    and remplace with that:

    HTML:
    <div id="message-{$messageId}" class="messageContent">

    ok so now need put the button..

    search:

    HTML:
    <div class="messageInfo primaryContent">

    and paste BEFORE:

    HTML:
    <script type="text/javascript" src="http://vozme.com/get_text.js"></script>
    <div><a href="javascript:void(0);"
    onclick="get_id('message-{$messageId},'en','ml');">
    <img src="http://vozme.com/img/megaphone40x40w.gif" border="0"
    style="margin-right:0.4em;" alt=""/></a>
    <a href="javascript:void(0);"
    onclick="get_id('message-{$messageId}','en','ml');">
    Listen this post</a></div><br>
    And the result is that: listenthis.png


    for change the voice to woman voice:

    <script type="text/javascript" src="http://vozme.com/get_text.js"></script>
    <div><a href="javascript:void(0);"
    onclick="get_id('message-{$messageId},'en','fm');">
    <img src="http://vozme.com/img/megaphone40x40w.gif" border="0"
    style="margin-right:0.4em;" alt=""/></a>
    <a href="javascript:void(0);"
    onclick="get_id('message-{$messageId}','en','fm');">
    Listen this post</a></div><br>

    Sorry for my bad english

    Bye!


    Note:

    Too u can put only the image, without the text "Listen this post", with that code:

    HTML:
    <script type="text/javascript" src="http://vozme.com/get_text.js"></script>
    <div><a href="javascript:void(0);"
    onclick="get_id('message-{$messageId},'en','ml');">
    <img src="http://vozme.com/img/megaphone40x40w.gif" border="0"
    style="margin-right:0.4em;" alt=""/></a>
    </div><br>


    ATENTION

    I UPGRADE THIS MODIFICATION IN THIS THREAD WITH OPTIONS ON THE ADMINCP..

    http://xenforo.com/community/posts/122537/
     
    arabic and Blandt like this.

Share This Page