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-29-2007 07:22 PM

Quote:

Originally Posted by benjaminkramer (Post 1411516)
Hi,
I moved my site to a Dedicated Server, but now I get an error by clicking on Links and Downloads Manager.


How can I activate Links and Downloads Manager?

Thx
Benjamin Kramer

vbulletin/admincp/products and plugins/enable LDM

benjaminkramer 12-29-2007 08:02 PM

It shows that LDM is enabled :-( but it shows the same message that
The VBulletin administrator has disabled the Links and Downloads Manager. Unable to continue.

AndrewD 12-30-2007 04:25 AM

Quote:

Originally Posted by benjaminkramer (Post 1411551)
It shows that LDM is enabled :-( but it shows the same message that
The VBulletin administrator has disabled the Links and Downloads Manager. Unable to continue.

Strange. The message is generated when LDM believes that it has not been enabled.

Check that you have uploaded a consistent set of files onto your new server, and reinstall the LDM product .xml file - this will not damage your database.

benjaminkramer 12-30-2007 08:32 AM

It works now...I forgot to aktivate the Plugin System in the config.php

And how does the work go on for a next version of LDM? (new icons...)

I would like to have upload progress status...so that I can see how many percent is the date uploaded and when is it finished....

THx :-)

AndrewD 12-30-2007 08:50 AM

Quote:

Originally Posted by benjaminkramer (Post 1411804)
It works now...I forgot to aktivate the Plugin System in the config.php

And how does the work go on for a next version of LDM? (new icons...)

I would like to have upload progress status...so that I can see how many percent is the date uploaded and when is it finished....


THx :-)

Good!

I'm working through the suggestions during this vacation week. I'll see how far I can get. There are quite a few requests :)

It's not possible to write a reliable upload progress meter in PHP that will work with all the versions of PHP that vBulletin supports. (They only work with very recent versions of PHP 5.x.) As far as I can tell, the only reliable approach is to bolt on a Java-based progress meter. These generally require a licence fee. I've got one to try out, and will let everyone know how well it works, once tested.

UltraFanatics 12-30-2007 11:50 AM

Can this be used as just a links page to swap links?

AndrewD 12-30-2007 12:46 PM

Quote:

Originally Posted by UltraFanatics (Post 1411878)
Can this be used as just a links page to swap links?

Yes, that was the original function.

yahoooh 12-31-2007 07:23 AM

another suggestion:
u use iframe in jukebox play
i want this be as part of page not as iframed

this make an easy indexed and back links for each link in LDM

thanks

AndrewD 12-31-2007 09:15 AM

Quote:

Originally Posted by yahoooh (Post 1412461)
another suggestion:
u use iframe in jukebox play
i want this be as part of page not as iframed

this make an easy indexed and back links for each link in LDM

thanks

There's actually two forms of the jukbox - one launches in a separate window, the other creates the iframed page, as you say. In the second form, the reason for using the (two) iframes is to ensure that the current media continues to play as the user browses the category.

In the next release, there will be an option to use media players for mp3 and flash that appear inline within the linkbits, so getting rid of the iframes.

nerofix 12-31-2007 03:55 PM

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

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?

AndrewD 01-05-2008 08:34 AM

Quote:

Originally Posted by pspcrazy (Post 1415696)
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?

The error message is saying that you are uploading one filetype but asking that it gets redownloaded with a different filetype. Are you entering something into the rename field? This should always end with the same filetype as the file being uploaded.

With the 'just redirecting' for large files, check the maximum file sizes in the vbulletin admin/attachments table for the filetypes of interest. For your regular users, the maximum upload size is limited to these values. Admins can upload files of any size up to the php limits. You can check the maximum size allowed by selecting the down arrow on the 'uploadable filetypes' message on the add entry form.

AndrewD 01-06-2008 04:41 PM

The first alpha release of LDM 2.2.9 is available in the vb 3.7 forum in this thread

AndrewD 01-06-2008 05:46 PM

Quote:

Originally Posted by Spinball (Post 1414615)
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?

This is in the 2.2.9 alpha, just released in the 3.7 forum (works on 3.6 also).

Nam 01-06-2008 06:58 PM

Yay, finally. Been waiting it for so long, great work Andrew.

I have a quick question, the A | B | C | D is able to support the specific category? or it works on all categories?

AndrewD 01-07-2008 03:36 AM

Quote:

Originally Posted by Nam (Post 1416711)
Yay, finally. Been waiting it for so long, great work Andrew.

I have a quick question, the A | B | C | D is able to support the specific category? or it works on all categories?

The ABC bar applies to the current category, and simply acts as a filter on the current list. Searches for everything starting 'A' would still be done using the Search page.

