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.

edit "Actions" ,edit plus_menu

2 posters

Go down

Solved edit "Actions" ,edit plus_menu

Post by xiaomah01 Sun 27 May - 8:16

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 Sun 27 May - 21:39; edited 1 time in total
xiaomah01
xiaomah01
Forumember

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

http://johor.forumn.org/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by c3vietk Sun 27 May - 9:35

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
c3vietk
c3vietk
Forumember

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

http://diendan.chinhphuc.info/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by xiaomah01 Sun 27 May - 11:16

done...only favourites did not work

when click,direct to favouritesearch body

link Can not be added scratch
xiaomah01
xiaomah01
Forumember

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

http://johor.forumn.org/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by c3vietk Sun 27 May - 11:39

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 -->
c3vietk
c3vietk
Forumember

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

http://diendan.chinhphuc.info/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by xiaomah01 Sun 27 May - 12:32

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...
xiaomah01
xiaomah01
Forumember

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

http://johor.forumn.org/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by c3vietk Sun 27 May - 17:51

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

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

http://diendan.chinhphuc.info/

Back to top Go down

Solved Re: edit "Actions" ,edit plus_menu

Post by xiaomah01 Sun 27 May - 21:38

done Very good u are perfect

good skill king
xiaomah01
xiaomah01
Forumember

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

http://johor.forumn.org/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum