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)

columbusgeek 01-08-2009 04:19 PM

Quote:

Run this query:
SQL Query: (how to run queries)

UPDATE dl_main SET `downloads` = 0

(Don't forget to add your table prefix if necessary.)
Of course that is the only table I didn't look in. :) Thanks.

Digital Jedi 01-08-2009 05:22 PM

Quote:

Originally Posted by RS_Jelle (Post 1702576)
Also try the "Update Counters" link to empty the cache :p

Seems I didn't have myself setup with that permission. :X

JohnChapman 01-08-2009 07:20 PM

Quote:

Originally Posted by JohnChapman (Post 1705272)
Now I SWEAR there have been no setting changes. the DLII settings for my Administrator group is -1 down the line. The file I'm trying to upload (and download) is under 10k.

I have checked every setting I can find: DLII settings, Usergroup Settings, read the posts in here about how these problems are most commonly caused by settings at the host (which I had them check...goof with...and no change).

I've got vbulletin v3.7.2 and DLII v5.0.8 and DLII Create threads v.1.0.2.
(Since my original post, I have upgraded to 5.1.0 and still the same problem...)

Well apparently there were some settings I DIDN'T check :erm:... I am a member of several groups; I was only checking the Admin group. As it turns out, some really bad person had set the max settings in two of the groups to 0. :eek:

So... apparently the bit of code that looks at what rights you has doesn't use the "BEST" rules...but the "WORST". So... since I had Zero limits for number of uploads/downloads/ and file sizes in two of the usergroups I'm in, I wasn't allowed to do anything.

My User that "could upload" but "now can't", wasn't a member of one of the offending user groups when he uploaded the first time.

So... I'll admit... no trouble with the code, just a bad administrator:erm:... His beer ration will be reduced for the remainder of the week.

CyberRanger 01-08-2009 07:45 PM

Quote:

Originally Posted by JohnChapman (Post 1705471)
So... apparently the bit of code that looks at what rights you has doesn't use the "BEST" rules...but the "WORST". ...

Correct, I think I coded this part and it really should be redone. In normal vb terms, I think a zero is used as "no restriction" but I went with -1. It sort of throws off how the permissions work. Like you said, instead of "Best" you get "Worst". Glad you found it.

rabidkevin 01-08-2009 08:18 PM

I have a small question..

I have added a streaming flash MP3 player to my downloads page, as I only host .mp3 files.

http://www.eternalbeats.net/forums/downloads.php

The problem I have is that when people upload mixes via the Upload Form the mix is stored as just the file name in SQL. This prevents the streaming mp3 player from opening the file as I need a FULL URL such as http://www.eternalbeats.net/audio/mixes/mixname.mp3. Audio files which have been directly linked instead of uploaded with the web form work correctly in the streaming mp3 player.

What I would like to do is modify the add/edit page so all links in the SQL database have http://www.eternalbeats.net/audio/mixes proceeding the file name. Is that possible?

Thank you for any help in this huge customization I need :)

metalguy639 01-09-2009 11:00 PM

Quote:

Originally Posted by RS_Jelle (Post 1615688)
Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


Worked for me thanks! :)

dholt 01-10-2009 10:32 AM

How do I import a lot of mp3 file.

ok I changed files that can be uploaded permission and added mp3 to the sip rar bla bla

I transfered all the mp3 files into the download Dir

I went into the admin download/import added the location and then I get nothing

Is there a way to import or do I have to add each one one by one

Digital Jedi 01-10-2009 10:37 AM

Quote:

Originally Posted by dholt (Post 1707133)
How do I import a lot of mp3 file.

ok I changed files that can be uploaded permission and added mp3 to the sip rar bla bla

I transfered all the mp3 files into the download Dir

I went into the admin download/import added the location and then I get nothing

Is there a way to import or do I have to add each one one by one

What do you mean, you get nothing exactly? You get no files listed, or the files don't import?

dholt 01-10-2009 10:52 AM

It worked as I think I didn't have mp3 listed maybe Thanks for the fast reply jedi

Paul M 01-10-2009 11:32 AM

Moved to 3.8 section.


All times are GMT. The time now is 03:12 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.04871 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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