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.


All times are GMT. The time now is 05:59 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
  • Page Generation 0.01240 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete