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)

tlwwolfseye 06-20-2009 12:20 PM

Quote:

Originally Posted by RS_Jelle (Post 1833251)
Ah, now I see :)
Will be fixed in the next release ;)

There will be a next release ? And I already thought this won?t happen anymore. ;)

Robbed 06-20-2009 02:38 PM

Thanks alot, it worked.

gnrx 06-21-2009 01:10 AM

Quote:

Originally Posted by RS_Jelle (Post 1831743)

As I said, the avatar.jpg image is nowhere in the DownloadsII code, unless you edited it yourself. Check the ecdownloads_download_pic phrase which contains the image name.

Hello.
Ok.
I chek the ecdownloads_download_pic phrase and contain "avatar.jpg" but I don't edited this phrase never. I think that, I was installed a translation and I think this translation is the cause of this problem. Now, I changed this phrase for original image name, thank yoy very much :)

In other, the credits not appears, I think the problem its the same, a translation I was installed, it's possible restore the credits?

Zia 06-21-2009 05:34 AM

Quote:

Originally Posted by RS_Jelle (Post 1831743)
The storage and download part is the last unfinished thing of v6. I was basing it on the attachment system, but with vB 4 coming soon, I stopped working on it. vB 4 will have the new asset manager, so I'm going to look how integration with that goes.

I also hope they are going to fix the lightbox integration :D

Dear RS Jelle,
tkx....
but attachment system// vb will always use same host to store attachment

any way..lets hope for the best/...

RS_Jelle 06-21-2009 06:16 AM

Quote:

Originally Posted by gnrx (Post 1833720)
Hello.
Ok.
I chek the ecdownloads_download_pic phrase and contain "avatar.jpg" but I don't edited this phrase never. I think that, I was installed a translation and I think this translation is the cause of this problem. Now, I changed this phrase for original image name, thank yoy very much :)

In other, the credits not appears, I think the problem its the same, a translation I was installed, it's possible restore the credits?

They are in the ecdownloads_copyright phrase ;)

Which translation is this?

kent_lkc 06-21-2009 11:23 AM

How possible to install 2 DownloadII ?
Currently installed DownloadII for members and i wish to have another Download Portal for Premium user, is it possible ? i know we can changes "downloads" folder to something else but by installing another DownloadII, will it mess-up with existing script ?

RS_Jelle 06-21-2009 11:27 AM

Quote:

Originally Posted by kent_lkc (Post 1833950)
How possible to install 2 DownloadII ?
Currently installed DownloadII for members and i wish to have another Download Portal for Premium user, is it possible ? i know we can changes "downloads" folder to something else but by installing another DownloadII, will it mess-up with existing script ?

You can only install it once ;)

But there are usergroup permissions to exclude/include categories:

Quote:

Exclude Categories: When set to "Yes", only the categories listed below can be viewed by this group. When set to "No", all categories can be viewed except the ones listed below.

To permit this usergroup to view all categories, leave this entry BLANK. Otherwise, enter the categories to include or exclude (depending on the setting above) separated by commas. For example: 1,2,4,6

kent_lkc 06-21-2009 11:45 AM

thanks for reply, i will see what i can do abt it.

btw how can i disable statistic displaying when viewing ? i mean i want it on first page ONLY not when viewing categories.

kent_lkc 06-21-2009 11:48 AM

to be precise :-
Statistic on here, http://gsm.motoxtreme.info/downloads.php
how to diable on here, http://gsm.motoxtreme.info/downloads.php?do=cat&id=1.

RS_Jelle 06-21-2009 12:17 PM

Set "Display "Tops" on all pages?" to No in the DownloadsII settings.

kent_lkc 06-21-2009 02:45 PM

Already did as you said in above post.
ACP Setting:-
http://gsm.motoxtreme.info/images/DownloadII-0.jpg


download.php first page:-
http://gsm.motoxtreme.info/images/DownloadII-1.jpg

Entered category page:-
http://gsm.motoxtreme.info/images/DownloadII-2.jpg

