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)

skooby 09-05-2007 09:03 PM

Quote:

Originally Posted by RS_Jelle (Post 1332668)
Can you post the full content of your .htaccess file?



You won't lose any data during a normal upgrade when you follow the instructions. The only way to remove your files and other database stuff, is uninstalling the product.

Here is my file...

Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]


RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]

#php_value upload_max_filesize  1000m
#php_value post_max_size  1000m


RS_Jelle 09-05-2007 10:37 PM

Try using an uppercase M instead of a lowercase m after the number. I'm not sure if it's a possible problem, but it's worth trying it :)
Also try putting them on the first lines of the file, before the RewriteEngine. Finally put only one space and not two spaces between the item and its value. Just to be sure ...

lexyart 09-06-2007 10:48 AM

Gives it a Download Mod where i can set the permission what usergroup can see a download folder? I want to insert Downloads on my board where normal users can download software and beta user can download betasoftware but normal user sould not see the betasoftware folder.

RS_Jelle 09-06-2007 11:38 AM

Quote:

Originally Posted by lexyart (Post 1333489)
Gives it a Download Mod where i can set the permission what usergroup can see a download folder? I want to insert Downloads on my board where normal users can download software and beta user can download betasoftware but normal user sould not see the betasoftware folder.

Yes, on the usergroup permissions page you can specify the categories which should be visible (not specified: invisible) OR the categories which should be invisible (not specified: visible).

jobbe 09-06-2007 01:50 PM

I tried to search all over this long thread, but I could not find an answer to my question. is it possible to set permissions, not for an usergroup, but just for a single user to upload files?
Thanks a lot in advance.

CyberRanger 09-06-2007 02:41 PM

Quote:

Originally Posted by jobbe (Post 1333581)
I tried to search all over this long thread, but I could not find an answer to my question. is it possible to set permissions, not for an usergroup, but just for a single user to upload files?
Thanks a lot in advance.

no, permissions are controlled via a usergroup. I guess you could make a usergroup with one user!

jobbe 09-06-2007 05:30 PM

Ok, thanks for the reply, so, if it has not been requested before, maybe a suggestion for an improvement in the next version? Anyway, well, great mod!

skooby 09-06-2007 06:17 PM

Quote:

Originally Posted by RS_Jelle (Post 1333202)
Try using an uppercase M instead of a lowercase m after the number. I'm not sure if it's a possible problem, but it's worth trying it :)
Also try putting them on the first lines of the file, before the RewriteEngine. Finally put only one space and not two spaces between the item and its value. Just to be sure ...

Thanks for the help. Tried all of that unfortunately didn't help it.

RS_Jelle 09-06-2007 08:47 PM

Quote:

Originally Posted by skooby (Post 1333752)
Thanks for the help. Tried all of that unfortunately didn't help it.

Can you look into your Apache error log for more details? Or ask your hosting company for assistance (if they are the only one who can see the logs) as this is more a server related problem.

Daky 09-08-2007 02:02 AM

Hi,
As i mentioned before i have around 23000+ files in about 200+ categories (and growing).
I am having so many complaints from members about search results.
The problem is if they search for common word sometimes they get couple pages of results.

Is it anyhow possible to narrow the search to specific category, not to search whole DB(all categories).

Thank you in advance.

jobbe 09-08-2007 07:08 AM

Disregard, because it seems the problem is solved right now.
Quote:

I created a new usergroup that can upload files and I added only 1 user in this group.
Now, this user is trying to upload files, at a certain point he got the error message
Quote:

maximum upload limit would be exceeded by this file...please try another file
I read in this thread that a user had the same problem. I won't create a .htaccess file, because I think that's not the problem; what i think, which you actually mentioned in one of your replies, is that there's a problem of "crossing" permissions if this user is a member of 2 or more gropus. This user is a member of an old usergroup in which has beed added the settings for Download mod (which i actually didn't think it would act like this, I mean i thought the mod would not add its setting even on old usergropus). Now, in this old usergroups the Download mod settings has not been touched and everything is set to "no" (can't download, can't upload, and so on): The question is, obviously, the following: the permissions about the new usergroup "rewrite" those on old groups? And in this case, i don't want to set the same permissions on every old group I have, simply because I want that only that single user can upload files. Now, I know that my english is not that good, but please, help me! :)
Thanks a lot in advance

ps: I forgot to better underline the most important fact: that user could upload several files, it's only from a certain point on that he could not upload any more.
My setting in the new usergroups are the following:
http://img464.imageshack.us/img464/3733/dlki8.th.jpg

Daky 09-08-2007 02:19 PM

jobbe, i am having same problem all the time, i have several usergroups for DownloadsII
Can you tell me what you did to fix that problem with "crossing" permissions?

Thank you

Zia 09-09-2007 09:13 AM

