У Вас в настройках PHP register_globals=ON? какеры идут к Вам!!!

Файловый Архив

  • Неограниченное количество категорий и суб-категорий
  • Настройки прав доступа по группам
  • Настройки прав доступа по каждой категории
  • Предпросмотр медиа файлов: FLV, IFLV, F4A, F4V, MP4, MP3, MOV и других...
  • Мультизагрузка файлов - SWFUploader
  • Добавление файлов с сервера
Подробности и история обновлений продукта в этой теме
Loading

Go Back   форум vBSupport.org > >
Register Изображения Меню vBsupport Files Manager Аллея Звёзд Реклама на форуме Search Today's Posts Mark Forums Read
  • Мемберка
  • Администраторам
  • Premoderation
  • For English speaking users
  • Изменения в правах
  • Каталог Фрилансеров
Пароли на скачивание файлов в Member Area меняются автоматически каждый день
Если вам нужно скачать какой то скрипт, за паролем ко мне в ЛС
привет какирам kerk
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа 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.
Не можете скачать вложение?
Изменения в правах групп пользователей
внимательно читаем эту и эту темы
Короткая версия - тут
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

 
 
Old  
liner
Эксперт
 
liner's Avatar
Default Fast Attach 0

Интересует быстрое вложение файлов. Не та реализация, в что в стандартной "комплектации", как сейчас и здесь, а возможность прикрепить пару файлов, причем в окне быстрого ответа в том числе.

И выглядеть это должно примерно вот так. Между текст'ареа и "отправить сообщение" пара окон подгрузки файлов.
На IPB, к слову, сделано удачно и удобно.

Есть мысли?
Attached Thumbnails
Безимени-1.jpg   Безимени-3.jpg  
 
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
Old  
Orfo
Знаток
Default 0

http://ruseller.com/lessons.php?rub=29&id=370
не vb конечно а скрипт на ajax и jquery
 
Old  
IMPERlAL
Знаток
 
IMPERlAL's Avatar
Default 1

Как вариант, найти шаблон аттачей, выписать код прикрепления, вставить ниже формы ответа расширенного редактора.
 
Old  
kerk
k0t
 
kerk's Avatar
Default 1

именно так, как показано на скринах, не желательно делать, т.к. пользователь не будет видеть/знать, какие расширения файлов доступны его группе и что он имеет право загружать
где то был хак, который прицепляет к быстрому ответу кнопку "Управление вложениями"
клик - открывается стандартное окно с формой загрузки и соотв. правами доступа по группам
 
Old  
GiveMeABreak
Эксперт
 
GiveMeABreak's Avatar
Arrow 0

тема на орге
for vB 3.7.4

Dear All ....

since every body know we cant attach any file from the qucik reply, we have to go use newreply or newthread to use this feature ....

- since 3 days i am working in this option, with tries and errors and finally i succed to add the attach files in the quick reply to make it easy for the users.


** 3.7.4 **
+++++++++++++++++++++++++++++++++++++++++++++++++
The steps :

1- showthread.php :

please open the file ...

=== attached all the modifications for your helps ===

a- search for

PHP Code:
'bbcodecache'
add after this code the following :

PHP Code:
'attachmentcache'
b- search for

PHP Code:
'showthread_quickreply'
add after this the followings :

PHP Code:
'newpost_attachment'
 
'newpost_attachmentbit'
c- search for
PHP Code:
// ********************************************************************************* 
// build quick reply if appropriate 
befor this you have to add the following

PHP Code:
// get attachment options - by abus3d (www.marsasoft.net) 
 
require_once(DIR '/includes/functions_file.php'); 
 
$inimaxattach fetch_max_upload_size(); 
 
$attachtypes =& $vbulletin->attachmentcache
 
$maxattachsize vb_number_format($inimaxattach1true); 
 
$attachcount 0
 
