The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    edit "Actions" ,edit plus_menu

    xiaomah01
    xiaomah01
    Forumember


    Male Posts : 206
    Reputation : 7
    Language : English|Chinese|malay
    Location : malaysia

    Solved edit "Actions" ,edit plus_menu

    Post by xiaomah01 May 27th 2012, 7:16 am

    1: change the word "Actions"(better change to img)
    edit "Actions" ,edit plus_menu A2ngk

    2:edit or change the word/link in plus menu
    edit "Actions" ,edit plus_menu NTdcJ

    3:(if possibility)can put for each floor,when click ,show plus menu
    so as to add a Favorites

    Spoiler:


    Last edited by xiaomah01 on May 27th 2012, 8:39 pm; edited 1 time in total
    c3vietk
    c3vietk
    Forumember


    Male Posts : 65
    Reputation : 41
    Language : Vietnamese, HTML, Javascript, C#, PHP
    Location : Vietnam, HCMc

    Solved Re: edit "Actions" ,edit plus_menu

    Post by c3vietk May 27th 2012, 8:35 am

    Display ~> Template ~> General ~> Viewtopicbody : edit "Actions" ,edit plus_menu Editer

    Find :
    Code:
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">{L_SHARE}</a>
                <!-- BEGIN switch_plus_menu -->
                Â | 
                <script type="text/javascript">//<![CDATA[
                   var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
                   var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                   var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                   var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                   var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                   var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                   insert_plus_menu('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
    Replace with :
    Code:
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">zzzShare</a>
                <!-- BEGIN switch_plus_menu -->
                Â | 
                <script type="text/javascript">//<![CDATA[
                                      function insert_plus_menu(search_where, session_id, add_favourite) {
                   var favourite = '';
                   session_id = (session_id ? '&sid=' + session_id : '');
                   if (add_favourite) {
                      favourite = search_where.replace(new RegExp("f([0-9]*)(&|&)t=([0-9]*)", "g"), '$3');
                      url_favourite = window.url_favourite || ('/search.forum?search_id=favouritesearch&add_favourite=' + favourite + session_id);
                      favourite = '<a rel="nofollow" href="' + url_favourite + '">zzzzAdd to your favourites</a><br />'
                   }
                   search_where = '&search_where=' + search_where;
                   url_newposts = window.url_newposts || ('/search.forum?search_id=newposts' + search_where + session_id);
                   url_egosearch = window.url_egosearch || ('/search.forum?search_id=egosearch' + search_where + session_id);
                   url_unanswered = window.url_unanswered || ('/search.forum?search_id=unanswered' + search_where + session_id);
                   url_watchsearch = window.url_watchsearch || ('/search.forum?search_id=watchsearch' + search_where + session_id);
                   url_tellfriend = window.url_tellfriend || ('/tell_friend.forum?f=' + search_where + session_id);
                   document.write('<a rel="nofollow" href="javascript:showhide(document.getElementById(\'plus_menu\'))">zzzACTIONS</a><br /><div id="plus_menu" style="display:none;position:absolute;margin-top:8px;z-index:1;"><table class="forumline" cellpadding="3" cellspacing="0" border="0" width="200"><tr><th class="thHead">zzzzActions</th></tr><tr><td class="row1" nowrap="nowrap"><span class="gensmall"><b><a rel="nofollow" href="' + url_newposts + '">zzzzNewposts</a><br /><a rel="nofollow" href="' + url_egosearch + '">zzzYourposts</a><br /><a rel="nofollow" href="' + url_unanswered + '">zzzUnanswers</a><br /><a href="' + url_watchsearch + '">zzzTopic(s) being watched</a><hr>' + favourite + '<a rel="nofollow" href="' + url_tellfriend + '">zzzSend to a friend</a><br /><a rel="nofollow" href="' + self.location.href + '" onclick="link_bbcode();return false">zzzCopy BBCode URL</a><br /><a rel="nofollow" href="javascript:void(0);" onclick="window.print();return false">zzzPrint this page</a></b></span></td></tr></table></div>')
                }
                insert_plus_menu('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
    edit these labels as you wish : zzzShare, zzzACTIONS, zzzzAdd to your favourites, zzzPrint this page, zzzPrint this page, zzzzActions, zzzzNewposts, zzzYourposts, zzzUnanswers, zzzTopic(s) being watched, zzzSend to a friend
    xiaomah01
    xiaomah01
    Forumember


    Male Posts : 206
    Reputation : 7
    Language : English|Chinese|malay
    Location : malaysia

    Solved Re: edit "Actions" ,edit plus_menu

    Post by xiaomah01 May 27th 2012, 10:16 am

    done...only favourites did not work

    when click,direct to favouritesearch body

    link Can not be added scratch
    c3vietk
    c3vietk
    Forumember


    Male Posts : 65
    Reputation : 41
    Language : Vietnamese, HTML, Javascript, C#, PHP
    Location : Vietnam, HCMc

    Solved Re: edit "Actions" ,edit plus_menu

    Post by c3vietk May 27th 2012, 10:39 am

    oh! my mistake :p

    Code:
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">zzzShare</a>
                <!-- BEGIN switch_plus_menu -->
                |
                <script type="text/javascript">//<![CDATA[
                                      function insert_plus_menu(search_where, session_id, add_favourite) {
                  var favourite = '';
                  session_id = (session_id ? '&sid=' + session_id : '');
                  if (add_favourite) {
                      favourite = search_where.replace(new RegExp("f([0-9]*)(&|&)t=([0-9]*)", "g"), '$3');
                      url_favourite = window.url_favourite || ('/search.forum?search_id=favouritesearch&add_favourite=' + favourite + session_id);
                      favourite = '<a rel="nofollow" href="' + url_favourite + '">zzzzAdd to your favourites</a><br />'
                  }
                  search_where = '&search_where=' + search_where;
                  url_newposts = window.url_newposts || ('/search.forum?search_id=newposts' + search_where + session_id);
                  url_egosearch = window.url_egosearch || ('/search.forum?search_id=egosearch' + search_where + session_id);
                  url_unanswered = window.url_unanswered || ('/search.forum?search_id=unanswered' + search_where + session_id);
                  url_watchsearch = window.url_watchsearch || ('/search.forum?search_id=watchsearch' + search_where + session_id);
                  url_tellfriend = window.url_tellfriend || ('/tell_friend.forum?f=' + search_where + session_id);
                  document.write('<a rel="nofollow" href="javascript:showhide(document.getElementById(\'plus_menu\'))">zzzACTIONS</a><br /><div id="plus_menu" style="display:none;position:absolute;margin-top:8px;z-index:1;"><table class="forumline" cellpadding="3" cellspacing="0" border="0" width="200"><tr><th class="thHead">zzzzActions</th></tr><tr><td class="row1" nowrap="nowrap"><span class="gensmall"><b><a rel="nofollow" href="' + url_newposts + '">zzzzNewposts</a><br /><a rel="nofollow" href="' + url_egosearch + '">zzzYourposts</a><br /><a rel="nofollow" href="' + url_unanswered + '">zzzUnanswers</a><br /><a href="' + url_watchsearch + '">zzzTopic(s) being watched</a><hr>' + favourite + '<a rel="nofollow" href="' + url_tellfriend + '">zzzSend to a friend</a><br /><a rel="nofollow" href="' + self.location.href + '" onclick="link_bbcode();return false">zzzCopy BBCode URL</a><br /><a rel="nofollow" href="javascript:void(0);" onclick="window.print();return false">zzzPrint this page</a></b></span></td></tr></table></div>')
                }
                var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
                var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                insert_plus_menu('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
    xiaomah01
    xiaomah01
    Forumember


    Male Posts : 206
    Reputation : 7
    Language : English|Chinese|malay
    Location : malaysia

    Solved Re: edit "Actions" ,edit plus_menu

    Post by xiaomah01 May 27th 2012, 11:32 am

    ok,done Very good is work

    then can put for each floor?or some where?
    i put the code:
    <a rel="nofollow" href="' + url_favourite + '">bbb</a>

    do not work scratch
    when click bbb direct You can return to the index...
    c3vietk
    c3vietk
    Forumember


    Male Posts : 65
    Reputation : 41
    Language : Vietnamese, HTML, Javascript, C#, PHP
    Location : Vietnam, HCMc

    Solved Re: edit "Actions" ,edit plus_menu

    Post by c3vietk May 27th 2012, 4:51 pm

    try this code :
    Code:
    <script type="text/javascript">
    document.write('<a rel="nofollow" href="' + url_favourite + '">bbb</a>');
    </script>
    xiaomah01
    xiaomah01
    Forumember


    Male Posts : 206
    Reputation : 7
    Language : English|Chinese|malay
    Location : malaysia

    Solved Re: edit "Actions" ,edit plus_menu

    Post by xiaomah01 May 27th 2012, 8:38 pm

    done Very good u are perfect

    good skill king

      Current date/time is November 11th 2024, 6:09 pm