форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.5.x > Hacks, mods and scripts [3.5.x]
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default Your Users Best Threads
1

"Избранное" для тем форума, индивидуально для каждого пользователя.
--------------------------------------------


User Controllable
From Thread Tools ==> Add Thread To My best Threads OR Remove Thread from My best Threads.]

Installation::.
1-Import The Product.
2-Edit Template MEMBERINFO
Find:
Code:
$footerAdd Above it
Code:
$mybest3-Edit Template SHOWTHREAD
Find:
Code:
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>Add Below it
Code:
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&amp;t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&amp;t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>4-upload best.gif to your style's button directory
Attached Thumbnails
2.gif  
Attached Files
File Type: zip My Best Threads.zip (29.2 KB, 17 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
TOXACb
Знаток
 
TOXACb's Avatar
Default
1

Quote:
Originally Posted by КотЪ
"Избранное" для тем форума, индивидуально для каждого пользователя.
Это совсем не "Избранное" в его обычном понимании. В этом хаке каждый пользователь может пометить ТОЛЬКО СВОЮ тему лучшей и список помеченных лучших тем будет отображаться в профиле пользователя, а не в контрольной панели пользователя.
 
 
ka81
Продвинутый
 
ka81's Avatar
Question
0

все по инструкции, кроме одного - изменение в ШОУТРЕАД:

надо:
Code:
Find:
Code:
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
Add Below it 
Code:
.....
у меня же нет вышеуказанных выделенных тегов, посему вставил как мог:
Code:
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
				</if>
			</div>
		</if>
		<if condition="$show['addpoll']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
		</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&amp;t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&amp;t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
к сож. в опциях тем не появилась возможность "Добавлять в избранное".
:(

понимаю что мои руки кривые, но понять решение все равно не могу.
нуждаюсь в помощи.
 
 
Klonic_J
Продвинутый
Default
0

а чем от "подписки на тему" отличается?
 
 
KasTet
Простоузер
 
KasTet's Avatar
Default
0

А кто уже решил проблему с руссификацией???
 


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 09:05 AM.


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