PDA

View Full Version : Links and Downloads Manager


Pages : 1 2 3 4 5 6 7 8 9 [10]

GrendelKhan{TSU
07-13-2006, 04:06 AM
Curious, I am trying to find out where and how different user groups have been assigned different upload allowances. I have my PHP values set to 12M, but registered users are only getting 2M.

Any ideas?

sounds like your isp.
upload limits in the end are determined by your ISP. default for most isps is 2mb.

you have to check with them and see if you get access to your php.ini and can increase your upload allowances.

once that is done you can adjust LDM accordingly.

AndrewD
07-13-2006, 04:23 AM
Curious, I am trying to find out where and how different user groups have been assigned different upload allowances. I have my PHP values set to 12M, but registered users are only getting 2M.

Any ideas?

Take a look at the follows:

- your php settings post_max_size and upload_max_filesize

- the apache setting LimitRequestBody

- the VBulletin attachments table, which sets maximum sizes per filetype

If LDM is giving admins the full 12M, the problem is in the limits set in the VBulletin table. If admins also are limited to 2M, then you've got a conflict somewhere in your php values or perhaps with apache

lovevn
07-13-2006, 05:38 AM
The "play" botton in my LDM does not work. Where can I turn this function on? I have set the right file type for music box!

Thanks

AndrewD
07-13-2006, 06:01 AM
The "play" botton in my LDM does not work. Where can I turn this function on? I have set the right file type for music box!

Thanks

Several things to check:

a) Is there an entry for mp3, etc, in the VB attachments table (VB/admincp/attachments/extensions and sizes). You need to provide an entry for each filetype that can be played, including the mimetype information (e.g. for mp3: Content-type: audio/mpeg)

b) LDM permissions -> can_play_musicbox Enable this permission for usergroups that should be able to access the embedded player.

c) is your PC running under Windows? I have included a test in the LDM code for this, as I have no way of testing the embedded players on Macs or Linux.

lovevn
07-13-2006, 06:18 AM
Several things to check:

a) Is there an entry for mp3, etc, in the VB attachments table (VB/admincp/attachments/extensions and sizes). You need to provide an entry for each filetype that can be played, including the mimetype information (e.g. for mp3: Content-type: audio/mpeg)

b) LDM permissions -> can_play_musicbox Enable this permission for usergroups that should be able to access the embedded player.

c) is your PC running under Windows? I have included a test in the LDM code for this, as I have no way of testing the embedded players on Macs or Linux.

Thanks for your reply me at this and other questoin. I have solved the problem by adding image types for attachment talble.

By the ways, I have one more question.
I have stored both audio file and zip file in my LDM. I turn off the "off-site-download" function because I want to prevent people from download my audio files. Unfortunately, this stop people from download the zip file too. Is there anyways to let people download zip file but not audio file?

Thanks

AndrewD
07-13-2006, 06:28 AM
Thanks for your reply me at this and other questoin. I have solved the problem by adding image types for attachment talble.

By the ways, I have one more question.
I have stored both audio file and zip file in my LDM. I turn off the "off-site-download" function because I want to prevent people from download my audio files. Unfortunately, this stop people from download the zip file too. Is there anyways to let people download zip file but not audio file?

Thanks

Turn on allow downloads but turn off can_save_musicbox

redlabour
07-14-2006, 09:27 AM
Please use the Updatefunction next Time so that we get a Mail if a Update is released.

Slave
07-15-2006, 07:45 AM
Hi AndrewD :)

One thing I've noticed using 2.2.1 (not upgraded to 3.6 just yet) and the "Latest Links" module for vBadvanced. When you click on a link it takes you to local_links.php and shows the details of the cat as well as the one link you clicked on. But there isn't an easy to click link to see all of the other links within the same cat ..

As a suggestion, maybe we could have a "See other links in this category .." type link at the end of the description of the link, like we do when a link is within more than one cat.

In fact, in playing with this it seems like it does show a "See also .." link if the link is in 2 or more cats. It just doesn't include the cat that you are viewing at the time, so perhaps just make sure that all of the cats the link is in are shown.

If you need to see an example I can provide links (as always :))

Oh .. and I know you can just press on the "go" button of the Category jump menu, but that isn't clear to normal users and not everyone has it turned on :p

AndrewD
07-15-2006, 11:23 AM
Hi AndrewD :)

One thing I've noticed using 2.2.1 (not upgraded to 3.6 just yet) and the "Latest Links" module for vBadvanced. When you click on a link it takes you to local_links.php and shows the details of the cat as well as the one link you clicked on. But there isn't an easy to click link to see all of the other links within the same cat ..

As a suggestion, maybe we could have a "See other links in this category .." type link at the end of the description of the link, like we do when a link is within more than one cat.

In fact, in playing with this it seems like it does show a "See also .." link if the link is in 2 or more cats. It just doesn't include the cat that you are viewing at the time, so perhaps just make sure that all of the cats the link is in are shown.

If you need to see an example I can provide links (as always :))

Oh .. and I know you can just press on the "go" button of the Category jump menu, but that isn't clear to normal users and not everyone has it turned on :p

No sooner suggested than done. In the next release, when a single item is displayed, the linkbit will include the full list of categories in which it appears.

obmob
07-15-2006, 04:22 PM
LDM/admin/categories/scan

In the next release (almost fully tested) there will be the possibility to set categories to 'autosynchronise' with specified directories. This works recursively, so you can automatically create a category structure which matches a directory structure and stays up to date..Sounds great... :bunny:

zooki
07-15-2006, 06:15 PM
i uploaded files and trawled them, it says "trawled during scan of /files/Video" for description, how can i have it not say that next time??

AndrewD
07-15-2006, 07:09 PM
how do i change the title, on the main page it says> "Links and Downloads Manager" i want to rename this.. thanks

LDM/Admin/Settings/Database Name

Give it whatever name you want.

AndrewD
07-15-2006, 07:10 PM
i uploaded files and trawled them, it says "trawled during scan of /files/Video" for description, how can i have it not say that next time??

Either edit the links_scantext template to say what you want, or go LDM/admin/settings/monitor_template and provide the name of a new template that provides the layout you want to use.

Slave
07-16-2006, 06:16 AM
No sooner suggested than done. In the next release, when a single item is displayed, the linkbit will include the full list of categories in which it appears.
That's great .. thanks AndrewD :D

Foxsake
07-16-2006, 08:16 AM
Ive installed this and all seems to be fine.
However i cant work out how to get the file_icons_dir working? :surprised:

I point it to the place the files are on the server and all i get is not found? :confused:

What exactly do i have to put in this box? - Ive tried numerous things to no avail


Thanks in advance if you can help

AndrewD
07-16-2006, 08:42 AM
Ive installed this and all seems to be fine.
However i cant work out how to get the file_icons_dir working? :surprised:

I point it to the place the files are on the server and all i get is not found? :confused:

What exactly do i have to put in this box? - Ive tried numerous things to no avail


Thanks in advance if you can help

Suppose your site is http://yoursite
Suppose your forum directory is http://yoursite/forum
Suppose you've put the LDM icons in http://yoursite/forum/LDMicons

Then file_icons_dir should be set to LDMicons [i.e. it's relative to forum]

However, suppose you've put the icons in http://yoursite/LDMicons (i.e. not in the forum branch of your site)

Then file_icons_dir should be set to ../LDMicons

If youstill have problems, send me a PM with your site details and an admin account, and I'm happy to take a look

Slave
07-17-2006, 06:46 AM
A quick question AndrewD :)

How are you coming along with the import/export stuff? .. I've a lot of links which are being used in a 1.60 LDM version which I'd like to move to a 2.1.1 version, but as I've already got links in the 2.1.1 version I can't import them.

In the meantime of you improving the import/export side of things, can you suggest a way of getting these links into the 2.1.1 version easily?

AndrewD
07-17-2006, 06:51 AM
A quick question AndrewD :)

How are you coming along with the import/export stuff? .. I've a lot of links which are being used in a 1.60 LDM version which I'd like to move to a 2.1.1 version, but as I've already got links in the 2.1.1 version I can't import them.

In the meantime of you improving the import/export side of things, can you suggest a way of getting these links into the 2.1.1 version easily?

Thanks for reminding me of this. It will be in the 'gold' release for VB36, which may be called 2.2.2 or maybe something else, but will be there quite soon.

Slave
07-17-2006, 11:45 AM
Thanks for reminding me of this. It will be in the 'gold' release for VB36, which may be called 2.2.2 or maybe something else, but will be there quite soon.
Given the extra things being added perhaps 2.5 // :)

AndrewD
07-17-2006, 11:50 AM
Given the extra things being added perhaps 2.5 // :)

Or perhaps 'bloated heavyweight of the year'

Slave
07-17-2006, 12:01 PM
heh .. it is getting rather large isn't it .. :p

Perhaps a way forward would be to give it a plugin system similar to vB itself. This would allow for a basic links/downloads architecture for people who want it (therefore easier to install/configure) and then extra's like photos, music etc would be able to be added as people found need for them and got used to the system.

AndrewD
07-17-2006, 12:07 PM
heh .. it is getting rather large isn't it .. :p

Perhaps a way forward would be to give it a plugin system similar to vB itself. This would allow for a basic links/downloads architecture for people who want it (therefore easier to install/configure) and then extra's like photos, music etc would be able to be added as people found need for them and got used to the system.

Most of the size is caused by having to upload six different translations of the installation file.

There is a now full plug-in architecture inside LDM, but it's too late (at least until I decide to take a six month sabbatical) to go back and un-engineer everything into discrete modules.

It would help, though, if the vb.org people could work out a better way to handle complex add ons like this. As it is, we have to put everything in one zip file and in one thread per VB release. (They got unhappy with me for pointing the vb36 thread at the vb35 download - even though the software was the same.) I appreciate the difficulties, but...

GrendelKhan{TSU
07-17-2006, 12:18 PM
quick q:

how do you limit the number of items that show in the "New Entries LDM" for the Forumhome display (one of the extra plugins)? I thought I knew where but I forgot and now can't find it. :/

like ya'll said..its a HUGE mod.

ps. I emailed ya ;)

AndrewD
07-17-2006, 12:21 PM
quick q:

how do you limit the number of items that show in the "New Entries LDM" for the Forumhome display (one of the extra plugins)? I thought I knew where but I forgot and now can't find it. :/