RS_Jelle 06-21-2009 03:48 PM

Open downloads.php

Find
PHP Code:

    eval('$dmain_jr = "' fetch_template('downloads_cat') . '";');
    eval(
'$dpanel = "' fetch_template('downloads_panel_side') . '";');
    eval(
'$dmain = "' fetch_template('downloads_wrapper_side') . '";'); 

Replace with
PHP Code:

    eval('$dmain_jr = "' fetch_template('downloads_cat') . '";');
    if (
$vbulletin->options['ecdownloads_tops'])
    {
        eval(
'$dpanel = "' fetch_template('downloads_panel_side') . '";');
        eval(
'$dmain = "' fetch_template('downloads_wrapper_side') . '";');
    }
    else
    {
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_top') . '";');
    } 

v6 will have the left column on a per page (home, cat, file, search, ...) basis.

kent_lkc 06-21-2009 03:57 PM

wow, such a wonderful update. when we can have ver. 6 ?? :)

kent_lkc 06-21-2009 04:06 PM

sorry for bugging you.

almost perfect . . . see pic below
http://gsm.motoxtreme.info/images/misc/DownloadII-4.jpg

Can we move the note to bottom of categories table ?

For example:-

http://gsm.motoxtreme.info/images/misc/DownloadII-5.jpg

gnrx 06-22-2009 01:26 AM

Quote:

Originally Posted by RS_Jelle (Post 1833825)
They are in the ecdownloads_copyright phrase ;)

Which translation is this?

Hello,
I find ecdownloads_copyright phrase and I view that, the value of translation for my language, are empty. I copy the original text and now, appears the credits :)
Thank you very much :up:

The translation, I downloaded from other site (its for spanish languaje) and I think that, this translation isn't very good for this causes (credits deleted, image of downloads...) :o

RS_Jelle 06-22-2009 08:31 AM

Quote:

Originally Posted by kent_lkc (Post 1834137)
sorry for bugging you.

almost perfect . . . see pic below
http://gsm.motoxtreme.info/images/misc/DownloadII-4.jpg

Can we move the note to bottom of categories table ?

For example:-

http://gsm.motoxtreme.info/images/misc/DownloadII-5.jpg

Strange, as the downloads_wrapper_top template doesn't have the message in it. Maybe you modified it?

Or try the downloads_wrapper_none template:
PHP Code:

    eval('$dmain_jr = "' fetch_template('downloads_cat') . '";');
    if (
$vbulletin->options['ecdownloads_tops'])
    {
        eval(
'$dpanel = "' fetch_template('downloads_panel_side') . '";');
        eval(
'$dmain = "' fetch_template('downloads_wrapper_side') . '";');
    }
    else
    {
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_none') . '";');
    } 


kent_lkc 06-22-2009 08:57 AM

thanks for reply, i'm no coder , and i have little knowledge abt scripting.

btw, you has a PM from me. :)

paul41598 06-22-2009 07:32 PM

is there such a feature to download ALL files in a given category or something similar?

RS_Jelle 06-22-2009 07:35 PM

Quote:

Originally Posted by paul41598 (Post 1835059)
is there such a feature to download ALL files in a given category or something similar?

No :)

vanescar 06-25-2009 08:23 AM

salve...si può configurare i file in download e upload in un altro domigno ?

RS_Jelle 06-25-2009 08:29 AM

Quote:

Originally Posted by vanescar (Post 1836944)
salve...si pu? configurare i file in download e upload in un altro domigno ?

And now in English please? :confused:

Chalex4 06-25-2009 09:25 AM

Sorry if this has been asked a thousand times already, but are you planning to release a version with a private files feature where you can password protected your files?

That would be an awesome addition to an already great mod :).

musado1961 06-25-2009 12:36 PM

I've already installed this excellent mod, and it works perfectly, but now I need to change hosting companies & will be hosting my downloadable files offsite.

What settings do I need to change/edit to link to the downloadable files at the offsite location?

