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)

ishare 02-03-2008 11:49 AM

Is it possible to allow [html] in this mod ? I would like to let some usergroups to post html templates.

RS_Jelle 02-03-2008 12:09 PM

Quote:

Originally Posted by ishare (Post 1435281)
Is it possible to allow [html] in this mod ? I would like to let some usergroups to post html templates.

You can specify the extensions you want to allow for upload in the DownloadsII settings ;)

Edit: now I saw you mean [html] BBCode :p
This is possible for the description field (you've got a full vB text editor there). Raw HTML is also possible if you enable this for non-forum areas in your main vB settings, but this is of course not secure.

exportforce 02-03-2008 06:53 PM

Quote:

Originally Posted by REVHEAD (Post 1434962)
you entering downloads to the url, its downloads.php .

you need to add a shortcut in your navbar template manually.

I don't know what you're talking about.
I know how to get this to work...

I ask for implementation, that I can use PRE html.
And there is no "link" only a relative path.

RS_Jelle 02-03-2008 06:59 PM

Quote:

Originally Posted by exportforce (Post 1435565)
I don't know what you're talking about.
I know how to get this to work...

I ask for implementation, that I can use PRE html.
And there is no "link" only a relative path.

It's described in the Readme-Install.txt :

Quote:

Perform the following OPTIONAL template edit (only required if you want a 'Downloads' link in your navigation bar)

Find in navbar:

HTML Code:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
If you are running vBulletin 3.6.7 (or higher), you need to search for the following as it changed slightly:

HTML Code:

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

HTML Code:

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


exportforce 02-03-2008 10:41 PM

I am NOT!!!!! asking how to add a link... I am not stupid :confused::confused::confused:
I ask, if you read my thread... If you could add the possibility that I can put the files into PRE! HTML

NOT: /var/www/webX/html/downloads/file.zip
BUT: /var/www/webX/downloads/file.zip

So the downloads can not be hotlinked or touched by web, except using the Script.
I would even pay if you would do it exclusive for me and in near future :)

RS_Jelle 02-03-2008 10:54 PM

Quote:

Originally Posted by exportforce (Post 1435680)
I am NOT!!!!! asking how to add a link... I am not stupid :confused::confused::confused:
I ask, if you read my thread... If you could add the possibility that I can put the files into PRE! HTML

NOT: /var/www/webX/html/downloads/file.zip
BUT: /var/www/webX/downloads/file.zip

So the downloads can not be hotlinked or touched by web, except using the Script.
I would even pay if you would do it exclusive for me and in near future :)

In this post you linked to a question of thecool444, which was about placing a link in the navbar. So I did read your post correctly :)

Custom paths will be supported in v6 ;)

@All users: closely watch this thread in the next couple of days if you are interesting in beta (or should I say alpha :p) testing v6.

setoshi 02-03-2008 10:58 PM

Is there a way to control the sorting of the files once they are in their databases? I want to order my files in ascending, numbered order but no matter what I do to the weighting, the order is not altered. The most recent file I upload will always be placed at the top of the database I uploaded it to. Any help?

Black Tiger 02-03-2008 11:03 PM

Quote:

NOT: /var/www/webX/html/downloads/file.zip
BUT: /var/www/webX/downloads/file.zip
You mean in /var/www/webX/downloads/file.zip in stead of
/var/www/webX/public_html/downloads/zip?
I don't even think this would work in version 6.:)
Because your webbrowser (and thus also the script!!!) can't read directory's outside or rather PRE your webdirectory, unless you would give read access to this directory for the script (thus webbrowser) which would be rather stupid in my opinion, if already possible because you need root rights to make this happen.

RS_Jelle 02-03-2008 11:07 PM

Quote:

Originally Posted by setoshi (Post 1435686)
Is there a way to control the sorting of the files once they are in their databases? I want to order my files in ascending, numbered order but no matter what I do to the weighting, the order is not altered. The most recent file I upload will always be placed at the top of the database I uploaded it to. Any help?

I guess you mean ordered ascending by title?

Open downloads.php
Find
PHP Code:

    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'date';
    } 

Replace with
PHP Code:

    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'name';
    } 

This is replaced with category based default sorting in v6.

Quote:

Originally Posted by Black Tiger (Post 1435691)
You mean in /var/www/webX/downloads/file.zip in stead of
/var/www/webX/public_html/downloads/zip?
I don't even think this would work in version 6.:)
Because your webbrowser (and thus also the script!!!) can't read directory's outside or rather PRE your webdirectory, unless you would give read access to this directory for the script (thus webbrowser) which would be rather stupid in my opinion, if already possible because you need root rights to make this happen.