civil78 01-12-2008 09:08 AM

When I set the Display Order to Links between the links that have the same display order appears a separate.

But when I set the display order to Categories It doesn’t. Is there a setting to make it appears or categories don’t support separate.

I use LDM 2.2.7

Thanks

AndrewD 01-12-2008 09:38 AM

Quote:

Originally Posted by civil78 (Post 1420011)
When I set the Display Order to Links between the links that have the same display order appears a separate.

But when I set the display order to Categories It doesn?t. Is there a setting to make it appears or categories don?t support separate.

I use LDM 2.2.7

Thanks

Yes, you're right. This is an omission, which I will correct.

yahoooh 01-14-2008 06:04 PM

some security site avice to disable this function in php.ini :
PHP Code:

dlexecshell_execsystempassthrupopenpcloseproc_openproc_niceproc_terminateproc_get_statusproc_closepfsockopenleakapache_child_terminateposix_killposix_mkfifoposix_setpgidposix_setsidposix_setuidescapeshellcmdescapeshellarghypotpg_hostposposix_accessposix_getcwdposix_getgidposix_getpidposix_getsidposix_getuidposix_isattyposix_killposi 

if i disabled them , could this make some errors in ldm ?

AndrewD 01-15-2008 03:21 AM

Quote:

Originally Posted by yahoooh (Post 1421375)
some security site avice to disable this function in php.ini :
PHP Code:

dlexecshell_execsystempassthrupopenpcloseproc_openproc_niceproc_terminateproc_get_statusproc_closepfsockopenleakapache_child_terminateposix_killposix_mkfifoposix_setpgidposix_setsidposix_setuidescapeshellcmdescapeshellarghypotpg_hostposposix_accessposix_getcwdposix_getgidposix_getpidposix_getsidposix_getuidposix_isattyposix_killposi 

if i disabled them , could this make some errors in ldm ?

I don't think I'm using any of these. I've not checked whether the main vb code uses them.

Your list is truncated - not sure if there were other functions at the end.

PBX1 01-16-2008 07:29 PM

I don't know why, but my Link Manager has just stopped working. The initial page is there listing all the links, but when you choose one the links, a new window opens but it stays at my site. In the new window it sort of looks like the initial page but messed up and all the graphics on the page, such as my logo, are red x's, so I know it is some type of directory issue. Andrew, can you look at it here www.vmaxforum.net , to see if you can see any obvious problem? I'm not sure when this started as one the forum users pointed it out, but I haven't added or changed anything on the site for months.
Thanks!

AndrewD 01-17-2008 03:41 AM

Quote:

Originally Posted by PBX1 (Post 1422663)
I don't know why, but my Link Manager has just stopped working. The initial page is there listing all the links, but when you choose one the links, a new window opens but it stays at my site. In the new window it sort of looks like the initial page but messed up and all the graphics on the page, such as my logo, are red x's, so I know it is some type of directory issue. Andrew, can you look at it here www.vmaxforum.net , to see if you can see any obvious problem? I'm not sure when this started as one the forum users pointed it out, but I haven't added or changed anything on the site for months.
Thanks!

You've turned on the SEO friendly option in LDM, and I imagine that whatever back end you are using has changed.

LDM itself only modifiies the format of its displayed urls (from local_links.php?catid=xx to local_links.php/links/XX), and expects that Apache has been set up to deal with these.

PBX1 01-17-2008 02:13 PM

Quote:

Originally Posted by AndrewD (Post 1422866)
You've turned on the SEO friendly option in LDM, and I imagine that whatever back end you are using has changed.

LDM itself only modifiies the format of its displayed urls (from local_links.php?catid=xx to local_links.php/links/XX), and expects that Apache has been set up to deal with these.

OK, thank you, will turning off the SEO friendly option fix this problem or is there something else I'll need to do?

edit: never mind turning it off fixed the problem!:D Thanks again Andrew!:up:

Mighty.Karen 01-17-2008 07:19 PM

I apologize if this has been covered, but I've read through several hundred responses and just can't go on.

I didn't download and install this, but a co-worker who is a bit less computer savvy did. There is an issue I'm SURE is simple to fix, but it ain't a-happenin' at the moment.
We have our vBulletin secured. The file libraries accessed through the main navigation would always present the user with the standard IE "This page contains secure and nonsecure information....". I figured out that if I went into the admin (vBulletin Options/Site Name\URL\Contact Details) and tacked an "s" onto http of our forum URL, everything was lovely. Well, almost. Go into the Libraries and its fine, select a category, fine, but once you select an actual link: "Internet Explorer cannot download...."

If I make the url http, its fine. https, it throws up. What am I doing wrong here??