TIA

scrapableowner 06-25-2009 02:05 PM

I am getting the following error when I try to upload a file to the DOWNLOADS area.

Fatal error: Call to a member function shareads() on a non-object in /home/scrapabl/public_html/forum/includes/functions.php(5721) : eval()'d code on line 11

I am running Downloads II 5.1.0 on Vbulletin Version 3.8.1

I have contacted my webhost and they have told me that it is a scripting error with the mod.

Any help is greatly appreciated.

RS_Jelle 06-25-2009 02:43 PM

Quote:

Originally Posted by Chalex4 (Post 1836967)
Sorry if this has been asked a thousand times already, but are you planning to release a version with a private files feature where you can password protected your files?

That would be an awesome addition to an already great mod :).

Not at this moment as this is the first request for it :)

Quote:

Originally Posted by musado1961 (Post 1837045)
I've already installed this excellent mod, and it works perfectly, but now I need to change hosting companies & will be hosting my downloadable files offsite.

What settings do I need to change/edit to link to the downloadable files at the offsite location?

TIA

That's not supported at this moment. Also vBulletin attachments aren't supporting this at the moment.

Quote:

Originally Posted by scrapableowner (Post 1837087)
I am getting the following error when I try to upload a file to the DOWNLOADS area.

Fatal error: Call to a member function shareads() on a non-object in /home/scrapabl/public_html/forum/includes/functions.php(5721) : eval()'d code on line 11

I am running Downloads II 5.1.0 on Vbulletin Version 3.8.1

I have contacted my webhost and they have told me that it is a scripting error with the mod.

Any help is greatly appreciated.

Another mod is conflicting with DownloadsII ;)
Line 5721 is the global_complete hook location and shareads() isn't a DownloadsII function. Check your plugin manager for mods (probably an ad manager?) using that hook and give me the PHP code of the plugin.

scrapableowner 06-25-2009 02:51 PM

Another mod is conflicting with DownloadsII ;)
Line 5721 is the global_complete hook location and shareads() isn't a DownloadsII function. Check your plugin manager for mods (probably an ad manager?) using that hook and give me the PHP code of the plugin.[/QUOTE]


Okay....I'm sorry sweetie but, I am not very savvy at all of this....:(. I do have Ad Management installed. Fingers are crossed that this is what you were looking for.

PHP Code:

global $vbam$vbam_adcode;

if (
$vbulletin->options['vbam']['ads'] !== false)
{
    if (
strpos($output'cron.php') !== false && strpos($output'href="http://redtyger.co.uk') === false)
    {
        
$output str_replace('</body>''Ad Management plugin by <a href="http://redtyger.co.uk/" target="_blank">RedTyger</a></body>'$output);
    }
    
    
$output $vbam->shareads($output);
    
    if (
$_REQUEST['do'] == 'editoptions' || $_REQUEST['do'] == 'editprofile')
    {
        
$output $vbam->adsharing_cp($output);
    }
    
    if (empty(
$vbam_adcode['leftcolumn']) === false || empty($vbam_adcode['rightcolumn']) === false)
    {
        
$output str_replace('0px '.$stylevar['spacersize'].'px 0px '.$stylevar['spacersize'].'px''0px'$output);
    }



maidos 06-25-2009 02:56 PM

Quote:

Originally Posted by Chalex4 (Post 1836967)
Sorry if this has been asked a thousand times already, but are you planning to release a version with a private files feature where you can password protected your files?

That would be an awesome addition to an already great mod :).

the idea is good suggestion so i would second this feature

RS_Jelle 06-25-2009 04:16 PM

Quote:

Originally Posted by scrapableowner (Post 1837113)
Okay....I'm sorry sweetie but, I am not very savvy at all of this....:(. I do have Ad Management installed. Fingers are crossed that this is what you were looking for.

PHP Code:

global $vbam$vbam_adcode;

