PDA

View Full Version : Attachment Option in Quickreply


tnguy3n
08-05-2005, 10:00 PM
Hey all vborgers',

Been a while since I last accessed to the internet as well as to this site. Got some issues to take care of. Anyway, there seems to be lots of changes to the site, and new version of vbulletin software also came out. I'll port all my vb 3.0.x to vb 3.5 when time allows. I'm sorta still playing around with the new version, with all the plugin stuffs.

Back to the hack, This hack is to add an attachment option to quickreply in showthread. It's convert of my vb 3.0.x Attachment In Quickreply hack for vb 3.5.

File modification: 1
Template modication: 1
(estimate hack time: 2-5 mins)

Live demo: http://12.226.255.221/vb35

And sorry guys, I still need to catch up with some stuffs; therefore, support for the hack will be limited.

Logikos
08-06-2005, 10:04 AM
Nice work, many should find this useful

tnguy3n
08-06-2005, 02:39 PM
Nice work, many should find this useful

thanks m8. I noticed that you've gained your Adv Coder title. Congrat! ;)

akanevsky
08-06-2005, 03:02 PM
Great work, mate!

Andreas
08-06-2005, 03:09 PM
I think the 2nd File Edit could be done as a Plugin on Hook showthread_complete, and maybe should check for Quickreply being shown - otherwise it does unnecessary work ;)


$attach_editor['url'] = "newattachment.php?$session[sessionurl]t=$threadinfo[threadid]&poststarttime=$poststarttime&posthash=$posthas h";


This must be changed to

$attach_editor['url'] = 'newattachment.php?' . $vbulletin->session->vars['sessionurl'] . "t=$threadinfo[threadid]&poststarttime=$poststarttime&posthash=$posthas h";

Logikos
08-06-2005, 03:51 PM
thanks m8. I noticed that you've gained your Adv Coder title. Congrat!

I've had it for almost a year now. Kinda late buddy. :p

BamaStangGuy
08-07-2005, 12:02 AM
I was able to get this to work with Kirbys plugin as well.

Just wish I could do the other as a plugin cause I have no file edits for any of my hacks and I need this one :ermm:

BamaStangGuy
08-12-2005, 11:48 PM
Anyone else notice that when you submit the pictures do not show up unless you refresh the page?

tnguy3n
09-28-2005, 09:45 PM
I just noticed it. Well, I'm installing vb 3.5 Gold now, and I gonna fix this bug soon.

Andreas
09-28-2005, 09:50 PM
The 1st File Edit can be done in config.php or by using my Datastore Support for Plugins Hack.

tnguy3n
09-28-2005, 09:54 PM
k, i'll make it a plug-in rather than "code hack".

NuclioN
10-09-2005, 10:51 AM
Good news :) Usefull option.

hotrod1
10-10-2005, 02:15 PM
Nice work, thanks!

BamaStangGuy
10-11-2005, 05:49 PM
k, i'll make it a plug-in rather than "code hack".

Any news on when you will be able to do this? This is my only code hack :)

tnguy3n
10-18-2005, 06:26 AM
Any news on when you will be able to do this? This is my only code hack :)

I've converted it to plugin, but there's a bug that i need to fix. You can download it from here (http://www.vbviet.org/forums/showthread.php?t=45) if you can't wait for fully working version.

BamaStangGuy
10-19-2005, 07:24 AM
Ok just wanted to know if you had started :) I will wait for the stable one

NuclioN
10-28-2005, 10:42 AM
Is this bug fixed?

cbr929rrerion
10-29-2005, 11:27 PM
worked great... thanks

mfizzel
10-31-2005, 06:17 PM
so...should I install this as it is now?

NuclioN
11-02-2005, 06:02 PM
Plugin did'nt work so i think there's more bugfixing to do.

IrPr
01-12-2006, 10:26 AM
nice! but when posting with attachment the attachment not apears till refreshing

any suggestion ?

350Chevy
01-13-2006, 01:07 AM
I've converted it to plugin, but there's a bug that i need to fix. You can download it from here (http://www.vbviet.org/forums/showthread.php?t=45) if you can't wait for fully working version.

Here's an attachment of your file so people will not have to register to another site and post a message just to download your fix since it should be posted here anyway. :)

Btw, what does "Known bug: attachment still show in quickreply box, but once you refresh the page, it'll be gone and showing in proper post" mean and is it fixed with this plug-in? Also, when adding this plug-in what do I set the Product, Hook Location, and Title to?

Deska
02-01-2006, 07:32 AM
Any updates for this cool addon?
Thank's...

Aislinn
03-02-2006, 03:50 AM
Tried it and it didnt work... no button showed up in the quick reply.

Codeman05
03-10-2006, 08:44 PM
any word on the "refresh" bug?

tony adams
05-27-2006, 07:01 PM
a bump to ask if anyone has sorted the refresh bug out

thanks

tony

Floris
12-18-2006, 05:23 AM
Does anybody have this working in vBulletin 3.6.4 ?

Floris
12-18-2006, 05:41 AM
Never mind, I just imported it and it works on 3.6.4 .. another plugin was bugging it up :)

brvheart
12-25-2006, 02:02 AM
Never mind, I just imported it and it works on 3.6.4 .. another plugin was bugging it up :)

which one and what did you do to fix it?

snw
03-01-2007, 06:40 PM
Never mind, I just imported it and it works on 3.6.4 .. another plugin was bugging it up :)
For me, it does work on 3.6.4 except for the attachments which are not displayed before a full page refresh. Did you manage to fix that bug or are you just ignoring it?

I wonder, does anyone know how to fix this quick reply attachment bug requiring a full page refresh to display?

Thanks in advance!

Grunt
03-10-2007, 02:39 AM
same for me on 3.6.4.

Has to refresh

Anyone figured out a fix?

begore
10-29-2007, 11:54 AM
Would love to use this if it the refresh bug could be fixed?