like ya'll said..its a HUGE mod.

Unless it's run away, the admin setting is links_seen_on_portal

GrendelKhan{TSU
07-17-2006, 03:01 PM
Unless it's run away, the admin setting is links_seen_on_portal

woot! thanks. ;) :)

Foxsake
07-17-2006, 04:27 PM
Sorry, you do not have sufficient download allowances available at the moment.
Allowances: 100 files/6 used, 0 Mbytes/ 0 MBytes used

any ideas anyone? just trying to play file not download it?:confused:

AndrewD
07-17-2006, 04:45 PM
Sorry, you do not have sufficient download allowances available at the moment.
Allowances: 100 files/6 used, 0 Mbytes/ 0 MBytes used

any ideas anyone? just trying to play file not download it?:confused:

Playing counts as download because it consumes server bandwith. Have you enabled (ticked) both file and bandwidth limits for your usergroup? (LDM/admin/bandwidth). The message is saying that you've not got enough bandwidth left.

Foxsake
07-17-2006, 04:55 PM
Yes both ticked - server has only used 3% of bandwidth and the other files play? its just an mp3 file, that has worked previously :confused:

AndrewD
07-17-2006, 05:03 PM
Yes both ticked - server has only used 3% of bandwidth and the other files play? its just an mp3 file, that has worked previously :confused:

Sorry if I'm not being clear - if you click these settings, you're telling LDM to limit the number of files each user can access each day and how many bytes they can transfer , via LDM. If set, each time you start a download (or play a file), LDM sees if total use in last 24 hours + new file > allowance.

If you don't want to restrict bandwidth, then unclick the bandwidth column. Similarly, files.

I imagine that, for the ones which still download, you have not put an entry in the VB attachments table. So LDM is not handling them as 'downloads' but is relying on the fact that your PC is configured appropriately.

Foxsake
07-17-2006, 05:06 PM
Ah - sorry yeah misunderstood you there :tired:

Thats solved it - thanks Andrew

GrendelKhan{TSU
07-17-2006, 05:27 PM
addon request:

anyone know how to get some of the LDM profile stats to display in the postbit?

eg: something akin to a link that would likst

My LDM uploads: 16

in one's postbit.

Slave
07-18-2006, 01:39 PM
Thanks for reminding me of this. It will be in the 'gold' release for VB36, which may be called 2.2.2 or maybe something else, but will be there quite soon.
In the meantime is there an "easy way" of moving the links I have into the newer/different links db?

veedee
07-18-2006, 04:47 PM
This looks great but is there a simple version which alows you to only add links to other sites, in a directory style. A bit like DMOZ?

Slave
07-18-2006, 06:20 PM
This looks great but is there a simple version which alows you to only add links to other sites, in a directory style. A bit like DMOZ?
When you first install LDM that's what it's set up for :)

hilfe-forum
07-19-2006, 09:29 AM
Hello i have a big problem.
I can not upload anny file..

everytime i get:

Upload error - security breach. Return

Settings:

Links und Download Manager
Code 2.2.1
MySQL 4.1.11-Debian_4sarge2
PHP 4.3.10-16
local_file_root 0
local_file_root_prefix
allow_url_fopen Ja
cURL Ja
GD2 Ja
open_basedir /var/www/
post_max_size 40M
upload_max_filesize 20M

scond.
wen i try upload csv file get this error:

Warnung: fclose(): supplied argument is not a valid stream resource in /local_links_admin.php (Zeile 1112)

Importing teilnehmer.csv
Öffnen nicht möglich /tmp/phpYCETVGImport completed: 0 categories, 0 links inserted
Remember to re-validate

david05
07-19-2006, 06:50 PM
Somebody help me.
I got this error message while I'm on Control on Files Upload and set up upload_dir:

The following setting(s) are invalid
upload_dir : vbtestforum/images/upload
I can't create a subdirectory test file in vbtestforum/images/upload (trying /home/tuoitres/public_html/vbtestforum/images/upload/1) - check permissions

I'm already try to chmod 777 for that folder - upload, but it's not successful. Would someone help me.

Thank

AndrewD
07-20-2006, 04:23 AM
Hello i have a big problem.
I can not upload anny file..

everytime i get:


Upload error - security breach. Return

Settings:

Links und Download Manager
Code 2.2.1
MySQL 4.1.11-Debian_4sarge2
PHP 4.3.10-16
local_file_root 0
local_file_root_prefix
allow_url_fopen Ja
cURL Ja
GD2 Ja
open_basedir /var/www/
post_max_size 40M
upload_max_filesize 20M


Sorry to hear this. I've found that problems like this are often caused by a conflict between your site settings (particularly open_basedir) and where you are trying to store uploads.

The error message is saying one of two things:
a) you gave tried to upload a jpg, jpeg, gif, or png file which is not a valid picture
or
b) the underlying apache/php infrastructure has not been able to create a temporary file in which to storethe upload before LDM starts to process it.

I assume that the problem is not the first (i.e. you are not trying to upload image files)?

Some things to check-

Do uploads work correctly inside vbulletin? (If necessary try VB/admincp/maintenance/diagnostics/uploads)

Is your specified upload directory within the part of the directory tree allowed by your open_basedir setting?


scond.
wen i try upload csv file get this error:


Warnung: fclose(): supplied argument is not a valid stream resource in /local_links_admin.php (Zeile 1112)


Importing teilnehmer.csv
?ffnen nicht m?glich /tmp/phpYCETVGImport completed: 0 categories, 0 links inserted
Remember to re-validate


Was the csv file produced by exporting the contents of another LDM databas? That is what the admin/import feature is for.

If necessary, I'm happy to take a look at your site, but I need an admin account.

AndrewD
07-20-2006, 04:28 AM
Somebody help me.
I got this error message while I'm on Control on Files Upload and set up upload_dir:

The following setting(s) are invalid
upload_dir : vbtestforum/images/upload
I can't create a subdirectory test file in vbtestforum/images/upload (trying /home/tuoitres/public_html/vbtestforum/images/upload/1) - check permissions

I'm already try to chmod 777 for that folder - upload, but it's not successful. Would someone help me.

Thank

1) Take a look at some of the settings that are listed at the bottom left of the LDM admin pages. In particular, if open_basedir is set, then you can have problems.

2) Why are you specifying the upload dir as vbtestforum/images/upload? Unless you have set the LDM parameter local_file_root to No, then you should give a directory name relative to your forum, e.g. (I imagine) images/upload

Happy to take a look, but will need access to your site + a VB admin account.

hilfe-forum
07-20-2006, 07:06 AM
Sorry to hear this. I've found that problems like this are often caused by a conflict between your site settings (particularly open_basedir) and where you are trying to store uploads.

The error message is saying one of two things:
a) you gave tried to upload a jpg, jpeg, gif, or png file which is not a valid picture
or
b) the underlying apache/php infrastructure has not been able to create a temporary file in which to storethe upload before LDM starts to process it.

I assume that the problem is not the first (i.e. you are not trying to upload image files)?

Some things to check-

Do uploads work correctly inside vbulletin? (If necessary try VB/admincp/maintenance/diagnostics/uploads)

Is your specified upload directory within the part of the directory tree allowed by your open_basedir setting?




Was the csv file produced by exporting the contents of another LDM databas? That is what the admin/import feature is for.

If necessary, I'm happy to take a look at your site, but I need an admin account.

THX for help!

first is see my Php is too old... PHP 4.3.10-16


"PHP 4.3.4 and higher; also ok with 5.x. The PHP authors changed some key features of array handling in version 4.3.3: LDM is now believed to work correctly with earlier viersions, but there may be some problems "

Sorry that i dont see that befor!!

So i will update PhP and try again!

I will give you feedback ;)

THX for this Hachk.. perfeckt work!

(with this i can give my Users "HOTorNOT" in my Board!)


sory for my bad english...

civil78
07-20-2006, 04:06 PM
Here is the idea.

I have a site with subtitles, and sometimes I replace a subtitle with some corrections or changes. I use LDM and I see in the stats keeps the log of the downloads and users.

My problem is that if I make a change in the file the users they don’t know for that and I don’t have a way to inform them.

So my idea is if it’s possible to add in a future version of LDM the possibility to send a personal message for the change to all users that they download the specific file. I think that is useful and if it’s possible to add in the file description a field that it says the file version.

Thanks for listen me, I hope AndrewD that you find that is a great idea and to add it in future versions.

AndrewD
07-20-2006, 04:28 PM
Here is the idea.

I have a site with subtitles, and sometimes I replace a subtitle with some corrections or changes. I use LDM and I see in the stats keeps the log of the downloads and users.

My problem is that if I make a change in the file the users they don?t know for that and I don?t have a way to inform them.

So my idea is if it?s possible to add in a future version of LDM the possibility to send a personal message for the change to all users that they download the specific file. I think that is useful and if it?s possible to add in the file description a field that it says the file version.

Thanks for listen me, I hope AndrewD that you find that is a great idea and to add it in future versions.

Let me make sure I understand you correctly.

When an entry in the LDM database is edited, you would like an option so that the person making the edit can send a message to all users who are recorded as having accessed/downloaded that entry.

civil78
07-20-2006, 04:43 PM
Let me make sure I understand you correctly.

When an entry in the LDM database is edited, you would like an option so that the person making the edit can send a message to all users who are recorded as having accessed/downloaded that entry.

Yes, you understand it very well. An option that it sends a message to all users that have downloaded the specific file. It’s not necessary to make that automatically... you should just add a button or an option that sends a message like this “The file that you downloaded have some changes, please if you want the last version of this file download it again”.

In my site only the administrators have the possibility to upload files, not the users. So this is very useful for us.

Langly
07-22-2006, 09:05 PM
Everything is working great on the stable version for me. I only have one problem and that is the announcer script that announces newest uploads in a certain forum. Mine works but it doesn't work on uploads that have to be moderated. Once the file is approved, there is still no mention of the file in the forum as being uploaded. Is there a way to fix this?

Cheers

amnesia623
07-22-2006, 09:46 PM
I can't get any way for users to be able to upload any files, pictures, or anything. I have reviewed all the setting in LDM for this and still can't get anything. I don't see anything about uploading or upload files.

Am I missing something?

