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
3 posters

    Like Button missing

    avatar
    gabrielhadjimalik
    Forumember


    Posts : 26
    Reputation : 2
    Language : English

    Solved Like Button missing

    Post by gabrielhadjimalik June 25th 2014, 2:05 am

    Hello forumotion i have a problem again of my Like Button before i change the viewtopic_boddy script the like button is good i change the code.

    Like Button missing Untitl11


    Then if i change for this the like button won't show but this style for the profile is what i want to make.
    Code:
    <script type="text/javascript">
    //<![CDATA[
    var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
    $(function(){

     Â   if(typeof(_atc) == "undefined") {
     Â       _atc = { };
     Â   }
     Â   
     Â   _atc.cwait = 0;
     Â   $('.addthis_button').mouseup(function(){
     Â       if ($('#at15s').css('display') == 'block') {
     Â           addthis_close();
     Â       }
     Â   });
    });

    var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
    showHiddenMessage = function(id)
    {
     Â   try
     Â   {
     Â       var regId = parseInt(id, 10);
     Â       if( isNaN(regId) ) { regId = 0; }
     Â       
     Â       if( regId > 0)
     Â       {
     Â           $('.post--' + id).toggle(0, function()
     Â       {
     Â           if( $(this).is(":visible") )
     Â           {
     Â             $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
     Â           }
     Â           else
     Â           {
     Â             $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
     Â           }
     Â       });
     Â       }
     Â   }
     Â   catch(e) { }
     Â   
     Â return false;
    };

    //]]>
    </script>

    <table width="100%" border="0" cellspacing="2" cellpadding="0">
     Â <tr>
     Â     <td align="left" valign="middle" nowrap="nowrap">
     Â       <span class="nav">
     Â       <!-- BEGIN switch_user_authpost -->
     Â       <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>&nbsp;&nbsp;&nbsp;
     Â       <!-- END switch_user_authpost -->
     Â       <!-- BEGIN switch_user_authreply -->
     Â       <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
     Â       <!-- END switch_user_authreply -->
     Â       </span>
     Â     </td>      
     Â     <td class="nav" valign="middle" width="100%">
     Â       <span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span>        
     Â     </td>      
     Â     <td align="right" valign="bottom" nowrap="nowrap" width="100%">
     Â       <!-- BEGIN switch_twitter_btn -->
     Â       <span id="twitter_btn" style="margin-left: 6px; ">
     Â       <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
     Â       <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
     Â       </span>
     Â       <!-- END switch_twitter_btn -->
     Â       
     Â       <!-- BEGIN switch_fb_likebtn -->        
     Â       <script>(function(d, s, id) {
     Â         var js, fjs = d.getElementsByTagName(s)[0];
     Â         if (d.getElementById(id)) return;
     Â         js = d.createElement(s); js.id = id;
     Â         js.src = "//connect.facebook.net/{LANGUAGE}/all.js#xfbml=1";
     Â         fjs.parentNode.insertBefore(js, fjs);
     Â       }(document, 'script', 'facebook-jssdk'));</script>  
     Â       <div class="fb-like" data-href="{FORUM_URL}{TOPIC_URL}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
     Â       <!-- END switch_fb_likebtn -->
     Â       
     Â       <span class="gensmall bold">
     Â           <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">{L_SHARE}</a>
     Â           <!-- BEGIN switch_plus_menu -->
     Â           &nbsp;|&nbsp;
     Â           <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 -->
     Â       </span>
     Â     </td>
     Â </tr>
    </table>

    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" >
     Â <tr align="right">
     Â     <td class="catHead" colspan="3" height="28">
     Â       <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td width="9%" class="noprint">&nbsp;</td>
     Â             <td align="center" class="t-title">
     Â                 <h1 class="cattitle">&nbsp;{TOPIC_TITLE}</h1>
     Â             </td>
     Â             <td align="right" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>&nbsp;<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>&nbsp;</td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
     Â <!-- BEGIN topicpagination -->
     Â <tr>
     Â     <td class="row1 pagination" colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td>
     Â </tr>
     Â <!-- END topicpagination -->
     Â {POLL_DISPLAY}
     Â <tr>
     Â     <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
     Â     <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
     Â </tr>
     Â <!-- BEGIN postrow -->
     Â <!-- BEGIN hidden -->
     Â <tr>
     Â     <td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" align="center">{postrow.hidden.MESSAGE}</td>
     Â </tr>
     Â <!-- END hidden -->
     Â <!-- BEGIN displayed -->
     Â <tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
     Â     <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
     Â       <div class="profileee"><span class="name"><div class="poster-profile"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
     Â           <span class="postdetails poster-profile">
     Â                                 <p><span class="avic">{postrow.displayed.POSTER_AVATAR}</span><br /></p>{postrow.displayed.POSTER_RANK}<br />
     Â           {postrow.displayed.RANK_IMAGE}</span><br />
     Â           <!-- BEGIN profile_field -->
     Â           <span class="profile_field"><span class="fieldddd">{postrow.displayed.profile_field.LABEL}</span> {postrow.displayed.profile_field.CONTENT}  {postrow.displayed.profile_field.SEPARATOR}</span>
     Â           <!-- END profile_field -->
     Â           {postrow.displayed.POSTER_RPG}
     Â         </span></div><br />
     Â       <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
     Â         </td>
     Â     <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
     Â       <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}&nbsp; &nbsp;<img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
     Â             <td valign="top" nowrap="nowrap" class="post-options">
     Â                 {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
     Â             </td>
     Â           </tr>
     Â           <tr>
     Â             <td colspan="2" class="hr">
     Â                 <hr />
     Â             </td>
     Â           </tr>
     Â           <tr>
     Â             <td colspan="2">
     Â                 <!-- BEGIN switch_vote_active -->
     Â                 <div class="vote gensmall">
     Â                   <!-- BEGIN switch_vote -->
     Â                   <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
     Â                   <!-- END switch_vote -->

     Â                   <!-- BEGIN switch_bar -->
     Â                   <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
     Â                       <!-- BEGIN switch_vote_plus -->
     Â                       <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
     Â                       <!-- END switch_vote_plus -->

     Â                       <!-- BEGIN switch_vote_minus -->
     Â                       <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
     Â                       <!-- END switch_vote_minus -->
     Â                   </div>
     Â                   <!-- END switch_bar -->

     Â                   <!-- BEGIN switch_no_bar -->
     Â                   <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
     Â                   <!-- END switch_no_bar -->

     Â                   <!-- BEGIN switch_vote -->
     Â                   <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
     Â                   <!-- END switch_vote -->
     Â                 </div>
     Â                 <!-- END switch_vote_active -->

     Â                 <div class="postbody">

     Â                   <div>{postrow.displayed.MESSAGE}</div>

     Â                   <!-- BEGIN switch_attachments -->
     Â                   <dl class="attachbox">
     Â                       <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
     Â                       <dd>
     Â                         <!-- BEGIN switch_post_attachments -->
     Â                         <dl class="file">
     Â                             <dt>
     Â                               <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />

     Â                               <!-- BEGIN switch_dl_att -->
     Â                               <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
     Â                               <!-- END switch_dl_att -->

     Â                               <!-- BEGIN switch_no_dl_att -->
     Â                               {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
     Â                               <!-- END switch_no_dl_att -->
     Â                             </dt>

     Â                             <!-- BEGIN switch_no_comment -->
     Â                             <dd>
     Â                               <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
     Â                             </dd>
     Â                             <!-- END switch_no_comment -->

     Â                             <!-- BEGIN switch_no_dl_att -->
     Â                             <dd>
     Â                               <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
     Â                             </dd>
     Â                             <!-- END switch_no_dl_att -->

     Â                             <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
     Â                         </dl>
     Â                         <!-- END switch_post_attachments -->
     Â                       </dd>
     Â                   </dl>
     Â                   <!-- END switch_attachments -->

     Â                   <div class="clear"></div>
     Â                   <!-- BEGIN switch_signature -->
     Â                   <div class="signature_div">
     Â                       {postrow.displayed.SIGNATURE}
     Â                   </div>
     Â                   <!-- END switch_signature -->

     Â                 </div>
     Â                 <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
     Â             </td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
     Â <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
     Â     <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
     Â       <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
     Â     </td>
     Â     <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
     Â       <table border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td valign="middle">
     Â                 {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
     Â             </td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
     Â <!-- BEGIN first_post_br -->
    </table>
    <hr />
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
     Â <tr>
     Â     <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
     Â     <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
     Â </tr>
     Â <!-- END first_post_br -->
     Â <!-- END displayed -->
     Â <!-- END postrow -->
     Â <!-- BEGIN no_post -->
     Â <tr align="center">
     Â     <td class="row1" colspan="3" height="28">
     Â       <span class="genmed">{no_post.L_NO_POST}</span>
     Â     </td>
     Â </tr>
     Â <!-- END no_post -->
     Â <tr align="right">
     Â     <td class="catBottom" colspan="3" height="28">
     Â       <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td width="9%" class="noprint">&nbsp;</td>
     Â             <td align="center" class="t-title"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td>
     Â             <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>&nbsp;<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;<a href="#top">{L_BACK_TO_TOP}</a>&nbsp;</td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
    </table>
    <table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 0 0 1px 0; border-top: 0px;">
     Â <tr>
     Â     <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
     Â     <!-- BEGIN topicpagination -->
     Â     <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
     Â     <!-- END topicpagination -->
     Â </tr>
     Â <!-- BEGIN switch_user_logged_in -->
     Â <!-- BEGIN watchtopic -->
     Â <tr>
     Â     <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
     Â </tr>
     Â <!-- END watchtopic -->
     Â <!-- END switch_user_logged_in -->
    </table>

    <!-- BEGIN promot_trafic -->
    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_close" style="display:none;margin: 1px 0px 1px 0px">
     Â <tr>
     Â     <td class="catBottom" height="28">
     Â       <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td valign="top"><h1 class="cattitle">&nbsp;{PROMOT_TRAFIC_TITLE}</h1></td>
     Â             <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
    </table>

    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_open" style="display:'';margin: 1px 0px 1px 0px">
     Â <tr>
     Â     <td class="catBottom" height="28">
     Â       <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â           <tr>
     Â             <td valign="top"><h1 class="cattitle">&nbsp;{PROMOT_TRAFIC_TITLE}</h1></td>
     Â             <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
     Â           </tr>
     Â       </table>
     Â     </td>
     Â </tr>
     Â <tr>
     Â     <td class="row2 postbody" valign="top">
     Â       <!-- BEGIN link -->
     Â       »&nbsp;<a style="text-decoration:none" href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
     Â       <!-- END link -->
     Â     </td>
     Â </tr>
    </table>
    <!-- END promot_trafic -->

    <!-- BEGIN switch_forum_rules -->
    <table id="forum_rules" class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 1px 0px 1px 0px">
     Â <tbody>
     Â     <tr>
     Â       <td class="catBottom">
     Â           <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â             <tbody>
     Â                 <tr>
     Â                   <td valign="top">
     Â                       <h1 class="cattitle">&nbsp;{L_FORUM_RULES}</h1>
     Â                   </td>
     Â                 </tr>
     Â             </tbody>
     Â           </table>
     Â       </td>
     Â     </tr>
     Â     <tr>
     Â       <td class="row1 clearfix">
     Â           <table>
     Â             <tr>
     Â                 <!-- BEGIN switch_forum_rule_image -->
     Â                 <td class="logo">
     Â                   <img src="{RULE_IMG_URL}" alt="" />
     Â                 </td>
     Â                 <!-- END switch_forum_rule_image -->
     Â                 <td class="rules postbody">
     Â                   {RULE_MSG}
     Â                 </td>
     Â             </tr>
     Â           </table>
     Â       </td>
     Â     </tr>
     Â </tbody>
    </table>
    <!-- END switch_forum_rules -->

    <table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0">
     Â <tr>
     Â     <td class="row2" colspan="2" align="center" style="padding:0px">
     Â       <!-- BEGIN switch_user_logged_in -->
     Â       <a name="quickreply"></a>
     Â       {QUICK_REPLY_FORM}<br />
     Â       <!-- END switch_user_logged_in -->
     Â     </td>
     Â </tr>
     Â <tr>
     Â     <td style="margin:0; padding: 0;" colspan="2">
     Â       <table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
     Â           <tbody>
     Â     <!-- BEGIN show_permissions -->
     Â     <tr>
     Â       <td class="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td>
     Â       <td class="row1" valign="top" width="75%"><span class="gensmall">{S_AUTH_LIST}</span></td>
     Â     </tr>
     Â     <!-- END show_permissions -->
     Â     <tr>
     Â       <td class="catBottom" colspan="2" height="28">
     Â           <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â             <tr>
     Â                 <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
     Â                 <!-- BEGIN show_permissions -->
     Â                 <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
     Â                 <!-- END show_permissions -->
     Â             </tr>
     Â           </table>
     Â       </td>
     Â     </tr>
     Â </tbody>
     Â       </table>
     Â     </td>
     Â </tr>
     Â <tr>
     Â     <td style="margin:0; padding: 0;" colspan="2">
     Â       <table border="0" cellpadding="0" cellspacing="0" width="100%" id="info_close" style="display:none;">
     Â           <tbody>
     Â     <tr>
     Â       <td class="catBottom" colspan="2" height="28">
     Â           <table width="100%" border="0" cellspacing="0" cellpadding="0">
     Â             <tr>
     Â                 <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
     Â                 <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
     Â             </tr>
     Â           </table>
     Â       </td>
     Â     </tr>
     Â </tbody>
     Â       </table>
     Â     </td>
     Â </tr>
    </table>

    <form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
    <table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
     Â <tr>
     Â     <td align="left" valign="middle" nowrap="nowrap" {WIDTH_GALLERY}>
     Â       <span class="nav">
     Â           <!-- BEGIN switch_user_authpost -->
     Â           <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>&nbsp;&nbsp;&nbsp;
     Â           <!-- END switch_user_authpost -->
     Â           <!-- BEGIN switch_user_authreply -->
     Â           <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
     Â           <!-- END switch_user_authreply -->
     Â       </span>
     Â     </td>

     Â     <!-- BEGIN viewtopic_bottom -->
     Â     <td align="right" nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}:&nbsp;{S_JUMPBOX_SELECT}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span></td>
     Â     <!-- END viewtopic_bottom -->

     Â     <!-- BEGIN moderation_panel -->
     Â     <td align="center">
     Â       <span class="gensmall">{moderation_panel.U_YOUR_PERSONAL_MODERATE}</span>
     Â     </td>
     Â     <td align="center" width="250">
     Â       <span class="gensmall">&nbsp;</span>
     Â     </td>
     Â     <!-- END moderation_panel -->
     Â </tr>
    </table>
    </form>

    <!-- BEGIN viewtopic_bottom -->
    <table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
     Â <tr>
     Â     <td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
     Â       <form name="action" method="get" action="{S_FORM_MOD_ACTION}">
     Â           <input type="hidden" name="t" value="{TOPIC_ID}" />

     Â           <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
     Â           <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />

     Â           <span class="gen">{L_MOD_TOOLS}<br />{S_SELECT_MOD}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span>
     Â       </form>
     Â     </td>
     Â </tr>
    </table>
    <!-- END viewtopic_bottom -->

    <!-- BEGIN switch_image_resize -->
    <script type="text/javascript">
    //<![CDATA[
    $(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
    //]]>
    </script>
    <!-- END switch_image_resize -->
    <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>

    The Result...
    Like Button missing Untitl12

    Please help guys i want to show my like button that is the very important part for the reputation...

    Here is my link http://www.gsmcitymobile.com/t139-ranking-system
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Like Button missing

    Post by Ange Tuteur June 25th 2014, 2:45 am

    Hello gabrielhadjimalik,

    The template you installed is for phpbb2. The like system only works on phpbb3, punbb, and Invision. You should keep to the phpbb3 template if you want the like system to work. The phpbb3 profiles can be customized to what you want through CSS.
    avatar
    gabrielhadjimalik
    Forumember


    Posts : 26
    Reputation : 2
    Language : English

    Solved Re: Like Button missing

    Post by gabrielhadjimalik June 25th 2014, 6:23 am

    Thanks for the reply sir...
    Ok sir so i will restore the old script from phpbb3 then what should i do to make my profile display same like that
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Like Button missing

    Post by Ange Tuteur June 25th 2014, 6:38 am

    Add this to your CSS to style the profile :

    Administration Panel > Display > Colors > CSS stylesheet
    Code:
    .postprofile {
     Â background:#191919;
     Â border-bottom:2px solid #3CC;
     Â    border-top:2px solid #3CC;
     Â -webkit-border-radius:6px;
     Â    -moz-border-radius:6px;
     Â         border-radius:6px;
    }
    avatar
    gabrielhadjimalik
    Forumember


    Posts : 26
    Reputation : 2
    Language : English

    Solved Re: Like Button missing

    Post by gabrielhadjimalik June 25th 2014, 7:23 am

    Ok Thanks sir but i would like the information status have a Box like the above image and then the User name is above the avatar and also the avatar is in the center
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Like Button missing

    Post by Ange Tuteur June 25th 2014, 1:43 pm

    Okay go to Display > Templates > General > viewtopic_body

    Find :
    Code:
    <div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
     <!-- div class="online2"></div-->
     <dl>
     <dt>
     {postrow.displayed.POSTER_AVATAR}
     Â                                                <br /><strong style="font-size:1.2em">{postrow.displayed.POSTER_NAME}</strong>
     </dt>
     <dd>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</dd>
     <dd><br /></dd>
     <dd>
     <!-- BEGIN profile_field -->
     Â                                               {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
     <!-- END profile_field -->
     {postrow.displayed.POSTER_RPG}
     </dd>
     <dd><br /></dd>
     <dd>
     {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
     </dd>
     </dl>
     </div>

    Replace by :
    Code:
    <div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
     <!-- div class="online2"></div-->
     <dl>
     <dt>
     Â                                               <strong style="font-size:1.2em">{postrow.displayed.POSTER_NAME}</strong><br />
     {postrow.displayed.POSTER_AVATAR}
     </dt>
     <dd>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</dd>
     <dd><br /></dd>
     <dd>
     <!-- BEGIN profile_field -->
     Â                                               <div class="profilefield">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
     <!-- END profile_field -->
     {postrow.displayed.POSTER_RPG}
     </dd>
     <dd><br /></dd>
     <dd>
     {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
     </dd>
     </dl>
     </div>

    Save and publish.

    Then add the following to your Stylesheet :
    Code:
    .postprofile dt, .postprofile dt + dd { text-align:center; }
    .profilefield {
     Â color:#FFF;
     Â background:#0F0F0F;
     Â border:1px solid #060606;
     Â border-right-width:2px;
     Â border-bottom-width:2px;
     Â margin:2px 3px;
     Â padding:6px 3px;
    }
    avatar
    gabrielhadjimalik
    Forumember


    Posts : 26
    Reputation : 2
    Language : English

    Solved Re: Like Button missing

    Post by gabrielhadjimalik June 25th 2014, 4:49 pm

    Perfect Sir Ange Tuteur :wouhou: Thanks you so much.... my problem is solved
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Like Button missing

    Post by SLGray June 25th 2014, 8:25 pm

    Topic Solved & Archived



    Like Button missing Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is September 23rd 2024, 9:28 am