-
Постов
41 -
Зарегистрирован
-
Посещение
Ответы сообщества
-
Пост nyagan40 - сообщение в Помогите!лимит записей на стене! был отмечен как ответ
всем спасибо тема решена поставил анти-спам всё настроил!!!
-
Пост nyagan40 - сообщение в Модуль хочу общаться+vip был отмечен как ответ
Тему можно закрыть проблема решена !!! помог мне в этом Developer Sloopy
в index.php (при установке!)
$obshenie = $db->super_query("SELECT user_id,text FROM `".PREFIX."_obshenie` WHERE date>'NOW()-604800' ORDER BY RAND() LIMIT 1"); if($obshenie) { $avatar_obshenie = $db->super_query("SELECT user_photo, user_search_pref, a_ava FROM `".PREFIX."_users` WHERE user_id = '{$obshenie['user_id']}'"); $tpl->set('{avatar_obshenie}', '<a href="id'.$obshenie['user_id'].'"><img src="http://Мой сайт/uploads/users/'.$obshenie['user_id'].'/albums/'.$avatar_obshenie['a_ava'].'/100_'.$avatar_obshenie['user_photo'].'"/></a>'); $tpl->set('{name_obshenie}', '<a href="id'.$obshenie['user_id'].'">'.$avatar_obshenie['user_search_pref'].'</a>'); $tpl->set('{text}', $obshenie['text']); $tpl->set('[obshenie]',''); $tpl->set('[/obshenie]',''); } else { $tpl->set_block("'\\[obshenie\\](.*?)\\[/obshenie\\]'si",""); } -
Пост nyagan40 - сообщение в Стена профиля был отмечен как ответ
в файле profile.tpl заменил строку
<script type="text/javascript"> var startResizeCss = false; var user_id = '3474'; <=== На {user-id} $(document).ready(function(){ $(window).scroll(function(){ if($('#type_page').val() == 'profile'){ if($(document).height() - $(window).height() <= $(window).scrollTop()+($(document).height()/2-250)){ wall.page(user_id); } if($(window).scrollTop() < $('#fortoAutoSizeStyleProfile').offset().top){ startResizeCss = false; $('#addStyleClass').remove(); } if($(window).scrollTop() > $('#fortoAutoSizeStyleProfile').offset().top && !startResizeCss){ startResizeCss = true; $('body').append('<div id="addStyleClass"><style type="text/css" media="all">.wallrecord{width:600px;;;margin-top:2px;;margin-top:2px;margin-bottom:-2px}.player_mini_mbar_wall{width:710px;margin-bottom:0px}#audioForSize{min-width:700px}.wall_rec_autoresize{width:710px}.wall_fast_ava img{width:50px}.wall_fast_ava{width:60px}.wall_fast_comment_text{margin-left:57px}.wall_fast_date{margin-left:57px;font-size:11px}.public_wall_all_comm{;;}</style></div>'); } } }); music.jPlayerInc(); $('#wall_text, .fast_form_width').autoResize(); }); $(document).click(function(event){ wall.event(event); }); </script>