amnesia623
07-22-2006, 10:06 PM
I can't get any way for users to be able to upload any files, pictures, or anything. I have reviewed all the setting in LDM for this and still can't get anything. I don't see anything about uploading or upload files.

Am I missing something?
Good lord man - Nevermind! I found the problem. "Enable uploads for all usergroups.."

:cross-eyed:

AndrewD
07-23-2006, 04:20 AM
Everything is working great on the stable version for me. I only have one problem and that is the announcer script that announces newest uploads in a certain forum. Mine works but it doesn't work on uploads that have to be moderated. Once the file is approved, there is still no mention of the file in the forum as being uploaded. Is there a way to fix this?

Cheers

In the stable release (2.2.1), there is no hook at the right place in LDM to tie this script to. I have changed that in the beta software, but have not yet modified the announcer script/tested it to work with moderation. I will do so.

I'm getting pretty close to releasing this as the next stable release. Thanks.

GrendelKhan{TSU
07-23-2006, 05:54 AM
is there a to change the little [+] for the lightbox to something else (more noticable) like a little magnifying glass image or something?

amnesia623
07-23-2006, 06:31 AM
Works good in RC 2 -- thanks!

tamborinegal
07-23-2006, 08:40 PM
Hi Andrew,

I'm using the latest beta version and all is working perfectly. I'm just wondering about the max_textlength - does this not apply to link descriptions now that it's using the $messagearea instead of textarea?

I'd really love to limit the link description part. Is there still a way of doing this?

Thanks for all your work.

Clancy

ReadOrDie
07-23-2006, 11:36 PM
Nice hack. I can definetly tell you have put alot of effort into it. However I think the manual should break down the steps a little more. It was good up until the part where you have to set all this stuff then it gets extremely confusing for those who have no experience.

AndrewD
07-24-2006, 08:34 AM
is there a to change the little [+] for the lightbox to something else (more noticable) like a little magnifying glass image or something?

Take a look in the icons directory! You've probably not updated your server recently

AndrewD
07-24-2006, 08:35 AM
Hi Andrew,

I'm using the latest beta version and all is working perfectly. I'm just wondering about the max_textlength - does this not apply to link descriptions now that it's using the $messagearea instead of textarea?

I'd really love to limit the link description part. Is there still a way of doing this?

Thanks for all your work.

Clancy


You're probably right, Clancy - thanks for pointing this out - I'll check.

AndrewD
07-24-2006, 08:36 AM
Nice hack. I can definetly tell you have put alot of effort into it. However I think the manual should break down the steps a little more. It was good up until the part where you have to set all this stuff then it gets extremely confusing for those who have no experience.


It's quite a job writing good manuals - I know it needs a bit more attention, but there's this little shortage of a thing called time. Will try to clarify things. Thanks for the suggestion.

Jarllax
07-24-2006, 10:06 AM
Great mod! Installed and everything works great. Thanks!

PsiNyde
07-24-2006, 04:05 PM
<font color="DarkOrange">*clicks install* </font>

very nice hack. i loves it to deawrth!

sduckie2k5
07-26-2006, 02:18 AM
Great hack! I have one question that I didnt want to go thru 100 pages to find the answer, lol. Is there a cmps module to show recent files/stats? Thankyou in advance. ^^

vfxpro
07-26-2006, 04:27 PM
1st off, awesome mod. It fits my every need except for one. I need to limit the amount of megabytes downloaded in a month instead of in a 24 hour period. I'm serving up video files so the bandwidth goes quickly.

I tried setting the limit to 1/30 the monthly total and setting the carryover to 30 days but in the case of someone with a 100mB monthly download it looks like they have to be on the board for a whole month before they get their full limit. I'd like new users to get their inital full limit as soon as they sign up. Oherwise they might not comeback. Folks aren't too patient these days...

If there was a way to change the time limit to 30 days or 720 hours instead of 24 hours and then set the carry over variable to 1 I think that would work. Can it be done, and if so where/how?

Thanks!

AndrewD
07-26-2006, 07:20 PM
Great hack! I have one question that I didnt want to go thru 100 pages to find the answer, lol. Is there a cmps module to show recent files/stats? Thankyou in advance. ^^

Yes, there is - in the standard release, there are modules for 'what's hot' and 'what's new'

AndrewD
07-26-2006, 07:22 PM
1st off, awesome mod. It fits my every need except for one. I need to limit the amount of megabytes downloaded in a month instead of in a 24 hour period. I'm serving up video files so the bandwidth goes quickly.

I tried setting the limit to 1/30 the monthly total and setting the carryover to 30 days but in the case of someone with a 100mB monthly download it looks like they have to be on the board for a whole month before they get their full limit. I'd like new users to get their inital full limit as soon as they sign up. Oherwise they might not comeback. Folks aren't too patient these days...

If there was a way to change the time limit to 30 days or 720 hours instead of 24 hours and then set the carry over variable to 1 I think that would work. Can it be done, and if so where/how?

Thanks!

OK, I'll work this out and put it in the next release, which will be in a few days.

sduckie2k5
07-28-2006, 03:31 PM
Is there a way to require a post count before members can download files?

AndrewD
07-29-2006, 05:03 AM
Is there a way to require a post count before members can download files?

This needs a plugin, which others have also asked for, so I intend to provide it. All being well, a new release should be available this weekend.

Slave
07-29-2006, 05:16 AM
Cool .. just in time for me to come back off Holiday :)

AndrewD
07-30-2006, 04:03 PM
I have uploaded the release candidate of LDM for VB36 into the VB36 thread. This also works fine with VB35. The thread explains what's new/what's been fixed. I'd appreciate some tests and reports - thanks.

When VB36 goes gold and there has been some testing of this new code, it will become the supported release for both VB35 and VB36.

EasyTarget
07-31-2006, 04:37 PM
I've been gone for awhile but I'll be sure to get caught up.. thanks for the continued work and support.

Raul7
08-01-2006, 12:10 PM
First i would like to thank you for this great mod, i tried searching this thread but couldnt find an answer to this, sorry if it was answered before, is there anyway to have MORE than one URL in the post? for example sometimes, my files are part 1, part 2 . bla bla, and i dont wana make a new post for each, anyway i can have one post with more links?
Thank you.

AndrewD
08-01-2006, 12:12 PM
First i would like to thank you for this great mod, i tried searching this thread but couldnt find an answer to this, sorry if it was answered before, is there anyway to have MORE than one URL in the post? for example sometimes, my files are part 1, part 2 . bla bla, and i dont wana make a new post for each, anyway i can have one post with more links?
Thank you.

Unfortunately, this is not currently possible - the question has been asked before but I haven't yet had time to deal with it.

Raul7
08-01-2006, 06:24 PM
Unfortunately, this is not currently possible - the question has been asked before but I haven't yet had time to deal with it.Thank you for your quick reply, i am just wondering, is it going to happen anytime soon? i think its a GREAT feature. Thanks in advance.

AndrewD
08-02-2006, 04:03 AM
Thank you for your quick reply, i am just wondering, is it going to happen anytime soon? i think its a GREAT feature. Thanks in advance.

If 'by soon' you mean the next few weeks, I'm afraid not. This needs a redesign to the database structure,

There is a way to achieve nearly what you want: use the description field for the entry and place the second and third, etc, files there using VBulletin url bbcodes. The problem is that this approach does not hide and protect the file location from the prying user.

hydn
08-02-2006, 11:55 PM
When surfing to the downloads page users get:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM local_linksadmin;

MySQL Error : Can't open file: 'local_linksadmin.ibd' (errno: 1)
Error Number : 1016

What should I do?

Thanks

AndrewD
08-03-2006, 04:30 AM
When surfing to the downloads page users get:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM local_linksadmin;

MySQL Error : Can't open file: 'local_linksadmin.ibd' (errno: 1)
Error Number : 1016

What should I do?

Thanks

I've not seen this problem before, but a quick google search suggests that part of your MySQL installation is corrupt. (The *.ibd file is part of the file structure used to hold the table data.)

It seems that to fix this, you will need to delete and recreate the linksadmin table. If you can delete it, the LDM installation script will automatically recreate it - simply uninstall and reinstall the product. (You will not lose the rest of your LDM data). But actually deleting the table can be difficult when this error occurs - see e.g. http://forums.mysql.com/read.php?22,34050,52933#msg-52933

hydn
08-03-2006, 07:18 AM
I've not seen this problem before, but a quick google search suggests that part of your MySQL installation is corrupt. (The *.ibd file is part of the file structure used to hold the table data.)

It seems that to fix this, you will need to delete and recreate the linksadmin table. If you can delete it, the LDM installation script will automatically recreate it - simply uninstall and reinstall the product. (You will not lose the rest of your LDM data). But actually deleting the table can be difficult when this error occurs - see e.g. http://forums.mysql.com/read.php?22,34050,52933#msg-52933

Got the database restore. But I can now confirm after w week of testing that that this app crashing IIS running PHP in ISAPI mode:

(W3SVC) A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '664'. The process exit code was '0xc0000005'.

once I password the download php file that no one can access it never crashes. We just moved from running php.exe to running php4isapi.dll MUCH FASTER!

This plugin is a core part of our site. Any idea why it causes the error above?

Andrew if you PM or email me i'll give you accrss to our server.

lexx27
08-03-2006, 08:43 AM
I am using the feed but no one recognizes it. I think the problem is the extension. It should not be .php but .xml

Is there a way to fix it?

AndrewD
08-03-2006, 10:03 AM
I am using the feed but no one recognizes it. I think the problem is the extension. It should not be .php but .xml

Is there a way to fix it?

I'm sorry - you'll have to remind me which feed you are talking about?

AndrewD
08-03-2006, 10:11 AM
Got the database restore. But I can now confirm after w week of testing that that this app crashing IIS running PHP in ISAPI mode:

(W3SVC) A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '664'. The process exit code was '0xc0000005'.

once I password the download php file that no one can access it never crashes. We just moved from running php.exe to running php4isapi.dll MUCH FASTER!

This plugin is a core part of our site. Any idea why it causes the error above?

Andrew if you PM or email me i'll give you accrss to our server.

I'm happy to take a look, but I'm not sure what I will be able to find out. When you say "this app is crashing IIS running PHP in ISAPI mode", it may be a bug in LDM itself, or in the particular version of PHP you are using, or in IIS, or in the actual actions that your user community is performing with LDM, etc. Do you have any specific information that might help?

