![]() |
Attachment In Quickreply
What this hack does is to add an attachment option to quickreply in showthread as of New Reply or New Thread. This is good for boards that have slacked members who don't want to click on New Reply, but wanting to attach file on Quickreply.
/*-----------------------------------------------------------------------*\ File modification: 1 Template modication: 1 New Templates: 2 (estimate hack time: 2-5 mins) /*-----------------------------------------------------------------------*\ Live Demo: http://all4actions.net -- T. Nguyen -- |
worked flawlessly. :)
|
nice and very useful addition ;)
|
Does this take in to consideration the usergroup's attachment permissions?
If I had my board set up to only allow staff to upload attachments, would registered users still be able to see the attachment option on QuickReply, and would they be able to use it? |
Quote:
|
One small change I made to the showthread.php change, replace
PHP Code:
PHP Code:
|
Quote:
Thanks for sharing. |
Thanks PlenoJure, I noticed that myself, but didn't know what code to add. ^^;;
|
In showthread_quickreply, I think this:
Code:
<!--- showthread quickreply attachement ---> Code:
<!--- showthread quickreply attachment ---> |
*attachment updated* thanks, PlenoJure & Oblivion Knight . :)
|
Usefull :) Tnx.
|
Quote:
|
thanks for the notice. *updated*. ^_^
|
Quote:
|
Oh B'ah I was working on doing this hack myself, you beat me to it. good job however and will install.
|
nice one... adding smilies woould be another great functuoin... in one line like other boards has...
|
Quote:
|
Sorry! But i have problem:
PHP Code:
|
Quote:
Quote:
Quote:
|
yes! i'm sure i have code:
PHP Code:
|
check your showthread.php file again . i don't think it prints out warning fetch_max_attachment_size() as an underfined function if you have includes/functions_file.php included. (fetch_max_attachment_size() is declared in includes/functions_file.php file ;))
(can you post link to your board so that i can check that error?) |
i did step by step of you in instruction and i have seen a bug. Now i removed hack of you.
thAnkx! |
downloaded and installed into eack skins within 10 mins, very easy to do. Many thanks
|
Hmmm, it appears my members cannot use it? looks as if its only working for admins!?
|
Quote:
Enable Upload: Usergroup -> Usergroup Manager -> Can Upload Attachments. |
Hi mate, thanks for replying to offer help, well, i knew the answer already, but i checked this and "Upload Attachments" is Yes. Plus they are uploading on the board already.
So i created a fresh account to try it. (BTW - I can still see the button at all times) HERE IS THE MESSAGE I RECIEVE WHEN I TRY TO UPLOAD AS A MEMBER ------------------------------------------------------------------------------------------ meatandtwoveg, you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. Very weird! http://www.alfaowner.com/Forum/showt...700#post337700 |
that's odd cuz I tested on localhost & my board as normal users, and they both work fine.
( you can test it out on my board as well... http://all4actions.net ) **** edited **** I figured out why.... cuz you set regular members not to upload nor download attachment in Announcement forum. It works fine for any other forums on your board. ^_^ |
ok, cheers, whats the edited bit, you u swear at me ;)
|
installed, thanks
|
Quote:
|
Installed on 3.0.1. Went without a hitch ;).
|
Any chance of update for 3.0.3 as most the instructions nolonger fit :(
|
Quote:
|
Installed! My forum's first mod... easier than i thought :P thanks a lot!
|
Is anyone else having trouble getting it to show the attachments if there's more than one?
nevermind I fixed it :D [high]* MrFaldyn clicks install[/high] |
Quote:
|
i cant hack this mod, cuz i hacked mod only member can view theard, so when i hack this mod done, i cant attach file from quick reply, it's warning me cuz i havent permission, but i'm admin ?????????????
anybody help me |
I installed this hack, and get the "manage attachments" button (and associated popup window when I click the button). Everything appears to work normally, but when the post is made, the attachment is gone. (vB 3.0.3)
Anyone have any insight on this? Thanks! |
*installed*
|
Code:
Parse error: parse error, unexpected T_ELSE in /home/kfiasche/public_html/forum/newattachment.php on line 288 |
All times are GMT. The time now is 07:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|