Helo...I got an request..

Been longggggggggggg enough ..many of us are waiting for system "pay points per download" system
i believe many of us will be gratefull if DownloadsII get intigration with vBCredits - Ultimate Points System
So user have to pay points(which user earned bu post)for each downlad.

Thanks

D3m-fny 09-09-2007 09:40 AM

thank you ..

cl4ym4n 09-11-2007 03:23 AM

Nice mod...but i wanna make some changes and dont have any idea how to do...

How it looks, all files are uploaded into the ./downloads/ folder...
I've made a lot of categories (for a lot of files), so i created ./downloads/subdir/ and uploaded some files into this directory.

When i go to ACP > Downloads > Import and set [..]/public_html/forum/downloads/subdir/ as path to import, no files are listed in the overview.

Aren't subdirs supported for this script?
Coz...well... it would kinda suck, if i would have to upload 1000+ files from different categories into only one directory.

-----

Also... i wanna add a picture to the file-details page.
For example... the file is called 'application_v1.exe' and i do have a directory ./downloads/images/ with a file called application_v1.jpg...how can i realize that this image is shown up in the file-details, when it exists and otherwise a default-image is shown there?

The php-code is no problem so far...
I just need to know in which part of the code i can get the filename to compare it with the images and where/how i need to set the "$fileimage" variable for the templates...

Thx so far...

tbaleno 09-11-2007 12:18 PM

I would also like to be able to use subfolders for storing files if possible.

d3v1L 09-14-2007 08:26 PM

Superb Mod. Just what i was looking for.. But although i have marked as install, i wont be using it till support for really large files (greater than 100mb) is added. an ftp option wud be terrific!! Keep up the great work :)

Also can you add java applet based uploading for large files. That would be a very useful feature apart from ftp.

Please do add that option in the next release. Waiting eagerly.

Edit: Can something like this http://upload.thinfile.com/resume/ be integrated into this mod for uploading file?

AudioFX 09-15-2007 12:26 AM

This is an excellent hack that i've been using for a while. Recently though, my forums were hacked. Somehow a hacker managed to get a malicious file onto my server's filsystem, which then proceeded to delete all files within writable folders (777). Luckily my host does daily backups so it wasn't a train smash for me.
I don't think he found a backdoor through the DownloadsII hack, but I would like to know some more information with regards to security. Is it all possible for a hacker to use this hack to upload mailicious files? How secure is this hack and the writable downloads folder?

Flight_Teacher 09-15-2007 11:08 AM

hmmm....

I am missing something here.

I installed it as directed but I don't see a downloads section anywhere on my forum.

d3v1L 09-15-2007 12:32 PM

Quote:

Originally Posted by Flight_Teacher (Post 1339430)
hmmm....

I am missing something here.

I installed it as directed but I don't see a downloads section anywhere on my forum.

Did you made the necessary edits to the navbar? Read the readme file again. All edits are given. you can also access the download page via www.yourforum.com/forum/downloads.php (ie if your forum url is www.yourforum.com/forum)

maidos 09-17-2007 03:00 PM

was wondering is it possible to display the size on each category ? like how much size it is inside the category?

also i want to display file name on alphabetic order in default, dont want the members to change itself i want it to show auto.

skooby 09-21-2007 12:00 AM

Looks like my hosting company (Midphase) set the max_download limit to 10mb and if I try to add the 2 lines in htaccess.php I get a 500 error. Not much else to do.

Anyone else use midphase as their hosting company that got this to work (on a shared plan)?

TheJekyll 09-22-2007 03:05 PM

When i click downlads on the navbar i get

Your server is running safe mode. You MUST manually create a folder named ec_tmp under your downloads folder. Be sure to change the permissions to 777.: Currently Under Maintenance

:s what do i do

CyberRanger 09-22-2007 07:49 PM

Quote:

Originally Posted by TheJekyll (Post 1344624)
When i click downlads on the navbar i get

Your server is running safe mode. You MUST manually create a folder named ec_tmp under your downloads folder. Be sure to change the permissions to 777.: Currently Under Maintenance

:s what do i do

You need to do like the message says. Under your downloads folder, create a folder named ec_tmp. Then, change the permissions to 777 (rwxrwxrwx). If you don't understand how to do that, ask your host for help.

:-)

maidos 09-23-2007 08:18 AM

i think there are issue with ur script, i have a directorywith over 60 files and when i import it the script add 3 dubliclate files or more,and fail to import everysingle files

in that directory one file is at least 170 mb large.... i get blank page when i import all of the files at once but i can upload if i import 10 files at the time

there are no errors from the servers end

silencerdeluxe 09-24-2007 10:56 AM

1 Attachment(s)
First, please excuse my bad english :o

Is there any easy way to hide the Link of the Category, if there is a image for the category?

Look @ this 2 Screens:

