форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.7.x > Hacks, mods and scripts [3.7.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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
shpunsetoy
Эксперт
 
shpunsetoy's Avatar
Thumbs up Ajax Poll Preview Version: 0.5.0
2

Ссылка на орг

DESCRIPTION

We're living in a world of AJAX (at least some say so ), so why not minimize traffic by using AJAX technology? That's why I made this little hack for vbulletin (upon a request of a fellow mod on another forum).

So what this hack does is to display the poll results by hovering the thread poll icon in FORUMDISPLAY view (see screenshot), so you dont have to view the entire thread (and all its graphics and stuff) when you're just wanting to view the current poll results, and with this save forum traffic (though, granted, it's not that much). The hack uses the great jQuery javascript library and the modification jTip by Cody Lindley, which I've modified for proper vbulletin use (especially layout issues).

It uses every forum's custom style, so it'll look like it was made for your vbulletin.

The hack has been tested on 3.7.0B3 and 3.6.8, but should work on 3.5.x aswell.

STATISTICS

File Uploads: 5
File Changes: 0
Template Changes: 1
Products to Install: 1
Time to Install: ~ 2 minutes


FEATURES
Configuration Options in the AdminCP
Enable the Inline Poll Preview Plugin? (bool)
Tooltip Width (int)
Uses AJAX technology, so no extra query on any page
Uses vbulletin's permission system


INSTALLATION

- Upload files from the upload folder
- Import the product via ACP > Manage Products > Import
- Do the template change (can also be found within the ZIP file!)

In threadbit template replace
Code:
 <if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if>
with
Code:
<if condition="$show['threadicon']"> 
    <if condition="($vboptions[enable_inlinepollpreview]==TRUE) AND $thread['pollid']"> 
        <a href="pollinline.php?width=$vboptions[tipwidth_inlinepollpreview]&threadid=$thread[realthreadid]&rand={$pollprevrand}" class="jTip" id="pollpreview$thread[realthreadid]" name="$thread[threadtitle]"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></a> 
    <else /> 
        <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> 
    </if> 
<else /> 
    &nbsp; 
</if>
CONFIGURATION

Note that by default (after installation) the hack in disabled! Go to the options page to enable and configure it.

The (yet) few configuration options shouldnt be hard to understand so no further info here. If someone has any questions (or suggestions), the hack is supported by myself. Just reply here.


SCREENSHOTS

1.) The options panel.
2.) Poll Preview on another forum layout.
3.) Permission message when the user doesnt have the rights to view thread's contents.
4.) Poll Preview in FORUMDISPLAY view.
Attached Thumbnails
screenshot01.jpg   screenshot02.gif   screenshot04.jpg   screenshot03.jpg  
Attached Files
File Type: zip os_inlinepollpreview_0_5_0.zip (139.8 KB, 29 views)

Last edited by shpunsetoy : 12-26-2007 at 02:54 AM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Меф
Продвинутый
 
Меф's Avatar
Default
0

Не... вывод голосования в тридбит это уже перебор имхо =\
 
 
shpunsetoy
Эксперт
 
shpunsetoy's Avatar
Default
0

..а в чём проблема то?...запросов лишних вроде как нет ...всё через jQuery ..
 
 
Мик
Эксперт
 
Мик's Avatar
Default
0

Quote:
Originally Posted by shpunsetoy View Post
..а в чём проблема то?...запросов лишних вроде как нет ...всё через jQuery ..
а ты думаешь это не грузит машину юзвера???
грузит и еще как
 
 
shpunsetoy
Эксперт
 
shpunsetoy's Avatar
Default
0

25к на сессию это разве грузит?...
 
 
Мик
Эксперт
 
Мик's Avatar
Default
0

Quote:
Originally Posted by shpunsetoy View Post
25к на сессию это разве грузит?...
ты не забывай, что форум не голый и таких фич может быть не одна и не две
а на много больше
 
 
xDEAD
Эксперт
 
xDEAD's Avatar
Default
0

Себе на 3.6.8 поставлю.. мб перевести надо? О_о оо, заодно и Beta 3 посмотрим...
 
 
shpunsetoy
Эксперт
 
shpunsetoy's Avatar
Default
0

Quote:
Originally Posted by Мик View Post
ты не забывай, что форум не голый и таких фич может быть не одна и не две
а на много больше
ты прав..и по сему просто не стоит одну и туже библиотеку подгружать дважды)))
 
 
xDEAD
Эксперт
 
xDEAD's Avatar
Default
0

http://217.65.8.114/~vbsuppor/forum/...250#post160250 рузкый пирифод
 


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 08:18 AM.


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