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 10-10-2006 04:03 PM

Quote:

Originally Posted by SherryG
Hi there,

I am a total newbie at this but seemed to have everything installed and working as it should. I do have one problem though. When I try to download a file, I'm getting the following error message:

Error - Cannot determine if you can access link: linkid,forumid= 2, 17

Can someone tell me how I might resolve this?

Thanks so much!
Sherry

Sherry, the error (which I agree is a bit cryptic) means that the entry with linkid 2 has been "associated" with a forum with forumid 17, but that forum no longer exists. Maybe you created an entry and then changed your forum structure?

Take a look in LDM/admin/categories/mass edit, and you'll get a list of all the entries in the category and an indication of any errors in forum association.

SherryG 10-10-2006 04:36 PM

Quote:

Originally Posted by AndrewD
Sherry, the error (which I agree is a bit cryptic) means that the entry with linkid 2 has been "associated" with a forum with forumid 17, but that forum no longer exists. Maybe you created an entry and then changed your forum structure?

Take a look in LDM/admin/categories/mass edit, and you'll get a list of all the entries in the category and an indication of any errors in forum association.

Hi Andrew - Thanks so much for your reply. I have fixed the above errors but now, when trying to download a file, I get 403 Forbidden.
:confused:

AndrewD 10-10-2006 05:34 PM

Quote:

Originally Posted by SherryG
Hi Andrew - Thanks so much for your reply. I have fixed the above errors but now, when trying to download a file, I get 403 Forbidden.
:confused:

Sorry to hear this. Maybe easiest is if I take a look at your board? If you like, send me a PM with details and an account/pwd with admin access to the board.

kkKunan 10-11-2006 03:52 AM

Very nice program! i like !!

I ave vbullettin 3.5.4 and vbseo install whit mod_revrite in action, can help me for revrite categori links, can mod the rewrite.txt


i ave this link my 1 category :
http://tattoo.tatuatori.com/local_links/links/1
result:
The requested URL /local_links/links/3 was not found on this server.

#############################

the correct page is at:
http://tattoo.tatuatori.com/local_links.php?catid=1


Thanks :bunny:

boxingscene 10-14-2006 10:38 PM

Quote:

Originally Posted by AndrewD
In case this is the same problem just solved on another site - have you installed the LDM 'id3-handles' extra in order to tag/scan mp3s?

If so - if you upload the getid3 code into the wrong place, you get this 'blank screen' bug when uploading files.

The getid3 subdirectory has to be directly in the forums directory:
yoursite->forums->getid3
Not, e.g.
yoursite->forums->getid3->getid3

For what it's worth!

I'm having the same problem on 3.6.1, only with MP3 files. Generating broken thumbs when no image is selected.

AndrewD 10-15-2006 05:50 AM

Quote:

Originally Posted by kkKunan
Very nice program! i like !!

I ave vbullettin 3.5.4 and vbseo install whit mod_revrite in action, can help me for revrite categori links, can mod the rewrite.txt


i ave this link my 1 category :
http://tattoo.tatuatori.com/local_links/links/1
result:
The requested URL /local_links/links/3 was not found on this server.

#############################

the correct page is at:
http://tattoo.tatuatori.com/local_links.php?catid=1


Thanks :bunny:

You can find information on setting up mod_rewrite for use with LDM at this page:

http://www.eirma.org/wikis/index.php/Hacking_LDM

AndrewD 10-15-2006 05:51 AM

Quote:

Originally Posted by boxingscene
I'm having the same problem on 3.6.1, only with MP3 files. Generating broken thumbs when no image is selected.

With which version of LDM?

boxingscene 10-15-2006 08:05 AM

Quote:

Originally Posted by AndrewD
With which version of LDM?

The latest version, using 2.2.5. I downloaded the id3 thinking it would fix the problem, but it didnt, stays the same.

The problem only happens when no image is selected. When an image is selected a thumb is created.

AndrewD 10-15-2006 10:39 AM

Quote:

Originally Posted by boxingscene
The latest version, using 2.2.5. I downloaded the id3 thinking it would fix the problem, but it didnt, stays the same.

The problem only happens when no image is selected. When an image is selected a thumb is created.


There is a problem with the automatic creation of thumbnails for mp3 files, certainly up to version 2.2.5. It varies depending on whether the site has installed the getid3 subdirectory from the LDM id3-handles extra in their forums directory or not. I'm sorry about that.

AS far as I can tell, I've fixed the problem with the final version of 2.2.6, which will be released soon.

Alfa1 10-15-2006 03:28 PM

I have recently upgraded to 2.2.5. The function to browse to a file one wants to upload seems gone. How can I get that back?