AndrewD 01-18-2008 03:46 AM

Quote:

Originally Posted by Mighty.Karen (Post 1423293)
I apologize if this has been covered, but I've read through several hundred responses and just can't go on.

I didn't download and install this, but a co-worker who is a bit less computer savvy did. There is an issue I'm SURE is simple to fix, but it ain't a-happenin' at the moment.
We have our vBulletin secured. The file libraries accessed through the main navigation would always present the user with the standard IE "This page contains secure and nonsecure information....". I figured out that if I went into the admin (vBulletin Options/Site Name\URL\Contact Details) and tacked an "s" onto http of our forum URL, everything was lovely. Well, almost. Go into the Libraries and its fine, select a category, fine, but once you select an actual link: "Internet Explorer cannot download...."

If I make the url http, its fine. https, it throws up. What am I doing wrong here??

How are you entering the actual filenames that LDM is controlling, and in what mode are you using LDM?

I assume that you are trying to use LDM to control access to files which are actually stored on your own server, lets say (for exaple) file.pdf in directory /abc on server https: // yoursite /

Are you setting up the entry URLs in the form a) /abc/file.pdf or in the form (perhaps) b) https: //yoursite /abc/file.pdf or (I assume not) c) http: //yoursite /abc/file.pdf

Internally, the first form is handled using standard file access routines (fopen, fread, etc). The second and third forms are handled *either* using the cURL library or using fopen, etc, via php's inbuilt protocol handlers. cURL is used automatically if is installed.

The recommended approach for local files would be format (a) and I can't see why there would be any problem. Format (b) should also work on a secure site - although it is some time since I tested this - but will certainly be significantly less efficient. Format (c) would be wrong on a secure site.

So, I recommend:
1) check the format of your LDM entry URLs (LDM/edit entry)
2) try using format (a) or (b)
3) if you really want to use format (b), try turning off cURL if necessary (LDM/admin/settings/force_fopen

If this doesn't help, get back to me

Mighty.Karen 01-18-2008 11:20 AM

We are using format (a) and cURL is turned off. I've fiddled with every setting and loaded several bogus files and still have the same issue. Fortunately, the original problem is just an annoyance, not a major problem. Right now, my plan is to poke around in the code and see if something isn't getting set properly (as we are also getting an error in IE "Unexpected call to method or property access" when the forum url is set to http, doesn't do it when its set to https). If I discover something else, I'll be back. Thanks for the suggestions.

AndrewD 01-18-2008 04:41 PM

Quote:

Originally Posted by Mighty.Karen (Post 1423712)
We are using format (a) and cURL is turned off. I've fiddled with every setting and loaded several bogus files and still have the same issue. Fortunately, the original problem is just an annoyance, not a major problem. Right now, my plan is to poke around in the code and see if something isn't getting set properly (as we are also getting an error in IE "Unexpected call to method or property access" when the forum url is set to http, doesn't do it when its set to https). If I discover something else, I'll be back. Thanks for the suggestions.

Just to confirm, my https test site handles local LDM dowloads just fine.

There are some interesting reports on the web about "Unexpected call to method or property access", which is a Javascript error.

Vinyljunky 01-21-2008 01:47 PM

Hello,

Is it possible to add an LDM search function under the default VB Navbar Search?

Or indeed a function that searches both :)

Andrew, I apologise if this has already been answered, I did search, honest!

I'm runnng 2.2.7

Thanks

VinylJunky

AndrewD 01-21-2008 03:19 PM

Quote:

Originally Posted by Vinyljunky (Post 1425850)
Hello,

Is it possible to add an LDM search function under the default VB Navbar Search?

Or indeed a function that searches both :)

Andrew, I apologise if this has already been answered, I did search, honest!

I'm runnng 2.2.7

Thanks

VinylJunky

I'll give this some thought - I'm working on the search integration into vb 3.7 at the moment.

Ipuck 01-22-2008 03:51 AM

Hello AndrewD

In my forum I have three administrators and all receives the bad link reports. Is there any way to have only one user to receive the bad link reports? Many of my users don't know how to download or open the files and they keep sending bad link reports.

Vinyljunky 01-22-2008 12:18 PM

Quote:

Originally Posted by AndrewD (Post 1425905)
I'll give this some thought - I'm working on the search integration into vb 3.7 at the moment.

Andrew,

I'd really appreciate that thank you. I suspect that many others would like the search function integrated within vb3.6.x

I cant see that I will be moving to vb3.7 for at least 6 months.

Have a good day :up:

VinylJunky


All times are GMT. The time now is 02:36 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.04061 seconds
  • Memory Usage 1,877KB
  • 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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