normal:
Attachment 70243

wanted (edited in photoshop):
Attachment 70244


Thx for any help!

49er 09-24-2007 07:37 PM

Quote:

Originally Posted by HappyPike (Post 1037246)
Another template change I made is make the category names bold. Looks better this way and more consistent with my forum looks.


Hello,

Can someone tell how this is done?

Thx

networkpanel 09-25-2007 12:06 AM

thanks

eido 09-25-2007 04:24 AM

Hi

Please can anyone tell me how to approve a posted item ..

Thank you

maidos 09-25-2007 05:06 PM

also is itpossible to only grant a specific usergroup to only import files, since i haveuploader as usergroup and its really bothersome for our admin to import files one after another.... So cant you make a special access for only uploaded so theycan only import the files?

Hornstar 09-26-2007 10:40 PM

I just noticed that all my comment counts are out. I did the update counters, and now they are all saying 0 when there are heaps of comments in many of the downloads.

49er 09-28-2007 09:54 PM

Quote:

Originally Posted by HappyPike (Post 1037246)
Another template change I made is make the category names bold. Looks better this way and more consistent with my forum looks.

Quote:

Originally Posted by teepeg (Post 1346260)
Hello,

Can someone tell how this is done?

Thx

Please Anyone know?? :confused:

rollinjunk 09-29-2007 02:46 PM

ok im looking for this

Create directories in the 'Categories' menu under the 'Downloads' in your admincp

im not seeing this anyplace...

can someone help

RS_Jelle 09-29-2007 02:54 PM

Quote:

Originally Posted by silencerdeluxe (Post 1345889)
First, please excuse my bad english :o

Is there any easy way to hide the Link of the Category, if there is a image for the category?

Look @ this 2 Screens:

normal:
Attachment 70243

wanted (edited in photoshop):
Attachment 70244


Thx for any help!

Edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

You need to remove:
HTML Code:

<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
and also the two <br /> instances (white space between the name and image).

Quote:

Originally Posted by teepeg (Post 1346260)
Hello,

Can someone tell how this is done?

Thx

You need to edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

Replace:
HTML Code:

<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
with:
HTML Code:

<a href="downloads.php?do=cat&amp;id={$cat['id']}"><strong>{$cat['name']}</strong></a>

Quote:

Originally Posted by eido (Post 1346535)
Hi

Please can anyone tell me how to approve a posted item ..

Thank you

There's a "Can Avoid Moderation Queue" usergroup setting to get all files approved by default. There's also an Approve/Unapprove link on the top and the bottom of the file page (next to the edit, delete, ... button). If you don't see it, check the "Can Edit All Files" usergroup setting, which is necessary for these actions (or "Can Edit Own Files" when applicable).

Quote:

Originally Posted by rollinjunk (Post 1349599)
ok im looking for this

Create directories in the 'Categories' menu under the 'Downloads' in your admincp

im not seeing this anyplace...

can someone help

Reupload all DownloadsII files to the forums folder on your ftp. You should have missed /includes/xml/cpnav_ecdownloads.xml which puts the Downloads admin part in your AdminCP.

rollinjunk 09-29-2007 02:56 PM

do i need to install ecDownloads as welll im kind of lost

RS_Jelle 09-29-2007 03:09 PM

Quote:

Originally Posted by rollinjunk (Post 1349609)
do i need to install ecDownloads as welll im kind of lost

No, you only need to install DownloadsII correctly ;)

If the cpnav_ecdownloads.xml is correctly uploaded, you will see this part (but then collapsed) in your AdminCP:

https://vborg.vbsupport.ru/attachmen...8&d=1154030011

dragonhart 09-29-2007 05:06 PM

great product thank you

49er 09-29-2007 08:09 PM

Quote:

Originally Posted by RS_Jelle (Post 1349606)

You need to edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

Replace:
HTML Code:

<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
with:
HTML Code:

<a href="downloads.php?do=cat&amp;id={$cat['id']}"><strong>{$cat['name']}</strong></a>

Thanks very much.. :up:

maidos 09-29-2007 11:04 PM

hello?can u check out the time out issue ?
plus i notice that the import only creates uncessary copy of another files, its just wasting my server space exampleif uploaded 40 gb on my ftp and importit the script willcopy those 40 gb
i cant delete any of thise since it doesnt copy all of the files!so i dont know what to delete

Hendrizius 09-30-2007 08:53 AM

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td

I can not find that in my navbar template. The template does not even contain the word "calendar.php". I am using a custom template named Greenfox.

Another point, is it possible to rewrite the URLS using .htaccess? I am using vbAdvanced and I would like to place the downloads.php in my root directory. What must I change?

Thanks,
Hendricius


All times are GMT. The time now is 06:45 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.04579 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (5)bbcode_html_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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