Главная » Форум
Профиль форума
Начнем: Шаблон Пользователи - Персональная страница пользователя находим там тег:
Code
<body.....>

и добавляем сразу после него этот код:
Code
<div id="ajaxprofile">

потом перед тегом:
Code
</body>

ставим тег:
Code
</div>

далее нам нужен шаблон Форум - Общий вид страниц форума и кидаем в HEAD этот код:
Code
<script type="text/javascript" src="highslide/highslide-full.packed.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.align = 'center';
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.allowMultipleInstances = false;
hs.dimmingOpacity = 0.75;
</script>

теперь нам нужен шаблон Форум - Вид материалов и в любое место кидаем этот код:
Code
<a href="/index/8-$UID$#ajaxprofile" onclick="return hs.htmlExpand(this,{objectType:'ajax',width:700})">ПРОФИЛЬ</a>

создаем в корне сайта создаем папку highslide и извлекаем туда содержимое архива.

P.S. Это окно можно практически в любой модуль поставить и вводить любые данные.

Подробнее | 25 коментариев | 3064 просмотров | Добавил: HiP-HoP

Форум-Форма добавления сообщения
Панель управления-Дизайн-Управление дизайном (шаблоны)-Форум-Форма добавления сообщения-Удаляем все и ставим этод код
Code
<div class="gDivLeft"><div class="gDivRight">  
<table border="0" width="100%" cellspacing="1" cellpadding="0" class="gTable" id="frM53">  
<tr id="frM54"><td colspan="2" class="gTableTop" id="frM55"><div style="float:right" class="gTopCornerRight"></div><a name="post">$FORM_TITLE$</a></td></tr>  
<?if($ERROR$)?>  
<tr id="frM1"><td colspan="2" align="center" class="gTableError" id="frM2">$ERROR$</td></tr>  
<?endif?>  
<?if($_USER$)?>  
<tr id="frM3"><td class="gTableLeft" id="frM4">Имя:</td><td class="gTableRight" id="frM5">$_USER$</td></tr>  
<?endif?>  
<?if($_THREAD_NAME$)?>  
<tr id="frM25"><td class="gTableLeft" id="frM26">Название темы:</td><td class="gTableRight" id="frM27">$_THREAD_NAME$</td></tr>  
<tr id="frM28"><td class="gTableLeft" id="frM29">Описание темы:</td><td class="gTableRight" id="frM30">$_THREAD_DESCR$</td></tr>  
<?endif?>  
<?if($_POLL_QUESTION$)?>  
<tr id="frM31"><td class="gTableRight" colspan="2" id="frM32"> </td></tr><tr id="frM33"><td class="gTableLeft" id="frM34">Вопрос голосования:</td><td class="gTableRight" id="frM35">$_POLL_QUESTION$</td></tr><tr id="frM36"><td class="gTableLeft" id="frM37">Пункты опроса:<div class="pollHelp">Введите по одному ответу на строку. Максимум <b>10</b> ответов.</div></td><td class="gTableRight" id="frM38">$_POLL_ANSWERS$</td></tr><tr id="frM40"><td class="gTableLeft" id="frM41">Опции опроса:</td><td class="gTableRight" id="frM42">$_POLL_ONLY_OPT$ <label for="pollonly">Только опрос (писать ответы в теме будет нельзя)</label>
$_POLL_MULTI_OPT$ <label for="pollmulty">Включить возможность выбора нескольких вариантов ответов</label>
$_POLL_PERIOD_OPT$ Период голосования (0 - без ограничений)</td></tr><tr id="frM43"><td class="gTableRight" colspan="2" id="frM44"> </td></tr>  
<?endif?> <input type="button" accesskey="p" value="bounce" onclick="simpletag('bounce','','','message',''); return false;" class="codeButtons" title="Прыгающий текст" name="bounce" />  
<tr id="frM56"><td width="25%" class="gTableLeft" id="frM57" valign="top">Текст сообщения:<div class="smilesPart">$SMILES$</div></td><td class="gTableRight" id="frM58"><div style="border: 1px solid rgb(187, 187, 187); width: 720px; height: 25px; background-image: url(http://razgona.net/bbcodes/bg.gif);">  
<img src="http://razgona.net/bbcodes/b.gif" border="0" title="Жирный" onclick="simpletag('b')">  
<img src="http://razgona.net/bbcodes/i.gif" border="0" title="Курсив" onclick="simpletag('i')">  
<img src="http://razgona.net/bbcodes/u.gif" border="0" title="Подчеркнутый" onclick="simpletag('u')">  
<img src="http://razgona.net/bbcodes/s.gif" border="0" title="Зачеркнутый" onclick="simpletag('s')">  
<img src="http://razgona.net/bbcodes/brkspace.gif" border="0" title="Виртуальная клавиатура" onclick="window.open('/forum/0-0-0-31','virtKB','width=300,height=120,top=0,left=0');">  
<img src="http://razgona.net/bbcodes/image.gif" border="0" title="Добавить Картинку" onclick="tag_image()">  
<img src="http://razgona.net/bbcodes/link.gif" border="0" title="Вставить ссылку" onclick="tag_url()">  
<img src="http://razgona.net/bbcodes/emule.gif" border="0" title="Вставить email" onclick="tag_email()">  
<img src="http://razgona.net/bbcodes/hide.gif" title="Скрытый текст" onclick="simpletag('hide')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/off.gif" title="Выделение Офф-Топа" onclick="simpletag('off','','','message','')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/mail.gif" title="Вставить видео с Mail.ru или Rutube" onclick="simpletag('video')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/spoiler.gif" onclick="simpletag('spoiler','','','message','')" title="Вставить текст или картинку в спойлер" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/page.gif" title="Вставить Список" onclick="tag_list()" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/code.gif" title="Код" onclick="simpletag('code')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/quote.gif" title="Цитата" onclick="simpletag('quote')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/page.gif" title="Вставить Список" onclick="tag_list()" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/l.gif" title="По левому краю" onclick="simpletag('l')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/c.gif" title="По центру" onclick="simpletag('c')" border="0" height="25" width="23">  
<img src="http://razgona.net/bbcodes/r.gif" title="По правому краю" onclick="simpletag('r')" border="0" height="25" width="23"></DIV>$BBCODES$ $_MESSAGE$<?if($SMILES$)?>  
<table align="center">  
<tr>  
<td width="150">  
<a href="javascript://" onclick="emoticon('[b]-=Спасибо!=-[/b]');return false;">Спасибо!</a>  
<br>  
<a href="javascript://" onclick="emoticon('[b][color=orange]Я обожаю[/color] [color=red]ogame-atlantis.ucoz.ru[/color]![/b]');return false; ">Я обожаю этот сайт!</a>  
<br>  
<a href="javascript://" onclick="emoticon('[b][color=red]Админ[/color],[color=blue]модер[/color][/b] [color=orange]супер чел![/color] <img src="http://s23.ucoz.net/sm/1/respect.gif" border="0" align="absmiddle" alt="respect"> ');return false;">Админ,модер супер чел!</a>  
</td>  
<td width="130">  
<a href="javascript://" onclick="emoticon('[color=blue]Бегу[/color] [color=red]звать[/color] [color=purple]друзей[/color] [color=orange]сюда[/color], [color=gray]это[/color] [color=green]надо[/color] [color=blue]видеть[/color][color=yellow]![/color]');return false;">Бегу звать друзей!</a>  
<br>  
<a href="javascript://" onclick="emoticon('[color=blue][b]Благодарю![/b][/color]');return false;">Благодарю!</a>  
<br>  
<a href="javascript://" onclick="emoticon('[b]Браво! [img]http://src.ucoz.net/sm/2/hands.gif[/img][/b]');return false;">Браво!</a>  
<td width="115">  
<a href="javascript://" onclick="emoticon('[b]Учись читать![/b]');return false;">Учись читать!</a>  
<br>  
<a href="javascript://" onclick="emoticon('[color=red][b]*Цензура*[/b][/color]');return false;">*Цензура*</a>  
<br>  
<a href="javascript://" onclick="emoticon('[b]*Я пацтулом [img]http://src.ucoz.net/sm/23/haha.gif[/img][/b]');return false;">Я ша умру от смеха ахахаха!)</a>  
</td>  
<td width="180">  
<a href="javascript://" onclick="emoticon('[color=red][b]Ты правила читал?[b][/color] [img]http://src.ucoz.net/sm/2/megaphone.gif[/img]');return false;">Правила читал?</a>  
<br>  
<a href="javascript://" onclick="emoticon('[color=red]В [b]БАН[/b]-ю хочешь?[/color] [img]http://src.ucoz.net/sm/2/dont.gif[/img]');return false;">В БАН-ю хочешь?</a>  
<br>  
<a href="javascript://" onclick="emoticon('[color=blue]Кстати сказать,...[/color]');return false;">Кстати сказать...</a>  
</td>  
</tr>  
</table>  
<hr>  
<div align="center">  
<a href="javascript://" onclick="emoticon(':angel:');return false;"><img border="0" src="http://src.ucoz.ru/sm/1/angel.gif" title="angel"></a>  
<a href="javascript://" onclick="emoticon(':bag:');return false;"><img border="0" src="http://src.ucoz.ru/sm/1/bag.gif" title="bag"></a>  
<a href="javascript://" onclick="emoticon(':batman:');return false;"><img border="0" src="http://src.ucoz.ru/sm/1/batman.gif" title="batman"></a>  
<a href="javascript://" onclick ... Читать дальше »
Подробнее | 0 коментариев | 638 просмотров | Добавил: HiP-HoP

