vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   ecDownloads 3.2 Legacy (https://vborg.vbsupport.ru/showthread.php?t=75198)

TheCaver 05-15-2005 07:10 AM

Any plans in making a "minimum" post count in order to download from downloads section?

Marco van Herwaarden 05-15-2005 10:17 AM

Quote:

Originally Posted by JimpsEd
^ Bump!

Maybe it would help if you posted the exact error message you are getting, or at least what you where doing (which script).

If you already posted this somewhere before in the thread, please repeat.

j_86 05-15-2005 11:12 AM

Quote:

Originally Posted by MarcoH64
Maybe it would help if you posted the exact error message you are getting, or at least what you where doing (which script).

If you already posted this somewhere before in the thread, please repeat.

Thank you :)

https://vborg.vbsupport.ru/showthrea...apn#post642132

Marco van Herwaarden 05-15-2005 12:00 PM

Ok, try the following:

In file ./includes/dl_functions.php find:
PHP Code:

        $sqlstring .= " `latest[".($i+1)."]` = '".$array['name'][$i]."', `latestid[".($i+1)."]` = '".$array['id'][$i]."', `latestval[".($i+1)."]` = '".$array['value'][$i]."'"

and replace by:
PHP Code:

        $sqlstring .= " `latest[".($i+1)."]` = '".addslashes($array['name'][$i])."', `latestid[".($i+1)."]` = '".$array['id'][$i]."', `latestval[".($i+1)."]` = '".$array['value'][$i]."'"

Find:
PHP Code:

        $sqlstring .= " `popular[".($i+1)."]` = '".$array['name'][$i]."', `popularid[".($i+1)."]` = '".$array['id'][$i]."', `popularval[".($i+1)."]` = '".$array['value'][$i]."'"

Replace by:
PHP Code:

        $sqlstring .= " `popular[".($i+1)."]` = '".addslashes($array['name'][$i])."', `popularid[".($i+1)."]` = '".$array['id'][$i]."', `popularval[".($i+1)."]` = '".$array['value'][$i]."'"

Find:
PHP Code:

  $sqlstring .= " `contrib[".($i+1)."]` = '".$array['name'][$i]."', `contribid[".($i+1)."]` = '".$array['id'][$i]."', `contribval[".($i+1)."]` = '".$array['value'][$i]."'"

Replace by:
PHP Code:

  $sqlstring .= " `contrib[".($i+1)."]` = '".addslashes($array['name'][$i])."', `contribid[".($i+1)."]` = '".$array['id'][$i]."', `contribval[".($i+1)."]` = '".$array['value'][$i]."'"


Paul M 05-15-2005 12:04 PM

Soo many fixes to find in this topic - is the zip going to get updated.

j_86 05-15-2005 12:11 PM

Zip file updated yesterday, so I assume all fixes except for the one posted above by Marco.

Thanks MArco :)

Marco van Herwaarden 05-15-2005 01:20 PM

Did it help?

I can't test this since i don't have it installed myself.

TheCaver 05-15-2005 04:12 PM

Quote:

Originally Posted by TheCaver
Any plans in making a "minimum" post count in order to download from downloads section?

Yes, No??

Dark s.s. Trunk 05-17-2005 07:59 AM

Well I just decided to install this today and well thus far ok however I think I am missing something because after the install was done their is no links in my navbar, and when i type in ./vbforums/downloads.php their is no way to Manage files no links oh and after i added a Catagory I reloaded the downloads.php page and its their so i click on it and it just loads a blank page..

I did not have any of the other version install first time install of new version so do i need something else before this to make it work or is the install Faulty.

memobug 05-17-2005 09:43 PM

Was this fixed? Version 2.0 - if the title has single quotes in it like "Rock 'n' Roll" you get MySql errors when it tries to insert:

Quote:

Invalid SQL INSERT INTO file_files ('name',......
VALUES ('Rock 'n' Roll'...
Regards,

Matt

djsydeburnz 05-17-2005 11:20 PM

is there a way to add something to the permission section for uploading vs. posting a link for the download?

for example:
premium memebers having the capability to upload any files
not premium members having can only add a link to their allready hosted file

djsydeburnz 05-17-2005 11:22 PM

also, how about being able to add the filesize when posting a link to a file? right now, it appears i have to upload the file for it to get a file size. My files are allready on my server, so I am posting a link. Just another thought.

Ron1n 05-18-2005 12:39 PM

Quote:

Originally Posted by TheCaver
Any plans in making a "minimum" post count in order to download from downloads section?

No. You can do that with user groups and promotions.

Quote:

Originally Posted by Paul M
Soo many fixes to find in this topic - is the zip going to get updated.

In version 3.0 all of the fixes will be fixed :). Right now, no. The fixes do not apply to everyone, and it seems most people get along fine without them. If someone wants to PM me a zip file of problems + fixes I will add it to the files listed in the top post of this thread, but other than that... it will wait until summer.

Quote:

Originally Posted by Dark s.s. Trunk
Well I just decided to install this today and well thus far ok however I think I am missing something because after the install was done their is no links in my navbar

Everyone has a different nav bar so I didnt bother adding a link.

Quote:

Originally Posted by Dark s.s. Trunk
and when i type in ./vbforums/downloads.php their is no way to Manage files

Because you havent given yourself permissions...

Quote:

Originally Posted by Dark s.s. Trunk
no links oh and after i added a Catagory I reloaded the downloads.php page and its their so i click on it and it just loads a blank page..

Didnt someone else have this problem? I dont know how they fixed it because it has been so long. What is your category name? If it has a ` or ' in it you might be messing up the query. Other than that I dont know what to say.

[quote]
Quote:

Originally Posted by djsydeburnz
is there a way to add something to the permission section for uploading vs. posting a link for the download?

Yes, in the admin UG permissions page add one permissions statement (can link to files). Then in the add.php and the add template change it people with link permissions can link to files. Do the same thing with edit.php and the edit template. Then go to the init.php (i think thats the right file) and add the variable you used for your UG there to the bit field. THe last thing you need to do is edit the navbar template and the navbar php code and allow people with link abilities to see that add.php.

djsydeburnz 05-18-2005 12:48 PM

^^^im pretty sure i have no clue. :)

not really much of a coder over here, but maybe now that Ive mentioned it, someone might thinks its good enough to do it then give step by step direx. GLad to know its possible though!

javo 05-18-2005 07:57 PM

How big of files can it handle?
I am needing a way to get some 100mb + files to certain usergroups.
Would this work for that?

Ron1n 05-18-2005 11:02 PM

Quote:

Originally Posted by javo
How big of files can it handle?
I am needing a way to get some 100mb + files to certain usergroups.
Would this work for that?

It can handle whatever your server can handle. If you can upload 100 mb files via HTTP, then you will have no problems with the DL section. All limitations are the limitations of your server.

Breaker 05-19-2005 04:37 PM

any reason i cant see a full install file for download, only upgrade and a cmps module :/

Ron1n 05-19-2005 10:32 PM

how retarded, ill upload it tomarrow

Dark s.s. Trunk 05-19-2005 11:24 PM

Where do i set permissions for managing downloads and uploads and stuff.?

Ron1n 05-19-2005 11:29 PM

admincp->usergroups->permissions

Dark s.s. Trunk 05-19-2005 11:35 PM

OK thank you that worked but still having problems with blank page, I will search the thread if you locate a way or remember please post it otherwise thank you for the help :)

To see go to http://tas.twistedanimestudios.com:8.../downloads.php i have the fusion skin from extreme pixels if you wanna see how it looks with that on and maybe you can see if the page loads anyone. well it load just not when you go into programs.

boo.3 05-19-2005 11:53 PM

where can i download a fresh install?

Dark s.s. Trunk 05-20-2005 12:04 AM

Quote:

Originally Posted by acidburn0520
Go into your ACP, Usergroups, and make sure that you've enabled the Downloads page for whichever Usergroups you'd like to be able to view it. I had the same thing happen to me, it'd be nice if a little TXT File was included with some brief information on running the hack.




Same problem as above, just follow my above directions.

I just tryed that I have everything enabled and I am still getting a Blank page for when I go into Catagories anyone else can help anything please I am starting flustered been trying to get this hack to work for days now.

owner 05-20-2005 01:43 PM

Ok how do u install this hack... i cant find the instructions

Ron1n 05-20-2005 08:09 PM

try reading some of the last posts ... jesus christ, i said I said yesterday that I would upload it sometime tomorrow"

Ron1n 05-21-2005 02:59 AM

uploaded

Dark s.s. Trunk 05-21-2005 03:48 AM

Hullo, well I have tryed to reinstall all files, I checked all Modifications and just even tried to reinstall from the new fresh install and well all works but I still cannot view Catagories, ive checked everything from Permissions and since i am on a winnt server ( Sadly lol ) I dont have to Chmod so well anyway If someone could help me I would be most greatfull.

Personlly I think this hack is kewl and the only thing stopping me is this and its kinda annoying becuase after trying different stuff for over 3-4 days it gets old quick lol..

So anyway yea any help here would be grand.

Edit: Sorry for the last post I must have missed the post that said how to fix it lol my fault it was easy with that darn extra space in the dl_catagory.php file at the end.....

Chrisqo 05-21-2005 08:24 AM

Just thinking... For a future update could you limit how many downloads a user can have in a certain allotted time (a day or something). This can apply to the usergroups, different usergroups = more/less downloads; more/less downloads available in allotted time. Etc.

Deriel 05-21-2005 09:50 AM

Greetings,

I just installed the vBDownloads Hacks (actual version) in a vBulletin 3.0.7 and I'm having a Blank Screen when I click in a Category ("Teste" is the only one right now). Can you help me?

http://desenv.valinor.com.br/vb/downloads.php

Dark s.s. Trunk 05-22-2005 05:02 AM

Quote:

Originally Posted by Deriel
Greetings,

I just installed the vBDownloads Hacks (actual version) in a vBulletin 3.0.7 and I'm having a Blank Screen when I click in a Category ("Teste" is the only one right now). Can you help me?

http://desenv.valinor.com.br/vb/downloads.php

yea its very easy to fix this problem, god knows it took me long enough lol anyway.

Open up includes/dl_catagories.php and go right to the end of the file look for ?> and make and right after it and before it get ride of the spaces then save upload it back then make sure that permissions in your Control Panel have allowed access then it should work... my aim is twistedshiek i can help ya more their if that doesnt work.

Dark s.s. Trunk 05-22-2005 06:14 PM

Question when you have sub catagorie which is kewl becuase I can organize better but i was noticing in when you dont put have anything in the main catagore but files in the sub cat is says 0 files on the main page of the downloads area. is their a way to make it so it displays the actualyl number of files and even folders/ sub catagories. that would be kinda nice.

Note I forget who said it but I would deffenitly like the Minimum Posts for download addon when someones figures it out.

liaison 05-22-2005 09:11 PM

Hi all, i have installed this hack and all has gone well... aprart from the naviagtion.. there are no links showing for the user to upload files ect... does anyone know what i have missed? you can see my downloads area here http://www.nextgen24.com/forum/downloads.php

Dark s.s. Trunk 05-22-2005 09:34 PM

Quote:

Originally Posted by liaison
Hi all, i have installed this hack and all has gone well... aprart from the naviagtion.. there are no links showing for the user to upload files ect... does anyone know what i have missed? you can see my downloads area here http://www.nextgen24.com/forum/downloads.php

go to admincp/ usergroups edit each type ( Admin, Mods, users ) and in their you can edit those options for to see upload, add, and that

liaison 05-22-2005 10:13 PM

Quote:

Originally Posted by Dark s.s. Trunk
go to admincp/ usergroups edit each type ( Admin, Mods, users ) and in their you can edit those options for to see upload, add, and that

Wow thanks!!! all working now!!!! nice hack! ;)

Dark s.s. Trunk 05-22-2005 11:10 PM

Quote:

Originally Posted by liaison
Wow thanks!!! all working now!!!! nice hack! ;)

Glad i could help, I had alot of problem at the begining but after all got done me happy too...

Deriel 05-23-2005 11:29 AM

Quote:

Originally Posted by Dark s.s. Trunk
yea its very easy to fix this problem, god knows it took me long enough lol anyway.

Open up includes/dl_catagories.php and go right to the end of the file look for ?> and make and right after it and before it get ride of the spaces then save upload it back then make sure that permissions in your Control Panel have allowed access then it should work... my aim is twistedshiek i can help ya more their if that doesnt work.

You're right. I edited all the .php files eliminating every space and sued the dos2unix too. Working now! So far, so good.

Ron1n 05-23-2005 01:25 PM

Quote:

Originally Posted by Dark s.s. Trunk
Question when you have sub catagorie which is kewl becuase I can organize better but i was noticing in when you dont put have anything in the main catagore but files in the sub cat is says 0 files on the main page of the downloads area. is their a way to make it so it displays the actualyl number of files and even folders/ sub catagories. that would be kinda nice.

This is one of the many things that has been brought up already... It was just a minor bug that I have already fixed in my own version.

Quote:

Originally Posted by Dark s.s. Trunk
Note I forget who said it but I would deffenitly like the Minimum Posts for download addon when someones figures it out.

Never. I said this before: If you want a min post requirement add it yourself or make a usergroup that gets promoted after x min posts that has permissions in the dl section.

caimakale 05-24-2005 02:45 AM

I installed this hack on my board today, everthing with the vbdownloads hack works fine. But the cmps module is giving me problems. I have successfully uploaded files into vbdownloads, they show up and can be downloaded via the downloads page, but on my CMPS page, I can see the headers for "» Latest Uploaded Files:" and "» Most Downloaded Files:" but no files are showing up underneather the headers. I know files exist and have been downloaded.

Any suggestions???

Beermonster 05-24-2005 11:16 AM

How do I change it so I don't have to apporve each upload from a member?

Ron1n 05-24-2005 02:15 PM

Quote:

Originally Posted by Beermonster
How do I change it so I don't have to apporve each upload from a member?

give them managment permissions

I run a website that has served over 110,000 downloads with this system and has hundreds of files. Believe me, you need to monitor what your users upload and the way I designed the system,it is very easy to approve files in bulk. Just do it once every few days or give everyone managment permissions.


All times are GMT. The time now is 08:41 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.02115 seconds
  • Memory Usage 1,870KB
  • 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_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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