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 12-31-2007 04:20 PM

Quote:

Originally Posted by nerofix (Post 1412711)
Admin CP --> LDM --> Settings

I'll get this error:

Fatal error: Cannot redeclare update_settings() (previously declared in forum/admincp/vcharset/functions_vcharset.php:16) in forum/includes/local_links_misc.php on line 399

There's a clash of function name with the code in whichever hack provides vcharset.

This will be fixed in the next release of LDM. In the meantime, you can (if you want) edit the code to get rid of this problem.

Replace 'update_settings' by 'update_ldm_settings' five time, as follows:

local_links_actions.php
(line 2508): if (!update_settings($catid, $_REQUEST, $errors)) {
(line 2712): if (!update_settings($catid, $_REQUEST, $errors)) {

local_links_admin.php
(line 1171): update_settings(-1, $_REQUEST, $errors);

includes\local_links_misc.php
(line 399): function update_settings($catid, $settings, &$errors) {
(line 797): ldm_general_failure("update_settings/$name");

Nam 01-02-2008 12:28 AM

Andrew, another suggestion on the next release is that it would be nice to see an index file, or some kind of page that organize the links. You already helped me with organize the links.

Say if I have 20 download link under 1 category, it would be nice to see the short version of link1, link2 instead of the standard view. I don't know, just a suggestion. I'm sure you might think a better format of link listing than me.

darfil 01-02-2008 09:04 AM

Hi,
I have this error messagge:

Parameter upload_dir points to a non-existent or inaccessible directory /uploads (maybe check open_basedir?)

How can I resolve it?

open_basedir is set with "no value" to either master and local.

AndrewD 01-02-2008 09:21 AM

Quote:

Originally Posted by darfil (Post 1413759)
Hi,
I have this error messagge:

Parameter upload_dir points to a non-existent or inaccessible directory /uploads (maybe check open_basedir?)

How can I resolve it?

open_basedir is set with "no value" to either master and local.

The directory has to exist and have write-access (on a unix server, this means mode 777). If this doesn't mean anything to you, send me a PM and I can try to help you directly.

Spinball 01-03-2008 12:21 PM

Thanks for the continued support and development on this mod.
Can I please request that for multiple pages of links, we have an alphabetic index at the top?
I.e. 0-9 A B C D E etc each linking to the first entry beginning with that letter?

calumn 01-03-2008 01:37 PM

Hello.

First of all I have to say this is an amazing plugin, but I am having trouble with the permissions.

I want to add a links directory to my forum so that registered users can add their links but guests can only browse and view the directory.

I tried setting this but at first no-one could submit links so I changed the permissions and now the right people can but they can also submit downloads.

How can I make it so that they can only submit links but not downloads?

Thanks
Calum

AndrewD 01-03-2008 02:51 PM

Quote:

Originally Posted by calumn (Post 1414643)
Hello.

First of all I have to say this is an amazing plugin, but I am having trouble with the permissions.

I want to add a links directory to my forum so that registered users can add their links but guests can only browse and view the directory.

I tried setting this but at first no-one could submit links so I changed the permissions and now the right people can but they can also submit downloads.

How can I make it so that they can only submit links but not downloads?

Thanks
Calum

You can turn off submission of urls that point to remote downloads using the LDM admin setting *allow_remote_downloads*. This is a general setting, not a per-usergroup permission, so you will block this feature for everyone.

Bear in mind that, for LDM, 'download' = something with a filetype that appears in the vbulletin attachment table. LDM manages the transfer of these downloads to keep the location hidden. If the url ends with a filetype that is not in the table, then LDM doesn't care, because it doesn't handle the transfer - it just triggers a browser redirect to get the url.

pspcrazy 01-03-2008 07:45 PM

Andrewd after a recent server change, it seems that for my staff they can't upload new files. When they add a new entry it auto redirects them back to the home of the downloads and links, and the file is never added. But when an admin adds it, it adds perfectly fine :|. Any ideas?

AndrewD 01-04-2008 03:49 AM

Quote:

Originally Posted by pspcrazy (Post 1414865)
Andrewd after a recent server change, it seems that for my staff they can't upload new files. When they add a new entry it auto redirects them back to the home of the downloads and links, and the file is never added. But when an admin adds it, it adds perfectly fine :|. Any ideas?

Not sure, but have you tried turning off the vb admin option, Remove Redirection Message Pages, so that you get to see the status messages?

pspcrazy 01-05-2008 03:41 AM

Well oddly enough now it's giving me this error: Error - The filetype used in the "Rename" field should be the same as the original filetype.

and if the files larger then a few mb it just redirects.

In fact i even upped my post limit and upload limit on php so that's not the issue. Any clues?


All times are GMT. The time now is 10:31 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.02926 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)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