Цветовые схемы для Форума
Общий вид страниц форума

После

Code
<script type="text/javascript" src="http://www.zatysi.net/design/main.js"></script>  
<script type="text/javascript" language="JavaScript">  
var css_file_def = 'orig';  
var link_string = '<link type="text/css" rel="StyleSheet" href="http://www.zatysi.net/design/css_style/'+readCookie('skin')+'.css" />'  
document.write(link_string);  
</script>  
<noscript><link href="http://www.zatysi.net/design/css_style/orig.css" rel="stylesheet" type="text/css" /></noscript>  
<table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="1" cellpadding="3" class="gTable">  
<tr>  
<td class="gTableTop" colspan="5">Мои закладки</td>  
</tr>  
<tr>  
<!-- -->  
<SCRIPT LANGUAGE="JavaScript">  
var total = GetTotalBookmarks();  
if (total == 0)  
{  
document.write("<style type='text/css'>.embed_mini_other {display: none;}</style>");  
}  
</SCRIPT>  
<div class="embed_mini_other">  
<table class="Fmenu1" border="0" cellpadding="0" cellspacing="0">  
<tr><td class="Ftbmenu1" align="center"></td></tr>  
<tr><td class="Ftbmenu2">  
<table border="0" width="500">  
<SCRIPT LANGUAGE="JavaScript">  
ListBookmarks();  
</SCRIPT>  
</table>  
</td></tr>  
<tr><td class="Ftbmenu3"></td></tr>  
</table>  

