форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.6.x > Hacks, mods and scripts [3.6.x]
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
mahmut
Продвинутый
 
mahmut's Avatar
Smile 3.6.х оценить тему
1

3.6.х оценить тему

Панель администратораСтили и шаблоныУправление стилями шаблоны SHOWTHREAD
меняем на готовый шаблон SHOWTHREAD
**** код ****
Quote:
Пока не использовал на 3.7.х
Attached Files
File Type: rar vborg_threadrating_SHOWTHREAD.rar (5.8 KB, 41 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

mahmut,
выложи изменения в шаблоне, а не весь его код, т.к. у всех разные хаки стоят и соотв. разные изменения были в этом шаблоне
 
 
miSHOCK
Продвинутый
 
miSHOCK's Avatar
Default
0

после первого
Code:
<if condition="$show['inlinemod']">
Вставить
Code:
<!-- thread rating menu -->
<form action="threadrate.php?t=$threadid" method="post" id="showthread_threadrate_form">
	<table cellpadding="4" cellspacing="1" width="100%" border="0" class="tborder" align="center">
		<tr>
			<td style="background:#FFDC84;color:#000;" id="threadrating">
				<div align="center" id="threadrating_current">
					<div align="left"><h3>$vbphrase[rate_this_thread] : <em>$thread[title]</em></h3></div>
					<a name="goto_threadrating"></a>
					<label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label>
					<label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label>
					<label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label>
					<label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label>
					<label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label>
					<input type="hidden" name="s" value="$session[dbsessionhash]" />
					<input type="hidden" name="t" value="$threadid" />
					<input type="hidden" name="pp" value="$perpage" />
					<input type="hidden" name="page" value="$pagenumber" />
					<input type="submit" class="button" value="$vbphrase[vote_now]" />
				</div>
			</td>
		</tr>
	</table>
	
	<br />
</form>
<!-- / thread rating menu -->

Last edited by miSHOCK : 07-02-2008 at 05:33 PM.
 
 
Maine
Простоузер
Arrow
0

Так неплохо, но как тогда убрать старый рейтинг, он же мешает теперь (на 3.7)
 
 
Cactus
Специалист
 
Cactus's Avatar
Default
0

Maine, урежь блин его из шаблона и всё......
ппц ребят вот зачем без знаний хтмл переть на воблу?
 
 
Freklop
Продвинутый
Default
0

В 3.7.х удаляем:
HTML Code:
<if condition="$show['threadrating']">
        <td class="vbmenu_control" id="threadrating" nowrap="nowrap">
            <a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
            <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
        </td>
    </if>
Потом удалить

HTML Code:
<form action="threadrate.php?t=$threadid" method="post" id="showthread_threadrate_form">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
        </tr>
        <if condition="$show['ratethread']">
        <tr>
            <td class="vbmenu_option" title="nohilite" id="threadrating_options">

            <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
            <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
            <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
            <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
            <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
            </td>
        </tr>
        <tr id="threadrating_submit">
            <td class="vbmenu_option" title="nohilite" align="center">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="t" value="$threadid" />
                <input type="hidden" name="pp" value="$perpage" />
                <input type="hidden" name="page" value="$pagenumber" />
                <input type="submit" class="button" value="$vbphrase[vote_now]" />
            </td>
        </tr>
        <else />
        <tr>
            <td class="vbmenu_option" title="nohilite">$vbphrase[already_rated_this_thread]</td>
        </tr>
        </if>
        </table>
    </form>
и все

Freklop добавил 12.11.2008 в 10:51
Соре первую строчку можете не удалять. Показывает сам рейтинг. Её вы можете под голосование вставить, думаю будет красиво ;)

Last edited by Freklop : 11-12-2008 at 11:51 AM. Reason: Добавлено сообщение
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.