vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Attachments No Popup & Auto Upload (https://vborg.vbsupport.ru/showthread.php?t=161148)

yoyoyoyo 10-30-2007 03:38 AM

Quote:

Originally Posted by Jafo232 (Post 1371265)
Not sure if this will work with the virus scan.. Should, but I haven't dealt with that plugin in some time..

I tried it and get this error after uploading:

Code:

Warning: system() has been disabled for security reasons in /newattachment.php(159) : eval()'d code on line 49
and oddly enough, line 49 of newattachment.php is:

Code:

if (!$vbulletin->userinfo['userid']) // Guests can not post attachments
(I am not a guest - I am an admin)

:confused:

Jafo232 10-30-2007 03:42 AM

My guess is first, you have wordwrap on, on your editor. Turn it off so you get the proper line number.

Second, the error is point towards eval'd code, not the source code.

Third, your server does not allow the system command. If you are the server administrator, you will need to edit your php.ini file to allow it. It needs to be able to execute the f-prot program so it can check for viruses..

yoyoyoyo 10-30-2007 05:18 AM

thanks for the reply - I do not have word wrap on. Any idea on what I should add to the php.ini file to get f-prot working? sorry to hijack your thread here - if you wanna take it to PM I can do that.

JohnBee 10-30-2007 07:31 PM

I think the popup offers timeout protection whereas embeded would not. It might work well with iFrame though, I will give it a try and see :)

Great idea btw

andrewy3k 10-31-2007 05:31 AM

hmm.. I wonder if someone can take this mod and turn it into something using this..

http://swfupload.mammon.se/

That would be awesome.. id pay for a mod like that ^ :)

I would use the current one it if it wasn't an iframe..

Jafo232 11-02-2007 04:36 PM

Quote:

Originally Posted by yoyoyoyo (Post 1371690)
thanks for the reply - I do not have word wrap on. Any idea on what I should add to the php.ini file to get f-prot working? sorry to hijack your thread here - if you wanna take it to PM I can do that.

In your php.ini file you should see a line that looks something like:

disable_functions = system, exec, passthru, proc_open, shell_exec,
popen

Want to take system out of there...

slednutz.com 11-09-2007 12:43 AM

Jafo, I'm having a little trouble getting this work work smoothly.

First, I have a highslide mod on, i'm running 3.6.8, and I just installed your edit. I changed the upload template a little (removed the table with the acceptable extensions because I feel it just takes up too much space).

The problems that I'm having now are:

If I click the paperclip nothing happens, except the browser says "error on page" in the bottom left. No biggie - but it'd be nice if clicking the paperclip jumped the page down to where the new upload section is?

Second one is the real issue. Uploaded attachments do nothing when you click on them... and they say "attached images" unlike my previously attached ones that say "attached thumbnails". Can I get a little help as to what I need to change so that my highslide works again?

Thanks

Jafo232 11-14-2007 05:42 AM

This may be due to your template modifications. Can't confirm it with the default template..

nerofix 11-14-2007 11:43 PM

Great idea and I like the mod, I just hope it isnt completly unsupported because I got following error message in my browser:

window.opener has no properties
[Break on this error] if (typeof window.opener.vB_Attachments != 'undefined')
newattachment.php (line 462)

Uploading works well but I want get this error away of my newreply page. Someone can help?

slednutz.com 11-15-2007 01:35 AM

I don't know how this is possible, but I tried to remove this and it won't completely go away.

If anyone tries to upload anything, it does the auto-upload deal... but doesn't save it.
How can I get rid of the auto-upload completely?


All times are GMT. The time now is 08:33 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.01113 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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