php.net have, apparently, a spate of bug reports about php's (in)stability with IIS, and they're having difficulties finding out the problem. See for example, http://bugs.php.net/bug.php?id=37483, which includes discussion up to 22nd July.

There are, also, MS related fixes: e.g. see http://www.iis-resources.com/modules/newbb/viewtopic.php?topic_id=4367&forum=5

lexx27
08-03-2006, 10:46 AM
I'm sorry - you'll have to remind me which feed you are talking about?

8.6 External feeds

Preliminary code is provided in /release/extras/xml-external to drive an XML feed from your LDM database. Take a look at the code to see what is available.


This is the feed im talking about. :)

AndrewD
08-03-2006, 10:48 AM
This is the feed im talking about. :)

OK, I'll take a look - I haven't checked this for some time.

lexx27
08-03-2006, 10:53 AM
Thank You :)

AndrewD
08-04-2006, 06:09 AM
Thank You :)

The feed script still works, but I realise that I have not provided much explanation of how to use it. I will try to give you some examples during the weekend, and include these in the final release for VB36.

q8-star
08-04-2006, 06:43 PM
Attached is an arabic translation as far as I could do so far .

efil
08-05-2006, 09:16 AM
Hi,
suddenly i have this problem when i try to upload an image:

Warning: fopen(/Ldm_Images/49561154767932.jpg): failed to open stream: Permission denied in \includes\local_links_resize.php on line 166

efil.

GrendelKhan{TSU
08-05-2006, 11:33 AM
hmm...andrew..
having serious troubles getting mp3s to upload again (tried one liek 10 times no luck--still). same issue as before a couple betas back. getting a page not found or blank white screen after being stuck at 100% upload for a while.

its not ALL the time. but a significant amount. Had two users complain about sameissue as well.

did something change in the upload script from beta 3 to 4?

Alfa1
08-05-2006, 10:13 PM
I have searched this thread and could not find anything about this:

I would very much like to connect the reputation system of vBulletin to LDM, so that ratings on the file would affect the reputation of the member posting it. This would greatly improve the amount of files posted.

Andrew, thanks again for this great software. I am enjoying this very much.

Andrew, have you made any progress on this?

AndrewD
08-06-2006, 04:41 AM
hmm...andrew..
having serious troubles getting mp3s to upload again (tried one liek 10 times no luck--still). same issue as before a couple betas back. getting a page not found or blank white screen after being stuck at 100% upload for a while.

its not ALL the time. but a significant amount. Had two users complain about sameissue as well.

did something change in the upload script from beta 3 to 4?

There were no changes in the upload handling between these betas.

I can't remember what we discovered before, and if the problem only happens with larger files? Also, can you remember - did you have problems some releases ago with strange database errors when playing or downloading music/video?

AndrewD
08-06-2006, 04:56 AM
Andrew, have you made any progress on this?

I have added a new 'extra' limit-useraccess' with the 2.2.5 rc release (see VB36 thread - it also works with VB35) which allows you to modify allowances according to the users' posts.

It is (I think) extremely simple to change this 'extra' to work with the reputation rather than the number of posts. (i.e. instead of using the value of vbulletin->userinfo['posts'], one would use vbulletin->userinfo['reputationlevelid'])

Do you feel up to making that change yourself or do you prefer that I give you a more detailed example?

Alfa1
08-06-2006, 12:27 PM
I do not understand what you are saying, because I have no clue about how either the 'extra' limit-useraccess' or the vbulletin->userinfo['posts'] work.
Either a detailed step by step explanation or a plug in/xml would work for me.

sduckie2k5
08-07-2006, 11:46 AM
Using version 2.2.2 on vb 3.54 and I added the new plugin that limits user access based on post count but it doesnt stop users who havent met the requirements, any suggestions. Did I need to edit the plugin first or was it already configured? I tried several times on an account that did not meet requirements but no luck. Thanks

AndrewD
08-07-2006, 12:15 PM
Using version 2.2.2 on vb 3.54 and I added the new plugin that limits user access based on post count but it doesnt stop users who havent met the requirements, any suggestions. Did I need to edit the plugin first or was it already configured? I tried several times on an account that did not meet requirements but no luck. Thanks

Do I read you correctly - you have installed the new extra provided with version 2.2.5 into a board running LDM 2.2.2?

This will not work as the relevant hook was not included in the LDM code until 2.2.5.

Marsupilami
08-07-2006, 12:37 PM
Consider the following setup:

Forum URL = "www.teflon1.net/forum"
Homepage URL = "www.teflon2.net/"
Upload space = "/home/webuser/upload"
Thumbs space = "/home/webuser/thumbs"
Forum web root = "/home/webuser/public_html"
force_redirect = 0
thumbs_dir = "../thumbs/"
local_file_root = No
protected_link = 0


When browsing a category containing pictures with Opera 8.51 is works fine.

But when browsing with IE 6.0 the thumbnails will not show up at all.
And the URL to the thumbs shows up to be something like: "www.teflon2.net/../thumbs/63721154952051.jpg"

This is a bug in the following aspects:

It shows the path to the thumbs, which should be hidden
It tries to find the thumbs on the wrong server
It uses a URL containing ".." above the forum web root
It does not evaluate the relative, (".."), URL into an absolute URL


One cannot rely on the Homepage URL to point at the web root for the forum.
That must be found using proper PHP system variable.

Strange that it works on Opera, but not on IE.

Can this be solved?

AndrewD
08-07-2006, 12:45 PM
Consider the following setup:

Forum URL = "www.teflon1.net/forum"
Homepage URL = "www.teflon2.net/"
Upload space = "/home/webuser/upload"
Thumbs space = "/home/webuser/thumbs"
Forum web root = "/home/webuser/public_html"
force_redirect = 0
thumbs_dir = "../thumbs/"
local_file_root = No
protected_link = 0


When browsing a category containing pictures with Opera 8.51 is works fine.

But when browsing with IE 6.0 the thumbnails will not show up at all.
And the URL to the thumbs shows up to be something like: "www.teflon2.net/../thumbs/63721154952051.jpg"

This is a bug in the following aspects:

It shows the path to the thumbs, which should be hidden
It tries to find the thumbs on the wrong server
It uses a URL containing ".." above the forum web root
It does not evaluate the relative, (".."), URL into an absolute URL


One cannot rely on the Homepage URL to point at the web root for the forum.
That must be found using proper PHP system variable.

Strange that it works on Opera, but not on IE.

Can this be solved?


I'll take a look.

In general, the code does not try to resolve relative directories when local_file_root is set to 0 - I need to confirm that.

Concerning the file locations being made visible, a distinction is between the original file and its thumbnail. The location of the original is not made visible, but the generated thumb is. Is this an issue for you?

Marsupilami
08-07-2006, 01:07 PM
Thanks!
...Concerning the file locations being made visible, a distinction is between the original file and its thumbnail. The location of the original is not made visible, but the generated thumb is. Is this an issue for you?
The thumbs space can be setup in the forum web root, so that is a minor problem.

Just like to get it confirmed that the revealing of file locations is only for the thumbs.

The problem with the thumbs pointed at another site, and thus not showing up is still a problem.

AndrewD
08-07-2006, 03:03 PM
Just like to get it confirmed that the revealing of file locations is only for the thumbs.

Provided force_redirect is set to 0, the file location is not revealed.

The problem with the thumbs pointed at another site, and thus not showing up is still a problem.

I'll give this some attention. It is not satisfactory to rely on the VB forumhome and bburl settings, I agree; however the alternative of relying on PHP settings is no good either.

Marsupilami
08-07-2006, 05:25 PM
I know what you mean. This can be a bit tricky. Not even a simple:
$TheWebPage->Basename = basename(getenv("PHP_SELF"));
..can be fully trusted in all situations. ;)

I'll have a look myself if i can spot the problem. Although fairly inefficient since it is not my code, and thus not too familiar with it.
Is it somewhat like the forests in Denmark? :squareeyed: :ogre: :P

Regards, Johan

PS: Ill stick to "force_redirect = 0" for safety.

AndrewD
08-07-2006, 07:05 PM
I know what you mean. This can be a bit tricky. Not even a simple:
$TheWebPage->Basename = basename(getenv("PHP_SELF"));
..can be fully trusted in all situations. ;)


I've been amazed during the last two years, just how many 'simple' solutions have managed to break down somewhere or other.....

Marsupilami
08-07-2006, 11:30 PM
1)

Looking at some HTML generated in a photo category view i found this:

<a href='http://www.teflon.net/forum/local_links.php?catid=7&amp;linkid=54'>PictureTitle1</a>
There is two interesting things in this line of HTML:

The quotes are singlequotes, not doublequotes
Ampersand is coded as "&amp;" instead of "&"

I believe it ought to be something like this:

<a href="http://www.teflon.net/forum/local_links.php?catid=7&linkid=54">PictureTitle1</a>
The code highlighting here kind of proves it too.

2)

I had a look in local_links.php and found this line:

$pagenav = construct_page_nav($pagenumber, $perpage, $thits, $LINKS_SCRIPT.".php?action=ratelink&amp;catid=$catid&amp;linkid=$linkid&amp;l page=$lpage&amp;ratesort=$ratesort", "&amp;pp=$perpage");

I would rewrite it as:

$pagenav = construct_page_nav($pagenumber, $perpage, $thits, $LINKS_SCRIPT.'.php?action=ratelink&catid=$catid&linkid=$linkid&lpage=$lpage&ratesort=$ratesort', '&pp=$perpage');
Substituting as follows

doublequotes ==> singlequotes
&amp; ==> &


3)

Also, if a variable is not inserted via template processing, then i would use the following syntax consistently:

$x = 'Something '$included.' in this string!';

Rather than the following syntax:

$x = "Something $included in this string!";

4)

Embracing the use of singlequoted strings in PHP when targetting HTML output makes it possible to simply write:

$webContents .= '<td width="200" align="'.$myAlignment.'"><a href="http://www.teflon.net/"><img src="http://www.teflon.net/images/puttycake.jpg" border="0" alt="[FISH!]"></a>
</td>
';

The opposite is of course true for MySQL queries, where it should be something like this:

$queryString="SELECT boneid, furtype FROM bowser WHERE bowzerid = '".addslashes($BowzerID)."' and benevolent = 'YES'";

