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)

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


All times are GMT. The time now is 05:49 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.04012 seconds
  • Memory Usage 1,773KB
  • 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
  • (8)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