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)

schnucki 09-05-2010 06:59 AM

Hi all
I have 3.8.5 on my board and everything is installed correctly.
When I click on downloads in the navbar to the above message appears on the homepage

Deprecated: Assigning the return value of new by reference is deprecated in / webspace/11/XXXXX/XXXXXX/downloads.php on line 144
line 144 $parser = & new vB_BbCodeParser($vbulletin, fetch_tag_list());


Does anyone have an idea for it?

trotskid 09-08-2010 05:00 AM

Quote:

Originally Posted by SSG.D (Post 2038593)
For some reason when I want to add a image to the upload it becomes stretched : The image I add is originally 50x50 . But after upload the image gets re-sized some how to 50x100

Any Idea's ? If I missed a post about this I'm sorry

Same issue. Is there a fix for this?

mp3u 09-11-2010 02:37 PM

I'm a bit clueless about all of this so please bear with me. i followed the install instructions but now I'm stuck... I created a new forum for downloads which will mostly be download links to various other sites. I tweaked the permission to allow Administrators to upload and create new downloads etc but there is nothing anywhere I can see that allows this. I tried changing the address to the download forum to forum.mysite.com/downloads but that just leads you to a blank page.

Can anyone explain as if they were dealing with a 2 year old, exactly how to get this mod working. I just want a new forum on my site that will be used as a download area, I won't be uploading anything to my servers - the downloads will be streaming for other sites.

Any help would be greatly appreciated!

cowcowcow 09-16-2010 01:59 AM

Sorry im confused, abit of a noob question because i see some of this Mods addons in the 3.6 fourm, and the add-ons require this main product installed.

Its stated this mod works with any version of vBulletin 3.7.x and 3.8.x,

But will it work with older verions like 3.6.x?

Thank you!

RS_Jelle 09-16-2010 05:39 PM

Quote:

Originally Posted by cowcowcow (Post 2098892)
Sorry im confused, abit of a noob question because i see some of this Mods addons in the 3.6 fourm, and the add-ons require this main product installed.

Its stated this mod works with any version of vBulletin 3.7.x and 3.8.x,

But will it work with older verions like 3.6.x?

Thank you!

Maybe it does, but it's not supported. There's integration with the vB 3.7+ new profile layout with tabs etc. I don't know how that vB 3.7+ code will behave on a 3.6 installation, but I would suggest you to upgrade your site to vB 3.8.
vBulletin 3.6 and 3.7 are end of life and don't receive any more security updates.

Sadikb 09-17-2010 02:21 PM

Hi Folks and RS_Jelle

This is indeed one of the best MODS for VB. I just needed to put a small check, that is users should have uploaded at least one file before they can download. So I wrote a small (two liner) plugin, here's how to do it.
  1. Go to Plugins & Products->Add New Plugin
  2. Choose Products DownloadsII
  3. Hook Location dl2_pre_download(DownloadsII)
  4. Title DownloadsII: Upload before download
  5. Code:
    PHP Code:

    if ($vbulletin->userinfo['dl2_uploads'] < 1)
    print_no_permission(); 

  6. Plugin is Active Yes
  7. Save

And make sure you put up a notice or something for users to know that they can't download before uploading! :)

I could have put this up as a MOD but this was so damn simple that just putting it here. :)

Thanks again RS_JELLE

P.S you could do the same for posts instead of uploads by using this code instead

PHP Code:

if ($vbulletin->userinfo['posts'] < 1)
print_no_permission(); 


Xexiu 09-20-2010 09:11 PM

Hello RS_Jelle,

I have been using your mod for some time and works perfectly.
I have one question, cause I can't figure it out myself.

When someone reaches the downloads limit, a message appears saying:

"You had reached your daily downloads limit...etc."

And then he/she gets redirected to the file that he was downloading. I wonder if I can somehow modify the redirect thing, so members can be redirected to a specified forum or a specified link, and how to do it, cause I really don't know where to look for?

I tried to change some things in the downloads.php and failed. If you can tell me what to do to redirect users on other link, I would be much appreciated!

Thank you.

Sergiu

diendo 09-24-2010 02:22 AM

HI! Look at this picture
http://img37.imageshack.us/img37/2849/downq.jpg
When press Alt + click on download button IDM will down file so i want to block it...
Can U help me to block Internet download manager form download?
Another problem is Downloads + 1 (count number of download increase 1) althought people press cancel... Can U fix it?
sorry my poor english!

dexodisc 09-29-2010 03:01 AM

Is there something like this for vBulletin 4?

Welshy2008 09-29-2010 10:58 AM

Quote:

Originally Posted by dexodisc (Post 2104479)
Is there something like this for vBulletin 4?


Yes, Here.


All times are GMT. The time now is 08:59 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.04228 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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