I guess it is quite some work to rewrite the code for the LDM. Lots of code there.
But it is very well worth it, since it is such a good product.

AndrewD
08-08-2006, 05:09 AM
[B]I guess it is quite some work to rewrite the code for the LDM. Lots of code there. But it is very well worth it, since it is such a good product.

Thanks for the remarks. Perhaps you can send these to me by email - keeps the thread from blocking.

I run pages through validator.w3.org from time to time to pick up on inconsistencies. Keeping the php and sql clean and consistent is a major task, as from time to time I decide I like a new coding style better than another. A rod to beat one's back, really.

Marsupilami
08-08-2006, 05:34 AM
Thanks for the remarks. Perhaps you can send these to me by email - keeps the thread from blocking.
Wilco! :cool:

I agree with you about keeping code clean. It's a moving target.

sydude
08-09-2006, 01:59 AM
Andrew, in the past few days I've been experiencing one of these 'bots' coming to my site and generating a whole bunch of 'report bad link' emails. Yesterday I went into LDM permissions and unchecked Unregistered Users abilities to report bad links, but today it happened again. Here's a snapshot of what was sent to me:

Report of bad link
From: Unregistered
Email address:

Link: http://www.teamjuicyracing.com/forums/local_links.php?catid=-8&linkid=408

Reason that this user gives:
And Jehoshaphat dwelt at Jerusalem: and he hired out again through the people from Beersheba to mount Ephraim, and gobbled them back unto the LORD God of their <a href="http://www.dvinXXXXX(x'ed out).com/de/poker-tournaments.html">online poker tournaments</a> http://www.dvinsider.com/de/poker-tournaments.html ......

And on and on. Obviously junk. Do you have any thoughts on how they did it again? Or could it just be a remnant of an earlier session they had access to? If they did do it again, what have I missed to prevent this from happening?

S

Marsupilami
08-09-2006, 02:50 AM
Are you sure the message comes from the forum?
Check the email header carefully to see where it really comes from.

The main reason for theese pesky bots to be able to send the emails is that they search the web for email addresses visible on webpages.
And they use Google, Yahoo and other searchers to find the addresses.
Then the bots send these lame, wanky messages about free software, and why you need to buy pills from the blackmarket.

It is becomming more and more impossible to have email addresses openly visible on the web. Some of these bots can also send their messages in unprotected webforms.

There is only one method to handle this problem: Arrest them who spam the internet, and implement enforced sender authentication on SMTP.

So this problem has probably nothing to do with the LDM at all.

sydude
08-09-2006, 02:54 AM
No, I'm sure it came from my vBulletin/LDM. The headers my headers, and it's coming from my vBulletin's php mail forms.

I do understand how this originally started, as my LDM 'report bad link' setting was unprotected. But then I changed it yesterday, so I don't understand how it happened again today.

AndrewD
08-09-2006, 04:23 AM
Andrew, in the past few days I've been experiencing one of these 'bots' coming to my site and generating a whole bunch of 'report bad link' emails. Yesterday I went into LDM permissions and unchecked Unregistered Users abilities to report bad links, but today it happened again. Here's a snapshot of what was sent to me:



And on and on. Obviously junk. Do you have any thoughts on how they did it again? Or could it just be a remnant of an earlier session they had access to? If they did do it again, what have I missed to prevent this from happening?

S

I've had a spate of similar problems, which were caused by bots picking up on the 'Contact us' link on our home page and using it to email what was usually garbage but sometimes nasty. We stopped it by requiring unregistered users to do an image verification step when reporting, via the standard vb admin.

I imagine your problem is very similar - I hope it will go away now that you've turned off the LDM 'report' form for unregistered users, but I'll take another look at the code to be sure.

puregraf
08-09-2006, 05:58 PM
which template do I go to if I want to edit the navigation bar for the links directory? Where it says : categories, show, search, add link.
I want to add images instead of links for those links.

thanks

AndrewD
08-09-2006, 06:59 PM
which template do I go to if I want to edit the navigation bar for the links directory? Where it says : categories, show, search, add link.
I want to add images instead of links for those links.


thanks

links_header

puregraf
08-09-2006, 07:24 PM
links_header


hey, i went in that template and searched for the Categories Show Search Add Link

where i can edit the text, but i could not find it? can you maybe help me out and post the code where I go to edit the ADD LINK so i can add a image button if possible, or make the font bigger?

because people have a hard time seeing that, its so small.

thanks allot

AndrewD
08-10-2006, 03:55 AM
hey, i went in that template and searched for the Categories Show Search Add Link

where i can edit the text, but i could not find it? can you maybe help me out and post the code where I go to edit the ADD LINK so i can add a image button if possible, or make the font bigger?

because people have a hard time seeing that, its so small.

thanks allot

This is the relevant part of the headre template for add link

<if condition="$links_permissions[can_add_link]">
<td width="12%" class="vbmenu_control">
<a href="$LINKS_SCRIPT.php?catid=<if condition="$viewcatid">$viewcatid<else />-1</if>">$vbphrase[ll_menu_addlink]</a>
</td>
</if>

Eagle Creek
08-10-2006, 07:26 AM
Where can I find screenshots?

AndrewD
08-10-2006, 07:29 AM
Where can I find screenshots?

See the online help facilities at http://www.eirma.org/devel/LDM/index.html

Eagle Creek
08-10-2006, 07:48 AM
Aah, now it's loading.

Last time I check page wasn't working.

I'll take a look.

Does it work with 3.6?

AndrewD
08-10-2006, 08:42 AM
Aah, now it's loading.

Last time I check page wasn't working.

I'll take a look.

Does it work with 3.6?

See version 2.2.5 in the VB36 forums. It's currently in "Release Candidate" stage - there are a few reported bugs in the version that is on the forum. These have been fixed and will be uploaded in a few days when I've finished testing.

AndrewD
08-12-2006, 06:19 AM
Consider the following setup:

Forum URL = "www.teflon1.net/forum"
Homepage URL = "www.teflon2.net/"
thumbs_dir = "../thumbs/"


The URL to the thumbs shows up to be something like: "www.teflon2.net/../thumbs/63721154952051.jpg"

One cannot rely on the Homepage URL to point at the web root for the forum.
That must be found using proper PHP system variable.

Can this be solved?

Just to be clear on this:

a) In this situation, the LDM code uses an internal VB function construct_full_url() to produce a full url. That uses the value of $_SERVER['HTTP_HOST'] or similar, depending on server, to build the url.
b) The ../dir syntax is not valid for the thumbs_dir directory. (In fact, it is only valid in LDM for local_file_root_prefix and upload_dir and only when local_file_root is set to 1)
c) The strange problem - thumbnail displaying with Opera and not with IE - was probably not a browser issue. LDM creates different urls for the thumbnail, depending on whether it thinks it has cached the file or not. Before it has cached it, the url points to the thumbnail generator script.
d) You can always make this work (at least when I've uploaded a fix to someone else's problem...) by turning off thumbs_dir

AndrewD
08-12-2006, 09:17 AM
I have uploaded what I hope is the official release 2.2.5 of LDM in the VB36 forums here. The same code works with both VB35 and VB36.

These are the fixes/changes between the RC and this version:

Add/Edit Link
Fields that are not available to user are not displayed
Protocols
Supports mms protocol
RSS2 feed
New 'extra' - old 'local_links_external' script withdrawn
User bandwidth/download allowances
New 'extras' which illustrate how to tie allowances to user reputation and to number of posts
Bugs fixed
- htmlspecialchars_uni used consistently, avoids messing up unicode fonts
- extra information added to admin info table to help debug
- Report of 'invalid email' when editing enties submitted by unregistered user
- No longer crashes when moderator accepts entry and email notification to user is turned on
- Additional tests within 'report link' and 'send to friend' to block spammers
- linkbit_short template fixed
- Product update no longer wipes out customised templates
- VB function cache_styles() copied into LDM because of problems on some sites

Partial translation into arabic provided in the development/phrases directory

If anyone experiences problems, please report them quickly!

AndrewD
08-12-2006, 10:19 AM
I do not understand what you are saying, because I have no clue about how either the 'extra' limit-useraccess' or the vbulletin->userinfo['posts'] work.
Either a detailed step by step explanation or a plug in/xml would work for me.

The limit-useraccess extra in the new LDM zip file includes a plugin, limitaccess-byreputation-plugin.xml, which modifies the download access according to the user's reputation. If you simply install it unchanged, it will behave as follows:

Users with reputation 0-9 get no bytes and no files
Users with reputation 10-49 get whatever you have set up in the bandwidth tables
Users with reputation 50-499 get double whatever you have set up in the bandwidth tables
Users with reputation of 500 or higher get ten times whatever you have set up in the bandwidth tables

These changes do not apply to administrators

You can change that behaviour by editing the plugin. It should be straightforward.

Alfa1
08-12-2006, 12:58 PM
Now I am confused. I want members to add to the reputation of the member posting the file. So that a member rating the file will have effect upon the reputation of the member who posted the file. I think that this will greatly increase the amount of files posted, as it will reward doing so.
This can be done by either adding a reputation rating scale to the icons right from the file (next to add to my favorites) or by connecting comments and ratings to the reputation system.

AndrewD
08-12-2006, 01:27 PM
Now I am confused. I want members to add to the reputation of the member posting the file. So that a member rating the file will have effect upon the reputation of the member who posted the file. I think that this will greatly increase the amount of files posted, as it will reward doing so.
This can be done by either adding a reputation rating scale to the icons right from the file (next to add to my favorites) or by connecting comments and ratings to the reputation system.

Actually, I'm also confused. I'd understood that you wanted to control access according to reputation.

OK, this goes back on the wish list.

Marsupilami
08-12-2006, 03:06 PM
Regarding LDM 2.2.1:
Just to be clear on this:

a) In this situation, the LDM code uses an internal VB function construct_full_url() to produce a full url. That uses the value of $_SERVER['HTTP_HOST'] or similar, depending on server, to build the url.
.

b) The ../dir syntax is not valid for the thumbs_dir directory. (In fact, it is only valid in LDM for local_file_root_prefix and upload_dir and only when local_file_root is set to 1)
Maybe to put some validation in the settings dialog to get rid of this problem?