if (
$vbulletin->options['vbam']['ads'] !== false)
{
    if (
strpos($output'cron.php') !== false && strpos($output'href="http://redtyger.co.uk') === false)
    {
        
$output str_replace('</body>''Ad Management plugin by <a href="http://redtyger.co.uk/" target="_blank">RedTyger</a></body>'$output);
    }
    
    
$output $vbam->shareads($output);
    
    if (
$_REQUEST['do'] == 'editoptions' || $_REQUEST['do'] == 'editprofile')
    {
        
$output $vbam->adsharing_cp($output);
    }
    
    if (empty(
$vbam_adcode['leftcolumn']) === false || empty($vbam_adcode['rightcolumn']) === false)
    {
        
$output str_replace('0px '.$stylevar['spacersize'].'px 0px '.$stylevar['spacersize'].'px''0px'$output);
    }



Looking at that code, it's an issue of the Ad Management mod only. DownloadsII isn't causing any conflict ;)
(So post in the Ad Management thread.)

scrapableowner 06-25-2009 04:37 PM

Quote:

Originally Posted by RS_Jelle (Post 1837178)
Looking at that code, it's an issue of the Ad Management mod only. DownloadsII isn't causing any conflict ;)
(So post in the Ad Management thread.)

Thanks hun!;)

Konstantinos 06-26-2009 01:35 PM

Quote:

Originally Posted by Daky (Post 1728286)
Hi,

Is it anyhow possible to see direct link for an mp3 file so we can embed it to our mp3 player, instead of hosting mp3s somewhere else?

EX> we need mp3 file link to be in this format http://site.com/filename.mp3 and with access to be playable with and embedded media player

Thank you

yeah this is must. i tried but i couldnt figure out how to get the direct and so i can make it appear under the filename.

any ideas ?

and preferably to the user cp so only the uploader can have access to the direct link of his files or under wrapped with a conditional so only the uploader knows the direct link to the file or at least the direct link to be shown at My files

kalisekj 06-26-2009 03:43 PM

Great Mod! WooHoo! I would Love to see in a future release the ability for multiple links to be added to a single download. Especially in today's age we have anywhere from 2 - 50 links for a single file. Is this possible?

chris82 06-26-2009 07:04 PM

Where would u edit the color of text in the Download section, my background is black and so is the text.. cant see! lol Thanks!

Konstantinos 06-26-2009 07:11 PM

Quote:

Originally Posted by chris82 (Post 1838021)
Where would u edit the color of text in the Download section, my background is black and so is the text.. cant see! lol Thanks!

in style manager

chris82 06-29-2009 02:20 PM

Could u explain little more detail? Have not being able to find.

BozzaJos 06-30-2009 02:51 PM

Hey guys!

Been using the Downloads mod since the very beginning but unfortunately, I just encountered a huge database error. When someone tries to download a file, a new browser page opens and the following error is displayed:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT time
FROM dl_downloads
WHERE (`userid`=1
OR `clientip`='xxx.xxx.xxx.xx')
ORDER BY `time` DESC LIMIT 0,1;

MySQL Error  : Table 'dl_downloads' is marked as crashed and should be repaired
Error Number  : 1194
Request Date  : Tuesday, June 30th 2009 @ 05:47:32 PM
Error Date    : Tuesday, June 30th 2009 @ 05:47:33 PM
Script        : http://url/downloads.php?do=file&id=2032&act=down
Referrer      : http://url/downloads.php?do=file&id=2032
IP Address    : not important
Username      : not important
Classname    : vB_Database
MySQL Version : 5.0.77-community

Can anyone please tell me what the error is about and how to solve it? Please note that I already followed the advise of the MySQL Error but repairing the table didn't solve it. MyPHPAdmin said that the table is already uptodate.

Thank you in advance for your reply. Please consider this message urgent because this mod is by far the most important feature of my site and being without it really cripples the site.

Regards,

Bozza

paul41598 06-30-2009 05:34 PM

One other question. How secure is the file based version of this? My files are being stored on the host itself and not on the database. I can access my file and open it if I put in the path manually. I have classified information, and I'm thinking I should utilize the DB for this. Right?

