форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.6.x > Hacks, mods and scripts [3.6.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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Diablos
Эксперт
 
Diablos's Avatar
Default [vB 3.6.7] vB Save Drafts for vB
1

vB Save Drafts for vB (3.6.[5,6,7]) & PL1

Version

Save Drafts 2.0.124

About

The draft system allows for members to save messages and attachments when creating a new topic, reply or pm. If you can't finish posting because you need to do other important things you can just save the message and attachments and all your form settings. Then after, all you do is load the draft from your draft folder to continue editing it!

The draft system can be controlled by user groups or per user. It also controls permissions based on posting type (new topics, replies, pms). This allows you to turn on or off part of the system while allowing another part to run in normal mode.

You can even setup a rewards program and give draft permissions to users that have earned that benefit! If for nothing else, it will give your members another nice options that lets them have more control of their posting options while allowing you the administrator to not worry about the draft system becoming pain to manage, because you the administrator are given tools to manage the system with ease.


Inner Workings

1. Supports attachments (db, file) based

Will automatically switch modes based on the current storage type!

2. No extra query on the front end.

When a draft is set to be stored, the original (2) post queries are not used, and the draft system will run (1) or (2) queries, depending on the type (pm = 1, reply = 1, new topic = 1 with no attachments, 2 with attachments)! Draft permissions are also loaded with the cached permissions, so no query is added to load the draft permissions! Draft permissions are killed off if the current request does not contain a request that needs them.

3. Permissions are based on type (topic, reply, pm)

Each type can have a different set of permissions.


Other Notes

Besides updating this for vBulletin 3.6.*, I have also added a complete rewrite of the administrator logic, it's very fast even on the biggest of boards. I also updated $variable handling in all functions because PHP does not free allocated memory for $variables within functions unless they are unset(), so now every variable within functions not being used is removed.

AJAX SUPPORT (Auto Save)

From the many emails I've gotten many have asked about adding a auto save feature. Others have asked me not to include it, so I have created (2) versions, (1) with the auto save feature and the other without it! I am only releasing the one without here. But you can freely email me and I will gladly send you a copy of the AJAX supported version.

The reason why I didn't combine them because there is a big difference in the back end (the (3) new save draft scripts), the templates are the same, the only other changes have to do with adding a single JavaScript file called vbulletin_drafts.js, which is the event listener for the Save Draft System!

Like I said if you want the AJAX version, just email me, you will find my email in the main folder read.txt file...

If you need this installed, then email or PM me and I will happy to do it for you, it only takes me a few minutes to install it...

Screens are below...

Instead of uploading more screens, please see this post for screens of the Save Draft System.

I have attached (2) screens to this post because it shows the AJAX permissions, and the new over view window, that allows the administrator to view user saved draft messages or attachments!

ajax_draft_permissions.png

Shows the Draft permissions panel with the new AJAX auto save option

admin_over_view.png

Show the popup window where the administrator can view members draft folders and get detailed information about the Save Draft System (ie: message, attaches, total size) the Save Draft System is using, plus you can manage all drafts from there.
Attached Thumbnails
admin_over_view.jpg   ajax_draft_permissions.jpg  
Attached Files
File Type: zip save_drafts.zip (40.7 KB, 29 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Malcolm Reed
Эксперт
 
Malcolm Reed's Avatar
Default
0

Вариант Autosave (Gmail Style) был куда лучше, имхо. Его недавно выкладывали в теме про Запросы.
 


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


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