</div>  
<!--/-->  
</tr>  
</table>  

<br>  
<table border="0" width="100%" bgcolor="#dadada" cellspacing="1" cellpadding="3" class="gTable">  
<tr>  
<td width="50%" bgcolor="#dadada" class="gTableSubTop">Цветовая схема форума:  

</td>  
<td align="right" width="50%" bgcolor="#dadada" class="gTableSubTop">  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=blue';location.reload();"><img src="http://www.zatysi.net/design/ico/blue.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=green';location.reload();"><img src="http://www.zatysi.net/design/ico/green.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=orange';location.reload();"><img src="http://www.zatysi.net/design/ico/orange.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=red';location.reload();"><img src="http://www.zatysi.net/design/ico/red.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=white';location.reload();"><img src="http://www.zatysi.net/design/ico/white.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=orig';location.reload();"><img src="http://www.zatysi.net/design/ico/orig.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=grey';location.reload();"><img src="http://www.zatysi.net/design/ico/grey.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  
<a href="#" title="Поменять шкурку" onclick="document.cookie = 'skin=siren';location.reload();"><img src="http://www.zatysi.net/design/ico/bluegrey.gif" alt="Поменять шкурку" width="15" height="15" border="1" align="absmiddle" style="border:#999999" /></a>  

</td>  
</tr>  
</table><br><br>
Подробнее | 0 коментариев | 552 просмотров | Добавил: HiP-HoP

