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)

imranbaig 11-22-2006 08:42 AM

Error during Import, trying to import gif files, with full chmod 777 permissions, When enter full absolute path and click import the next page is blank, with nothing in it to import. And then just to try my luck when i click next i get this error.
Quote:

Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 337
EDIT: Also is there a way to pre-view MP3 or other files before downloading??
I'm troubling you a lot.
Thanks Regards.

justim123 11-22-2006 09:30 AM

Does this work with zoints seo?

CyberRanger 11-22-2006 11:37 AM

Quote:

Originally Posted by imranbaig (Post 1122839)
Error during Import, trying to import gif files, with full chmod 777 permissions, When enter full absolute path and click import the next page is blank, with nothing in it to import. And then just to try my luck when i click next i get this error.


EDIT: Also is there a way to pre-view MP3 or other files before downloading??
I'm troubling you a lot.
Thanks Regards.

Make sure you have the trailing slash after your absolute path. If that still doesn't work, can you post more details? What is the OS? Is safe mode on?

Sorry - no preview option.

CyberRanger 11-22-2006 11:39 AM

Quote:

Originally Posted by justim123 (Post 1122848)
Does this work with zoints seo?

I'm not really sure what you mean. I haven't really looked at zoints seo. Zoints seo shouldn't break DownloadsII if that's what you mean but I haven't done any testing.

CyberRanger 11-22-2006 11:40 AM

Quote:

Originally Posted by imranbaig (Post 1122780)
Thanks that solved my problem, Downloads II is really awesome.
Keep up the great work!
Cheers

thanks! If you haven't voted yet, we'd appreciate your vote for mod of the month: https://vborg.vbsupport.ru/showthread.php?t=130551 :)

Allan 11-22-2006 04:50 PM

1 Attachment(s)
Great hack, big thank ;)

File attach: French language (.xml and admin file)
Translator: Allan & Biomechanik

imranbaig 11-22-2006 05:28 PM

My vote has already gone to DownloadsII.
Sorry to hear that no preview, I may try to add that myself hopefully.
Yeh server is running in safe mod on.
Operating system Linux
Kernel version 2.6.17.6.dn2.p4
Machine Type i686
Apache version 1.3.36 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Installed Perl Modules Click to View
PHP version 4.4.3RC3-dev
MySQL version 4.1.21-standard
I used trailing slash still no effect. Is this because of safe mode?? or something else? I have ec_tmp folder under downloads folder.

EDIT: I have Modified the Download link(with js script) to preview mp3, midi, and other supported formats before download, :) if you wish me to publish this I will:cool:
EDIT I solved the other issue as well, I was trying to bulk import images, hence error, as it wasnt there in main allowed file types, after adding it there it worked nice thanks..

CyberRanger 11-22-2006 07:16 PM

Quote:

Originally Posted by imranbaig (Post 1123126)
EDIT: I have Modified the Download link(with js script) to preview mp3, midi, and other supported formats before download, :) if you wish me to publish this I will:cool:

That would be great. I can look at incorporating it.;)

imranbaig 11-22-2006 07:50 PM

1 Attachment(s)
ait here I go:
1. Upload attached file to clientscript folder of your vb installation.
2. Edit headInclude Template and
add
Code:

<script language="JavaScript" type="text/javascript" src="clientscript/soundpop.js"></script>
3. Goto Style Manager >> Edit your style >> Downloads Templates >> Downloadsfile>>

Find :
Code:

<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target}>
Replace it with:

Code:

<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target} onClick="javascript:PlayerOpen('{$vbphrase['ecdownloads_download']} {$file['name']}',this.href); return false">
Thats it.

You can edit soundpop.js to match your style, make sure you don't add too much it is right now just 1kb, just change colors to match your theme.

I take no credit for this js file as it is not coded by me. I just found a way to implement this, maybe CyberRanger can Implement this better then me.

Lionel A. 11-23-2006 03:39 AM

Quote:

Originally Posted by RS_Jelle (Post 1122816)
Yes, it's compatible with all 3.5.x and 3.6.x vBulletin versions :)

Jelle, would it be possible for me to set it up so that even guests can download the files?

Also, is this compatible with vbSEO?

Thank!


All times are GMT. The time now is 10:50 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.02904 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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