by c3vietk May 27th 2012, 8:35 am
Display ~> Template ~> General ~> Viewtopicbody :
Find :
- Code:
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&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}&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&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}&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