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)

RS_Jelle 01-19-2008 07:41 AM

Quote:

Originally Posted by yahoooh (Post 1424159)
i installed v 5.0.6

there is an additional query per file show in category


if i choose to show 20 files
it add 20 query

if i choose to show 25 files it will add 25 query and so on !

any help ?

There is no additional query per file shown in a category. I don't know where you have that information from :)

There are only additional queries for generating the category tree (if you are having a lot of sub-categories), but that's only an amount. It doesn't say a thing about the weight of them and those are very light as it's a pretty small table to search in.

Quote:

Originally Posted by REVHEAD (Post 1424245)
Can this mod have set forum permissions for usergroups?

I am seriously thinking about installing this.

At the moment there are raw category permissions per usergroup: you can list the categories which should be blocked or which should be accessible for a usergroup.

REVHEAD 01-19-2008 11:50 AM

Hi

I just installed the mod ,I havnt created a button yet,but when I go to http://mysite.com/forums/downloads ,I just get a blank page,is this normal?
I have set permissions to 777 I have created some cats and user permisssions ,but I dont see a page for it .

thanks in advance.

RS_Jelle 01-19-2008 12:06 PM

Quote:

Originally Posted by REVHEAD (Post 1424377)
Hi

I just installed the mod ,I havnt created a button yet,but when I go to http://mysite.com/forums/downloads ,I just get a blank page,is this normal?
I have set permissions to 777 I have created some cats and user permisssions ,but I dont see a page for it .

thanks in advance.

The http://www.mysite.com/forums/downloads/ folder stores your downloads. The downloads section can be found at http://www.mysite.com/forums/downloads.php

REVHEAD 01-19-2008 12:23 PM

That worked thanks.

Now I will make a download button thanks.

REVHEAD 01-19-2008 12:41 PM

Ok I have a slight hiccup.

I get error uploading a small 2 meg file ,I made a .htaccess file as suggested ,but still got the problem ,when I re-checked the .htccass the server added some text ,this is what it changed it to
PHP Code:

# File modified on Sat Jan 19 07:35:37 2008 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M 


RS_Jelle 01-19-2008 12:45 PM

Quote:

Originally Posted by REVHEAD (Post 1424405)
Ok I have a slight hiccup.

I get error uploading a small 2 meg file ,I made a .htaccess file as suggested ,but still got the problem ,when I re-checked the .htccass the server added some text ,this is what it changed it to
PHP Code:

# File modified on Sat Jan 19 07:35:37 2008 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M 


Find the php.ini on your (virtual) server and add this code to it:
Code:

upload_max_filesize 30M
post_max_size 30M

I don't know the exact location of your php.ini (maybe you even need to create it yourself) as this depends from your host. So search their FAQ for it or ask it :)

REVHEAD 01-19-2008 10:37 PM

all fixed thanks RS Jelle, for this mod your giving top notch support,its appreciated.

Just one last thing, when I came acrosss optimizing details for my php.ini file I came across this info
Quote:

If you expect to handle a large number of concurrent file transfers on your website consider using a perl or java server side component. PHP happens to be our favourite web programming language as well but perl is just slightly ahead when it comes to file handling.
Most installations of perl as an apache module can accept upto 32 megabytes out of the box. Compare this against the 2MB default for PHP. The downside is that perl coding takes just a bit more effort than PHP but it's worth it.
Is this at all possible for me to do Or do I stick with php because of VB, forgive me I know very little about website coding and stuff .

REVHEAD 01-20-2008 03:32 AM

1 Attachment(s)
I am allso having a ever so small problem with the Download button disstorting due to my skin , Would any one be able to edit the button for me to remove the tranceparent border for me ,because I think that is what is playing up on me.

If not then thats ok ,I can live with it.

yahoooh 01-20-2008 05:39 AM

Quote:

Originally Posted by RS_Jelle (Post 1424265)
There is no additional query per file shown in a category. I don't know where you have that information from :)

There are only additional queries for generating the category tree (if you are having a lot of sub-categories), but that's only an amount. It doesn't say a thing about the weight of them and those are very light as it's a pretty small table to search in.



At the moment there are raw category permissions per usergroup: you can list the categories which should be blocked or which should be accessible for a usergroup.

i tested it
in vb 3.6.8 pl2

php:5
mysql:4.1
with xcache
and vbseo
it give me additional query per file

i disabled vbseo and vbseo plugin for download II

also it gives additional query per file

could u check plz

RS_Jelle 01-20-2008 08:35 PM

Quote:

Originally Posted by REVHEAD (Post 1424753)
all fixed thanks RS Jelle, for this mod your giving top notch support,its appreciated.

Just one last thing, when I came acrosss optimizing details for my php.ini file I came across this info

Is this at all possible for me to do Or do I stick with php because of VB, forgive me I know very little about website coding and stuff .

vBulletin is PHP coded and because of that also all the mods at vB.org. vBulletin itself is also using PHP for uploading attachments to the forum and other things.

Combining two programming languages isn't easy/very logical/... and most webhosts are only supporting PHP.

Quote:

Originally Posted by yahoooh (Post 1424921)
i tested it
in vb 3.6.8 pl2

php:5
mysql:4.1
with xcache
and vbseo
it give me additional query per file

i disabled vbseo and vbseo plugin for download II

also it gives additional query per file

could u check plz

Ok, I can confirm it now (there's a query in the while loop for getting the image thumbs). That's some old Ron1n ecDownloads code, not ours :p

This is already recoded in my v6 dev version using a table join. No ETA, I'm in the middle of my exams at the moment :)


All times are GMT. The time now is 03:10 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.05498 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_php_printable
  • (8)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