Блок - Новое на форуме
Установка :

Создаем информер с такими параметрами

Раздел: Форум
Способ сортировки: Последние обновленные темы
Количество материалов: 10
Количество колонок: 1

Далее нажимаем на кнопку (справа от созданного вами информера) "Управление дизайном информера" и удаляем от туда весь код и вставляем этот

Code

<DIV>  
<TABLE style="WIDTH: 100%">  
<TBODY>  
<TR>  
<TD style="VERTICAL-ALIGN: top">  
<P align=left><img src="http://csinfofan.ru/desing/post_old.gif"> <A href="$THREAD_URL$">$THREAD_TITLE$</A></P>  
</TD>  
<TD style="VERTICAL-ALIGN: top">  
<P align=right>($REPLIES$)</P>  
</TD>  
</TR>  
</TBODY>  
</TABLE>  
</DIV>
Подробнее | 0 коментариев | 484 просмотров | Добавил: HiP-HoP

Категория: Скрипты для ucoz | Просмотров: 1724

Вот весьма полезный скрипт для очень посещаемых проектов, где не хватает модераторов. Так сказать на замену модераторов пришли Роботы. Ну на первый раз робот на форуме. Теперь Вы сэкономите время на посты, больше внимания будете уделять проекту, а сам проект пока Вы его делаете, он будет общаться с пользователями.

1. Сохраняем этот файл на рабочий стол (куда вам угодно, так быстрее :)).
2. Общий вид страниц форума, перед ставим:

Code
<script type="text/javascript" src="/bot.js"></script>  
  <script type="text/javascript">  
  cur_group_id=$GROUP_ID$;  
  </script>

3. В шаблоне вид материалов форума $MESSAGE$ заменяем на:
Code
<span id="eMessage$ID$">$MESSAGE$</span>

4. Потом в конце этого шаблона (вид материалов) пишем:
Code
<script type="text/javascript">checkBot($ID$,'$USERNAME$','$WDAY$, $DATE$, $TIME$',$GROUP_ID$);</script>

Робот рабочий 100%, чтоб проверить, просто нажмите в любой теме допустим "спс", и ответ сразу к Вам придёт. Словарь у робота маленький, в js файле можно добавить свои ответы.
Подробнее | 0 коментариев | 556 просмотров | Добавил: HiP-HoP

Скрипт автоматически ставит +1 в репутацию на форуме с коментарием "+1"

В общий вид страниц форума между head ставим:

Code
<script type="text/javascript">
function repchange(val,id){
repval=val;
ajaxtime=setInterval('checkajax'+id+'()',500);}
</script>

в вид материалов форума ставим после $USER_DETAILS_ICON_BAR$
Code
<script type="text/javascript">  
function checkajax$ID$(){  
forms=document.getElementsByTagName('form');  
for(f=0;f<forms.length;f++){  
if(forms[f].id=='frm981'){ // by Ezdi  
if(repval=='plus'){document.getElementById('a2').checked='true';  
forms[f].reason.value='+1';  
document.getElementById('submfrm981').click();  
document.getElementById('sbt981').onclick=null;  
clearInterval(ajaxtime);}}}}  
</script>  
<?if($DO_REP_URL$)?><a href="$DO_REP_URL$"><img onclick="repchange('plus','$ID$');" title="Поставить +1 в репутацию" src="http://7ucoz.com/images/sps.png" border="0" /></a><?endif?>
Подробнее | 0 коментариев | 507 просмотров | Добавил: HiP-HoP

Форум By Ant1kn1fe
всём привет вот написал ксс на форум

Заходим пу>управление дизайном > управление стилями css
Вставляем заместо старого вот это

Находим код /* ===== forum Start ===== */

и удоляем всё до /* ====== forum End ====== */

и вместо того что удолили ставим это

Code
/* ===== forum Start ===== */  

