vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add Attachment on Edit Post (https://vborg.vbsupport.ru/showthread.php?t=33676)

Tommy Boy 03-15-2002 10:42 PM

Seems like you're right, I was under the impression that the new version of vBulletin doesn't affect the hack, but apparently it does.

Therefore, I have updated the attachment in the first post. It is now compatible with version 2.2.4.

nafae 03-15-2002 11:01 PM

thanks!

Axel Foley 03-16-2002 07:45 PM

Thanks for the fix Tommy, and thanks for the great hack...

For everyone who wanted to know, v1.1 of this hack *WORKS* on vB 2.2.4.

E 03-20-2002 06:57 PM

Works great, Thanks!

Tommy Boy 03-20-2002 09:09 PM

Freddie said it will be built-in in vB3! Isn't that great? :)

Pipplo 05-07-2002 09:56 AM

Work fine on vb 225 but i have notice a little problem .In the thread table the "attach" field is not update
when i make a new attachment (using this hack on a old post without attachment) .If i open a new thread without
attachment and i attach a new file , the icon "paperclip.gif"
is not showed in the forumdisplay near the thread title but the attachment now is in the thrad .
Can you help me please ? :)

Preasidium 05-12-2002 05:49 PM

Hi,
I opened the txt file and was about to edit my template and founf out there is no string

PHP Code:

require("./global.php"); 

So exactly what do i do now?

I am also useing the php3 set. So i inserted it like so in the search and still nothing

PHP Code:

require("./global.php3"); 

I even looked threw the entire thing myself. Now im lost :(

X-Fan 06-19-2002 08:57 AM

Preasidium, you need to edit the editpost.php file, not the template.

SaintDog 06-25-2002 01:24 PM

Anyone have this updated for 2.2.6? I noticed there are some changed within its coding.

- SaintDog

Hellburn 07-03-2002 08:56 AM

i can not found this part on vB 2.2.6. Please help me.

if (function_exists('ini_get')) {
if (ini_get('file_uploads')) {
$enctype = 'enctype="multipart/form-data"';
}
} else if (get_cfg_var('file_uploads')) {
'enctype="multipart/form-data"';
}


All times are GMT. The time now is 07:13 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.01159 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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