AndrewD 10-15-2006 04:00 PM

Quote:

Originally Posted by Alfa1
I have recently upgraded to 2.2.5. The function to browse to a file one wants to upload seems gone. How can I get that back?

It's still there. Nothing changed

Just check - have you got uploads enabled (LDM/admin/settings/uploads)

Alfa1 10-15-2006 04:03 PM

It's on.

AndrewD 10-15-2006 04:13 PM

Quote:

Originally Posted by Alfa1
It's on.

Then I'm lost - it works fine for me.

Can I take a look at your site?

Alfa1 10-19-2006 10:24 PM

Yes, please. I'll PM you.

uniquewebmaster 10-20-2006 05:10 AM

Hi,

Is their anyway to make a featured listings and paid submissions?

-Dan

AndrewD 10-20-2006 05:40 AM

Quote:

Originally Posted by uniquewebmaster
Hi,

Is their anyway to make a featured listings and paid submissions?

-Dan

Yes - LDM supports 'Favourites'. You can set it up so that certain users' Favourites are 'featured' sites, and you can control the number of featured sites that are displayed at the head of each listing. So, you can, for example, use the admin's favourites to mark the sites you wish to highlight.

Slave 10-20-2006 09:28 AM

Quote:

Originally Posted by AndrewD
Yes - LDM supports 'Favourites'. You can set it up so that certain users' Favourites are 'featured' sites, and you can control the number of featured sites that are displayed at the head of each listing. So, you can, for example, use the admin's favourites to mark the sites you wish to highlight.

or .. if you want to keep your favourites to yourself .. you could just use the display order ..

http://www.yaxleyvillage.com/local_links.php?catid=4

If you have a look at the above page, the top link has a display order of 0, while the other links have a display order of 1 and show in alphabetical order.

:)

uniquewebmaster 10-21-2006 06:14 AM

Quote:

Originally Posted by AndrewD
Yes - LDM supports 'Favourites'. You can set it up so that certain users' Favourites are 'featured' sites, and you can control the number of featured sites that are displayed at the head of each listing. So, you can, for example, use the admin's favourites to mark the sites you wish to highlight.

How would I go about this?

thanks

-Dan

AndrewD 10-21-2006 11:45 AM

Quote:

Originally Posted by uniquewebmaster
How would I go about this?

thanks

-Dan

a) Go to LDM/admin/settings/Featured Sites Settings

- enter the username(s) whose favourites will be used as featured sites (ajax enabled - after three characters, you get a prompt)
- enter the number of favourites to be displayed as featured sites.