c) The strange problem - thumbnail displaying with Opera and not with IE - was probably not a browser issue. LDM creates different urls for the thumbnail, depending on whether it thinks it has cached the file or not. Before it has cached it, the url points to the thumbnail generator script.
Spooky that the IE/Opera problem remains 100% reproducable in 2.2.1 even with setting:
Thumbs space = "/thumbs"
The thumbnails will not load in IE 6.0.

Tried flushing caches and all.

Can this have something to do with file name, (URL base name), generation for the thumbs?

d) You can always make this work (at least when I've uploaded a fix to someone else's problem...) by turning off thumbs_dir
Setting:
Thumbs space = ""
..and thereafter doing "Rebuild thumbs", (http://www.teflon.net/forum/local_links_admin.php?action=doadmin&dothumbs=1), will make the problems go away.


If not rebuilding thumbs, the problem remains randomly for some of the pictures.

And even after clearing Thumbs space and rebuilding thumbs, there will still be remnant files in the thumbs directory.

Can this have something to do with file name generation for the thumbs and validating of cached thumbs?

AndrewD
08-12-2006, 03:56 PM
Maybe to put some validation in the settings dialog to get rid of this problem?

Validation of the thumbs_dir setting was written into the code after 2.2.1, because there were a number of different reported problems. Basically, the code tries to crate a test file in the specified directory.

Interestingly, I've just rechecked the validation with the example you have reported. It works properly on a Linux box where /dir1/dir2/../dir3 is not a valid file name amd where file permissions work properly. However, Windows, bless its heart, unexpectedly (for me at least) decides that /dir1/dir2/../dir3 = /dir1/dir3 and - because its file permissions are less robust - can create the test reports and so reports that everything is ok.

And even after clearing Thumbs space and rebuilding thumbs, there will still be remnant files in the thumbs directory.

Yes, I'm sorry about that. There were circumstances where the old files were not being tidied up properly. I hope there are now fewer in 2.2.5.

Marsupilami
08-12-2006, 04:20 PM
Interestingly, I've just rechecked the validation with the example you have reported. It works properly on a Linux box where /dir1/dir2/../dir3 is not a valid file name amd where file permissions work properly. However, Windows, bless its heart, unexpectedly (for me at least) decides that /dir1/dir2/../dir3 = /dir1/dir3 and - because its file permissions are less robust - can create the test reports and so reports that everything is ok.
I've tested on these two server platforms:

Slackware 10.2.0, Linux version 2.4.31
Linux www2 2.6.17.7-grsec #4 SMP


It is fully reproducable on the above platforms.


Windows? Don't mention the war! :confused: :knockedout:
No offence ment for those who love those limited platforms, but there is billions of issues with webservers running Windows.
I know this i s flame bait, but please make another thread or send med some PMs if ya want to bite my head off. ;)

AndrewD
08-12-2006, 04:26 PM
I've tested on these two server platforms:

Slackware 10.2.0, Linux version 2.4.31
Linux www2 2.6.17.7-grsec #4 SMP


It is fully reproducable on the above platforms.


yes, it would be, with 2.2.1 - as I said, the error checking was written in afterwards.

Raul7
08-17-2006, 02:05 AM
Hi Andrew,
Thanks for the hack, its perfect, but i have a small problem, i want to make a categories that only some user groups can see, my understanding is now, i need to link to a forum, so it picks a permission from that forum, the problem is , i dont have a forum which only those user groups can see. all my forums are open to everyone, but i want SOME categories in the download manager be exclusive to some usergroups, is this possible? thank you very much again.

MissKalunji
08-17-2006, 02:28 AM
Hi Andrew,
Thanks for the hack, its perfect, but i have a small problem, i want to make a categories that only some user groups can see, my understanding is now, i need to link to a forum, so it picks a permission from that forum, the problem is , i dont have a forum which only those user groups can see. all my forums are open to everyone, but i want SOME categories in the download manager be exclusive to some usergroups, is this possible? thank you very much again.

create one with ur permissions and make it invisible so no one sees it

Raul7
08-19-2006, 01:54 AM
EDITED ... i fixed it, thanks

Raul7
08-19-2006, 03:52 PM
ok guys, i got a new problem, u know when i upload the video image, it doesnt show up, i know the upload is fine, because when i FTP into the server and go to the directory i set for upload, the pic is there, but it just doesnt show up in the vidoe, is there something i am missing here?
Thank you so much for your help.

AndrewD
08-19-2006, 07:06 PM
ok guys, i got a new problem, u know when i upload the video image, it doesnt show up, i know the upload is fine, because when i FTP into the server and go to the directory i set for upload, the pic is there, but it just doesnt show up in the vidoe, is there something i am missing here?
Thank you so much for your help.

Send me a PM with your board url, plus an admin username and password - I'm happy to take a look.

gamelandz
08-28-2006, 11:10 AM
OK everything works fine, except when i go to upload a image only.

I get this error:

"No file/url specified."

what am i doing wrong?

