Posted 9 мая, 20159 yr comment_86805 Сделал переезд с форума 2.3.6 на 3.4.6 все прошло в штатном режиме, как вернуть пользователям "спасибо" ? перенести таблицу из старой базы на новую, или есть другие варианты? если так то какая таблица за это отвечает. на новый форум поставил мод EN34 Ajax Thanks v1.0.8.zip и еще один вопрос: какой прописать код что бы вывести спасибо под аватаркой, внес изменения как на картинке. Link to comment https://ipbmafia.ru/topic/11363-perenos-spasibo-na-novyj-forum-so-starogo/ Share on other sites Больше вариантов
9 мая, 20159 yr Author comment_86806 <div class="user_block"> <div class="psevdo"></div> <if test="membertitle:|:$author['member_title']"> <p class='desc member_title'>{$author['member_title']}</p> </if> </div> <if test="avatar:|:$author['member_id']"> <div class='avatar'> <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'> </if> <if test="hasVariable:|:$this->settings['member_topic_avatar_max']"> <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' /> <else /> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </if> <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> </a> </if> </div> <else /> </if> <if test="rankimage:|:$author['member_rank_img']"> <div class='group_icon'> <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'"> <img src='{$author['member_rank_img']}' alt='' /> <else /> {$author['member_rank_img']} </if> </div> </if> <br> <!-- REPUTATION BAR --> <if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']"> <div class="reputation-bg" data-tooltip="Репутация: {$author['pp_reputation_points']}"> <div class="reputation-bar <!-- GREY BAR --> <if test="$author['pp_reputation_points']==0">gray</if> <!-- /GREY BAR --> <!-- RED BARS --> <if test="$author['pp_reputation_points']<0 && $author['pp_reputation_points']>=-15">red width20</if> <if test="$author['pp_reputation_points']<-15 && $author['pp_reputation_points']>=-30">red width40</if> <if test="$author['pp_reputation_points']<-30 && $author['pp_reputation_points']>=-45">red width60</if> <if test="$author['pp_reputation_points']<-45 && $author['pp_reputation_points']>=-60">red width80</if> <if test="$author['pp_reputation_points']<-60">red</if> <!-- /RED BAR --> <!-- BLUE BARS --> <if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10">blue width20</if> <if test="$author['pp_reputation_points']>10 && $author['pp_reputation_points']<=20">blue width40</if> <if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=30">blue width60</if> <if test="$author['pp_reputation_points']>30 && $author['pp_reputation_points']<=40">blue width80</if> <if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=50">blue</if> <!-- /BLUE BARS --> <!-- GREEN BARS --> <if test="$author['pp_reputation_points']>50 && $author['pp_reputation_points']<=70">green width20</if> <if test="$author['pp_reputation_points']>70 && $author['pp_reputation_points']<=90">green width40</if> <if test="$author['pp_reputation_points']>90 && $author['pp_reputation_points']<=110">green width60</if> <if test="$author['pp_reputation_points']>110 && $author['pp_reputation_points']<=130">green width80</if> <if test="$author['pp_reputation_points']>130 && $author['pp_reputation_points']<=150">green</if> <!-- /GREEN BARS --> <!-- GOLD BARS --> <if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=190">gold width20</if> <if test="$author['pp_reputation_points']>190 && $author['pp_reputation_points']<=230">gold width40</if> <if test="$author['pp_reputation_points']>230 && $author['pp_reputation_points']<=270">gold width60</if> <if test="$author['pp_reputation_points']>270 && $author['pp_reputation_points']<=310">gold width80</if> <if test="$author['pp_reputation_points']>310">gold</if> <!-- /GOLD BARS --> "> {$author['pp_reputation_points']} </div> </div> </if> <!-- /REPUTATION BAR --> <div class="wa-block"> <div class="psevdo"></div> Сообщений: <div class="u-mini"> {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} </div> </div> <div class="wa-block"> <div class="psevdo"></div> <img src='{$this->settings['img_url']}/warn.png'> Предупреждения: <div class="u-mini"> <a href='{parse url="app=members&module=profile§ion=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warns_status'], $author['warn_level'] )"}</a> </div> </div> <if test="authorcfields:|:$author['custom_fields'] != """> <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data"> <foreach loop="customFields:$author['custom_fields'][ $group ] as $field"> <if test="$field != ''"> {$field} </if> </foreach> </foreach> </if> Это код который изменил ... как на картинке Link to comment https://ipbmafia.ru/topic/11363-perenos-spasibo-na-novyj-forum-so-starogo/?&do=findComment&comment=86806 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.