rangana1 07-01-2009 10:50 AM

thx bro

SSG.D 07-01-2009 11:39 AM

Hi! Thanks for the mod and your work.

I have a issue with adding to my .htaccess file: When I put
Code:

php_value upload_max_filesize 40M
php_value post_max_size 40M

in the file, my web site will not display, I get a server config error page.

This is what my .htaccess file looks like now
Code:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.net
AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp

 
<Files 403.shtml>
order allow,deny
allow from all
</Files>

Can someone give me a hand? or give me a better example of a .htaccess file used in the forum root?
Thanks for any help:o

RS_Jelle 07-01-2009 12:39 PM

Quote:

Originally Posted by chris82 (Post 1839593)
Could u explain little more detail? Have not being able to find.

AdminCP -> Styles & Templates -> Style Manager -> Style dropdown menu of your style -> Main CSS

Quote:

Originally Posted by BozzaJos (Post 1840214)
Hey guys!

Been using the Downloads mod since the very beginning but unfortunately, I just encountered a huge database error. When someone tries to download a file, a new browser page opens and the following error is displayed:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT time
FROM dl_downloads
WHERE (`userid`=1
OR `clientip`='xxx.xxx.xxx.xx')
ORDER BY `time` DESC LIMIT 0,1;

MySQL Error  : Table 'dl_downloads' is marked as crashed and should be repaired
Error Number  : 1194
Request Date  : Tuesday, June 30th 2009 @ 05:47:32 PM
Error Date    : Tuesday, June 30th 2009 @ 05:47:33 PM
Script        : http://url/downloads.php?do=file&id=2032&act=down
Referrer      : http://url/downloads.php?do=file&id=2032
IP Address    : not important
Username      : not important
Classname    : vB_Database
MySQL Version : 5.0.77-community

Can anyone please tell me what the error is about and how to solve it? Please note that I already followed the advise of the MySQL Error but repairing the table didn't solve it. MyPHPAdmin said that the table is already uptodate.

Thank you in advance for your reply. Please consider this message urgent because this mod is by far the most important feature of my site and being without it really cripples the site.

Regards,

Bozza

I can't tell you a lot more than the error says. If the table is crashed, you need to try repairing it. Try doing this with phpMyAdmin.

As the dl_downloads table is only a log table, you could drop it and recreate it (with all its fields).

Quote:

Originally Posted by paul41598 (Post 1840275)
One other question. How secure is the file based version of this? My files are being stored on the host itself and not on the database. I can access my file and open it if I put in the path manually. I have classified information, and I'm thinking I should utilize the DB for this. Right?

DownloadsII isn't meant for classified information. It's just a community mod, not something for NASA :D
You could guess indeed the file url's.

Quote:

Originally Posted by SSG.D (Post 1840685)
Hi! Thanks for the mod and your work.

I have a issue with adding to my .htaccess file: When I put
Code:

php_value upload_max_filesize 40M
php_value post_max_size 40M

in the file, my web site will not display, I get a server config error page.

This is what my .htaccess file looks like now
Code:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.net
AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp

 
<Files 403.shtml>
order allow,deny
allow from all
</Files>

Can someone give me a hand? or give me a better example of a .htaccess file used in the forum root?
Thanks for any help:o

This could be due to your hosting configuration, so ask your webhosting company ;)

maidos 07-01-2009 12:51 PM

Quote:

DownloadsII isn't meant for classified information. It's just a community mod, not something for NASA :D
You could guess indeed the file url's.

but theres anti hotlinking scripts on the net for a reason. also agree but if your server got compromised by say /tmp exploit the hacker can easily go to /downloads directory and copy all file links and hotlink to the internet and that would be a disaster not to mention webmaster that use your mod with over 500 000 files. so i also beg you to implement a good antihotlinking solution


All times are GMT. The time now is 08:48 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.06086 seconds
  • Memory Usage 1,901KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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