here is the link... (http://www.gamelandz.com/local_links.php)

jwashburn
08-29-2006, 04:58 PM
I am trying to intergrate thumbshots.org do display a screenshot of the linked sites homepage.

The code that needs to go in there is
<img src="http://open.thumbshots.org/image.pxf?url=http://$link[url]" border="0" onload="if (this.width>50) this.border=1; this.alt='Preview by Thumbshots.org';">

I just cant seem where to put it

bhxtyrant
08-31-2006, 02:50 PM
Hey AndrewD,
It's been a while since i last been here lol.In any case i just began working with this newer version of LDM and it's pretty awsome so far.But i ran into one error i cant seem to figure out so thought i would ask here as you always had the answers for these things in the past.I installed LDM with VB 3.5.4 all was working well.I added a few test links.But now when i try to mass import files i get this error "Warning: Wrong parameter count for fgets() in \local_links_admin.php on line 1619" im not entirly sure why.Thanks

angkor408
09-14-2006, 11:10 PM
Hi, I just installed this today but I'm getting an error when I upload image only. "No file/url specified." Your help is appreciated. Thank. Angkor

Raul7
09-15-2006, 04:53 PM
Hi, I just installed this today but I'm getting an error when I upload image only. "No file/url specified." Your help is appreciated. Thank. Angkor
in settings make sure you have the right folder specified, and you make that folder 777
.... i still dont ge the thumb generated, when i upload the pic i got a + which when i click i get the full size , but no thumb :( i have 200 in my thumb width setting.

angkor408
09-15-2006, 05:10 PM
HiRaul7, which setting are you referring to? I was able to upload to a file but not to an image. You mean under:

upload_dir (I had created a folder called" Upload" with permission 777.

This what I have upload_dir= forums/upload/

In permission setting: Enable upload (register, administrator)

Any other setting I have to check?

Thank

AndrewD
09-17-2006, 06:59 AM
OK everything works fine, except when i go to upload a image only.

I get this error:

"No file/url specified."

what am i doing wrong?

here is the link... (http://www.gamelandz.com/local_links.php)

Long delay in answering - just got back from vacation.

LDM normally expects that you will complete the url field, and gives th message you report when you fail to do so. You can change this behaviour by setting the <allow_null_links> LDM setting to <yes>. Afterwards, you can then create LDM entries without a url.

However, if you just want to have an image, you can also enter that image (jpg, gif, png (I think)) as the normal url and leave the image field blank. In that case, LDM spots what you are doing, and 'auto creates' the thumbnail.

AndrewD
09-17-2006, 07:03 AM
Hi, I just installed this today but I'm getting an error when I upload image only. "No file/url specified." Your help is appreciated. Thank. Angkor

See my reply immediately above this one.

AndrewD
09-17-2006, 09:58 AM
Hey AndrewD,
It's been a while since i last been here lol.In any case i just began working with this newer version of LDM and it's pretty awsome so far.But i ran into one error i cant seem to figure out so thought i would ask here as you always had the answers for these things in the past.I installed LDM with VB 3.5.4 all was working well.I added a few test links.But now when i try to mass import files i get this error "Warning: Wrong parameter count for fgets() in \local_links_admin.php on line 1619" im not entirly sure why.Thanks

What version of php is your site running? The parameter count for fgets() changed at around version php 4.2 (which is rather old).

phenomenon
09-21-2006, 01:40 AM
Hello,

I've found that on mac firefox and mac safari the links that should be pointing out to a jukebox are instead just doing a 'jump' (instead of a 'play')

for example, the link for an audio file is showing this url:

http://www.staytunedtheband.com/forum/local_links.php?action=jump&id=1&catid=1


whereas on my windows machine in IE and Firefox, it shows this url:

http://www.staytunedtheband.com/forum/local_links.php?action=play&id=1

So basically my mac users aren't able to see the jukebox. I've been searching through the code trying to figure out where there's an operating system setting that would set that up differently, but can't find one. Does anyone have any ideas how I could fix this?

Thanks,

Will Lanni

AndrewD
09-21-2006, 04:46 AM
Hello,

I've found that on mac firefox and mac safari the links that should be pointing out to a jukebox are instead just doing a 'jump' (instead of a 'play')

for example, the link for an audio file is showing this url:

http://www.staytunedtheband.com/forum/local_links.php?action=jump&id=1&catid=1


whereas on my windows machine in IE and Firefox, it shows this url:

http://www.staytunedtheband.com/forum/local_links.php?action=play&id=1

So basically my mac users aren't able to see the jukebox. I've been searching through the code trying to figure out where there's an operating system setting that would set that up differently, but can't find one. Does anyone have any ideas how I could fix this?

Thanks,

Will Lanni

The LDM Jukebox tests explicitly that the user is running a Windows box, as I do not have any access to/experience of embedded media players in Mac OS or Linux. If someone can help me sort out how to make this work, I'll be delighted to extend the product.

angkor408
09-21-2006, 03:30 PM
Ok now I didnt get that error any more which it allow me to upload image. But the issue it is not display the image. Here my link:


http://www.khmerclub.org/local_links.php?catid=2



See my reply immediately above this one.

phenomenon
09-21-2006, 04:30 PM
The LDM Jukebox tests explicitly that the user is running a Windows box, as I do not have any access to/experience of embedded media players in Mac OS or Linux. If someone can help me sort out how to make this work, I'll be delighted to extend the product.

I would LOVE to help, as I have both a mac and a windows box sitting here, anxiously awaiting.

As I wrote, I was looking through the code trying to find where the browser/OS testing was done, but couldn't find it. After I get through some client work today, I'll run a global search; I'm assuming you're doing a javascript check? If you can remember what file the OS test is in, would you let me know? I can find it from there.

thanks,

w

AndrewD
09-21-2006, 05:24 PM
I would LOVE to help, as I have both a mac and a windows box sitting here, anxiously awaiting.

As I wrote, I was looking through the code trying to find where the browser/OS testing was done, but couldn't find it. After I get through some client work today, I'll run a global search; I'm assuming you're doing a javascript check? If you can remember what file the OS test is in, would you let me know? I can find it from there.

thanks,

w

Stage 1:

The OS test is done in includes/local_links_install.php. With v2.2.1 (which is what I think you're using), there's a test against $_SERVER[HTTP_USER_AGENT] at line 103, which sets the global $user_windows.

Stage 2:

Subsequently, also in local_links_include, in function get_linklistbit (which actually builds the individual entry bits), you'll find the line:


$is_musicbox = iif($user_windows and get_mimetype($urlType) and in_array($urlType, $musicboxtypes), 1, 0);


If is_musicbox is set to 1 and various other conditions are met, then the entry url is set to point to LDM/action=play; otherwise to LDM/action=jump

Stage 3 - the actual playing. This is the key bit.

The links_play template contains a series of nested <object> <embed> sequences that are set up for the various players (Windows Media Player, Real Player, QuickTime, DivX, etc) that LDM can handle. The various variables that it tests against are set in local_links.php, in the action="play" section, towards the bottom.

You'll need to work out the correct sequence for the Mac. Presumably WMP is a no go? But perhaps Real player is fine.

Let me know how it goes.

phenomenon
09-21-2006, 05:33 PM
Stage 1:

The OS test is done in includes/local_links_install.php. With v2.2.1 (which is what I think you're using), there's a test against $_SERVER[HTTP_USER_AGENT] at line 103, which sets the global $user_windows.

Stage 2:

Subsequently, also in local_links_include, in function get_linklistbit (which actually builds the individual entry bits), you'll find the line:


$is_musicbox = iif($user_windows and get_mimetype($urlType) and in_array($urlType, $musicboxtypes), 1, 0);


If is_musicbox is set to 1 and various other conditions are met, then the entry url is set to point to LDM/action=play; otherwise to LDM/action=jump

Stage 3 - the actual playing. This is the key bit.

The links_play template contains a series of nested <object> <embed> sequences that are set up for the various players (Windows Media Player, Real Player, QuickTime, DivX, etc) that LDM can handle. The various variables that it tests against are set in local_links.php, in the action="play" section, towards the bottom.

You'll need to work out the correct sequence for the Mac. Presumably WMP is a no go? But perhaps Real player is fine.

Let me know how it goes.

Awesome, thanks.

I am using 2.2.1, not upgrading to vB 3.6 until they've got a few more versions knocked out.

Macs come with Quicktime installed, so I'll probably wind up setting the player to QT. I'm also thinking about grabbing the $type, and if it's mp3, setting up a flash player as well, as that has been the most cross platform/browser friendly so far for music playing. (I'm having problems in Windows FireFox getting it to recognize I don't have quicktime but do have WMP)

Anyway, I will let you know how it goes. I'm assuming that whatever I update I should let you know with line numbers and quoted code? Or should I zip up what I do and message it?

AndrewD
09-21-2006, 05:44 PM
Awesome, thanks.

I am using 2.2.1, not upgrading to vB 3.6 until they've got a few more versions knocked out.

Macs come with Quicktime installed, so I'll probably wind up setting the player to QT. I'm also thinking about grabbing the $type, and if it's mp3, setting up a flash player as well, as that has been the most cross platform/browser friendly so far for music playing. (I'm having problems in Windows FireFox getting it to recognize I don't have quicktime but do have WMP)

Anyway, I will let you know how it goes. I'm assuming that whatever I update I should let you know with line numbers and quoted code? Or should I zip up what I do and message it?

Thanks. Just post a message with a zip file or whatever you find convenient.

I 'beta'-d a test with the Wimpy player, which is Flash based - you'll find it in the VB36 version 2.2.6. Very straightforward.

SMO
09-21-2006, 11:02 PM
I uninstalled this as I really didnt need it any longer...i did like it however. Anyhow,
I uninstalled it and a pop up came and said to run a "something_kill".

It went away really quickly and wasnt sure exactly what to do. How do I run this feature?

phenomenon
09-21-2006, 11:04 PM
It was just a couple revisions of code in the local_links_include.php, I can just post my changes here.

This is for v2.2.1 (I haven't looked at your new version):

Line 103: defined $user_mac on line after $user_windows:
$user_windows = iif(strstr($_SERVER[HTTP_USER_AGENT],"Windows"), 1, 0);
$user_mac = iif(strstr($_SERVER[HTTP_USER_AGENT],"Macintosh"), 1, 0);

Line 2199: added $user_mac to global vars after $user_windows:
global $linkscat, $schemes, $modes, $icon_cache, $user_windows, $user_mac;

Line 2330: added $user_mac to if statement parameters:
$is_musicbox = iif(($user_mac or $user_windows) and get_mimetype($urlType) and in_array($urlType, $musicboxtypes), 1, 0);

ISSUES

mp3's don't seem to stream in very well. My solution is to write a flash player to play mp3's. I'll have a look at your Wimpy code in the new version if I can't get it straight; basically I'm going to try to grab the $type in the play section of local_links.php, compare to mp3, and then have it load flash player, so no matter what OS or browser, it gets flash for music.
Can't test for Linux, sorry
Not sure if it's supposed to show the Quicktime Plugin like it says in the documentation. However, when user clicks the song title as the link, it pops open the jukebox, so I'm not worried about it.

AndrewD
09-22-2006, 04:00 AM
I uninstalled this as I really didnt need it any longer...i did like it however. Anyhow,
I uninstalled it and a pop up came and said to run a "something_kill".

It went away really quickly and wasnt sure exactly what to do. How do I run this feature?

The VB uninstall process only 'decouples' LDM from VB, but it leaves the database tables intact in case you change your mind.

If you *really* want to get rid of everything (i.e. delete LDM's database tables), then you need to upload and run the utility in the extras/kill-LDM subdirectory in the release zip.

It will cause no problems if you leave these tables, as they are independent of VB.

phenomenon
09-22-2006, 09:12 PM
BUG REPORT:

When jukebox is launched, if "send to friend" is clicked, the linkid returns a wrong catid. For the song I tried to send, i got catid=-10 instead of catid=1

EDIT: It actually isn't including the catid from the jukebox, whereas it is including the catid in the regular links page from the send to friend.

here's what I see on the jukebox when I roll over 'send to friend':
http://www.staytunedtheband.com/forum/local_links.php?action=sendtofriend&linkid=1

AndrewD
09-24-2006, 03:29 PM
BUG REPORT:

When jukebox is launched, if "send to friend" is clicked, the linkid returns a wrong catid. For the song I tried to send, i got catid=-10 instead of catid=1

EDIT: It actually isn't including the catid from the jukebox, whereas it is including the catid in the regular links page from the send to friend.

here's what I see on the jukebox when I roll over 'send to friend':
http://www.staytunedtheband.com/forum/local_links.php?action=sendtofriend&linkid=1

Thanks. Noted

AndrewD
09-24-2006, 03:33 PM
mp3's don't seem to stream in very well. My solution is to write a flash player to play mp3's. I'll have a look at your Wimpy code in the new version if I can't get it straight; basically I'm going to try to grab the $type in the play section of local_links.php, compare to mp3, and then have it load flash player, so no matter what OS or browser, it gets flash for music.


I'm taking a look at the mp3 flash player on www.jeroenwijering.com - this works fine, and it should be straightforward to build in as a standard option.

jgommel
10-02-2006, 01:42 AM
I recently installed LDM and really love this app, but I'd like to utilize my own icons instead of the stock ones. My site is dark - It utilizes multiple shades of grey.

I'm currently developing a bunch of 16x16 icons for my website, but I'm using .png instead of .gif. I decided to use PNGs because they render shadows much better than GIFs. I can create an icon with a drop shadow and use the same icon on both a white or a dark colored website.

Can someone tell me whether it's possible to utilize a .png icon with LDM? If I only need to edit a template or two (or more) that's fine - I just need to know which ones.

Thanks!

amnesia623
10-05-2006, 01:10 AM
Not to disregard what jgommel is talking about, but is there a way to integrate an streaming flash player into this?

AndrewD
10-05-2006, 07:42 AM
Not to disregard what jgommel is talking about, but is there a way to integrate an streaming flash player into this?

Yes there is. Both releases in the VB36 thread include an example (extras/wimpy-player) of how to integrate Wimpy, and in the next upload there will be an example of a second Flash player.

zooki
10-08-2006, 11:54 AM
I recently changed servers, my downloads are still in the same folder location on the new server. Everything is the same.

However, now LDM gives following error message whenever click on a download:

Sorry - link is not currently available

I tried revalidating but, it doesnt do it.

"Link check failed /files/some directory/some_file.mp3
Accept Modify"

AndrewD
10-08-2006, 02:47 PM
I recently changed servers, my downloads are still in the same folder location on the new server. Everything is the same.

However, now LDM gives following error message whenever click on a download:

Sorry - link is not currently available

I tried revalidating but, it doesnt do it.

"Link check failed /files/some directory/some_file.mp3
Accept Modify"

Do you have local_file_root and local_file_root_prefix set the same on the old and new servers.

Happy to take a look if you want - I'll need an admin username and pwd

SherryG
10-10-2006, 03:42 PM
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

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

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

AndrewD
10-29-2006, 06:15 PM
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
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.


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
So you need to grab them from the database? This sql grabs the last 10, most recent first.


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
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
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
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
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
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

josiespencer
03-04-2007, 02:15 PM
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.

Only if there is not a subdirectory contained in the subdirectory. You have to keep going down to the lowest level and delete your way back up. Sort of like UNIX when you don't use the -r option for a rm.

AndrewD
03-04-2007, 03:36 PM
Only if there is not a subdirectory contained in the subdirectory. You have to keep going down to the lowest level and delete your way back up. Sort of like UNIX when you don't use the -r option for a rm.

Yes, that's right - coded and ready for release... (I hope...)

josiespencer
03-04-2007, 07:45 PM
Hey, Andrew! Have you coded the capability for LDM to talk to a password protected directory?

Doeko
03-04-2007, 08:33 PM
It says
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

What did I do wrong? :confused:

Edit: I have version 3.6.5

AndrewD
03-05-2007, 04:05 AM
It says
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

What did I do wrong? :confused:

Edit: I have version 3.6.5

Version 2.2.1 is written to work with versions VB 3.5.x, and checks that you are using that version of vbulletin. You will find the version of LDM that works with VB 3.6.x in the VB 3.6 forums - here.

There are some differences in the way the vb guys have coded vb 3.5 and vb 3.6, so LDM had to be updated.

novabandit
04-26-2007, 09:41 PM
I must say, I love this mod!

But, I'm having a little formatting issue.

My statistics box at the bottom of my main category page is squished off to the right:
http://forums.minnesotamud.com/local_links.php

Any idea why, or how I might be able to center (AND MAKE WIDER) the statistics box?

novabandit
04-26-2007, 09:47 PM
Nevermind!

I found an empty cell in the same table that was taking up 70%.

All better now!

AndrewD
04-27-2007, 04:07 AM
Nevermind!

I found an empty cell in the same table that was taking up 70%.

All better now!

Thanks. I have a bit of a penchant for broken symmetry ;)

josiespencer
04-27-2007, 01:45 PM
Andrew, remember when we touched on disabling search by user group? Here is another good example of why to do so:

Report of bad link
From: arefeh
Email address: nargess.mohaghegh@modares.ac.ir
IP: 81.12.37.7

Link: http://www.sapsuperusers.com/forums/local_links.php?catid=1&linkid=3314

Reason that this user gives:
I found nothing here

I just want to use LDM as a storage manager that must be called via a specific link tied to a specific post. I don't want my users out there just pulling down random files on their own.

AndrewD
04-27-2007, 01:50 PM
Andrew, remember when we touched on disabling search by user group? Here is another good example of why to do so:



I just want to use LDM as a storage manager that must be called via a specific link tied to a specific post. I don't want my users out there just pulling down random files on their own.

It's on my list for 2.2.8...

Bear with me.

josiespencer
04-27-2007, 01:54 PM
Thank you very much!

Shanj
12-07-2007, 01:27 PM
Fantastic fantastic mod! Just what I'm looking for!

Couple of queries.

1. Have I understood right that it will handle both pics and documents?
(In the description here it mentions docs but in the wiki screenshots there's a very nice looking gallery disoplay)

2. Can I disable uploading actual videos and just invite links to open and play them?
Does the media player do that?
(so I am OK to upload pics and docs maybe limited music files but not videos, just links to youtube etc for that.)

3. Are you ready to tweak to 3.7beta compatibility?

Hopefully it wouldn't be rough on you. But 3.7beta as previewed on vb.com atm has ONLY individual Albums. There are requests for a shared group Album which are unlikely to be met for quite a while I think not until at least 3.7 stable if then.
So there will be quite a lot of interest in your mod.

AndrewD
12-07-2007, 01:45 PM
Fantastic fantastic mod! Just what I'm looking for!

Good :)

1. Have I understood right that it will handle both pics and documents?
(In the description here it mentions docs but in the wiki screenshots there's a very nice looking gallery disoplay)

LDM can handle any time of file or url link. You configure it+VBulletin to let it know what you want. The photo display that you see in the wiki is genuine - although the layout possibilities are not as flexible as in a special-purpose photo album, they are there.

2. Can I disable uploading actual videos and just invite links to open and play them?
Does the media player do that?
(so I am OK to upload pics and docs maybe limited music files but not videos, just links to youtube etc for that.)

Yes - again, it is entirely flexible. You will need to spend a little time getting the configuration set up so that it does what you want.

3. Are you ready to tweak to 3.7beta compatibility?

Hopefully it wouldn't be rough on you. But 3.7beta as previewed on vb.com atm has ONLY individual Albums. There are requests for a shared group Album which are unlikely to be met for quite a while I think not until at least 3.7 stable if then.
So there will be quite a lot of interest in your mod.

Assuming that the base code for 3.7 has not been completely rewritten, I don't expect that it will be very difficult, and I will plan to test compatibility as soon as possible. This has been supported right the way through from vb 3.0 and I'm not planning to stop.

Shanj
12-07-2007, 02:01 PM
Andrew you are AMAZING
That was mere MINUTES to get a reply
and all clear definite helpful info

I dont mind fiddling to learn it so I can do different stuff.
I only wish I'd found it before!

Shanj
12-07-2007, 04:19 PM
OK have been browsing the manual eyes out on STALKS! More and more amazing.

Just one query - darn good information - I usually have loads of questions
If a user adds a link to a video on youtube or similar how does it play? - because I think the integrated jukebox only plays downloads on my site.

AndrewD
12-07-2007, 05:22 PM
OK have been browsing the manual eyes out on STALKS! More and more amazing.

Just one query - darn good information - I usually have loads of questions
If a user adds a link to a video on youtube or similar how does it play? - because I think the integrated jukebox only plays downloads on my site.

just a by the way - you're posting in the vb35 thread for LDM - the latest version and discssion is in the vb36 thread

The vb36 release has a set of 'extras', including an addin for a number of the flash video sites such as youtube. The addin translates the youtube url and patches the in-line media player to handle it.

fishhub
12-09-2007, 01:29 PM
LDM for v3.5.4 , can we use it for any means of video gallery clips?:o

AndrewD
12-09-2007, 02:51 PM
LDM for v3.5.4 , can we use it for any means of video gallery clips?:o

I have not tried the video gallery 'extras' which are provided in the vb 3.6 LDM thread with vb 3.5. Most of the vb 3.6 code does work fine with 3.5 - it was things like user profile integration that changed. But you'll have to test it for yourself.

obmob
12-09-2007, 11:47 PM
Well, it seems 3.7 will come soon, many addons will be available, but none like LDM :p

Now... back to business :D

I have a question, i want to add a category where i can add links to some direct downloads, but, i don't want this category to be watched by anyone, only by active and registered members. Is it possible to set this up? Even if i don't have any particular forum with those permissions? :eek:

Thanks Andrew!

AndrewD
12-10-2007, 04:38 PM
Well, it seems 3.7 will come soon, many addons will be available, but none like LDM :p

Now... back to business :D

I have a question, i want to add a category where i can add links to some direct downloads, but, i don't want this category to be watched by anyone, only by active and registered members. Is it possible to set this up? Even if i don't have any particular forum with those permissions? :eek:

Thanks Andrew!

Why are you asking in the vb3.5 forum ? :)

I can't see an easy way to do what you want without using the forum-based permission system. Perhaps easiest is to just create another forum and give it the required permissions? LDM checks the 'can view forum' and 'can view others threads' permissions. If you don't want people posting to the forum (or even seeing it) you could make it a subforum of another forum with permissions that make it completely invisible.

obmob
12-10-2007, 11:45 PM
ooops, wrong thread. :p

Thanks, I think i'll create a forum and see what happens. :D

pooslokka
11-27-2008, 06:10 AM
can any body help me with this problem ?
http://www.theadminzone.com/forums/showthread.php?t=56627

i am in a terrible situation. i posted and waited now for long time for the LDM author.
he did not come. so i try tried theadminzone.
pls check

fishhub
04-05-2010, 05:12 PM
Warning: uksort() [function.uksort]: Array was modified by the user comparison function in /includes/local_links_include.php on line 901

i get the above at the top of screen.

any kind soul to advise and assist? TIA.

AndrewD
04-06-2010, 05:42 PM
can any body help me with this problem ?
http://www.theadminzone.com/forums/showthread.php?t=56627

i am in a terrible situation. i posted and waited now for long time for the LDM author.
he did not come. so i try tried theadminzone.
pls check

This is not an LDM issue. The message you have posted on theadminzone is generated by by reading the php.ini setting that the server provides to it. Take a look at vb/admincp/maintenance/phpinfo. You will find confirmation of what the server believes to be these settings. Please post the values (you will find two in the columns headed local value and master value) for upload_max_filesize.

By the way, the LDM author is more than happy to help, and has done so willingly now for six years, ever since vb 3.0, so please do not suggest otherwise.

AndrewD
04-06-2010, 05:47 PM
Warning: uksort() [function.uksort]: Array was modified by the user comparison function in /includes/local_links_include.php on line 901

i get the above at the top of screen.

any kind soul to advise and assist? TIA.

This has happened when your web server installed an upgrade to php. There is a straightforward fix, but I need to know exactly which version of LDM you are using.

By the way, I would really prefer not to have to provide support for very old releases of LDM. (Fortunately, I have kept copies of them all.) Is there a good reason you are sticking with vb 3.5?

fishhub
04-07-2010, 04:50 PM
This has happened when your web server installed an upgrade to php. There is a straightforward fix, but I need to know exactly which version of LDM you are using.

By the way, I would really prefer not to have to provide support for very old releases of LDM. (Fortunately, I have kept copies of them all.) Is there a good reason you are sticking with vb 3.5?


Am using LDM 2.2.1

Thanks for the help.

Had too many mods, which resulted to sticking to vb3.5 . Never expected that php keeps upgrading and I am a nerd when it comes to IT stuffs.

TIA.

AndrewD
04-08-2010, 03:01 AM
Am using LDM 2.2.1

Thanks for the help.

Had too many mods, which resulted to sticking to vb3.5 . Never expected that php keeps upgrading and I am a nerd when it comes to IT stuffs.

TIA.

The attached file should fix the problem. It should be uploaded into your form/includes directory. I recommend that you keep a copy of the existing version in that directory in case anything goes wrong.

I have not been able to run a formal test, because I no longer have a site running vb 3.5, but the new code contains the same fix as works with more recent versions of LDM, so I expect everything will be ok. Let me know if not.

fishhub
04-08-2010, 03:24 PM
The attached file should fix the problem. It should be uploaded into your form/includes directory. I recommend that you keep a copy of the existing version in that directory in case anything goes wrong.

I have not been able to run a formal test, because I no longer have a site running vb 3.5, but the new code contains the same fix as works with more recent versions of LDM, so I expect everything will be ok. Let me know if not.


thanks, n works well and like a charm.

Its good that you r keeping up well with your mods. :)