$attach_editor = array(); 
 if (
$forumperms $vbulletin->bf_ugp_forumpermissions['canpostattachment'] AND  
$vbulletin->userinfo['userid']) 
 { 
  if (!
$posthash OR !$poststarttime
  { 
   
$poststarttime TIMENOW
   
$posthash md5($poststarttime $vbulletin->userinfo['userid'] .  
$vbulletin->userinfo['salt']); 
  } 
  else 
  { 
   if (empty(
$postattach)) 
   { 
    
$currentattaches $db->query_read(
     SELECT dateline, filename, filesize, attachmentid 
     FROM " 
TABLE_PREFIX "attachment 
     WHERE posthash = '" 
.  
$db->escape_string($newpost['posthash']) . "' 
      AND userid = " 
.  
$vbulletin->userinfo['userid'
    ); 
    while (
$attach $db->fetch_array($currentattaches)) 
    { 
     
$postattach["$attach[attachmentid]"] = $attach
    } 
   } 
   if (!empty(
$postattach)) 
   { 
    foreach(
$postattach AS $attachmentid => $attach
    { 
     
$attach['extension'] =  
strtolower(file_extension($attach['filename'])); 
     
$attach['filename'] =  
htmlspecialchars_uni($attach['filename']); 
     
$attach['filesize'] =  
vb_number_format($attach['filesize'], 1true); 
     
$show['attachmentlist'] = true
     eval(
'$attachments .= "' .  
fetch_template('newpost_attachmentbit') . '";'); 
     
$attachment_js .=  
construct_attachment_add_js($attachmentid$attach['filename'], $attach['filesize'],  
$attach['extension']); 
     
$attach_editor["$attachmentid"] =  
$attach['filename']; 
    } 
   } 
  } 
  
$attachurl "t=$threadinfo[threadid]"
  eval(
'$attachmentoption = "' fetch_template('newpost_attachment') .  
'";'); 
  
$attach_editor['hash'] = $postid
  
$attach_editor['url'] =  
"newattachment.php?$session[sessionurl]t=$threadinfo[threadid]&amp;poststarttime=$poststartt 
ime&amp;posthash=
$posthash"
 } 
 else 
 { 
  
$attachmentoption ''
 } 
d- please save your file (showthread.php)

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++

2- now we have to make some modifications in showthread template

a- please open your showthread tempale

search for :

PHP Code:
<input type="hidden" name="p" value="$qrpostidid="qr_postid" /> 
after this please add the followings :

PHP Code:
<input type="hidden" name="posthash" value="$posthash/> 
   <
input type="hidden" name="poststarttime" value="$poststarttime/> 
b- in the same template you search :
PHP Code:
<if condition="$bbuserinfo['signature']"
        <
div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div
       </if> 
       <
label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label
      </
div
     </
fieldset
you add after this the following :

PHP Code:
$attachmentoption 
Attached Thumbnails
1.jpg  
Attached Files
File Type: zip Attach Files in Quick Reply.zip (31.7 KB, 3 views)
 
Old  
GiveMeABreak
Эксперт
 
GiveMeABreak's Avatar
Thumbs up 0

или вот еще нашел

тема на орге

Name: Advanced Quick Reply

Description: This product extends 'Quick Reply' functionality to allow all "Advanced Editor mode" options [ All Built-In BBCodes / Smilie Box / Smilie Menu / Attachments ] (with full control from AdminCP).

How it works:
  • Simple:
    • Adds functionality of the full editor to the quick reply [ All Built-In BBCodes / Smilie Box / Smilie Menu / Attachments / Thread Management Tools ] - [ 5 In 1 ].
  • Detailed:
    • This product is totally different from other similar products, it doesn't depend on any other codes and doesn't fake vBulletin telling it that this editor is advanced reply not quick one, it leaves every thing as default but extends 'quick reply' functionality by having it's own independant code.
    • It adds all allowed buil-in bbcodes buttons to the quick reply editor (with full control).
    • It adds fully functional Attachments options in quick reply [Fully Functional (can control attachments in the quick reply as you do in the advanced editor mode, you also have the drop down menu button in the editor itself contains all attached files to embed them if you like in post with the [attach] bbcode as usual) ||| Fully Ajaxified (Yes, it's supports all vBulletin AJAXY functions in addition to rebuilding quick reply attachments' options after posting quick reply) ].
    • It adds thread management options to control the thread from the quick reply itself ( Open / Close / Stick / Un-Stick ), if management action taken from the quick reply the product will rebuild all related data within that thread on fly (dynamically), that's means if you chosen to close that thread it will close it & change the phrase "Close this thread after you submit your message" to "Re-open this thread after you submit your message" & "Close Thread" (in the moderation tools) to "Open Thread" & change the reply button to "threadclosed.gif" image, the product acts this way with all management options also (opening / sticking / un-sticking).
    • After submitting the quick reply, the product auto 'un-check' the checked check boxes & rebuild the attachment list & do appropriate actions related to the actions selected dynamically/instantly without reloading.

Features:
  • Specific Features:
    • Can enable/disable product globally. v1.0.0
    • Can select which Built-in BB Code Tags (enabled buttons). v1.0.0
    • Can display full functional SmilieBox. v1.0.0
    • Can display full functional SmilieMenu. v1.0.0
    • Can set "SmilieBox Total Smilies" for this editor alone (Doesn't depend on default system settings for advanced reply). v1.0.0
    • Can set "SmilieBox Smilies Per Row" for 'Quick Reply' editor alone. v1.0.0
    • Can set "SmilieMenu Total Smilies" for 'Quick Reply' editor alone. v1.0.0
    • Can display SmilieBox under the editor rather than beside it. v1.0.0
    • Can determine which width is better, the default message box width or the 100% extended width. v1.0.0
    • Can "Display Cut/Copy/Paste Buttons" (On/Off). v1.5.0
    • Can "Display Undo/Redo Buttons" (On/Off). v1.5.0
    • Can "Display Extra Buttons" (On/Off). v1.5.0
    • Can determine default "Message box Height". v1.5.0
    • Can activate "Attachments" in quick reply. v1.5.0
    • Can display "Thread Management Options" (On/Off). v1.5.0
    • Can display "Disable Smilies option" (On/Off). v1.5.0
    • Can "Hide Attachments' Extensions" (On/Off). v1.5.1
    • Can "Hide Default Quick Reply Options" (On/Off). v1.5.1
    • Can "Collapse Advanced Quick Reply by default" (On/Off). v2.0.0
    • Usergroup permissions (per usergroup permission). v2.0.0
    • Forum options (per forum option - On/Off). v2.0.0
    • Excluding Users feature. v2.0.0
  • Default Features:
    • Supported.
    • MD5 checked.
    • Fully phrased.
    • Optimized code.
    • Fully configurable from AdminCP.
    • Fully compatible with vBulletin 3.7.x series.
    • Will not alter environment of vb or any other products.
    • Primarily doesn't require any manual edits (Core functions).


Help Us:
  • With your brilliant suggestions and ideas to develop this product.
  • With your appreciated translations (translation credits go to their owners).
  • With your appreciated donation to keep this product free, premium and supported product.

    Donations sent to: Code:
    support [at] phpkd [dot] net


Known Isues:
  • None till now.


History:
  • v1.0.0 24/05/2008 07:07 AM (EEST): First initial public release.
  • v1.1.0 15/06/2008 07:07 AM (EEST): First update (private release).
  • v1.5.0 21/06/2008 06:00 AM (EEST): First public huge update.
    • Changes:
      • Core:
        • Changing productid from "phpkd_full_quickreply" to "phpkd_aqr".
        • Changing product name from "Full Quick Reply" to "Advanced Quick Reply".
      • Preferences:
        • Changing settinggroup location from 'under BBCode settings' to order '1005'.
      • Settings:
        • "Smiliebox Smilies Per Row" value (3 -> 15).
        • "Smiliebox Below Editor" value (No -> Yes).
        • "Message box width" value (Default -> 100%).
      • Phrases:
        • "Advanced Quick Reply BB Code Settings" -> "Advanced Quick Reply Settings".
    • New:
      • General:
        • Optimizing smilies query (putting it inside if statment, if smilies are disabled then it won't be excuted).
        • Optimizing product's code as a whole.
        • Beautifying product's code & generate micro stats about product being installed.
        • Adding simple debugging tools to help resolve further problems by tracking product's info.
      • Features:
        • Adding "Attachments in Quick Reply" with full support for all attachment's features in the full editor.
        • Ajaxifying all management actions & doing all stuff on fly without reloading (changing phrases/images/option values on fly).
        • Adding Ajaxified "disable smilies in text" options.
        • Adding Ajaxified "Thread Management" options (open/close | stick/unstick).
        • On/Off "Display Cut/Copy/Paste Buttons" option.
        • On/Off "Display Undo/Redo Buttons" option.
        • On/Off "Display Extra Buttons" option.
        • Default "Message box Height" option.
  • v1.5.1 01/07/2008 09:00 PM (EEST): Public Maintenance Release.
    • Changes:
      • Optimizing AJAX Code (And Fixing some bugs when some features are disabled).
      • Disabling some features by default (Activation as normal from AminCP - We just turn it off by default but not terminating or deleting it). These features are [ Allow attachments / Display Thread Management Options / Display "Disable Smilies" option ].
    • New:
      • Two new options [ Hide Attachments' Extensions (On/Off) / Hide Default Quick Reply Options (On/Off) ].
  • v2.0.0 26/07/2008 03:03 PM (EEST): Second public huge update (Second Generation).
    • Changes:
      • Core:
        • Re-writing ~ the whole product's code.
        • Optimizing/fixing minnor bugs in the whole product's code.
        • Minimizing JavaScript file edits to just one tiny edit & separating all required JavaScript Code in a new compressed file.
      • Preferences:
        • Changing settinggroup varname from 'phpkd_aqr_bbcode' to 'phpkd_aqr'.
      • Settings:
        • Re-writing all boolean settings in a new manner depending on bitfields.
      • Phrases:
        • Re-building all boolean settings related phrases.
    • New:
      • General:
        • Adding md5 sum check.
        • Beautifying product's code.
        • Optimizing product's code as a whole.
        • Developing the debugging tools which help resolving problems by tracking product's info.
      • Features:
        • Adding usergroup permissions (per usergroup on/off permission).
        • Adding forums permissions (per forum on/off switch).
        • Adding "Exclude Users" permissions (can exclude users from using product).
        • Adding "Collapse Advanced Quick Reply by default" feature.


Notes:
  1. Supported languages of this product are available as a translated products not as language files, the product's folder contains sub folders for languages, each one has the full package in that particular language (ie: English, Arabic ..).
  2. This product is supposed to work with vBulletin 3.5.x & 3.6.x series, but we don't support versions prior 3.7.x series, Just 3.7.x Stable series!
  3. Installing this product will automatically uninstall the first version of this product (1.0.x & 1.1.x series) with the different product ID ('phpkd_full_quickreply').


Files Tree:
  • Lang Name (i.e: English, Arabic ..)
    • import
      • product-phpkd_aqr.xml
    • readme
      • info.txt
      • js.file.edit.php
      • license.txt
    • screenshots
      • Screenshots ...
    • upload
      • clientscript
        • phpkd_aqr.js
      • includes
        • md5_sums_phpkd_aqr.php
        • xml
          • bitfield_phpkd_aqr.xml

Screen Shots:
  • Available down there.


Technical Notes:
  • Plugins: 9
  • New Files: 3
  • File Edits: 1 (JS)
  • New Templates: 4
  • Template Edits: 0
  • Auo Template Edits: 11
  • New Database Tables: 0
  • Database Alterations: 2
  • New Phrases: 37
  • New Options: 9
  • Cron Jops: 0


Installation Procedure:
  • Upload the required files to it's appropriated places:
    • clientscript/phpkd_aqr.js
    • includes/md5_sums_phpkd_aqr.php
    • includes/xml/bitfield_phpkd_aqr.xml
  • Import the product file from your AdminCP (If upgrading "Allow Overwrite").
  • Caution: If you are going to activate any of the following options [ Attachments / Thread Management Tools / Disable Smilies Check box ] then you should do the following Required JS file edit. This JS file edit is Required Only if you are going to activate any of the mentioned options, otherwise you haven't to do it. This Edit Adds the AJAX functionality to process required actions dynamically on fly.

    *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Note that there is two methods to edit the vbulletin_quick_reply.js file.
    One for people who use the COMPRESSED JavaScript file version and the other for people who use the UNCOMPRESSED version.

    --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
    Be sure to proceed with the right method according to your use!
    *** *** *** *** *** *** *** *** *** *** *** *** *** ***


    ------------------- For the COMPRESSED version -------------------
    [::-- Open the COMPRESSED version of clientscript/vbulletin_quick_reply.js file and search in it for the following code:
    ------------------- For the COMPRESSED version -------------------
    Code:
    qr_disable_controls();qr_hide_errors();
    ------------------- For the COMPRESSED version -------------------
    [::-- Then put the following code after it directly IN THE SAME LINE:
    ------------------- For the COMPRESSED version -------------------
    Code:
    phpkd_aqr();
    ------------------- For the COMPRESSED version -------------------
    [::-- To be as follow:
    ------------------- For the COMPRESSED version -------------------
    Code:
    qr_disable_controls();qr_hide_errors();phpkd_aqr();
    ------------------- For the COMPRESSED version -------------------
    Done. Save & re-upload the modified file (Allow over-write).
    ------------------- For the COMPRESSED version -------------------


    *** *** *** *** *** *** *** *** *** *** *** *** *** ***


    ------------------- For the UNCOMPRESSED version -------------------
    [::-- Open the UNCOMPRESSED version of clientscript/vbulletin_quick_reply.js file and search in it for the following code:
    ------------------- For the UNCOMPRESSED version -------------------
    Code:
    qr_disable_controls();
    qr_hide_errors();
    ------------------- For the UNCOMPRESSED version -------------------
    [::-- Then put the following code under it directly:
    ------------------- For the UNCOMPRESSED version -------------------
    Code:
    phpkd_aqr();
    ------------------- For the UNCOMPRESSED version -------------------
    [::-- To be as follow:
    ------------------- For the UNCOMPRESSED version -------------------
    Code:
    qr_disable_controls();
    qr_hide_errors();
    phpkd_aqr();
    ------------------- For the UNCOMPRESSED version -------------------
    Done. Save & re-upload the modified file (Allow over-write).
    ------------------- For the UNCOMPRESSED version -------------------
  • Done .


Upgrade Procedure:
  • Un-do any previous file edits done for this product (It's better to restore the default vBulletin files).
  • Follow the installation procedure for this version.


Control:
  • AdminCP -> vBulletin options -> Advanced Quick Reply Settings
  • AdminCP -> Forums & Moderators -> Forum Manager -> Select Forum -> Enable / Disable Features -> Can use 'Advanced Quick Reply' (On/Off)
  • AdminCP -> Usergroups -> Usergroup Manager -> Select Usergroup -> Post / Thread Permissions -> Can use 'Advanced Quick Reply' (Yes/No)


We recommend that all users upgrade to "Advanced Quick Reply" [2.0.0].


At the end:
  • Thanks to all of you for supporting us by installing our products.
Attached Thumbnails
phpkd_aqr_acp_settings_1.jpg   phpkd_aqr_forum_1.jpg  
Attached Files
File Type: zip phpkd_aqr.zip (251.1 KB, 1 views)
 
Old  
kerk
k0t
 
kerk's Avatar
Default 0

ну и зачем такой хак, который требует изменения сорса файлов?
 
Old  
GiveMeABreak
Эксперт
 
GiveMeABreak's Avatar
Default 0

ну давай сделай чтобы не менять
 
Old  
kerk
k0t
 
kerk's Avatar
Default 1

только ненадо "нукать", не запрягал
ты тоже не делал эти хаки, а только скопипастил, даже не потрудившись перевести
 
 

Thread Tools

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 05:43 PM.


Powered by vBulletin® Version 3.0.10
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.