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)

Ron1n 08-16-2005 02:00 PM

link to files = can provide links for downloads
upload files = can upload files for downloads
avoid purgatory = their files arent placed in a moderation queue
can manage purgatory = they can moderate the file moderation queue

thephonemall 08-16-2005 02:50 PM

For those of you still having trouble with usergroups being shown properly in AdminCP here is the way the modification should look in usergroups.php:
PHP Code:

    // ###### ELITECODERS DOWNLOAD HACK ######
    
print_table_header("Download Permissions");
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]'$ug_bitfield['caneditallfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]'$ug_bitfield['candownloadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]'$ug_bitfield['canratefiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]'$ug_bitfield['canuploadimages']);
    
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]'$ug_bitfield['canlinktofiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]'$ug_bitfield['canuploadfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]'$ug_bitfield['canavoidpurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]'$ug_bitfield['canmanagepurgatory']);
    
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]'$ug_bitfield['caneditownfiles']);
    
print_yes_no_row($vbphrase['ecdownloads_can_view_disabled'], 'usergroup[canviewdisabled]'$ug_bitfield['canviewdisabled']);
    
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]'$ug_bitfield['canviewfiles']);
    
print_table_break();
    
// ###### ELITECODERS DOWNLOAD HACK ###### 


xtreme-mobile 08-16-2005 04:09 PM

Quote:

Originally Posted by westpointer
hmm... where did you place the download folders (full path) and what is the setting in admincp?

in .....

public_html/Forums/downloads <-------- this is the folder i created

Rids 08-16-2005 09:32 PM

My download folder is in the site root (public_html) and to get it working I had to change the setting to ../downloads/ (note the extra dot).

Also, for some strange reason all my files lost their approval status so I had to go through them all again.

Can't say it was a smooth upgrade from 2.0f as there was a lot of tweaking had to be done but its working now and I'm a happy bunny - Thanks Ron1n for this incredibly useful hack :)

JMH11788 08-17-2005 02:37 AM

Quote:

Originally Posted by Ron1n
I'm sorry to say I wont be adding new functionality to the mod for 3.0.8, just for 3.5. I will add your ideas in the future, I hope you upgrade to 3.5.

yeh I meant for the stuff to be in 3.5

No sense on doing 3.0.8!

Glad to hear my ideas helped, good luck with the new design! people that are complaining about your mod now are just asses. they should be kissing your feet. its a FREE hack for god's sake! you even said there will be very minor errors. if they dont like it, they should not install it and STFU!!!

-Jordan

Hoffi 08-17-2005 06:05 AM

Thanks Ronin for the explanation.

CyberRanger 08-17-2005 10:40 AM

Quote:

Originally Posted by Rids
My download folder is in the site root (public_html) and to get it working I had to change the setting to ../downloads/ (note the extra dot)

Yes, you would need to change that since you are making the download folder at the same level as your forums folder instead of below it.

CyberRanger 08-17-2005 12:17 PM

Quote:

Originally Posted by xtreme-mobile
in .....

public_html/Forums/downloads <-------- this is the folder i created

I don't know. If you want to send me more detailed info in a PM (site name and login info) I'll look at your setup for you.

ZombieAndy 08-17-2005 10:14 PM

Quote:

Originally Posted by westpointer
I don't know. If you want to send me more detailed info in a PM (site name and login info) I'll look at your setup for you.

i found another prob with this great hack guys, it seems to have trouble uploading large files.. about 10mb and over... it just dosn't upload them, it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.

any idea's?

JMH11788 08-18-2005 02:24 AM

Quote:

Originally Posted by YodaTheCoda
i found another prob with this great hack guys, it seems to have trouble uploading large files.. about 10mb and over... it just dosn't upload them, it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.

any idea's?

big files are limited because of php file limitations. what I'd suggest, upload them via ftp then link to the http file name...best way to do bigger files.


All times are GMT. The time now is 07:16 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.01856 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)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