/* General forum Table View */  
.gTable {background:#2A2A2A;}  
.gTableTop {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/forumform.jpg') center no-repeat;height:38px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');font-family:Verdana,Sans-Serif; font-size:13px;font-weight:bold; padding-left:22px;}  
.gTableSubTop {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.gTableBody {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.gTableBody1 {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.gTableBottom {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.gTableLeft {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');font-weight:bold; color:#00FFFF;}  
.gTableRight {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');color:#666666; }  
.gTableError {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');color:#FF0000; }  
/* ------------------------ */  

/* Forums Styles */  
.forumNameTd,.forumLastPostTd {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  
.forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  
.forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  

a.catLink:link {text-decoration:none; color:#FFFFFF;}  
a.catLink:visited {text-decoration:none; color:#FFFFFF;}  
a.catLink:hover {text-decoration:none; color:#000000;}  
a.catLink:active {text-decoration:none; color:#FFFFFF;}  

.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}  
.archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;}  
/* ------------- */  

/* forum Titles & other */  
.forum {font-weight:bold;font-size:9pt;}  
.forumDescr,.forumModer {color:#888888;font-size:7pt;}  
.forumViewed {font-size:9px;}  
a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none; color:#dedede;}  
a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#dedede;}  
a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:none; color:#FFFFFF;}  
a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:none; color:#dedede;}  
/* -------------------- */  

/* forum Navigation Bar */  
.forumNamesBar {padding-bottom:7px;font-weight:bold;font-size:7pt;}  
.forumBarKw {font-weight:normal;}  
a.forumBarA:link {text-decoration:none; color:#dedede;}  
a.forumBarA:visited {text-decoration:none; color:#dedede;}  
a.forumBarA:hover {text-decoration:underline; color:#FFFFFF;}  
a.forumBarA:active {text-decoration:underline; color:#dedede;}  
/* -------------------- */  

/* forum Fast Navigation Blocks */  
.fastNav,.fastSearch,.fastLoginForm {font-size:7pt;}  
/* ---------------------------- */  

/* forum Fast Navigation Menu */  
.fastNavMain {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');color:#FFFFFF;}  
.fastNavCat {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.fastNavCatA {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');color:#0000FF}  
.fastNavForumA {color:#0000FF}  
/* -------------------------- */  

/* forum Page switches */  
.pagesInfo {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');padding-right:10px;font-size:7pt; }  
.switches {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');}  
.switch {background:#222226;width:15px;font-size:7pt;}  
.switchActive {background:#747474;font-weight:bold;color:#dedede;width:15px}  
a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#dedede;}  
a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#dedede;}  
a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FFFFFF;}  
a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#dedede;}  
/* ------------------- */  

/* forum Threads Style */  
.threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  
.threadIcoTd,.threadPostTd,.threadViewTd {padding:2px; background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  

.threadLastPostTd {padding:2px;font-size:7pt;}  
.threadDescr {color:#60606B;font-size:7pt;}  
.threadNoticeLink {font-weight:bold;}  
.threadsType {padding:2px;background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');height:20px;font-weight:bold; font-size:7pt;color:#00FFFF;padding-left:40px; }  

.threadsDetails {padding:1px;background:#424242;height:20px;color:#747474;color:#FFFFFF;}  
.forumOnlineBar {padding:1px;background:#424242;height:20px;color:#dedede;}  

a.threadPinnedLink:link {text-decoration:none; color:#dedede;}  
a.threadPinnedLink:visited {text-decoration:none; color:#dedede;}  
a.threadPinnedLink:hover {text-decoration:underline; color:#FFFFFF;}  
a.threadPinnedLink:active {text-decoration:underline; color:#dedede;}  

.threadPinnedLink,.threadLink {font-weight:bold;}  
a.threadLink:link {text-decoration:underline; color:#dedede;}  
a.threadLink:visited {text-decoration:underline; color:#dedede;}  
a.threadLink:hover {text-decoration:none; color:#FFFFFF;}  
a.threadLink:active {text-decoration:underline; color:#dedede;}  

.postpSwithces {font-size:7pt;}  
.thDescr {font-weight:normal;}  
.threadFrmBlock {font-size:7pt;text-align:right;}  
/* ------------------- */  

/* Posts View */  
.postTable {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png')}  

.postPoll {background:url('http://src.ucoz.ru/t/955/1.gif') #000000;text-align:center;}  
.postFirst {background:url('http://src.ucoz.ru/t/955/1.gif') #000000;border-bottom:1px solid #FFFFFF;}  
.postRest1 {background:url('http://src.ucoz.ru/t/955/1.gif') #000000;}  
.postRest2 {background:url('http://src.ucoz.ru/t/955/1.gif') #000000;}  
.postSeparator {height:1px;background:#747474;}  

.postTdTop {border:1px solid #FFFFFF;color:#ACACAC;height:23px;font-size:10px;background:url('/diz/10.gif') center #212121; }  
.postBottom {background:url('/diz/12.gif') center;height:20px;color:#747474;}  
.postUser {font-weight:bold;}  
.postTdInfo {background:url('http://src.ucoz.ru/t/955/1.gif') #000000;text-align:center;padding:5px;}  
.postRankName {margin-top:5px;}  
.postRankIco {margin-bottom:5px;margin-bottom:5px;}  
.reputation {margin-top:5px;}  
.signatureHr {margin-top:20px;color:#E4FAFD;}  
.posttdMessage {background:url('http://ic3-gam1ng.net.ru/images/fon_blokov.png');padding:5px;}  

.posttdMessage img {max-width:600px;}  
.posttdMessage img {max-height:800px;}  

.postPoll {padding:5px;}  
.pollQuestion {text-align:center;font-weight:bold;}  
.pollButtons,.pollTotal {text-align:center;}  
.pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;}  
.pollSubmit {font-weight:bold;}  
.pollEnd {text-align:center;height:30px;}  

.bbQuoteName {color: #fff; !important; background: #ffbc39 url(/images/15.png ... Читать дальше »
Подробнее | 0 коментариев | 831 просмотров | Добавил: HiP-HoP

Вставляем в Вид материалов:
Code
<script type="text/javascript">  
p=<?if($POSTS$)?>$POSTS$ <?else?>0<?endif?>  
v=p*3  
document.writeln("заработано: "+v+" руб.<br>");  
</script>

заработано: - меняем как угодно ну думаю понатно
руб. - меняем на свою валюту
p*3- меняете как вам угодно.... тоесть
p количество сообщений пользователя
*3- это означает то что количество постов будет умножено на 3 (это и есть общая сумма денег которая будет выводиться)
Подробнее | 0 коментариев | 515 просмотров | Добавил: HiP-HoP

Ставим в Общий вид Форума после $BODY$
Code
<script type="text/javascript" language="javascript">  
e=document.getElementsByTagName("TD");  
for(k=15; k<e.length;k++) {  
if(e[k].className=='posttdMessage') {  
s=e[k].innerHTML;  
while (s.indexOf('[p.s.]') != -1){  
s=s.replace('[p.s.]','<fieldset><legend><font style="font-size: 10px; font-family: Verdana; color: red;"> P.S.</font></legend><font style="font-size: 11px; font-family: Verdana; color: red;">'); s=s.replace('[/p.s.]','</font></fieldset>');  
e[k].innerHTML=s;  
}  
} }  
</script>

И в форму добавления сообщений после
Code
$BBCODES$

Code
<input accesskey="y" value="p.s." onclick="simpletag('p.s.','','','message',''); return false;" class="codeButtons" title="p.s." name="p.s." type="button">
Подробнее | 1 коментариев | 547 просмотров | Добавил: HiP-HoP

Всё для форума
Это в общий вид страниц форума после head :
Code
<script type="text/javascript">  
function repchange(val,id){  
repval=val;  
ajaxtime=setInterval('checkajax'+id+'()',500);}  
</script><script type="text/javascript" language="javascript">  
<!--  
//  
function toggle( targetId ) {  
if (document.getElementById) {  
target = document.getElementById( targetId );  
if (target.style.display == "none") {  
target.style.display = "";  
} else {  
target.style.display = "none";  
}  
}  
}  
//  
--></script>  

Это заменяете весь вид материалов форума:  

table border="0" width="100%" cellspacing="1" cellpadding="2" class="postTable">  
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" onClick="emoticon('$USERNAME$,');return false;">$USERNAME$</a></td><td class="postTdTop">Дата: $WDAY$, $DATE$, $TIME$ | Сообщение # $NUMBER$</td></tr>  
<tr><td class="postTdInfo" valign="top">  
<?if($AVATAR_URL$)?>  
<a href="$PROFILE_URL$"><img 0="" src="$AVATAR_URL$" title="$USERNAME$" border=""></a>  
<?else?>  
<a href="$PROFILE_URL$"><img 0="" src="http://www.5may.ucoz.ru/images/No-Avatars/54.png" title="$USERNAME$" border=""></a>  
<?endif?>  
<?if($USER_TITLE$)?><div class="postRankName">$USER_TITLE$</div><?else?><div class="postRankName">$USER_RANK_NAME$</div><?endif?>  
<?if($GROUP_ICON$)?><div class="postRankIco">$GROUP_ICON$</div><?endif?><div class="postRankIco">$USER_RANK_ICON$</div>  
<?if($GROUP_NAME$)?><div class="postUserGroup">Группа: $GROUP_NAME$</div><?endif?>  
<?if($POSTS$)?><div class="numposts">Сообщений: <span="unp">$POSTS$</span></div><?endif?>  
<?if($READ_REP_URL$)?><div class="reputation">Репутация: <a title="Смотреть историю репутации" class="repHistory" href="$READ_REP_URL$"><span class="repNums">$REP_RATING$</span> [$REP_RATING_PERS$]</a> <script type="text/javascript">  
function checkajax$ID$(){  
forms=document.getElementsByTagName('form');  
for(f=0;f<forms.length;f++){  
if(forms[f].id=='frm981'){ // by Ezdi  
if(repval=='plus'){document.getElementById('a2').checked='true';  
forms[f].reason.value='Спасибо!';  
document.getElementById('submfrm981').click();  
document.getElementById('sbt981').onclick=null;  
clearInterval(ajaxtime);}}}}  
</script>  
<?if($DO_REP_URL$)?><a href="$DO_REP_URL$"><img onclick="repchange('plus','$ID$');" align="absmiddle" title="Выразить благодарность" src="http://i030.radikal.ru/0806/34/f52969ab0ca0.gif" border="0" /></a><?endif?><?endif?>  
<?if($READ_BAN_URL$)?><div class="userBan">Замечания: <a class="banPercent" title="Смотреть историю замечаний" href="$READ_BAN_URL$">$BAN_RATING$</a> <?if($DO_BAN_URL$)?> <a title="Изменить уровень замечаний" class="banDo" href="$DO_BAN_URL$">±</a></div><?endif?><?endif?>  
<?if($USER_STATUS$)?><div class="statusBlock">Статус: $USER_STATUS$</div><?endif?>  
<script type="text/javascript">  
var n; money='';  
zn=$POSTS$; Nm=Math.floor(zn/10);  
ue='';  
//деньги за посты  
if(zn<9) ue='0.10'  
if(zn>10) ue='0.88'  
if(zn>20) ue='1.03'  
if(zn>30) ue='2.54'  
if(zn>40) ue='3.44'  
if(zn>50) ue='4.24'  
if(zn>60) ue='5.16'  
if(zn>70) ue='6.18'  
if(zn>80) ue='7.65'  
if(zn>90) ue='7.99'  
if(zn>100) ue='8.14'  
if(zn>110) ue='9.05'  
if(zn>120) ue='9.88'  
if(zn>130) ue='10.23'  
if(zn>140) ue='11.44'  
if(zn>150) ue='12.14'  
if(zn>160) ue='13.09'  
if(zn>170) ue='13.89'  
if(zn>180) ue='14.06'  
if(zn>190) ue='15.88'  
if(zn>200) ue='16.24'  
if(zn>210) ue='17.43'  
if(zn>220) ue='18.14'  
if(zn>230) ue='19.12'  
if(zn>240) ue='20.54'  
if(zn>250) ue='21.05'  
if(zn>260) ue='21.99'  
if(zn>270) ue='22.36'  
if(zn>280) ue='23.14'  
if(zn>290) ue='24.04'  
if(zn>300) ue='25.01'  
if(zn>310) ue='25.88'  
if(zn>320) ue='26.41'  
if(zn>310) ue='27.18'  
if(zn>320) ue='28.14'  
if(zn>330) ue='29.05'  
if(zn>340) ue='30.44'  
if(zn>350) ue='31.84'  
if(zn>360) ue='32.14'  
if(zn>370) ue='33.19'  
if(zn>380) ue='34.94'  
if(zn>390) ue='35.18'  
if(zn>400) ue='36.14'  
if(zn>410) ue='37.58'  
if(zn>420) ue='38.02'  
if(zn>430) ue='39.81'  
if(zn>440) ue='40.12'  
if(zn>450) ue='41.43'  
if(zn>460) ue='42.74'  
if(zn>470) ue='43.18'  
if(zn>480) ue='44.19'  
if(zn>490) ue='45.51'  
if(zn>500) ue='46.24'  
if(zn>510) ue='47.44'  
if(zn>520) ue='48.15'  
if(zn>530) ue='49.55'  
if(zn>540) ue='50.14'  
if(zn>550) ue='51.19'  
if(zn>560) ue='58.12'  
if(zn>570) ue='59.33'  
if(zn>580) ue='60.81'  
if(zn>590) ue='61.14'  
if(zn>600) ue='62.87'  
if(zn>610) ue='63.11'  
if(zn>620) ue='64.83'  
if(zn>630) ue='65.51'  
if(zn>640) ue='66.32'  
if(zn>650) ue='67.23'  
if(zn>660) ue='67.88'  
if(zn>670) ue='68.74'  
if(zn>680) ue='69.38'  
if(zn>690) ue='70.11'  
if(zn>700) ue='71.00'  
if(zn>710) ue='72.31'  
if(zn>720) ue='73.15'  
if(zn>730) ue='74.13'  
if(zn>740) ue='75.12'  
if(zn>750) ue='76.48'  
if(zn>760) ue='77.29'  
if(zn>770) ue='78.41'  
if(zn>780) ue='79.62'  
if(zn>790) ue='80.50'  
if(zn>800) ue='81.06'  
if(zn>810) ue='82.24'  
if(zn>820) ue='82.99'  
if(zn>830) ue='83.28'  
if(zn>840) ue='84.34'  
if(zn>850) ue='85.91'  
if(zn>860) ue='86.12'  
if(zn>870) ue='87.74'  
if(zn>880) ue='88.63'  
if(zn>890) ue='89.04'  
if(zn>900) ue='90.31'  
if(zn>910) ue='91.43'  
if(zn>920) ue='92.26'  
if(zn>930) ue='93.12'  
if(zn>940) ue='94.01'  
if(zn>950) ue='95.36'  
if(zn>960) ue='96.23'  
if(zn>970) ue='97.88'  
if(zn>980) ue='98.31'  
if(zn>990) ue='99.16'  
if(zn>1000) ue='100.00'  
if(zn>1010) ue='101.11'  
if(zn>1020) ue='102.43'  
if(zn>1040) ue='103.88'  
if(zn>1060) ue='104.48'  
if(zn>1080) ue='105.71'  
if(zn>1100) ue='106.38'  
if(zn>1120) ue='107.56'  
if(zn>1140) ue='108.72'  
if(zn>1160) ue='109.47'  
if(zn>1180) ue='110.15'  
if(zn>1200) ue='111.08'  
if(zn>1220) ue='112.54'  
if(zn>1240) ue='113.89'  
if(zn>1260) ue='114.47'  
if(zn>1280) ue='115.87'  
if(zn>1300) ue='116.72'  
if(zn>1320) ue='117.45'  
if(zn>1340) ue='118.63'  
if(zn>1360) ue='119.09'  
if(zn>1380) ue='120.44'  
if(zn>1400) ue='121.47'  
if(zn>1420) ue='122.31' &nbs ... Читать дальше »
Подробнее | 0 коментариев | 621 просмотров | Добавил: HiP-HoP

1 2 3 »