vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

AndrewD 03-19-2007 05:14 AM

Quote:

Originally Posted by Gsmdenis (Post 1206899)
The first ,very nice for the new ver. release, BTW, better make/add new function that can download the SW form server by direct ? that 's mean just need setting the URL in admincp/download option.

Eg. for IIS server , d:/software/VBBfiles then can preview/download all the files in Vbb download section !

BR.,

Denis

Do I understand right - you want to be able to automatically set up an LDM database pointing to all the files in a certain part of your server?

If so, this is already there - you can either do it manually in the admin/categories section, or you can do it automatically by telling catgeories to synchronise with directories.

Gsmdenis 03-19-2007 12:59 PM

Quote:

Originally Posted by AndrewD (Post 1207134)
Do I understand right - you want to be able to automatically set up an LDM database pointing to all the files in a certain part of your server?

If so, this is already there - you can either do it manually in the admin/categories section, or you can do it automatically by telling catgeories to synchronise with directories.


pls check here for the demo http://www.litoweb.net/pfn2/


BR.,

Denis

josiespencer 03-19-2007 03:04 PM

Andrew, help! Is there any way to disable LDM searches by my users?

My site is getting banned for excessive CPU use due to this type of a GET: /forums/local_links.php?action=jump&id=3370&catid=1 HTTP/1.1.

AndrewD 03-19-2007 03:25 PM

Quote:

Originally Posted by josiespencer (Post 1207366)
Andrew, help! Is there any way to disable LDM searches by my users?

My site is getting banned for excessive CPU use due to this type of a GET: /forums/local_links.php?action=jump&id=3370&catid=1 HTTP/1.1.

Is it really searches that are the problem?

That GET request is the request to download a document. It gets very cpu intensive, mainly because of the way (I think) you have set up the entries in your database - you're using full urls to point to the documents. The php code needed to access files in this way is expensive to execute - this is covered at length in the on line manual - even if the documents are actually on the same physical computer.

By far the best/cheapest way to handle the documents while making sure that the source is kept private is as follows:

- Use local_file_root and local_file_root_prefix to store documents on the same server but outside the web site directory structure
- Use local file names in the entries, not urls.

This can make 100 - 1000 fold improvement in cpu use.

If it's really searches that are causing the problem, I'll see how to help.

GospelLabs 03-19-2007 03:48 PM

Hi all, I would like to know if this is possible, and if someone can point me in the right direction if so.
I would like to give the users the ability to upload MP3 files (but not download them).
And when viewing the post, I would like to embed a flash player to play that single mp3.
I proabably will use this flash player found in this tutorial (http://www.macloo.com/examples/audio_player/).
Can someone give me a hand and point me in the right direction?

AndrewD 03-19-2007 04:07 PM

Quote:

Originally Posted by GospelLabs (Post 1207393)
Hi all, I would like to know if this is possible, and if someone can point me in the right direction if so.
I would like to give the users the ability to upload MP3 files (but not download them).
And when viewing the post, I would like to embed a flash player to play that single mp3.
I proabably will use this flash player found in this tutorial (http://www.macloo.com/examples/audio_player/).
Can someone give me a hand and point me in the right direction?

This is certainly possible.

- Install LDM
- Go to the VB admin page and add mp3 mimetype data to the attachments manager ("Content-type: audio/mp3")
- Go to the LDM admin/permissions page, give can_play_music_box, can_add_link and can_upload_files permissions and remove can_save_musicbox permissions from the usergroups you want to do this
- Go to the LDM/admin/settings page and enable uploads and set file_icons_dir

The /extras/wimpy_player directory in the release shows you how to install the wimpy button player, which also is a single press flash-based mp3 player. If you don't want to use wimpy, the example will show you how to patch LDM.

obmob 03-19-2007 04:26 PM

Quote:

Originally Posted by AndrewD (Post 1207119)
It's just a warning - the setting of open_basedir limits the parts of your web server that php scripts can access, and you can inadvertently try to get LDM to use parts that are blocked. If everything's working ok, no need to be concerned.

Oh, ok, thanks Andrew. :)


I have an inquiry, it's the fist time i'm able to see the mainpage stats change to what has really been downloaded in the latest X days.

But... arent' they supposed to be sorted? Oo

You can take a look in here:
http://www.ositobarrigon.com/download.php



Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!

AndrewD 03-19-2007 04:55 PM

Quote:

Originally Posted by obmob (Post 1207426)
Oh, ok, thanks Andrew. :)


I have an inquiry, it's the fist time i'm able to see the mainpage stats change to what has really been downloaded in the latest X days.

But... arent' they supposed to be sorted? Oo

You can take a look in here:
http://www.ositobarrigon.com/download.php



Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!

You're right - it should be sorted - thanks.

I'll give thought to your other suggestions.

itsblack 03-19-2007 05:46 PM

Quote:

Originally Posted by obmob (Post 1207426)
Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!

Good idea. That's also what I thought.
It will be great, let the LDM mainpage look like a portral page.
like this: http://www.download.com/

GospelLabs 03-19-2007 08:54 PM

Quote:

Originally Posted by AndrewD (Post 1207406)
This is certainly possible.

- Install LDM
- Go to the VB admin page and add mp3 mimetype data to the attachments manager ("Content-type: audio/mp3")
- Go to the LDM admin/permissions page, give can_play_music_box, can_add_link and can_upload_files permissions and remove can_save_musicbox permissions from the usergroups you want to do this
- Go to the LDM/admin/settings page and enable uploads and set file_icons_dir

The /extras/wimpy_player directory in the release shows you how to install the wimpy button player, which also is a single press flash-based mp3 player. If you don't want to use wimpy, the example will show you how to patch LDM.

Thanks so much, I cant find how to set it up without wimpy button. Cant find it in the example.


All times are GMT. The time now is 06:36 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.02419 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
  • (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