vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

CyberRanger 07-14-2006 10:56 AM

Quote:

Originally Posted by cOuNtErFiET
Yup it works :banana: is it all secure and stuff or was this just a test?

Yes, it's the real deal. I need to make a few more tweaks before adding it to the general release but it is good to go for your situation.

CyberRanger 07-14-2006 11:11 AM

Quote:

Originally Posted by Robbed
Ok, looks I got everything back to how it was before.

Wespointer can you help me with one issue?

All my old downloads will show this The author is uknown.
Unknown (uploaded by Broken->Arrow)

When I choose edit it shows the author.

Let me know, thanks.

I'm puzzled why you would get this. I'll keep looking and let you know if I find something.

Robbed 07-14-2006 07:57 PM

Quote:

Originally Posted by westpointer
I'm puzzled why you would get this. I'll keep looking and let you know if I find something.

Looking at the old template it calls the author like this

PHP Code:

{$file['author']} 

On the new template

PHP Code:

{$_author

If this helps any.

CyberRanger 07-14-2006 07:58 PM

Attached is ecDownloadsII ver 5. I went up to version 5 so people wouldn't get confused with version 4 being the last version of ecDownloads.

Please PM me with any problems or to let me know it works good. Please DO NOT discuss ver 5 here (yet!)

What it does:
  1. Adds everything from ecDownloads Buddy back into ecDownloadsII.
  2. Plugs a security hole that could be used for a DOS attack.
  3. Completely re-writes the method for downloading files.
  4. Cleans up the "Downloads" section of the admincp (thanks EvilHawk!)
  5. Permits safe_mode to be on

No old templates are changed although a new one is added. If you are using ecDownloads Buddy, you MUST uninstall the Buddy before installing this.

CyberRanger 07-15-2006 01:36 PM

1 Attachment(s)
EvilHawk helped me with some phrases that went screwy and some edits that I did but then included the wrong @$%@%# file.

Here's a new ver 5 file for testing.

Robbed 07-16-2006 05:36 AM

Wespointer.

I changed this code

PHP Code:

if ($file['_author'] == '')
        
$_author $vbphrase['ecdownloads_unknown'];
    else
        
$_author $file['_author']; 

to

PHP Code:

if ($file['_author'] == '')
        
$_author $file['author'];
    else
        
$_author $file['_author']; 

Instead of getting uknown on my old downloads it's shows the authors name but it's not linked. Just the new downloads are.

Is it ok to change this code, Let me know.

NokStar 07-17-2006 02:57 AM

Hay i was using Ron1s 4.1 version.
I uploaded your downloads.php as you said by overwriting the existing. (Thats only thing i did)
Then i add the ecdownloads buddy thats all.

When i click on Update Counters it says
Quote:

Fatal error: Call to undefined function: ec_demo_mode() in /home/.bocephus/lk1/mydomain.com/forum/downloads.php on line 1090
How to fix this?

stonner 07-18-2006 09:40 PM

Quote:

Originally Posted by westpointer
Give this a try:
  1. Change the permission on the downloads folder to 2777. (From your forums directory execute the command: chmod 2777 downloads)
  2. Upload the attached downloads.php file.

NOTE: for this to work safe_mode_gid must be set to yes (on).

i can change chmod only to 3-letter code.

I tried it with chmod777 and the new downloads.php file. the error message:

Warnung: copy(): SAFE MODE Restriction in effect. The script whose uid is 1194 is not allowed to access /home/www/web224/html/forum/downloads/ec_w2t owned by uid 30 in /downloads.php (Zeile 505)

Warnung: copy(./downloads//ec_w2t/Stundenplan.xls): failed to open stream: No such file or directory in /downloads.php (Zeile 505)

Warnung: Cannot modify header information - headers already sent by (output started at /home/www/web224/html/forum/includes/class_core.php:2984) in /downloads.php (Zeile 506)

thank you for your help!

ecDownloads is really all I need for my forum.

CyberRanger 07-18-2006 10:30 PM

Quote:

Originally Posted by NokStar
Hay i was using Ron1s 4.1 version.
I uploaded your downloads.php as you said by overwrit....

How to fix this?

Quote:

Originally Posted by stonner
i can change chmod only to 3-letter code.

I tried it with chmod777 and the new downloads.php file. the error message:

I recommend each of you try ecDownloadsII ver 5. Uninstall ecDownloads Buddy then install ver 5: https://vborg.vbsupport.ru/showthrea...06#post1030606

stonner 07-19-2006 12:07 PM

thank you thank you thank you!
Finally it's downloading:)

are there already germany phrases for ecDownloads?


All times are GMT. The time now is 01:38 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.07281 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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