b) as one of the selected users, go to LDM and set up the desired sites as favourites (hint - use the thumb icon if you've enabled icons in LDM)

You'll see a random selection of these sites on every LDM page.

zooki 10-25-2006 11:42 PM

I still have a problem from a few weeks back,

I moved to a new server and since then LDM does not work.

My files are in the right place, i have even upgraded my ldm, i get the following error:

Sorry - link is not currently available

Im really puzzled as to why i get this message. I hope you can help me. thanks

AndrewD 10-26-2006 05:20 AM

Quote:

Originally Posted by zooki
I still have a problem from a few weeks back,

I moved to a new server and since then LDM does not work.

My files are in the right place, i have even upgraded my ldm, i get the following error:

Sorry - link is not currently available

Im really puzzled as to why i get this message. I hope you can help me. thanks

Did you by any chance move from a server that was running Apache to one that is running Windows IIS with php in cgi mode? (You can find out on your VB/admincp home page.)

By default, IIS in cgi mode does not provide one of the location variables (DOCUMENT_ROOT) that LDM uses to find files on your local server.

If this is the problem, there are three possible solutions:
- get DOCUMENT_ROOT defined (I'm not an expert on configuring web servers, so get some advice or search on Gogle)
- upgrade to version 2.2.6 which fixes this problem - you have to make a small code change
- use the LDM admin settings local_file_root and local_file_root_ settings to get LDM pointed at the right place in your server file system.

If this is not the problem, send me a PM and I'm happy to take a look at your site.

zooki 10-26-2006 07:14 PM

Quote:

Originally Posted by AndrewD
Did you by any chance move from a server that was running Apache to one that is running Windows IIS with php in cgi mode? (You can find out on your VB/admincp home page.)

By default, IIS in cgi mode does not provide one of the location variables (DOCUMENT_ROOT) that LDM uses to find files on your local server.

If this is the problem, there are three possible solutions:
- get DOCUMENT_ROOT defined (I'm not an expert on configuring web servers, so get some advice or search on Gogle)
- upgrade to version 2.2.6 which fixes this problem - you have to make a small code change
- use the LDM admin settings local_file_root and local_file_root_ settings to get LDM pointed at the right place in your server file system.

If this is not the problem, send me a PM and I'm happy to take a look at your site.

HI, no im not on Windows server, it is a linux server. Although it is clustered.

i am not sure about local_file_root and local_file_root_settings

my files are in a folder off the root, so they are in a folder called files/

I get the following error:

The following setting(s) are invalid
upload_dir : /files
Directory /files (/mnt/Target01/var/www/files) doesn't exist and I can't create it

Its got the wrong address to my root... I know what the correct path should be, LDM is missing part of the address

how would i configer it? I have no clue either. :(

EDIT:
OK, i got it to work, what i did was edit the local_links_init.php ....... should i be editing the local_links_init.php ? what else can i use apart from the document_root? I tried adding a line underneath in the part you meant to define your own document root. It works now.

AndrewD 10-27-2006 04:51 AM

Quote:

Originally Posted by zooki
HI, no im not on Windows server, it is a linux server. Although it is clustered.

i am not sure about local_file_root and local_file_root_settings

my files are in a folder off the root, so they are in a folder called files/

I get the following error:

The following setting(s) are invalid
upload_dir : /files
Directory /files (/mnt/Target01/var/www/files) doesn't exist and I can't create it

Its got the wrong address to my root... I know what the correct path should be, LDM is missing part of the address

how would i configer it? I have no clue either. :(

EDIT:
OK, i got it to work, what i did was edit the local_links_init.php ....... should i be editing the local_links_init.php ? what else can i use apart from the document_root? I tried adding a line underneath in the part you meant to define your own document root. It works now.

I think you've probably taken the best approach. If the environment variable DOCUMENT_ROOT is not pointing at the right base directory for your site, then you'll et the problem you reported. Editing local_links_init.php is fine - just remember what you did in case you ever upgrade to a new version of LDM.

efil 10-29-2006 06:08 PM

Hi,
I get this message when i try to add a new link:

Quote:

Sorry - links to offsite downloads have been disabled. http://img140.imageshack.us/img140/9...nglish2zd3.jpg

AndrewD 10-29-2006 06:15 PM

Quote:

Originally Posted by efil
Hi,
I get this message when i try to add a new link:

Go to LDM/admin/settings/security and access controls

Check that allow_remote_downloads is on

efil 10-29-2006 07:19 PM

Thank you!

It's working.

mathias 01-07-2007 03:04 AM

I want to put the last 10 links on a non vb page how would I go about that?

AndrewD 01-07-2007 04:03 AM

Quote:

Originally Posted by mathias (Post 1152358)
I want to put the last 10 links on a non vb page how would I go about that?

So you need to grab them from the database? This sql grabs the last 10, most recent first.

Code:

SELECT
link.linkid AS linkid,
link.linkname AS linkname,
link.linkuserid AS linkuserid,
link.linkusername AS linkusername,
link.linkurl AS linkurl,
link.linkdesc AS linkdesc,
link.numrate AS numrate,
link.totrate AS totrate,
link.linkhits AS linkhits,
link.linksize AS linksize,
link.linkstatus AS linkstatus,
link.linkdate AS linkdate,
link.linkmoderate AS linkmoderate,
ltoc.catid AS linkcatid

FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc
ON link.linkid = ltoc.linkid

WHERE link.linkstatus>0

ORDER BY
linkdate DESC,
linkname ASC,
linkcatid ASC

LIMIT 10


mathias 01-13-2007 08:07 PM

Quote:

Originally Posted by AndrewD (Post 1152386)
So you need to grab them from the database? This sql grabs the last 10, most recent first.

Code:

SELECT
link.linkid AS linkid,
link.linkname AS linkname,
link.linkuserid AS linkuserid,
link.linkusername AS linkusername,
link.linkurl AS linkurl,
link.linkdesc AS linkdesc,
link.numrate AS numrate,
link.totrate AS totrate,
link.linkhits AS linkhits,
link.linksize AS linksize,
link.linkstatus AS linkstatus,
link.linkdate AS linkdate,
link.linkmoderate AS linkmoderate,
ltoc.catid AS linkcatid

FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc
ON link.linkid = ltoc.linkid

WHERE link.linkstatus>0

ORDER BY
linkdate DESC,
linkname ASC,
linkcatid ASC

LIMIT 10





kind of wanted to use html on a non vb page lol thats to complicated for me :)

mathias 01-21-2007 01:26 AM

is there also a way for me to set permissions on who can delete links like make mods?

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 07:19 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.12822 seconds
  • Memory Usage 1,867KB
  • 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_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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