vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

AndrewD 01-21-2007 05:08 AM

Quote:

Originally Posted by mathias (Post 1163953)
is there also a way for me to set permissions on who can delete links like make mods?

LDM/admin/permissions/can delete link allows you to set this permission by usergroup

SherryG 01-21-2007 09:21 PM

Hiya guys,

I'm getting the following message when trying to add an image:

Warning: fopen(/home/stamkcom/public_html/images/thumbs/35491169421067.jpg) [function.fopen]: failed to open stream: Permission denied in /includes/local_links_resize.php on line 166


Can anyone help me out? I would sincerely appreciate it :)

Martyh 01-22-2007 02:19 AM

installed ,, thank you,,, works fine.

If you have time could you tell me how I would make it upload an excel or a visio file

Thanks, I see an area where I can enter this but it sounds like I might be overriding all the other ones that it uploads,,, sorry to be a pain, I am a novice here

AndrewD 01-22-2007 04:59 AM

Quote:

Originally Posted by Martyh (Post 1164735)
installed ,, thank you,,, works fine.

If you have time could you tell me how I would make it upload an excel or a visio file

Thanks, I see an area where I can enter this but it sounds like I might be overriding all the other ones that it uploads,,, sorry to be a pain, I am a novice here

There are several steps:

a) You need to tell VBulletin how to recognise excel and visio files. You do this by going to VB/admincp/attachments and adding the file type and 'mimetype information':

File type - xls
Mimetype - Content-type: application/vnd.ms-excel

File type - vsd (?? - I don't use visio)
Mimetype - application/vnd.visio

b) Then you enable uploads in LDM. 1) You need to tell LDM where it can store the uploads, e.g. create a directory called "ldm-uploads" on your site, give the web server write access to the directory (in unix, this requires permissions 777), and then on the LDM admin page, enter /ldm-uploads as the upload directory and enable uploads.

c) then everything should work

AndrewD 01-22-2007 05:04 AM

Quote:

Originally Posted by SherryG (Post 1164567)
Hiya guys,

I'm getting the following message when trying to add an image:

Warning: fopen(/home/stamkcom/public_html/images/thumbs/35491169421067.jpg) [function.fopen]: failed to open stream: Permission denied in /includes/local_links_resize.php on line 166


Can anyone help me out? I would sincerely appreciate it :)

Two things to check:

a) Maybe you need to give your web server write access to the /images/thumbs directory (mode 777)

b) Maybe your web server is running php with a restriction on the 'open_basedir' setting. You can check this by going to any of the LDM admin pages and taking a look at the box down the bottom left of the screen. If this parameter is set, you are only allowed to access files in the part of the web server's directory tree that are explicitly authorised in the setting of open_basedir.

Get back to me if you need more help.

josiespencer 02-22-2007 09:56 PM

I searched and looked through both this website and the LDM documentation but cannot find this one: I want my scan to search all subdirectories within the directories. How can I do this?

AndrewD 02-23-2007 04:13 AM

Quote:

Originally Posted by josiespencer (Post 1188664)
I searched and looked through both this website and the LDM documentation but cannot find this one: I want my scan to search all subdirectories within the directories. How can I do this?

Are you using VB 3.5/LDM 2.2.1 (this thread) or are you using LDM 2.2.6 or .7 (the VB 3.6 thread)?

I take it that you want the searching of subdirectories to be automatic. This feature was first included in version 2.2.6 and improved significantly in 2.2.7, currently in the final stages before becoming official. I describe this new feature ands the 2.2.7 controls.

There are two steps:

- First, create/edit a category that knows that it is to synchronise with one of your website directories. This is done on the add/edit category page, where there is a box "Synchronise with" (see first image). This should hold a path to the local directory (this value is modified by LDM according to the current settings of the local_file_root and local_file_root_prefix settings.) Please note - if the category "synchronises", it won't at the same time accept manual entries - it's one or the other, although you can always change its state later (and if you go from sync to non-sync, it will retain the entries that are already there).

- Then go to the LDM admin settings and find the sync controls (see second image). Switch on synchronisation and enable the populate categories box. Choose a username who will be treated as creator of the entries. The other entries should be ok.

Then visit the new category, and by magic it should start synchronising. Depending on number of files and directory depth, it may not (probably will not) finish the job the first time, but on each successive visit until complete, and then once a day, it will improve the synchronisation.

OK?

josiespencer 02-23-2007 06:04 PM

Thank you very much! I upgraded to 2.2.7RC and it seems to be working fine except for the directories like cbi-bin, extras, etc. that were scanned and added as categories. When I try to delete them - they show on the Category Structure list with "0 [mass edit][scan]", I keep getting a message saying "Cannot delete a category which still contains links/subcategories". So how do I delete links when the counter says there are 0 there? And the search comes up with nothing?

AndrewD 02-23-2007 06:49 PM

Quote:

Originally Posted by josiespencer (Post 1189232)
Thank you very much! I upgraded to 2.2.7RC and it seems to be working fine except for the directories like cbi-bin, extras, etc. that were scanned and added as categories. When I try to delete them - they show on the Category Structure list with "0 [mass edit][scan]", I keep getting a message saying "Cannot delete a category which still contains links/subcategories". So how do I delete links when the counter says there are 0 there? And the search comes up with nothing?

Good point, I'll take a look. I don't think LDM should create subcategories if there's nothing in the corresponding directory, and it should be possible to delete them again anyway.

benjaminkramer 03-04-2007 11:19 AM

:up: :up: :up: :up: :up: :up: :up: :up: :up: :up: :up: :up: :up: :up:
Wow........

thats the best Download Mod I'd ever seen. Thank you for this and the great german translation.

:confused: Is it possible to show the latest Downloads on my Joomla Page?

Thx


All times are GMT. The time now is 01:08 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.02729 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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