gamora95 Posted August 16, 2015 Report Share Posted August 16, 2015 Ищем в result_people.tpl: <img src="{ava}" alt="" /> Меняем на: <div class="gedit_user_bigph_wrap fl_l"> <a class="gedit_bigph" onclick="Photo.Profile('{user-id}', '{big-ava}'); return false"><span class="gedit_bigph_label">Увеличить</span></a> <img src="{ava}" alt="" /> </div> В search.php перед: //Возраст юзера $user_birthday = explode('-', $row['user_birthday']); Добавляем: $tpl->set('{big-ava}', $row['user_photo']); В style.css кидаем: .gedit_user_bigph_wrap {width: 110px;height: 100px;overflow: hidden;position: relative;} .gedit_bigph {position: absolute;color: white;margin-top: 100px;background: #333;background: rgba(0, 0, 0, 0.5);width: 100px;height: 15px;line-height: 15px;padding: 4px 0px 6px 0px;text-align: center;filter: alpha(opacity=75);-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;} .gedit_bigph_label {opacity: 0.75;-webkit-transition: opacity 100ms linear;-moz-transition: opacity 100ms linear;-o-transition: opacity 100ms linear;transition: opacity 100ms linear;padding: 0px 0px 1px 20px;background: url(../images/photo_icons.png) no-repeat left -60px;} .gedit_user_bigph_wrap:hover .gedit_bigph {text-decoration:none;margin-top: 75px;-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;} С вас по лайку) 1 Quote Link to comment Share on other sites More sharing options...
AdVest Posted August 16, 2015 Report Share Posted August 16, 2015 Ищем в result_people.tpl: <img src="{ava}" alt="" /> Меняем на: <div class="gedit_user_bigph_wrap fl_l"> <a class="gedit_bigph" onclick="Photo.Profile('{user-id}', '{big-ava}'); return false"><span class="gedit_bigph_label">Увеличить</span></a> <img src="{ava}" alt="" /> </div> В search.php перед: //Возраст юзера $user_birthday = explode('-', $row['user_birthday']); Добавляем: $tpl->set('{big-ava}', $row['user_photo']); В style.css кидаем: .gedit_user_bigph_wrap {width: 110px;height: 100px;overflow: hidden;position: relative;} .gedit_bigph {position: absolute;color: white;margin-top: 100px;background: #333;background: rgba(0, 0, 0, 0.5);width: 100px;height: 15px;line-height: 15px;padding: 4px 0px 6px 0px;text-align: center;filter: alpha(opacity=75);-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;} .gedit_bigph_label {opacity: 0.75;-webkit-transition: opacity 100ms linear;-moz-transition: opacity 100ms linear;-o-transition: opacity 100ms linear;transition: opacity 100ms linear;padding: 0px 0px 1px 20px;background: url(../images/photo_icons.png) no-repeat left -60px;} .gedit_user_bigph_wrap:hover .gedit_bigph {text-decoration:none;margin-top: 75px;-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;} С вас по лайку) Или по дизлайку, нихрена не работает. Quote Link to comment Share on other sites More sharing options...
gamora95 Posted August 16, 2015 Author Report Share Posted August 16, 2015 Или по дизлайку, нихрена не работает. Ты на какую сборку ставил ? Quote Link to comment Share on other sites More sharing options...
AdVest Posted August 16, 2015 Report Share Posted August 16, 2015 Ты на какую сборку ставил ? Mixnet 0.5 Мод увеличение авы вырезан с сборки Sloopy Quote Link to comment Share on other sites More sharing options...
Why Not Posted August 18, 2015 Report Share Posted August 18, 2015 микснет чуточку не как оригинал вии, так что не все модули будут работать корректно. Правь код Quote Link to comment Share on other sites More sharing options...
AdVest Posted August 18, 2015 Report Share Posted August 18, 2015 микснет чуточку не как оригинал вии, так что не все модули будут работать корректно. Правь код Смысл править код если код в поиске людей один и тот же просто, там функций больше соответственно и кода.И потому, мод то взят с сборки Sloopy не в переписанном виде, а чисто вырезанном. Quote Link to comment Share on other sites More sharing options...
gamora95 Posted August 18, 2015 Author Report Share Posted August 18, 2015 Смысл править код если код в поиске людей один и тот же просто, там функций больше соответственно и кода.И потому, мод то взят с сборки Sloopy не в переписанном виде, а чисто вырезанном. отключи данную функцию (видно на скрине стрелкой) должно работать. Quote Link to comment Share on other sites More sharing options...
AdVest Posted August 18, 2015 Report Share Posted August 18, 2015 отключи данную функцию (видно на скрине стрелкой) должно работать. увеличение наверку у меня над авой, так что это не мешает Quote Link to comment Share on other sites More sharing options...
ooleg Posted January 31, 2016 Report Share Posted January 31, 2016 У меня не работает Quote Link to comment Share on other sites More sharing options...
Disy Posted October 1, 2019 Report Share Posted October 1, 2019 (edited) сломанный модуль, не ставьте.. Edited October 1, 2019 by Disy Quote Link to comment Share on other sites More sharing options...
Rezvitsky Posted October 1, 2019 Report Share Posted October 1, 2019 1 час назад, Disy сказал: сломанный модуль, не ставьте.. Не сломанный, я полгода назад ставил его все ок было. Quote Link to comment Share on other sites More sharing options...
Rezvitsky Posted October 1, 2019 Report Share Posted October 1, 2019 Для его установки нужны просто прямые руки. Quote Link to comment Share on other sites More sharing options...
Leymelki Posted October 1, 2019 Report Share Posted October 1, 2019 У меня стоит на сайте и норм работает Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.