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 01-20-2007 08:05 AM

Quote:

Originally Posted by WebmasterSimds (Post 1161585)
Andrew,

I found someting interesting that I dont know if you knew about. but if you set say a special section in the regular forums that is hidden, say for special downloads, that normally not everyone can see. and you try to set the permissions in LDM to that topic, you can't, because you can;t see the forum topic to set permissions, Also even if you went and set permissions in LDM, to try to do a overide itself with LDM, everyone can still get to that area of the hidden stuff in LDM.

I don't know if you knew about it or not, just thought that maybe you can look into that. because you know my site, and there are files that we wish to keep hidden from others. and only persons with special permission can access them.

Just to be sure I understand:

- If you define a forum as 'not active' in the VB admincp, then it does not appear in the drop-down list of forums which you use in LDM to protect categories/entries.

This seems to me to be correct? Do you think LDM should display all forums, regardless of whether they are active or not?

mauro1947 01-20-2007 11:51 PM

HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!

AndrewD 01-21-2007 05:04 AM

Quote:

Originally Posted by mauro1947 (Post 1163913)
HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!

Happy to help if I can. Send me a PM with site details and an account with VB admin privs.

ombossman 01-21-2007 09:53 AM

Andrew, i need your help
check please pm
wbr

dholt 01-21-2007 11:59 AM

I keep getting this as the folders are chked at 777

The following setting(s) are invalid
file_icons_dir : http://www.mysite.com/forum/images/ldm_icons/
Cannot find http://www.mysite.com/forum/images/ldm_icons/

They are there;)

OK I fixed that as all you have to do is add /images/ldm_icons/ and not the full URL


sorry about the noob Questions but not sure if it is installed right as I followed everything to the T

Question One
Can you look at this and tell me what you think here and what should I do next

LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir http://www.mysite.com/ldm_upload
thumbs_dir http://www.mysite.com/forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Can I change this or is this Normal in red

Question 2

In Controls on File Uploads under upload_dir I created a folder in the root of my site called ldm_upload and made it writable 777. I then added in the space there http://www.mysite.com/ldm_upload
should there be a trailing slash with it
Uploads enabled.........YES
Upload filetype ........left blank (if blank, all types in VB attachments table are allowed)

Upload MAX space left 0 for no limit unless you have or some has a sujestion limit.

local_file_root No
local_file_root_prefix (not set)


what do I set these too as there is no documentation for it in red.

Question 3
in the root of my site I created a folder called idm_upload, but my server created a file called http: .......In it there is another file called www.mysite.com open ldm_upload and in that there is (1)

Can I delete the one I created and keep the one my server created is the Question

Thanks in advance here is my site if you want to look and you have some time.
My site

Thanks Andrew

stwilson 01-21-2007 02:54 PM

Quote:

Originally Posted by AndrewD (Post 1147068)
Something like this?

This is exactly what I am trying to do. See my pic below. I have figured out the column setting but cannot get the subcategories to show BELOW the category title. What am I missing? I have tried everything in the "How Categories & Entries Are Displayed" section. Do I need to edit a template to accomplish this? Thanks for your reply and great product. I am sending over some "support" for your work!

ST

AndrewD 01-21-2007 03:09 PM

Quote:

Originally Posted by dholt (Post 1164206)
Can you look at this and tell me what you think here and what should I do next

LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir http://www.mysite.com/ldm_upload
thumbs_dir http://www.mysite.com/forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Can I change this or is this Normal in red

You normally don't need to change the wait_timeout setting, and it requires system admin privileges on your server to make the change in any case. It's highlighed because under certain circumstances people have found that large downloads were failing. The connection to the sql database was being dropped before the download had finished. (Basically, when you download a very large file over a slow line, it's possible for the MySQL server to think you've gone away before vbulletin has a chance to close down properly.)

However, your uploads_dir and thumbs_dir settings don't need the full url, see below.

Quote:

Originally Posted by dholt (Post 1164206)
In Controls on File Uploads under upload_dir I created a folder in the root of my site called ldm_upload and made it writable 777. I then added in the space there http://www.mysite.com/ldm_upload
should there be a trailing slash with it
Uploads enabled.........YES
Upload filetype ........left blank (if blank, all types in VB attachments table are allowed)

Upload MAX space left 0 for no limit unless you have or some has a sujestion limit.

local_file_root No
local_file_root_prefix (not set)


what do I set these too as there is no documentation for it in red.

Trailing slashes should be optional ;)

local_file_root and local_file_root_prefix are described quite fully in the online manual at http://www.eirma.org/wikis/index.php...nd_Server_Load. Basically, these settings give you the means to store files out of the way of prying eyes. By default, LDM treats a local filename (e.g. /mydir/myfile.pdf and without the http://yoursite bit at the front) as being relate to the base directory of your web site (i.e. http://yoursite/mydir/myfile.pdf).

If you set local_file_root, it will treat the same file as being held in a top level directory /mydir/myfile.pdf relative to your web server, rather than just your web site on that server.

If you set local_file_prefix, this gets stuck on the front of all local filenames, including the upload directory. It's a shorthand way of preventing people being able to link to files on your server which are held in other parts of the filesystem.

In essence:
- local_file_root allows you to *totally prevent* people from accessing LDM entries except through LDM
- local_file_root_prefix allows you to *block off completely* access to parts of your server except those that you really want to be accessed.

These are specialised settings.

Quote:

Originally Posted by dholt (Post 1164206)
In the root of my site I created a folder called idm_upload, but my server created a file called http: .......In it there is another file called www.mysite.com open ldm_upload and in that there is (1)

Can I delete the one I created and keep the one my server created is the Question

Thanks in advance here is my site if you want to look and you have some time.
My site

Thanks Andrew

I think this is because you have set upload_dir as what you thought was a full url. However, LDM thinks you've told it to use a subdirectory called http: then a subdirectory called www.mysite.com, and so on. These are perfectly valid directory names on some systems. The solution is to set upload_dir without the url part. (I suppose LDM should have caught that, so I need to check.) Reset upload _dir to the local directory name.

stwilson 01-21-2007 03:27 PM

One other small question (I hope), is there a way to add a custom field for the Links area? I like to show the Phone Number of the local businesses in my links directory. How hard would it be to add a phone number field to the link entry point?

ST

AndrewD 01-21-2007 03:54 PM

Quote:

Originally Posted by mauro1947 (Post 1163913)
HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!

Hi, I can't be sure but I guess that the site you are linking to (www.se-tool.net) is refusing access from your site. This seems to have begun at around 18:00 yesterday.

When I downloadedand installed your database on my server, all the "broken links" validated correctly and work properly. On your server, they all fail to validate.

I took a look at your downloads table - you have had a quarter of a million hits since mid November, all directed at www.se-tool.net - so it wouldn't surprise me if they've put a block on you.

AndrewD 01-21-2007 04:03 PM

Quote:

Originally Posted by stwilson (Post 1164308)
This is exactly what I am trying to do. See my pic below. I have figured out the column setting but cannot get the subcategories to show BELOW the category title. What am I missing? I have tried everything in the "How Categories & Entries Are Displayed" section. Do I need to edit a template to accomplish this? Thanks for your reply and great product. I am sending over some "support" for your work!

ST

If you're still using version 2.2.6, you've not missed anything. I added the code for the alternate layout in version 2.2.7, which is still in alpha testing but available on this board.

You set it by going LDM/admin/settings/how categories are displayed, then template_catbit=>brief; cat_sub_display=>1; cat_cols_display=>2


All times are GMT. The time now is 05:24 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.03365 seconds
  • Memory Usage 1,789KB
  • 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