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 12-14-2006 03:39 AM

Quote:

Originally Posted by directprint (Post 1138193)
PM sent, just wondering as I see some text, presume you are still looking at my problem.

yes, what I've found is that the file downloads.php is dying when it tries to include ./includes/functions.php. When I examined your functions.php file, it was the wrong size for vb ver 3.6.4. I think it would be good if you re-uploaded your ver 3.6.4 files. Something seems to have gone wrong during your original upload. Let me know once you've done that and I'll look some more.:)

directprint 12-14-2006 11:02 AM

Quote:

Originally Posted by CyberRanger (Post 1138243)
yes, what I've found is that the file downloads.php is dying when it tries to include ./includes/functions.php. When I examined your functions.php file, it was the wrong size for vb ver 3.6.4. I think it would be good if you re-uploaded your ver 3.6.4 files. Something seems to have gone wrong during your original upload. Let me know once you've done that and I'll look some more.:)

I went one step better and started fresh will not luck at all.
Re downloaded vbulletin, installed fresh version from nothing and still can't see things.

bonnie 12-15-2006 10:25 AM

Hello,

it's a great hack! Thanks.

But I have some problem. If I want upload a file to database, I get a SQL Error:

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT title, usergroup.usergroupid, username, userid
                                                      FROM vb_usergroup, vb_user
                          WHERE ecdownloadpermissions & 1024 AND  usergroup.usergroupid = user.usergroupid;

MySQL-Error : Unknown table 'usergroup' in field list
Error no.  : 1109

The problem is: all table of my database begining with Tablepr?fix "vb_". Where can I found the SQL?

regards
J?rgen

CyberRanger 12-15-2006 06:56 PM

Quote:

Originally Posted by bonnie (Post 1139060)
Hello,

it's a great hack! Thanks.

But I have some problem. If I want upload a file to database, I get a SQL Error:

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT title, usergroup.usergroupid, username, userid
                                                      FROM vb_usergroup, vb_user
                          WHERE ecdownloadpermissions & 1024 AND  usergroup.usergroupid = user.usergroupid;

MySQL-Error : Unknown table 'usergroup' in field list
Error no.  : 1109

The problem is: all table of my database begining with Tablepr?fix "vb_". Where can I found the SQL?

regards
J?rgen

ah ... darn! That's actually a problem in the PM notification add-on.
Look in the plugins "Alert Mods to New File in Moderation" and "Alert Mods to Edited File in Moderation". The code needs to be added near the beginning of each of those plugins.

bonnie 12-15-2006 09:50 PM

Thanks for the answer. That was it! Great.

I have a question: if I click the upload (ex. picture), the picture downloads. That's ok. But I can not choose the target directory. Is that right? What must I do?

regards
Jürgen

yingzhou 12-15-2006 10:12 PM

Can I use the vbbux with this mod? Something like: If you want to download you must pay some vbbux?

Robbed 12-18-2006 09:39 PM

Congrats on Mod of the Month.

Is the author_ table required?

RS_Jelle 12-19-2006 09:39 PM

Quote:

Originally Posted by bonnie (Post 1139433)
Thanks for the answer. That was it! Great.

I have a question: if I click the upload (ex. picture), the picture downloads. That's ok. But I can not choose the target directory. Is that right? What must I do?


regards
J?rgen

That's a browser issue, probably there's a standard target directory setting. So have a look at your browser options.

Quote:

Originally Posted by yingzhou (Post 1139446)
Can I use the vbbux with this mod? Something like: If you want to download you must pay some vbbux?

Not yet, but we are planning a vBBux integration :)

Quote:

Originally Posted by Robbed (Post 1141218)
Congrats on Mod of the Month.

Is the author_ table required?

Thanks :classic:
The author field is a bad thing indeed. That's our biggest problem now: dealing with Ron1n's code and database layout. Version 6 will be recoded from ground up because of this, so there will be a big upgrade script to do a lot of changes :p
We will be using the datastore cache (less queries), removing those double author fields, introduce downloads2 as the new product name (currently we are still using ecdownloads for the vBulletin product system, otherwise upgrades would be problematic), ...

yingzhou 12-20-2006 12:57 AM

Thank for the answer! :D Hope you soon release the version 6.

And I have a questiion. Do this Mod support the Download Manager like Internet Download Manager or Flashget? Some member had download with the Download Manager but they cant copy the link to other forum.

I like this Download Mod because my members cant copy the direct download link to other forum. Thank everbody. :D

RS_Jelle 12-20-2006 06:25 AM

No, currently download managers aren't supported, but we will look into this for version 6. And there's indeed file protection so you can't hotlink easily.


All times are GMT. The time now is 03:33 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.04185 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
  • (2)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