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

Хак позволяет создающему тему выбрать префикс к ней, из которого сразу будет ясно, к чему относится тема, например:

Проблема!
Предложение
Обсудить

и т.п.

На мой взгляд - очень полезный хак.
-----------------------------------------------------



Brief Description of the Modification

This modification allows your users to choose a thread prefix for each thread. To do this you are able to select an appropriate prefix from a list beside the title while posting a new thread - for example 'Help', 'Problem', 'Search' etc.

This prefix will be displayed in front of the thread title. The result will be for example:
Problem - I can't find this setting

Problem is the thread prefix, I can't find this setting is the title of the thread.

The prefixes displayed in this list may be defined by a moderator for each of his moderated forums (Forum Tools -> Manage Thread Prefixes); of course an administrator and a super moderator is allowed to do this for every forum.


Features
Moderators are able to create own prefixes for each of their moderated forums.
(Forum -> Forum Tools -> Manage Thread Prefixes -> threadprefix.php)
Display of the prefixes on forum display, search results, subscribed threads and within the thread itself.
It is possible to change the prefix with editing the first post of a thread or with the thread tools available for moderators at any time.
Settings in Admin CP
Maximum prefixes per forum
Thread Prefix required: Users have to select a thread prefix for their threads. You can select this globally for all forums or on a per forum basis.
Default Thread Prefixes: You may set default prefixes which will either be shown only in forums without own prefixes or be shown in addition to existing prefixes
Show Thread Prefixes in extra column or in front of the thread title in the same column
Alignment of the prefixes (if 'Show in extra column' is enabled): Align left, align right, center
Show Prefix in 'Last Post' column
Prefix HTML Markup: Specify an HTML tag with which to display the prefixes (bold, italic, red etc.)
Allow Thread Prefix search: If enabled, the prefixes of all forums the user has access to will be grouped in a list and displayed in the search engine.
Per Forum:
Allow Thread Prefixes in this Forum
Thread Prefix Required in this Forum.
Screenshots

See attachments.


Version-History

1.5.1 (2005-11-02 - 09:30 pm)
First version for vBulletin 3.5.1
1.5.0 (2005-11-02 - 09:30 pm)
First version for vBulletin 3.5.0 (only one file edit more because of a missing hook)
Installation
Upload all files from the upload directory to your vBulletin directory on your server.

Overview of the files and corresponding directories:
/threadprefix.php
/admincp/prefixinstall.php
/admincp/prefixinstall_text.php
/includes/functions_threadprefix.php
Import the file "product-threadprefix_english.xml" with 'Manage Products':
Admin Control Panel -> Plugin System -> Manage Products ->
[Add/Import Product] -> Select file -> Import

Open this file with your browser:
http://www.yourdomain.de/forum/admin...fixinstall.php

Log in as administrator and follow the instructions
Time needed for installation: approx. 30 min.
Tested for version: 3.5.0 (and above).

Note: If you have used the Thread Category / Prefix Hack in vBulletin 3.0.x, don't worry: all existing prefixes will be imported. You just have to re-do your threadprefix settings in your vBulletin Options.

Update Product
Upload all files from the upload directory to your vBulletin directory on your server.

Overview of the files and corresponding directories:
/threadprefix.php
/admincp/prefixinstall.php
/admincp/prefixinstall_text.php
/includes/functions_threadprefix.php
Import the file "product-threadprefix_english.xml" with 'Manage Products':
Admin Control Panel -> Plugin System -> Manage Products ->
[Add/Import Product] -> Select file -> Import

You have to select 'Allow Overwrite' -> 'Yes' before clicking on Import!
Open this file with your browser:
http://www.yourdomain.de/forum/admin...fixinstall.php
Log in as administrator and select the version you want to update from (at Step 2 -> 'Update Product') and follow the instructions.
Short overview of the needed modifications

1. Files that need to be edited:
/forumdisplay.php (only when using vB 3.5.0)
/clientscript/vbulletin_textedit.js
/includes/class_dm_threadpost.php
/includes/functions_databuild.php
/includes/functions_online.php
2. New files:
/threadprefix.php
/includes/functions_threadprefix.php
3. Templates that need to be edited:
editpost
FORUMDISPLAY
forumdisplay_announcement
newthread
search_forums
search_results
SUBSCRIBE
threadadmin_editthread
threadbit
threadbit_deleted
4. New templates:
threadprefix_listbit
threadprefix_modify
5. New phrases:
Too many to list them all - they will be created automatically while importing the xml file
Final words

If the modification doesn't work correct after installation, please verify all modifications you have made within the files and the templates. Be sure you have uploaded all edited and new files.

The modification was tested extensive and will function properly if installed correct.

Thanks to ReadWrite for his french translation.

Special Thanks to Andreas for his help with the hooks.

Have fun with the modification!


Свежая версия: threadprefix_155.zip
http://vbsupport.ru/forum/attachment...7&d=1145858418
Attached Files
File Type: zip threadprefix_151_vB351.zip (45.9 KB, 228 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
rainyday
Простоузер
Default
0

Это возможность писать пояснение к теме? А где сам хак кстати? :(
 
 
Браток
Продвинутый
Default
0

Quote:
Originally Posted by rainyday
Это возможность писать пояснение к теме? А где сам хак кстати? :(
Это типа как на vB.org темы к хакам и там идет перед ссылкой на тему обазначение принадлежности хака к определенной версии (пример: [vB 3.5.1] Thread Prefixes)
Красным и есть префикс к теме
 
 
bitbob
Простоузер
Default
0

from:
http://www.vbulletin.org/forum/showt...threadid=99925

Mod Version: 1.5.2
Last Update: 05. Nov 2005
Attached Files
File Type: zip threadprefix_152_vB351.zip (46.2 KB, 121 views)
 
 
globalmoney
Простоузер
Default
0

А на версию 3.5.1 подходит нормально?
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default
0

Да.
 
 
Чайни
Продвинутый
Default
0

Время по установке и сносу этого хака несоизмеримо его полезности

Установил, убив на это пол ночи Оказалось, глюки в программе :
в маршруте прописано "бла-бла-бла-/forum./includes/-бла-бла-бла", ну и нахрена там точка ?! Убрал её в одном месте (там было : DIR."./includes/-бла-бла-бла") - заработало со скрипом Если бы убрал ещё в нескольких местах, наверное, я бы увидел что-то более-менее ценное

Ну и вторую половину ночи убил на снос... благо, это делается чуть быстрее
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default
1

У нас стоит.
Глюки есть? Нету.
Вывод: глюки у тебя где-то в другом месте.

Ставилось от силы, полчаса.
 
 
Vice
Продвинутый
Хочет чего-то непонятного...
Default
0

Очень странно выводится этот префикс - гораздо логичнее было бы выносить его не в отдельную колонку, а поставить прямо перед темой - я думал что так оно и будет, однако придётся править шаблончики
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ'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:46 AM.


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