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)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

Goodspeed 06-05-2005 02:50 PM

Quote:

Originally Posted by AndrewD
I took a quick look at pafiledb. It's quite easy to translate the database format, however it would take me several hours to write and text the code. How many entries and categories do you have in your pafile database?

Concerning the second question, you can set up the category view to include subcategories to any depth.

Andrew,

We have about 20 categories and 300 files in databse. And we have 3 databases based on pafiledb: files database, addons databse and missions database. We had to made 3 different databases because this script doesn't allow to make subcategories. Also here is very important fields like filesize and author - is it possible to convert these data too?

Andrew, I have tried to make different dept but unfortunately can't do this. Because color of categories and sub-categories alternate all the time without account for importance or parent of category.

Ones again thank you for your help, I appreciate it.

AndrewD 06-05-2005 03:26 PM

Quote:

Originally Posted by Goodspeed
Andrew,

We have about 20 categories and 300 files in databse. And we have 3 databases based on pafiledb: files database, addons databse and missions database. We had to made 3 different databases because this script doesn't allow to make subcategories. Also here is very important fields like filesize and author - is it possible to convert these data too?

Andrew, I have tried to make different dept but unfortunately can't do this. Because color of categories and sub-categories alternate all the time without account for importance or parent of category.

Ones again thank you for your help, I appreciate it.

Send me the pafiledb sql backups by email - ad_rodin at noos.fr - I'll take a look

ProperMethodz 06-06-2005 07:18 PM

Awesome mod! I just added it. The ease of install should seriously be commended on this one! HUGE THUMBS UP!

I guess the only thing missing is possibly a way to have the "Who's Viewing" thing to work with it.

Goodspeed 06-07-2005 10:48 AM

Quote:

Originally Posted by AndrewD
Send me the pafiledb sql backups by email - ad_rodin at noos.fr - I'll take a look

I have sent SQL dump to you Andrew, thank you for your help!

Arial 06-07-2005 02:22 PM

Hi
We have the hack setup here:
http://www.global-army.com/forum/local_links.php?

And am very pleased with it however, we have a bit of a problem with perms.

We created a group in admincp called links

Then we added the user to that group.

Then we used the hacks admin tool to allow that user to add links etc

Which worked BUT..

It also gave him rights to all our private forums.

Sorry we are a bit noobish, can you advise .

AndrewD 06-08-2005 04:02 AM

Quote:

Originally Posted by Goodspeed
I have sent SQL dump to you Andrew, thank you for your help!

Got it, thanks. Will take a look when I have a chance - probably it will be at the weekend

Andrew

AndrewD 06-08-2005 04:42 AM

Quote:

Originally Posted by Arial
Hi
We have the hack setup here:
http://www.global-army.com/forum/local_links.php?

And am very pleased with it however, we have a bit of a problem with perms.

We created a group in admincp called links

Then we added the user to that group.

Then we used the hacks admin tool to allow that user to add links etc

Which worked BUT..

It also gave him rights to all our private forums.

Sorry we are a bit noobish, can you advise .

Surely you need to go to the regular VB admin page / Forum Permissions and remove viewing permissions for links from your private forums?

Lizard King 06-08-2005 05:05 PM

Andrew my members today informed me a strange situation. Normally they never faced a problem like this but a member uploaded a 123 mb file from ftp to the server and added it to links section. When someone clicks on the link it opens the link in a new window and wait like 15-20 seconds then it start downloading and when it reachs 48kb it says completed. Do you have any idea what can cause this ?
When I try to download from ftp i have no problems.

AndrewD 06-08-2005 06:50 PM

Quote:

Originally Posted by Lizard King
Andrew my members today informed me a strange situation. Normally they never faced a problem like this but a member uploaded a 123 mb file from ftp to the server and added it to links section. When someone clicks on the link it opens the link in a new window and wait like 15-20 seconds then it start downloading and when it reachs 48kb it says completed. Do you have any idea what can cause this ?
When I try to download from ftp i have no problems.

Yes, the problem is related to how you provide access.

If you have force_redirect=0 (the default value of the parameter on the admin page), then downloads are mediated by the script. In that case, large files can use up all the cpu time available to the script (typically 30 seconds). If you set force_redirect=1, then there is no problem with downloading large files, but the location of the file becomes visible to the user. It's a question of how important you find security versus cpu time. If you want to keep file locations secure, then you need to permit php scripts to use sufficient cpu time to read and re-transmit the file. If you prefer to limit cpu usage and are not concerned about security, then change the setting of force_redirect.

OK?

Andrew

Lizard King 06-09-2005 04:27 PM

Quote:

Originally Posted by AndrewD
Yes, the problem is related to how you provide access.

If you have force_redirect=0 (the default value of the parameter on the admin page), then downloads are mediated by the script. In that case, large files can use up all the cpu time available to the script (typically 30 seconds). If you set force_redirect=1, then there is no problem with downloading large files, but the location of the file becomes visible to the user. It's a question of how important you find security versus cpu time. If you want to keep file locations secure, then you need to permit php scripts to use sufficient cpu time to read and re-transmit the file. If you prefer to limit cpu usage and are not concerned about security, then change the setting of force_redirect.

OK?

Andrew

I am keeping the security more important then downloads but is there a way to get this working ? If yes how can i do that ? I have a shared hosting and will it work with it ?


All times are GMT. The time now is 03:59 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.01759 seconds
  • Memory Usage 1,752KB
  • 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
  • (7)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
  • (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