Indeed, I mean custom paths like vBulletin does for the attachments etc.

Black Tiger 02-03-2008 11:22 PM

Quote:

Indeed, I mean custom paths like vBulletin does for the attachments etc.
Oh in that way? Cool!
But:
Quote:

This file path should be readable AND writeable by your web server (usually chmod 0777)
But like I said, it's seems not wise to put such 777 directory pre the public_html directory.

Animparadise 02-04-2008 02:41 AM

can you add an option to upload from url? (like vbulletin default attachment system)

exportforce 02-04-2008 09:13 AM

Quote:

Originally Posted by Black Tiger (Post 1435691)
if already possible because you need root rights to make this happen.

not possible
have rootrights, need the security

@JS
Please hurry ^^
Need that really fast.

Black Tiger 02-04-2008 01:58 PM

Quote:

have rootrights, need the security
I've just checked, if it's done like the attachment system in vBulletin it's not a problem, just a chmod issue indeed. I'm also hoping v6 is coming soon.:)

InoffLine 02-05-2008 04:37 AM

Mod is perfect
Exept only one thing - 41 query in category)
It's the most "QUERABLE" place in my website.
Even in my cms less queries.

REVHEAD 02-05-2008 04:42 AM

Quote:

Originally Posted by InoffLine (Post 1436531)
Mod is perfect
Exept only one thing - 41 query in category)
It's the most "QUERABLE" place in my website.
Even in my cms less queries.

Were do I check queries in my site?

RS_Jelle 02-05-2008 08:38 AM

Quote:

Originally Posted by InoffLine (Post 1436531)
Mod is perfect
Exept only one thing - 41 query in category)
It's the most "QUERABLE" place in my website.
Even in my cms less queries.

Fixed in v6 with some joins :)
But normally you don't have a lot files (not like the number of forum posts), so those queries will be pretty fast.

Quote:

Originally Posted by REVHEAD (Post 1436532)
Were do I check queries in my site?

Turn on debug mode: https://vborg.vbsupport.ru/showthread.php?t=82835

maidos 02-05-2008 10:29 AM

can you please have a error or flag feature for seperate files since my members are uploading more illegal files than ever and its really putting my server at risk so please have a function for members to report since i cant really check myself since its too many mebers who upload daily

DarkWolf74 02-05-2008 09:57 PM

Perhaps you could add rss feeds for next addon/update? would be really useful.

Animparadise 02-05-2008 11:48 PM

Quote:

Originally Posted by Golzarion (Post 1423914)
of course it's a very nice hack as I try before ..

I installed !!

But if a user upload a virus files ... there isn't a way for other users to report it ?

I mean it would be very useful if you put a report button in files download area.

thx

Quote:

Originally Posted by DarkWolf74 (Post 1437049)
Perhaps you could add rss feeds for next addon/update? would be really useful.

yeah its pretty nice, a report bad files:up: , upload from url, report to mederators/some users about new files.
:p

maidos 02-06-2008 04:23 AM

i proposed rss feed before but the author doesnt seem to have any intention to make one

mark|3 02-06-2008 04:28 AM

hi,

Is there anyway to customise the error message. An example of this instance would be prompting the user to wait in between download before downloading again. I would like to add a message like they could surf the site while waiting for the time to expire.

Thanks

RS_Jelle 02-06-2008 10:42 AM

Quote:

Originally Posted by mark|3 (Post 1437209)
hi,

Is there anyway to customise the error message. An example of this instance would be prompting the user to wait in between download before downloading again. I would like to add a message like they could surf the site while waiting for the time to expire.

Thanks

That's the ecdownloads_download_too_quickly phrase in the Error Messages phrase type category. You can change it in the AdminCP (Languages & Phrases).

skrazydogz 02-07-2008 06:24 AM

Hello, when I use GARS too, i cant upload anything as admin. DownloadsII reported me every time i have to fill out the red marked things, but i had all fill out and nothing is red marked.
When I turned off GARS then is all right.

Please help !!!

RS_Jelle 02-07-2008 07:02 AM

Quote:

Originally Posted by skrazydogz (Post 1438003)
Hello, when I use GARS too, i cant upload anything as admin. DownloadsII reported me every time i have to fill out the red marked things, but i had all fill out and nothing is red marked.
When I turned off GARS then is all right.

Please help !!!

