vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Attachment Option in Quickreply (https://vborg.vbsupport.ru/showthread.php?t=93728)

tnguy3n 08-05-2005 10:00 PM

Attachment Option in Quickreply
 
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

Quote:

Originally Posted by Live Wire
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 ;)

PHP Code:

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

This must be changed to
PHP Code:

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


Logikos 08-06-2005 03:51 PM

Quote:

Originally Posted by tnguy3n
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

Quote:

Originally Posted by tnguy3n
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

Quote:

Originally Posted by BrentWilson
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 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

Quote:

Originally Posted by tnguy3n
I've converted it to plugin, but there's a bug that i need to fix. You can download it from here 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

Quote:

Originally Posted by Floris (Post 1140820)
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

Quote:

Originally Posted by Floris (Post 1140820)
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?


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01322 seconds
  • Memory Usage 1,777KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete