форум 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 Who Rated This Thread / Кто оценивал тему?
3

Description::.
This hack show to certain user groups who rated this thread
Hack Features::.
1-easy yo install
[See Screen Shot]

Installation::.

1-open the prodcut with any editor
find:
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">at line 11
change 5,6,7 to usergroups ids you want to allow to them to see the hack
2-Import The product.
3-Edit Template showthread
find:
Code:
</head>add before it:

Code:
<script language="JavaScript">
<!--//BEGIN Script

function new_window(url) {

link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500,height=250,left=180,top=180");

}
//END Script-->
</script>thren Find:
Code:
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a>Add after it
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="javascript:new_window('misc.php?do=whorate&threadid=$threadinfo[threadid]')">$vbphrase[devel_whorate_who]?</a></if>remember to change 5,6,7 to usergroups ids you want to allow to them to see the hack
Attached Thumbnails
1.gif  
Attached Files
File Type: zip Who rated this thread.zip (15.8 KB, 26 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Profess1on
Продвинутый
Default
1

Дико извеняюсЪ, но почему же он на 3.5.2 не работает?
 


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 12:04 PM.


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