форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.7.x > Hacks, mods and scripts [3.7.x]
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
hun33
Простоузер
Thumbs up Разделение постов / Thread Splitter
14

HTML Code:
This creates a new thread once a thead has reached a certain size and a user posts a new reply

NOTE
this does alter your thread table, it adds a new row (contnum) and a new index
it adds a new bbcode to your forum, so that the topic continue doesnt open a new window/tab

Install guide
when you install through the "manage products", a new set of options will appear in the vbulletin options->vbulletin options (defualt off)

this allows you to change the following settings:
userid of the post continuer - when a post is auto-closed a post is made that says it is closed, and a new thread is created with a post in it saying where the original is, this is posted auto by the user given (default 1)

reply count - the amount of posts before a thread is closed and split (default 500)

threadsplitter enabled - turn off/on the thread splitter (default off)

dont allow splits in X forums - add new forums by using ,. e.g 4,5 (default blank)

update subscriptions - update the users threadsubscriptions to the new thread if subscribed to the old one before split

unsticky old threads - unsticky the old threads after a continuation is made (default off)

В кратце, При определённом количестве постов в теме, например 50, тема закрывается и создаётся такая же тема но с название (тама Pert II).

Установка:
Импортировать продукт - основные настройки - разделитель тем - включить хак


Анг версия, и мой русский перевод в аттаче, проверенно на булке 3.7.0 бета 6
Attached Files
File Type: xml splitter_rus.xml (22.9 KB, 107 views)
File Type: xml splitter.xml (22.9 KB, 32 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
andreeew
Простоузер
Default
0

для чего это надо??
 
 
mastah
Знаток
 
mastah's Avatar
Default
0

andreeew, есть темы, в которых ответов больше 100, 200.. например, выкладывают серийники или обсуждают прохождение игры - как на гурусе

полезная вещь. а не 3.6.8 не тестили? под рукой тестовый только 3.7 =(
 
 
Cactus
Специалист
 
Cactus's Avatar
Default
0

Quote:
Originally Posted by mastah View Post
а не 3.6.8 не тестили?
я думаю должно работать =))) имхо
 
 
hun33
Простоузер
Default
0

рабоатет
 
 
mastah
Знаток
 
mastah's Avatar
Default
0

Quote:
Originally Posted by hun33 View Post
рабоатет
это ответ на вопрос про 3.6.8?
 
 
AleX
Гость
Default

hun33, модуль-то для линейки 3.6. Не надо вводить народ в заблуждение: http://www.vbulletin.org/forum/showthread.php?t=160074
 
 
Orgazm
Простоузер
Default
0

подскажите, а этот хак нужный?
 
 
Wazzik
Простоузер
Default
0

По производительности разницы ведь никакой: есть одна тема с 1000 постов или две темы с 500 в каждой. Верно?
 
 
netwind
Гуру
 
netwind's Avatar
Default
0

Wazzik, есть. Предполагается, что темы "многосерийные" с продолжением.

при просмотре последней страницы темы 1000 постов серверу придется обратиться к информации о всей 1000 постов даже если пользователь хотел только последние посты (самая частая ситуация).
Если разбить, то 500 постов уже не будут участвовать в процессе просмотра одной темы.
А вторую может никто и читать не будет постоянно.
 


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 11:28 PM.


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