This is already reported in this thread. There's also a topic about it on the vB Geek forums. The problem was introduced with the newest GARS release.

But I don't have a GARS license, so I can't bugfix it. And Morgan from GARS says she isn't familiar with DownloadsII :p

Like I already said: if someone is willing to give me temporally access to his vB AdminCP and FTP, I will try to sort it out. You can always contact me using pm.

vBVision 02-07-2008 07:47 AM

How to change default amount of latest files, Most popular files and top contributers? Thanks:)

RS_Jelle 02-07-2008 08:19 AM

Quote:

Originally Posted by Philosopher (Post 1438035)
How to change default amount of latest files, Most popular files and top contributers? Thanks:)

AdminCP -> Downloads -> Settings -> Number of "Latest Files"/"Most Popular Files"/"Top Contributors" to Display

After the change, run the update counters (link can be found in the navigation of your downloads.php) to update the cache.

vBVision 02-07-2008 09:43 AM

Didn't understand the last part.
Quote:

Originally Posted by RS_Jelle (Post 1438048)
After the change, run the update counters (link can be found in the navigation of your downloads.php) to update the cache.

Explain it, please, where is that link, how can I fund it? Thanks!

RS_Jelle 02-07-2008 10:09 AM

Quote:

Originally Posted by Philosopher (Post 1438072)
Didn't understand the last part.

Explain it, please, where is that link, how can I fund it? Thanks!

http://www.dnforum.am/downloads.php

Under the navigation (Նավարկում) part. The link is only visible for people in a usergroup with the "Can edit all files" and "Can manage moderation queue" permissions.

Or directly: http://www.dnforum.am/downloads.php?...updatecounters

vBVision 02-07-2008 10:19 AM

Ok, done! Thanks:)

RS_Jelle 02-07-2008 11:33 AM

For people experiencing the GARS compatibility problem, I have posted a fix here ;)

skrazydogz 02-07-2008 11:44 AM

yeeeeeeeeah thanx alot RS_Jelle :D

skrazydogz 02-08-2008 02:45 PM

Hello is it possible that some usergroups dont see some download categorie ?

RS_Jelle 02-08-2008 03:06 PM

Quote:

Originally Posted by skrazydogz (Post 1438926)
Hello is it possible that some usergroups dont see some download categorie ?

Yes, you can list them in the usergroup permissions (exclude categories).

skrazydogz 02-08-2008 03:09 PM

I have a second question (thanks for your first response) when the Hack "Downloads Create Thread" do a Thread it is a moderate download, how I can change it that the Download is not moderate ?

Black Tiger 02-08-2008 03:32 PM

The top contributors are always the same people on my site because only a few people are allowd to upload (mainly moderators).
Is there a way to remove the "Top Contributors" part of that column?

RS_Jelle 02-08-2008 05:36 PM

Quote:

Originally Posted by skrazydogz (Post 1438939)
I have a second question (thanks for your first response) when the Hack "Downloads Create Thread" do a Thread it is a moderate download, how I can change it that the Download is not moderate ?

I think you mean the "Can Avoid Moderation Queue" usergroup permission?

Quote:

Originally Posted by Black Tiger (Post 1438949)
The top contributors are always the same people on my site because only a few people are allowd to upload (mainly moderators).
Is there a way to remove the "Top Contributors" part of that column?

Setting the amount of top contributors to 0 (and run the update counters) will hide it ;)

maidos 02-08-2008 05:59 PM

hello, i aprpeciate if the author(s) can at least take a considertaion regarding the report feature since i dont think im the only one who like this feature since this can help us to prevent any illegal uploads

and also on manage files when i want to delete a certain category it shows totally blank even though that category consist 2000 files. And i do not know if the files will be deleted on server if i delete the category by admincp

Black Tiger 02-09-2008 12:56 AM

Quote:

Setting the amount of top contributors to 0 (and run the update counters) will hide it ;)
Thanks it works! I did not even had to update the counters. Setting the amount to 0 and clicking manage files was enough to remove the displaying.:)

skrazydogz 02-09-2008 12:22 PM

Okeiy I have a third question.

Is it possible to make an rss-feed for the newest downloads ?

REVHEAD 02-10-2008 09:25 AM

1 Attachment(s)
I have a question , and forgive me yes I am a noob.

Is this normal see screenshot

30 queries and my homepage only has 18, and forums 10, if this is normal then thats ok ,I am just trying to keep my forums streamlined.


All times are GMT. The time now is 07:41 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.05396 seconds
  • Memory Usage 1,855KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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