PDA

View Full Version : Major Additions - Links and Downloads Manager


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

Britmovie
05-18-2008, 10:11 PM
Nope my fault i never read the packet. Full instructions were included. This is prob the best mod I have added. So flexible etc

Britmovie
05-19-2008, 07:59 PM
I nominated this as best of the month as it is fantastic and a lot of work to build it so thanks.

Just a question. To increase the size allowed for uploads i take it its in the php.ini file? Where exactly is that? Thanks...

AndrewD
05-20-2008, 03:45 AM
I nominated this as best of the month as it is fantastic and a lot of work to build it so thanks.

Just a question. To increase the size allowed for uploads i take it its in the php.ini file? Where exactly is that? Thanks...

There are two settings in php.ini that set the overall limits on the size of uploads:

* upload_max_filesize
* post_max_size

It is important that post_max_size has the same value, or a larger value, as upload_max_filesize.

Within these limits, more restrictive settings can be applied on a per-filetype basis (vBulletin->admincp->attachments->attachment manager). These apply to all usergroups except for admins, who are always allowed to go up to the php.ini limits.

ritunb
05-23-2008, 02:24 AM
Please Help!!

I've upgraded vBulletin to 3.7.0. We had LDM 2.2.7. LDM started giving error like:
'Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6'

So I downloaded Version 2.2.9 RC2 and installed. Now I'm getting new erroe:

"Critical error: different versions of software, templates, phrases and database.
Software: 2.2.9 database: 2.2.7
Cannot continue - ask administrator to correct."

Please help!!

AndrewD
05-23-2008, 04:03 AM
Please Help!!

I've upgraded vBulletin to 3.7.0. We had LDM 2.2.7. LDM started giving error like:
'Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6'

So I downloaded Version 2.2.9 RC2 and installed. Now I'm getting new erroe:

"Critical error: different versions of software, templates, phrases and database.
Software: 2.2.9 database: 2.2.7
Cannot continue - ask administrator to correct."

Please help!!

Version 2.2.7 does not work with vb 3.7, so that's why you got the first error.

I think you've uploaded the 2.2.9 php code without installing the LDM product xml file, so the database still thinks it's at version 2.2.7. Just go to the vb/admincp/plugins and products/manage products. Use add/import product to reinstall the LDM product xml, and be sure to check the "allow overwrite" box.

ritunb
05-23-2008, 06:01 AM
Thanks. That worked.

ritunb
05-24-2008, 07:42 AM
Hi Andrew,

I've installed Version: 2.2.9-RC2. Everything is fine but I do not wish to display list of Moderator Names in the Category Description. Is there a way to disable that? I can't find the option to disable that. Please advice.

Regards,

Ritun

Alfa1
05-24-2008, 03:42 PM
Do you mean as a system cron or a VB cron? I haven't explored the first, but will think about how it could be done. The second is not a good idea - validation is a very cpu intensive task and VB crons are executed in the margin of normal page visits.
A meant a vb cron, but a system cron will be very welcome as well.

AndrewD
05-25-2008, 04:29 AM
Hi Andrew,

I've installed Version: 2.2.9-RC2. Everything is fine but I do not wish to display list of Moderator Names in the Category Description. Is there a way to disable that? I can't find the option to disable that. Please advice.

Regards,

Ritun

The feature to show this list of moderators in the category description was requested/added in this version and you are correct - I forgot to provide the option to disable it. It is a straightforward change to the code, so I will add the option as soon as possible. In the meatime, you can remove this list by editing the links_catbit_extras template (vb/admincp/styles and templates). The template contains this sequence of lines:


<if condition="$moderatorlistbit">
$vbphrase[moderators]: $moderatorlistbit<br />
</if>


Just delete those lines.

Bear in mind that you have made this edit, because you will need to revert the template in future to take advantage of any changes that are offered in subsequent releases.

K4GAP
05-25-2008, 08:50 PM
I'm trying to decide whether or not to go ahead and install this. Are there major issues to be aware of? I'm a newbie to all this so...

AndrewD
05-26-2008, 04:00 AM
I'm trying to decide whether or not to go ahead and install this. Are there major issues to be aware of? I'm a newbie to all this so...

This has been developed/supported for over four years, and, as far as I know, there have been no serious problems (touch wood!) during that time. If you want to take full advantage of its flexibility, there's a certain amount of learning required, but within reason, I will help sort out any difficulties you have at the start. There are a number of sites using this addon to handle large numbers of downloads; others which provide a small library of files.

K4GAP
05-26-2008, 07:17 AM
This has been developed/supported for over four years, and, as far as I know, there have been no serious problems (touch wood!) during that time. If you want to take full advantage of its flexibility, there's a certain amount of learning required, but within reason, I will help sort out any difficulties you have at the start. There are a number of sites using this addon to handle large numbers of downloads; others which provide a small library of files.

After reading your instructions in the zip, I think I'll give it a go. BTW, those are the best written and easiest to understand set of instructions I've read in any products here. VGJ!

GrendelKhan{TSU
05-29-2008, 12:34 AM
got this error when attempting to install extra "patch forumhome thumbs"

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/*******/public_html/*****/includes/adminfunctions_template.php(3716) : eval()'d code on line 31

:(

nvm.

but I still can't get it to appear. ;(

GrendelKhan{TSU
05-29-2008, 01:52 AM
Different request and bug:

1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )


2) BUG?
Flash Uploader with progress meter is awesome! and looks great...
I just can't get it to work. heh :(

ie: it looks like its working... but no matter what file I upload it ends in: "File rejected by server" error pop. (and red bar)

If I turn off the flash uploader plugins (disable them in plugin manager) ... uploads work fine again.
o_0;;

AndrewD
05-29-2008, 03:42 AM
Different request and bug:

1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )

OK, will take a look


2) BUG?
Flash Uploader with progress meter is awesome! and looks great...
I just can't get it to work. heh :(

ie: it looks like its working... but no matter what file I upload it ends in: "File rejected by server" error pop. (and red bar)

If I turn off the flash uploader plugins (disable them in plugin manager) ... uploads work fine again.
o_0;;

Yes, I'd found this bug and I have the fix ready. It's releated to the new CSRF mechanisms in vBulletin. All you need to do is edit local_links_ajax.php (main forum directory)

After the line

define('CSRF_PROTECTION', true);


add

define('CSRF_SKIP_LIST', 'swfupload'); // because of problems with flash scripts assuming IE

AndrewD
05-29-2008, 03:51 AM
got this error when attempting to install extra "patch forumhome thumbs"



:(

nvm.

but I still can't get it to appear. ;(

That part of vbulletin is looking for syntax errors in templates. I imagine you edited the forumhome template? Check what you've done.

AndrewD
05-31-2008, 04:32 AM
1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )



This isn't easy for me to fix without rewriting the interface between LDM and vb. The autocreator simply drops an img bbcode into the post, and that does not have a mechanism for resizing.

However, I tried the Image Resizer hack - see https://vborg.vbsupport.ru/showthread.php?p=1493771 - and this works fine

abdelghani68
06-01-2008, 09:58 AM
I have a problem with my favourites. I can add favourites but I can not withdraw. can you help me if you like. why i can't remove my favorites ?

Thank you

AndrewD
06-01-2008, 04:35 PM
I have a problem with my favourites. I can add favourites but I can not withdraw. can you help me if you like. why i can't remove my favorites ?

Thank you

Apologies for this, and thanks for the report.

There is a bug, which I introduced part way through the 2.2.9 development. I've found it, and the fix will be uploaded in the next few days.

Ian Emu-UK
06-01-2008, 11:26 PM
Hi AndrewD

You probably don't remember me, but I have been a long time user of this mod and probably over a year ago now I asked you if it would be possible to make LDM automatically delete files that had been uploaded after a number of days from a category of my choosing. well since then I have fallen out of love with what my site is about and lost interest in it, but I have now got a renewed vigor for it all again and will be upgrading everything and hopefully move my site forward.

Anyway, that my little story, and obviously I am wondering if you did ever work out how to do it or is it something you would consider looking into again?

cheers
Ian

GrendelKhan{TSU
06-02-2008, 03:47 AM
This isn't easy for me to fix without rewriting the interface between LDM and vb. The autocreator simply drops an img bbcode into the post, and that does not have a mechanism for resizing.

However, I tried the Image Resizer hack - see https://vborg.vbsupport.ru/showthread.php?p=1493771 - and this works fine

ic ic.

well... I'll give the resizer a try. thanks for the info.

as usual... keep up the incredible work. you have many a fan ;)


ps. that bug fix worked! thanks!! :D

AndrewD
06-02-2008, 06:54 AM
Hi AndrewD

You probably don't remember me, but I have been a long time user of this mod and probably over a year ago now I asked you if it would be possible to make LDM automatically delete files that had been uploaded after a number of days from a category of my choosing. well since then I have fallen out of love with what my site is about and lost interest in it, but I have now got a renewed vigor for it all again and will be upgrading everything and hopefully move my site forward.

Anyway, that my little story, and obviously I am wondering if you did ever work out how to do it or is it something you would consider looking into again?

cheers
Ian

Hi, Ian, yes I remember.

I implemented a mechanism whereby entries in a category 'expire' after a certain number of days, e.g. 10 days. When they expire, they become hidden in that category (at least as far as most users are concerned), and they can optionally be moved to - and become visible in - a new category (which might have another expiry period).

I didn't implement a mechanism to 'autodelete' the expired files, but it is straightforward (I think) to provide a 'plug in' which will delete, e.g., all the expired entries in a given category. I will give this some thought and report back.

So if you really want to kill the files as well as expire then, you would set up LDM to expire entries after N days, then move them to a new category, and use this separate plugin to kill the files.

The expiry mechanism has another use also - when an expiry date is set for a category, then entries in that category only become visible to most users on their submission date. Since it is possible to post-date entries, you can set up categories in advance, knowing that entries will appear and disappear when required.

AndrewD
06-02-2008, 12:33 PM
Final (I hope) release of version 2.2.9 released today. Works with vb 3.6 and 3.7

Main displays
*show_moderators_catbit* controls whether to display list of moderators in category header

Extras
Fixed *swfupload* extra to work with CSRF protection
Changed *Wimpy* file structure to reflect current directory conventions
Added *delete-expired* extra which auto-deletes entries sometime after expiry

Bug fixes
Fixed Hit recording for media files handled by url-based players
Fixed Player selection when handling local file with *local_file_root* enabled
Fixed Add/Remove Favourite
Continued work on using correct per-category settings/permissions when displaying entries 'out of context'

Ian Emu-UK
06-02-2008, 02:51 PM
That is excellent.

I will be upgrading to the new VB at the weekend and will give this option a damn thorough test ;)

Thanks Andrew.

obmob
06-02-2008, 10:47 PM
Final (I hope) release of version 2.2.9 released today. Works with vb 3.6 and 3.7

Main displays
*show_moderators_catbit* controls whether to display list of moderators in category header

Extras
Fixed *swfupload* extra to work with CSRF protection
Changed *Wimpy* file structure to reflect current directory conventions
Added *delete-expired* extra which auto-deletes entries sometime after expiry

Bug fixes
Fixed Hit recording for media files handled by url-based players
Fixed Player selection when handling local file with *local_file_root* enabled
Fixed Add/Remove Favourite
Continued work on using correct per-category settings/permissions when displaying entries 'out of context'OMG! No, No!!! I'm not done translating :eek:

:( I'll try to work on it this week

Alfa1
06-03-2008, 01:49 AM
Is it possible to show a default icon for video's? A small camera or something alike?

airheadairbrush
06-03-2008, 02:29 AM
I have to say Andrew has been great helping me with this.
His support goes way beyond what most folks would do.

Thanks Andrew

AndrewD
06-03-2008, 04:16 AM
Is it possible to show a default icon for video's? A small camera or something alike?

LDM selects an icon based on the filetype, e.g. if you have a file xxxxx.avi, then it looks for an icon called avi.gif or avi.png or avi.jpg in whichever directory you have set up as the LDM icons directory. So you can change this simply by replacing the existing filetype icon.

If you find a good one, let me know and I can add it to one of the standard icon sets - there are now three sets with the release.

pspcrazy
06-03-2008, 09:31 AM
Thanks for the final version, upgrading now. I'm loving the flash upload bar a lot thanks!

obmob
06-03-2008, 03:48 PM
I have to say Andrew has been great helping me with this.
His support goes way beyond what most folks would do.

Thanks AndrewAndrew has the best support for any mod in vb.org, no doubt about it! :D

I'm half way trough translation! :p

nokidding
06-04-2008, 12:19 AM
Is there anyway we could add a custom BBCode and put the linkID for example and it would add it to the thread or post?

AndrewD
06-04-2008, 03:50 AM
Is there anyway we could add a custom BBCode and put the linkID for example and it would add it to the thread or post?

On my own site, I use a simple bbcode definition

Title

defined as

<a href="local_links.php?action=jump&id={option}" target="_new">{param}</a>

I also use

Title

defined as

<a href="local_links.php?catid={option}" target="_new">{param}</a>

to jump to a category

abdelghani68
06-04-2008, 11:54 AM
Thank you again for this work. I have a problem with the display of my entries. It shows me 5 per page instead of 10. On the first page, for example, I have the entrees 1 to 5 and on the second page 10 to 15 ...

I know it has not disappeared because I found using the search function. How can they be seen again?

Thank you for your help and sorry for my language.

itsblack
06-04-2008, 12:36 PM
Hi Andrew, thank you for the update.
The new phrase in chinese is "在分类顶部显示版主列表".

obmob
06-04-2008, 02:56 PM
Hmm.... I was trying to add a link to a torrent file, i have this on my forum filetypes... when i tried to save i got an error message that said something like this:

"Sorry - links to offsite downloads have been disabled. "

Where do i enable this? O.o

Thanks u.u

EDIT:

Hmm... I figured it out, is it better to try hosting all files instead of using direct links to the files in other sites?

AndrewD
06-04-2008, 03:19 PM
Hmm.... I was trying to add a link to a torrent file, i have this on my forum filetypes... when i tried to save i got an error message that said something like this:

"Sorry - links to offsite downloads have been disabled. "

Where do i enable this? O.o

Thanks u.u

ldm/admin/settings/category and entry creation and editing/allow_remote_downloads

AndrewD
06-04-2008, 03:31 PM
Thank you again for this work. I have a problem with the display of my entries. It shows me 5 per page instead of 10. On the first page, for example, I have the entrees 1 to 5 and on the second page 10 to 15 ...

I know it has not disappeared because I found using the search function. How can they be seen again?

Thank you for your help and sorry for my language.

Sorry to hear this. to debug these problems I need access to your site or a backup of the LDM database tables. Send me a PM and we can work out how to solve this problem.

AndrewD
06-04-2008, 05:08 PM
Thank you again for this work. I have a problem with the display of my entries. It shows me 5 per page instead of 10. On the first page, for example, I have the entrees 1 to 5 and on the second page 10 to 15 ...

I know it has not disappeared because I found using the search function. How can they be seen again?

Thank you for your help and sorry for my language.

There's a bug in the page builder when entries have different display orders. It was caused by a late change I made in the 2.2.9 code. I think the attached includes/local_links_include.php file will fix it. Please can you let me know.

abdelghani68
06-04-2008, 05:53 PM
There's a bug in the page builder when entries have different display orders. It was caused by a late change I made in the 2.2.9 code. I think the attached includes/local_links_include.php file will fix it. Please can you let me know.

Thanks ! it works very well now

AndrewD
06-04-2008, 06:34 PM
04.06.08 Important - there's a bug in the version of includes/local_links_include.php in the zip file, which causes problems when you set up entries with different display_orders. I've uploaded a new version of this file into the head post of this thread and will combine the files into a new zip in a few days.

Britmovie
06-04-2008, 08:30 PM
Ok cant see this anywhere but it probably is me a bit thick.

The modules! In the release/vba_modules folder I see .module files, but how do I install them please?

just a point this is superb what I have tried!

Britmovie
06-04-2008, 08:56 PM
Ok I take it that I dont install the files mentioned above it's the plugins? Installed the tag cloud and film strip, activated them and I cant see either of them showing up. Any idea's please www.britmovie.net/britforum

Britmovie
06-04-2008, 09:27 PM
Thought it may be the template but same with default!

I can move the statistics to different blocks if that proves anything?

AndrewD
06-05-2008, 03:59 AM
Ok cant see this anywhere but it probably is me a bit thick.

The modules! In the release/vba_modules folder I see .module files, but how do I install them please?

just a point this is superb what I have tried!

The .module files are installed using the vbulletin/admincp/vbadvanced pages. There's a section there labelled download/upload module.

AndrewD
06-05-2008, 04:07 AM
Ok I take it that I dont install the files mentioned above it's the plugins? Installed the tag cloud and film strip, activated them and I cant see either of them showing up. Any idea's please www.britmovie.net/britforum

As far as I can see, you haven't added any entries to your LDM yet (apart from the standard test links), so there is nothing for the tag cloud and filestrip extras to display.

For example, the tag cloud is built using the keywords you associate with your LDM entries - there are none so it doesn't bother showing anything.

pspcrazy
06-05-2008, 04:09 AM
I'm getting a lot of these errors now:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Any idea? I do have mod_security installed on apache.

AndrewD
06-05-2008, 05:10 AM
I'm getting a lot of these errors now:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Any idea? I do have mod_security installed on apache.

These errors are generated by the new CSRF security features in vbulletin 3.7 and 3.6.10. As far as I know, the new LDM release deals correctly with the security interface. I suggest you start by checking your templates - If you still have modified versions of old versions of templates installed, then it is possible that this is the cause of the problem.

tekguru
06-05-2008, 11:26 AM
Andrew have the early issues been fixed now and its' therefore safe to upgrade?

AndrewD
06-05-2008, 11:34 AM
Andrew have the early issues been fixed now and its' therefore safe to upgrade?

As far as I know, 2.2.9 is stable and reliable, provided you use the separate version of includes/local_links_include.php rather than the version in the zip file. There are no reported problems which have not been resolved. (Of course, having said that, there will no doubt now be a flurry of bug reports...)

tekguru
06-05-2008, 12:11 PM
Cheers - I assume we need to make a note of which modules we have installed first so as to make sure that we reinstall the same ones?

AndrewD
06-05-2008, 12:34 PM
Cheers - I assume we need to make a note of which modules we have installed first so as to make sure that we reinstall the same ones?

Yes - installing a vbulletin product will delete any plugins associated with that product. For a different reason, you need to think about the vbadvanced modules (if you use them) - these need to be uninstalled and reinstalled.

Xphusion
06-05-2008, 02:14 PM
ok i have this installed /tested it works so far but how do i get a link in the navigation bar above my forum? to open this links/dls area

AndrewD
06-05-2008, 02:43 PM
ok i have this installed /tested it works so far but how do i get a link in the navigation bar above my forum? to open this links/dls area

There are several ways, which are explained in the on-line wiki, see http://www.eirma.org/wikis/index.php/Installing_LDM

Quickest and easiest with 2.2.9 is to go to ldm/admin/ldm plugins and mark as active the top two plugins

obmob
06-05-2008, 03:16 PM
Hello Andrew... is there a vbadvanced module that shows random entries instead of newest? ^^,

Or, is it possible to use the current module and make it randomize the entries? o.o

BTW Almost done with translation ^^'

tekguru
06-05-2008, 06:01 PM
Andrew you'll be pleased to know the upgrade went okay with no problems - yet (ducks quickly)...

binal0072003
06-05-2008, 06:12 PM
hi
it seems great

i have installed in my forum

but i do not know how to use and access

please let me know

AndrewD
06-05-2008, 06:59 PM
hi
it seems great

i have installed in my forum

but i do not know how to use and access

please let me know

Point your browser at your forum dir/local_links_admin.php

Select LDM plugins on the left hand menu

Take a look at the on-line wiki for the tutorial (see link in first post of this thread)
Enable the top two plugins

You will get direct access to LDM via your vb navbar

binal0072003
06-06-2008, 03:44 AM
thanx man

binal0072003
06-06-2008, 04:38 AM
where can i find php.ini

binal0072003
06-06-2008, 05:11 AM
ok i changed the php.ini

but still it says limit exceeds than in php.ini

mu upload limit 200 mb

post limit 250 mb

AndrewD
06-06-2008, 01:29 PM
ok i changed the php.ini

but still it says limit exceeds than in php.ini

mu upload limit 200 mb

post limit 250 mb

have you restarted apache? changes in php.ini only take effect on restart

abdelghani68
06-06-2008, 04:10 PM
hi

I want to display 2 differents modules on my vbadvanced portal for the categories.

example : the module number 01 contains the categories 1 and 2

the module number 02 contains the categories 3 and 4

how to do that ?

or I must, if possible install a second ldm in my site for do that ?

Thanks

shaqoneal
06-06-2008, 04:25 PM
cool hack

IR15H
06-06-2008, 06:23 PM
Hello again, glad to see this excellent mod has just got better since I last checked it out :D.

------------------------------

I have two things that I think are bugs. The first one is that a user gets logged out after viewing a video/music/pic if browsing in IE7 and not tick "Remember me?" when logging in.

To reproduce;
Start IE7.
Log into to your site, without ticking the "Remember Me?" box.
Navigate to a video, and view it. (Doesn't seem to matter if it's in the same window or a new one)
Navigate away from that video.
You get logged out.

If you can't replicate this, then perhaps it's a setting on my site. If that's the case, I've a test account to help see if that can identify the problem. Example category (http://www.gamingperfection.com/forum/local_links.php?catid=3). User: test Password: test. It works fine on FireFox, it's only on IE7 that I can get this behaviour to occur.

The second is to do with the "View full information on this entry" link (https://vborg.vbsupport.ru/ - /local_links_admin.php?set=showinfo&linkid=X). If I click on it, I just get a blank page.


It may very well be that I've set incorrect settings, I just can't figure out what they might be!

----------------------

I also have a request. Is it possible to make it so that the magnifying glass, used to show full images, only appears if the image is bigger than the maximum thumbnail size allowed? For example, if I upload a 150 x 150px image, set the maximum thumbnail size to 200px, then the magnifying glass won't appear.

AndrewD
06-07-2008, 05:59 AM
I have two things that I think are bugs. The first one is that a user gets logged out after viewing a video/music/pic if browsing in IE7 and not tick "Remember me?" when logging in.

To reproduce;
Start IE7.
Log into to your site, without ticking the "Remember Me?" box.
Navigate to a video, and view it. (Doesn't seem to matter if it's in the same window or a new one)
Navigate away from that video.
You get logged out.

If you can't replicate this, then perhaps it's a setting on my site. If that's the case, I've a test account to help see if that can identify the problem. Example category (http://www.gamingperfection.com/forum/local_links.php?catid=3). User: test Password: test. It works fine on FireFox, it's only on IE7 that I can get this behaviour to occur.


I took a look at your site and found a couple of points that are suspicious. vbulletin uses cookies to transmit login information from page to page. Your vbulletin cookies are being stored in cookies for 'gamingperfection.com' rather than 'www.gamingperfection.com' which is the actual url. At the same time, you have a javascript on your pages which is carrying out some sort of user tracking for a third party site. This is storing cookies against 'www.gamingperfection.com' I wonder if one or both of these is the cause of the problem.



The second is to do with the "View full information on this entry" link (http://img384.imageshack.us/img384/2483/infosw2.png - /local_links_admin.php?set=showinfo&linkid=X). If I click on it, I just get a blank page.



Blank pages usually mean something went wrong in the php engine. By default, vbulletin 'gzips' material sent to the browser so that these error messages get garbled. Try going to vbulletin/admincp/options/options and uncheck the 'gzip output'. Then try accessing te page again and see if you get a message.

I also have a request. Is it possible to make it so that the magnifying glass, used to show full images, only appears if the image is bigger than the maximum thumbnail size allowed? For example, if I upload a 150 x 150px image, set the maximum thumbnail size to 200px, then the magnifying glass won't appear.

I'll take a look into this. It shouldn't be difficult. Only minor problem is that the magnifier is also used to control the optional lightbox display for these images.

AndrewD
06-07-2008, 06:08 AM
hi

I want to display 2 differents modules on my vbadvanced portal for the categories.

example : the module number 01 contains the categories 1 and 2

the module number 02 contains the categories 3 and 4

how to do that ?

or I must, if possible install a second ldm in my site for do that ?

Thanks

vba modules can be installed multiple times to achieve what you want. e.g. if you want to use the 'whats hot' module:

- install it, and on the vba 'edit page' page (not the 'edit module' page), configure the module settings with the category/ies of interest.

- install it a second time. vba will ask you to give it a new module id. repeat the configuration for the second module.

see attached screenshots

abdelghani68
06-07-2008, 11:15 AM
vba modules can be installed multiple times to achieve what you want. e.g. if you want to use the 'whats hot' module:

- install it, and on the vba 'edit page' page (not the 'edit module' page), configure the module settings with the category/ies of interest.

- install it a second time. vba will ask you to give it a new module id. repeat the configuration for the second module.

see attached screenshots

thanks, but I want to do that with the module ldm_cats.module.

I woul'd like to choose the categories to be contained in this module. I don't see option in this module as the module Hot Media for exemple.

Thanks for your help

abdelghani68
06-07-2008, 12:14 PM
I think I must make 2 library for that

AndrewD
06-07-2008, 12:20 PM
thanks, but I want to do that with the module ldm_cats.module.

I woul'd like to choose the categories to be contained in this module. I don't see option in this module as the module Hot Media for exemple.

Thanks for your help

As currently coded, that module is only designed to show all the categories at the base level of the category tree. It is quite a simple change to allow you to select one category and show all its subcategories. However, it is not possible to recode the current module to show an arbitrary list of categories. I would have to write something from scratch. You would be better using the standard vbadvanced site navigation module.

IR15H
06-07-2008, 02:54 PM
I took a look at your site and found a couple of points that are suspicious. vbulletin uses cookies to transmit login information from page to page. Your vbulletin cookies are being stored in cookies for 'gamingperfection.com' rather than 'www.gamingperfection.com' which is the actual url. At the same time, you have a javascript on your pages which is carrying out some sort of user tracking for a third party site. This is storing cookies against 'www.gamingperfection.com' I wonder if one or both of these is the cause of the problem.

I disabled the tracking (Woopra) and changed my forum url (vBulletin Options > vB Options > Site Name / URL / Contact Details) to no longer include www. at the beginning. No joy.

Blank pages usually mean something went wrong in the php engine. By default, vbulletin 'gzips' material sent to the browser so that these error messages get garbled. Try going to vbulletin/admincp/options/options and uncheck the 'gzip output'. Then try accessing te page again and see if you get a message.


That fixed it, thanks.

I'll take a look into this. It shouldn't be difficult. Only minor problem is that the magnifier is also used to control the optional lightbox display for these images.

Much appreciated.


EDIT:

How do I integrate this with vBadvanced? I tried vBa CMPS > Integration > THIS_SCRIPT Integration Method > local_links, which seems to work on all pages just fine, except when attempting to play a file /local_links.php?action=play&catid=X&linkid=X&page=X.

local_links.php
http://img385.imageshack.us/img385/1156/fireshotcapture38linksass2.png

local_links.php?action=play&catid=X&linkid=X&page=X
http://img165.imageshack.us/img165/3786/fireshotcapture37jukebogm3.png

This is with a fresh install of vB, LDM and vBa. I assume I've done something wrong again, but can't figure out what it is.

-------

Also, when visiting local_links_admin.php?set=permissions, "default_forumid" links to /local_links_admin.php?set=settings, missing the bit in red.

AndrewD
06-07-2008, 03:46 PM
I disabled the tracking (Woopra) and changed my forum url (vBulletin Options > vB Options > Site Name / URL / Contact Details) to no longer include www. at the beginning. No joy.


Take a look at how you have set up the entries in this category. When I view the link you sent me, it's displaying on www.gamingperfection.com. When I click on one of the videos, it takes me to gamingperfection.com and creates new cookies for a logged out user

IR15H
06-07-2008, 04:28 PM
Take a look at how you have set up the entries in this category. When I view the link you sent me, it's displaying on www.gamingperfection.com. When I click on one of the videos, it takes me to gamingperfection.com and creates new cookies for a logged out user

I tried signing in at http://gamingperfection.com/forum/local_links.php?catid=3, and also viewing the video from there, I still get logged out when navigating away to other http://gamingperfection.com links. I also tried logging in at http://gamingperfection.com, and then going directly to http://www.gamingperfection.com, I remained logged in whilst not ticking the "Remember Me?" box.

If you want, I could set up an admin account for you to check settings, as I'm at a loss with it.

-------------

PS. I edited my previous reply after you posted, as I didn't realised you'd already posted.

AndrewD
06-07-2008, 05:50 PM
I tried signing in at http://gamingperfection.com/forum/local_links.php?catid=3, and also viewing the video from there, I still get logged out when navigating away to other http://gamingperfection.com links. I also tried logging in at http://gamingperfection.com, and then going directly to http://www.gamingperfection.com, I remained logged in whilst not ticking the "Remember Me?" box.

If you want, I could set up an admin account for you to check settings, as I'm at a loss with it.

-------------

PS. I edited my previous reply after you posted, as I didn't realised you'd already posted.

sure, send me a pm with admin details. I'll take a look

Jah-Hools
06-07-2008, 08:25 PM
Are there some screen shots?

I would like to learn how categories & entries are displayed

Thanks

RikiB
06-07-2008, 10:21 PM
I was wondering if it is currently possible to ban or restrict a user if they try and download a file from multiple IPs. Or perhaps there would be some other solution to ensure users do not give their login information to their friends and allow them to download the files.

Thanks
Riki

TrIn@dOr
06-08-2008, 03:24 AM
I installed it in Spanish, how can i have it in English too?, how can i complement it to have the 2 languages?

Thanks in advance.

AndrewD
06-08-2008, 04:00 AM
Are there some screen shots?

I would like to learn how categories & entries are displayed

Thanks

Take a look at the wiki, http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager

AndrewD
06-08-2008, 04:05 AM
I was wondering if it is currently possible to ban or restrict a user if they try and download a file from multiple IPs. Or perhaps there would be some other solution to ensure users do not give their login information to their friends and allow them to download the files.

Thanks
Riki

I can't see how that could work reliably - domestic users tend to have dynamic IP addresses so are likely to show up on different addresses in any case.

AndrewD
06-08-2008, 04:08 AM
I installed it in Spanish, how can i have it in English too?, how can i complement it to have the 2 languages?

Thanks in advance.

Yes - the phrases for each language are in the development/phrases directory in the zip. You can install a second language by going to vb/admincp/languages/upload languages/. Upload the English xml file and tell vb to overwrite English. Since the file contains new phrases, you don't damage the main phrases.

TrIn@dOr
06-08-2008, 02:45 PM
Yes - the phrases for each language are in the development/phrases directory in the zip. You can install a second language by going to vb/admincp/languages/upload languages/. Upload the English xml file and tell vb to overwrite English. Since the file contains new phrases, you don't damage the main phrases.Thanks a lot!!

macc
06-08-2008, 03:32 PM
Hello!

i have last version of LCD and vbulletin 3. 7. 1

when i want to add some entry or image .. i get this error after i click to submit button!

Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

some help?

regards

macc

AndrewD
06-08-2008, 03:51 PM
Hello!

i have last version of LCD and vbulletin 3. 7. 1

when i want to add some entry or image .. i get this error after i click to submit button!

Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

some help?

regards

macc

check to see if you have modified one of the LDM templates. If you have versions from before 2.2.9, you will hit this error because of vbulletin's latest security checks.

macc
06-08-2008, 03:55 PM
i have no modifed any template of LDM and i have last verison of LDM - 2.2.9 (updated for few days before)

regards

macc

www.belaplay.com (http://www.belaplay.com) (you have admin account there)


edit: i do this in local_links.php and local_links_actions.php

define('THIS_SCRIPT', 'local_links_actions');
//define('CSRF_PROTECTION', true);

now i can add entry!

edit: i do not updated vb cmps modules - those is from old versions - maybe is that problem?
how to updated modules for cmps - 3. 0. 1 ?

abdelghani68
06-08-2008, 05:07 PM
is it possible to put a title to the library to the place indicated on the screen shot?

If yes, how? because I did not find.

Thank you for your help

AndrewD
06-08-2008, 05:36 PM
i have no modifed any template of LDM and i have last verison of LDM - 2.2.9 (updated for few days before)

regards

macc

www.belaplay.com (http://www.belaplay.com) (you have admin account there)


edit: i do this in local_links.php and local_links_actions.php

define('THIS_SCRIPT', 'local_links_actions');
//define('CSRF_PROTECTION', true);

now i can add entry!

edit: i do not updated vb cmps modules - those is from old versions - maybe is that problem?
how to updated modules for cmps - 3. 0. 1 ?

no - the link_addnewlink template (which is the one used to create new entries) had been customised - not sure if that was something I did for yuo or not - anywhay I have 'reverted' that template and you should be ok with the original code (or indeed with the code as you have modified it)

to upgrade vba modules, you have to remove the existing modules and then reinstall them.

AndrewD
06-08-2008, 06:20 PM
is it possible to put a title to the library to the place indicated on the screen shot?

If yes, how? because I did not find.

Thank you for your help

If you want this to appear on the entry page, create a new plugin attached to the ldm_maindisplay_end hook, with code looking something like this:


if ($viewcatid<0) {
$viewcattext = "<div align='center'>this is my text message</div>";
}

macc
06-08-2008, 06:48 PM
can you explain more please..how rename modules and reinstal them ?

regards

macc

macc
06-08-2008, 07:18 PM
Thanks for help and your time ... will test later to add some entries !

regards

macc

AndrewD
06-09-2008, 04:04 AM
can you explain more please..how rename modules and reinstal them ?

regards

macc

sorry, meant to type 'remove' not 'rename'

I assume that you've already got an up-to-date version of vba installed

Take a note of your module layout on your vba page(s)

Go to vb/admincp/vba/edit modules, and remove each LDM module. Say 'yes' to delete php file.

Go to vb/admincp/vba/download & upload modules, and reinstall these modules from the current ldm release, saying yes' to over-write the templates

kevinh
06-09-2008, 08:19 AM
Hi,
I was hoping another knowledgeable LDM user could help me out. I'm trying to modify the minimalistic Template: "links_linkbit_featured" by adding in Keywords functionality that exists in the Template: "links_linkbit_mshort" ('modern short'), without the box that exists in the latter template.

See attached screen shot - I want "Keywords" to appear where it says "test".

I have tried copying and pasting code from one template to the other but I can't quite get it right.

If this is more complex than simply copying and pasting code into the template I would be happy to pay someone to do this for me.

Thanks,
Kevin

shlomot
06-10-2008, 10:14 AM
Are you an LDM expert? We need a tutor/integrator to help us do things right with this great add-on.

Please PM me.

PitchouneN64ngc
06-10-2008, 03:02 PM
Hey AndrewD, by translating it in French for 2.2.9, I've seen a little bug.

When you moderate links, there is some templates which are not cached ('links_likebit' and 'links_sendtofriendbit').

AndrewD
06-10-2008, 03:20 PM
Hey AndrewD, by translating it in French for 2.2.9, I've seen a little bug.

When you moderate links, there is some templates which are not cached ('links_likebit' and 'links_sendtofriendbit').

Thanks, will fix in the post-1 release, coming very soon.

AndrewD
06-10-2008, 03:58 PM
Hi,
I was hoping another knowledgeable LDM user could help me out. I'm trying to modify the minimalistic Template: "links_linkbit_featured" by adding in Keywords functionality that exists in the Template: "links_linkbit_mshort" ('modern short'), without the box that exists in the latter template.

See attached screen shot - I want "Keywords" to appear where it says "test".

I have tried copying and pasting code from one template to the other but I can't quite get it right.

If this is more complex than simply copying and pasting code into the template I would be happy to pay someone to do this for me.

Thanks,
Kevin

Kevin, the change to the template is straightforward:


<if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>


This works if you tell a normal LDM display to use the featured linkbit. However, it will not work with the standard 'featured' display as it stands, because (for reasons of efficiency) the keywords are not cached at that point in the code. It's an easy change to make to the code - let me know what you need.

maroceve
06-11-2008, 09:44 AM
hello, does anybody have troubles displaying the PNG's ? from the ox icons ? it' makes a huge mess in the width of the ldm library entries ...Since it displays the link phrase and not the ICONS....

Anyone encountered that problem ?

AndrewD
06-11-2008, 09:54 AM
hello, does anybody have troubles displaying the PNG's ? from the ox icons ? it' makes a huge mess in the width of the ldm library entries ...Since it displays the link phrase and not the ICONS....


Anyone encountered that problem ?

It displays text if it cannot find the icons in the directory you have specified. Check (LDM/admin/settings) that you have pointed file_icons_dir at the right place.

kevinh
06-11-2008, 11:20 AM
..... It's an easy change to make to the code - let me know what you need.

Thanks Andrew, but my freind Cam has sorted it out with your help (I didn't know he had contacted you as well).

Cheers,
Kevin

shlomot
06-11-2008, 11:38 AM
Hello, can someone teach me how I can post an iFrame link to the merchant's site as an affiliate?

Best is to define an attribute for it, however - I'll even be happy to know how to post the iFrame in the textarea description field.

A typical example for such iFrame would be AllPosters':
<IFRAME name="apciframe" id="apciframe" style="width:504px;height:1083px;" marginwidth="0" marginheight="0" src="http://affiliates.allposters.com/PosterStore/347730_PosterStore.htm" scrolling="no" frameborder="0"><a class="APCAnchor" href="http://affiliates.allposters.com/link/redirect.asp?AID=1578089047&PSTID=4&LTID=16&lang=1">Buy Usher Raymond posters and art</a></IFRAME>

Thanks for your help.

maroceve
06-11-2008, 12:55 PM
It displays text if it cannot find the icons in the directory you have specified. Check (LDM/admin/settings) that you have pointed file_icons_dir at the right place.

Actually it keeps adding a slash at the end of the adress : So when i enter /images/ldmicons

it transforms it to images/ldmicons/

glowinggal
06-11-2008, 01:31 PM
we just moved our server to a new host and now for some reason all the thumbnails that were originally associated with each download is not showing. It's still showing as "linked" and the files are there as i checked that already; but they aren't actually coming up in LDM?

RikiB
06-12-2008, 01:48 AM
I think I may have found a bug. It seems everyone can see the "hidden" links. Ive double checked the usergroup permissions, they should not be able to view hidden, but alas they can.
Can someone confirm this?

Riki

AndrewD
06-12-2008, 05:04 AM
I think I may have found a bug. It seems everyone can see the "hidden" links. Ive double checked the usergroup permissions, they should not be able to view hidden, but alas they can.
Can someone confirm this?

Riki

Riki, from a quick check, things seem to be working as they should - this doesn't mean 'no problem' - just 'I can't reproduce'. Do you want me to take a look?

AndrewD
06-12-2008, 05:06 AM
Actually it keeps adding a slash at the end of the adress : So when i enter /images/ldmicons

it transforms it to images/ldmicons/

If it's doing that, then it's finding the directory correctly. So it should be working correctly if the icons are there and the directory is accessible to php.

Send me a pm if you want me to take a look.

AndrewD
06-12-2008, 05:08 AM
we just moved our server to a new host and now for some reason all the thumbnails that were originally associated with each download is not showing. It's still showing as "linked" and the files are there as i checked that already; but they aren't actually coming up in LDM?

Try going to one of the LDM admin pages and look down the left of the page for the Statistics box. There should be a mention of the number of thumbs that it thinks are cached. Click on the hyperlink on 'cached' to reset and see if that fixes the problem

stwilson
06-12-2008, 05:16 AM
Andrew,

Is there a way to configure this MOD to add an item in the directory where the original contributor can attach multiple attachments, while allowing other members to add additional attachments to the item? Naturally, I would like all the submissions to be moderated.

What I am trying to do is allow my members to add a resource (new link) and attach more than one GPS file to the resource. As other members review the resource they may want to add additional GPS files to the already posted resource. Is this possible with this MOD?

RikiB
06-12-2008, 05:21 AM
Thanks, PM sent!

AndrewD
06-12-2008, 09:56 AM
Andrew,

Is there a way to configure this MOD to add an item in the directory where the original contributor can attach multiple attachments, while allowing other members to add additional attachments to the item? Naturally, I would like all the submissions to be moderated.

What I am trying to do is allow my members to add a resource (new link) and attach more than one GPS file to the resource. As other members review the resource they may want to add additional GPS files to the already posted resource. Is this possible with this MOD?

I don't think I will ever finish this hack...

I think the permissions system is not currently set up to allow what you are wanting - entry attributes/attachments were only introduced in this version, and the possibility that different people would add them to someone else's entry did not occur to me. I will give this some thought for a subsequent version if you feel this is justified.

josiespencer
06-13-2008, 02:32 PM
My ultimate goal is that all file downloads are done via hard coded URL links posted in posts that look like this "http://uber-goober.com/forums/local_links.php?action=jump&linkid=931". This makes a popup box appear and the user can download just that one file.

However...

(1) When I new user signs on for the first time he finds a file he wants to download:

http://uber-goober.com/myPictures/LDM1.png

(2) So he clicks the hyperlink and gets the prompt for accepting the download terms:

http://uber-goober.com/myPictures/LDM2.png

(3) He clicks Continue and gets:

http://uber-goober.com/myPictures/LDM3.png

(4) He clicks Go and sees:

http://uber-goober.com/myPictures/LDM4.png

(5) OK, first of all he isn't supposed to see this screen ever, he is just supposed to get a popup box asking him where he wants to save the file. Regardless, now he can do/see things he shouldn't be able to see. So he clicks on Categories to get a list of those:

http://uber-goober.com/myPictures/LDM5.png

(6) And then clicks on the LDM hyperlink and gets a list of all files in the LDM category:

http://uber-goober.com/myPictures/LDM8.png

(7) And now he can search for any file he wants including hidden files:

http://uber-goober.com/myPictures/LDM6.png

If I switch "off" the can_view_category for that users usergroup, he never gets the download acceptance terms in (3), instead he gets this:

http://uber-goober.com/myPictures/LDM7.png

I have messed around with and tweaked these settings about a million times - what am I missing here?

kencasanova
06-13-2008, 06:58 PM
when i upgrade to 3.7.1 and i also use CPMs 3.0.1. my index page appear like this

Fatal error: Call to undefined function lookup_ldm_forum_protections() in /home/khmerlor/public_html/modules/ldm_new.php on line 13

please help!

AndrewD
06-13-2008, 08:28 PM
when i upgrade to 3.7.1 and i also use CPMs 3.0.1. my index page appear like this

Fatal error: Call to undefined function lookup_ldm_forum_protections() in /home/khmerlor/public_html/modules/ldm_new.php on line 13

please help!

You've got inconsistent versions of LDM files installed. That function changed its name between release 2.2.8 and 2.2.9. Just uninstall and reinstall the relevant vba modules.

delibakis
06-13-2008, 08:39 PM
Thx! *installed*

animehawk
06-14-2008, 12:59 AM
Hi Andrew,

I'm having the following problem with 2.2.9.

Entry is not available because site parameters force_redirect and local_file_root are inconsistent - please contact administrator

Force_redirect=1
Local_file_root=no

I can use 0 for force_redirect, but it eats up a ton of memory, equal to the size of the file.

I don't have a local file prefix set either, and all of the files are located in the web dir.

Any thoughts?

AndrewD
06-14-2008, 05:43 AM
Hi Andrew,

I'm having the following problem with 2.2.9.



Force_redirect=1
Local_file_root=no

I can use 0 for force_redirect, but it eats up a ton of memory, equal to the size of the file.

I don't have a local file prefix set either, and all of the files are located in the web dir.

Any thoughts?

I think this is my fault. I put in a check to stop use of force direct when files are outside the web dir, and the check is too rigid. Will provide a fix today.

AndrewD
06-14-2008, 08:06 AM
My ultimate goal is that all file downloads are done via hard coded URL links posted in posts that look like this "http://uber-goober.com/forums/local_links.php?action=jump&linkid=931". This makes a popup box appear and the user can download just that one file.

OK, understood


(1) When I new user signs on for the first time he finds a file he wants to download:

(2) So he clicks the hyperlink and gets the prompt for accepting the download terms:

(3) He clicks Continue and gets:

(4) He clicks Go and sees:


I understand.


(5) OK, first of all he isn't supposed to see this screen ever, he is just supposed to get a popup box asking him where he wants to save the file. Regardless, now he can do/see things he shouldn't be able to see. So he clicks on Categories to get a list of those:
(6) And then clicks on the LDM hyperlink and gets a list of all files in the LDM category:
(7) And now he can search for any file he wants including hidden files:


I understand that you don't want people to go via the main LDM pages but I am surprised that they can see entries that you don't want them to see, particularly hidden entries.

If you don't want people to see hidden entries, then you should take away *can_view_hidden* permission from their usergroups.


If I switch "off" the can_view_category for that users usergroup, he never gets the download acceptance terms in (3), instead he gets this:


This is true, and correct behaviour.

The basic problem is that the "accept rule" forms were not designed with your route through LDM in mind. I think it's easy enough to change. I will see what I can do.

animehawk
06-14-2008, 12:24 PM
I think this is my fault. I put in a check to stop use of force direct when files are outside the web dir, and the check is too rigid. Will provide a fix today.
Thanks!

josiespencer
06-14-2008, 05:18 PM
OK, understood



I understand.



I understand that you don't want people to go via the main LDM pages but I am surprised that they can see entries that you don't want them to see, particularly hidden entries.

If you don't want people to see hidden entries, then you should take away *can_view_hidden* permission from their usergroups.



This is true, and correct behaviour.

The basic problem is that the "accept rule" forms were not designed with your route through LDM in mind. I think it's easy enough to change. I will see what I can do.

They do not have can_view_hidden.

OK, looking at it another way, is there a way to allow one group of people to see only things in directory PUBLIC and another group of people to see things in both PUBLIC and PRIVATE? Is there a loophole around that maybe? Or maybe with two different forums? Because the hook to permissions for forums for a file doesn't seem to restrict this either. Once you get in that post-acceptance screen, it is like you are an admin or something.

I want to work within in the rules to do what I need to get done, without you having to code anything.

obmob
06-14-2008, 05:20 PM
OK... i think it is finally done. :D

Spanish phrases were added to 2.2.9 :up:

AndrewD
06-14-2008, 06:06 PM
They do not have can_view_hidden.

OK, looking at it another way, is there a way to allow one group of people to see only things in directory PUBLIC and another group of people to see things in both PUBLIC and PRIVATE? Is there a loophole around that maybe? Or maybe with two different forums? Because the hook to permissions for forums for a file doesn't seem to restrict this either. Once you get in that post-acceptance screen, it is like you are an admin or something.

I want to work within in the rules to do what I need to get done, without you having to code anything.

It's quite possible there's a bug, but without further information, I can't help you. There's nothing special about being 'post-acceptance'.

There are two ways to let one usergroup see PUBLIC and another see PUBLIC + PRIVATE.

a) you go to PRIVATE, edit category/user permissions, and take away can_view_category from the first usergroup *in that category*

b) you go to PRIVATE, edit category and associate the category and all its entries with a forum to which only the second usergroup has vbulletin *can_view_forum* permissions.

Do you want me to take a look at your site? Send me a PM if so.

AndrewD
06-14-2008, 06:07 PM
OK... i think it is finally done. :D

Spanish phrases were added to 2.2.9 :up:

Thanks very much!!

AndrewD
06-14-2008, 06:38 PM
post deleted - code updated and moved to starter post of thread

josiespencer
06-14-2008, 07:58 PM
I've made a number of bug fixes and added some requested minor extensions, but also made a fairly significant change to the logic for the 'accept rules' form, so would appreciate some tests before replacing the official release.

'Accept Site Terms'
Modified logic to make it more rational for direct links to entries

Extras
Added 'hide-magnifier' extra to remove magnifier icon when image is smaller than icon size
Added 'tab-ldm-search' code for Ajax tabs

vba modules
Added 'show random entries' module
Extended 'list categories' module with configuration params

Styles
Form buttons consistently use 'button' class

Bug fixes
Fixed bug in entrybits code miscounting entries with different display_orders
Fixed bug in local_stream.php + WMP which logged out users who had not checked 'remember me' box
Fixed bug blocking downloads when force_redirect=1/local_file_root=0
Cached templates properly when moderating

Translations
Included complete Chinese and Spanish translations (thanks folks)

Thanks Andrew. I have PMed you the information. I tried setting up a test case for a category called HCC and attached a file to it called PLM150-EngineeringChangeAndConfigurationManagement. I attached the HCC category to a forums that is restricted to only a specific usergroup. But my test user could still see all the files in both categories.

animehawk
06-15-2008, 01:03 AM
Thanks much Andrew. that update seems to have fixed the problem I was having.

On another note, I have file type MKV setup as Content-type: application/octet-stream in the attachments manager, same as AVI. When I click to download an avi file a download prompt comes up, not so with the mkv file type. MKV files just open another windows filled with junk.

So, I changed the category's that have mkv files in them, to force-redirect=0. That seems to force the download prompt.

Is there anyway to change that? I thought that content type should have fixed that.

AndrewD
06-15-2008, 05:40 AM
Thanks much Andrew. that update seems to have fixed the problem I was having.

good!

On another note, I have file type MKV setup as Content-type: application/octet-stream in the attachments manager, same as AVI. When I click to download an avi file a download prompt comes up, not so with the mkv file type. MKV files just open another windows filled with junk.

So, I changed the category's that have mkv files in them, to force-redirect=0. That seems to force the download prompt.

Is there anyway to change that? I thought that content type should have fixed that.

If force_redirect is set to 1 or 2, then the vbulletin mimetype data is not used at all. LDM simply tells the browser to grab the file. How the file is handled depends on the browser configuration and any browser plugins. I imagine on your system, mkv's are being recognised by a browser plugin. I ran a test on my PC (where I have not installed tools to view mkvs) - both firefox and IE show a run/save as dialogue.

With force_redirect=0, application/force-download is a good content-type to force the open/save dialogue

animehawk
06-15-2008, 11:40 AM
Ahh, Ok. I t understand now. thanks much!

Darkstarproject
06-15-2008, 05:13 PM
Just have 1 question,
I uploaded some photo's and it didnt do 2 things.
1 - create a thumbnail of the image
2 - post a new thread in the section i had defined. The user in question has rights to add threads to that section of the forum. Any idea's why it wouldnt create thumbnails?

I do have the thumbnail directory created, it is writeable and it's configured within LDM.

AndrewD
06-16-2008, 06:40 AM
Just have 1 question,
I uploaded some photo's and it didnt do 2 things.
1 - create a thumbnail of the image
Any idea's why it wouldnt create thumbnails?

I do have the thumbnail directory created, it is writeable and it's configured within LDM


Check on ldm/admin/settings that you have given a non-zero size for the thumbnail size

2 - post a new thread in the section i had defined. The user in question has rights to add threads to that section of the forum..

Are thread announcements working at all or is the problem just with the photos? And, when submitting the photo, do you get a message saying that it could not create the thread or do you just get an 'accepted' message?

Darkstarproject
06-17-2008, 12:12 AM
Answer to 1 - I assume I set it at - link_imagesize ? If so, I did not have a value set, but I set a value now.

2 - Thread annoucements are working fine, when I uploaded the photo, it created a thread. when the user uploaded a photo, it did not create the thread.

obmob
06-17-2008, 12:40 AM
Hello Andrew, as always, it is great to be part of this mod, there is no other around i enjoy the most.

It is exiting to see the developments... you can't have enough LDM! :3

I was wondering about a random module in vbA, thanks!


OK... now my add to the wishlist XD

One of my forums have asian characters or kanji in the files description, when i export and reimported the LDM class, every kanji was a "?"

Is there a way to allow strange characters be exported and reimported, of course, just in case :p

AndrewD
06-17-2008, 04:11 AM
Hello Andrew, as always, it is great to be part of this mod, there is no other around i enjoy the most.

It is exiting to see the developments... you can't have enough LDM! :3

I was wondering about a random module in vbA, thanks!

OK, I hope that it works as you wanted



One of my forums have asian characters or kanji in the files description, when i export and reimported the LDM class, every kanji was a "?"

Is there a way to allow strange characters be exported and reimported, of course, just in case :p

You mean with the LDM export/import - I will check - this will be a character set handling problem.

RikiB
06-17-2008, 04:17 AM
I can't see how that could work reliably - domestic users tend to have dynamic IP addresses so are likely to show up on different addresses in any case.

Perhaps there could be a way to display a warning that the admin can view when someone downloads with multiple IPs.
I can then quickly check the IPs geolocaion and make a judgment. If I check the IPs and one is from UK while the other is from Austrailia, then I know that the user is sharing their user info, or someone stole it.

What would be even better is if ldlm could figure out the aprox location of the IP, but that is wishful thinking.

Just wondering, this isnt a huge deal but I have caught a few people abusing the system.

Riki

AndrewD
06-17-2008, 04:33 AM
Answer to 1 - I assume I set it at - link_imagesize ? If so, I did not have a value set, but I set a value now.

2 - Thread annoucements are working fine, when I uploaded the photo, it created a thread. when the user uploaded a photo, it did not create the thread.

I took a quick look at your site. I can see one problem which should be fixed first - I'm not sure if this is the cause of your problem or not.

I think you've got different base urls set for your site and your forum on your vb/admincp/options/site settings. One is set to www.sitename.xxx and the other just to sitename.xxx. You should make these consistent.

LDM uses full urls to avoid problems at the interface between vbulletin and vbadvanced.

Because vBulletin login cookies are (by default) url specific, someone who has logged on at www.sitename.xxx is not logged on when taken to sitename.xxx. This might be causing your difficulties.

If this is not the problem, I'm glad to take a look but will need full admin privs. Send me a pm if you want.

Yes, link_imagesize was correct - from what I see, this is now working correctly.

AndrewD
06-17-2008, 04:42 AM
Perhaps there could be a way to display a warning that the admin can view when someone downloads with multiple IPs.
I can then quickly check the IPs geolocaion and make a judgment. If I check the IPs and one is from UK while the other is from Austrailia, then I know that the user is sharing their user info, or someone stole it.

What would be even better is if ldlm could figure out the aprox location of the IP, but that is wishful thinking.

Just wondering, this isnt a huge deal but I have caught a few people abusing the system.

Riki

Take a look at the LDM/admin/hits information page - the default listing shows you how many IP addresses each recorded user has 'hit' from. I imagine that we could provide a plugin extra which links this page to a geolocation facility.

RikiB
06-17-2008, 04:56 AM
Thanks Andrew yeah currently I check that page when I think about it to see how many people are using multiple IPs, and its fairly rare. What I was thinking is if there could be some sort of notification when this happens without having to manually check. The problem is buy the time I realize 2 people downloaded a purchased file, it is too late.

derfelix
06-17-2008, 05:36 AM
Great version... very happy..

One little thing.. the german language file has a little problem.. it is UTF-8 which is OK but the xml-encoding is also UTF-8 which is a problem unless you use the vbulletin from vbulletin-china.cn.
In that version the core files have been modified to accept that encoding..

Most people use the language files (also for vbulletin and blog) following way:
Load lang file in texteditor.
Save as UTF8
Then only load into vbulletin.
in Vbulletin language settings make sure ALL charsets are set to UTF-8

But the first line in the languagefile should be:
<?xml version="1.0" encoding="ISO-8859-1"?>
and NOT:
<?xml version="1.0" encoding="UTF-8"?>
(otherwise each line gets truncated at the first special character -- at least in the vbulletin versions purchased from vbulletin.com)

just wanted to let people know, if someone runs into the same problem..
-----------

BTW.. has anybody seen a russian language file out there??
(I read in an older version - 3.6 or 3.5 - that someone was working on it)
I would very much appreciate

Thanks for the great work, andrew

Felix

AndrewD
06-17-2008, 05:43 AM
Thanks Andrew yeah currently I check that page when I think about it to see how many people are using multiple IPs, and its fairly rare. What I was thinking is if there could be some sort of notification when this happens without having to manually check. The problem is buy the time I realize 2 people downloaded a purchased file, it is too late.

OK, understood

kevinh
06-17-2008, 06:06 AM
Hi Andrew (or anyone else who may be able to help),

I'm building a replacement for an existing vB 3.6/vBaCMPS site which uses LDM 2.2.7

The replacement site uses vB 3.7.1 and LDM 2.2.9-RC2

What is the best way to transfer all the LDM content from the old site to the new one?

Thanks,
Kevin

AndrewD
06-17-2008, 07:48 AM
Hi Andrew (or anyone else who may be able to help),

I'm building a replacement for an existing vB 3.6/vBaCMPS site which uses LDM 2.2.7

The replacement site uses vB 3.7.1 and LDM 2.2.9-RC2

What is the best way to transfer all the LDM content from the old site to the new one?

Thanks,
Kevin

I assume that you are either installing on a new server, or creating a new instance of VB/LDM with new database tables. If you are simply upgrading an existing site, the sequence is straightforward: upgrade vbulletin and LDM (in either order), and everything's done.

There are two things you need to think about in moving server/database:

Database: The best approach is to copy the database (or at least the LDM SQL tables, which normally have names starting "local_links") to the new site, then install LDM 2.2.9. Alternatively, you can use the LDM/admin/export and import commands to upload the tables into an empty new installation.

Content: If you are moving to a new server, and your content consists of files on your own site (rather than urls pointing to another site), then you need to copy these files over to the new server. They need to be in the same place relative to the LDM settings local_file_root and local_file_root_prefix (if necessary, you can change those parameters).

Darkstarproject
06-17-2008, 12:41 PM
AndrewD. I'll get a PM off to you with the admin rights info.

vidan
06-18-2008, 08:21 PM
mr andrew pls check your email, i sent email to you thanks.

obmob
06-19-2008, 02:54 PM
You mean with the LDM export/import - I will check - this will be a character set handling problem.Yeah, using the LDM import/export features :D

PitchouneN64ngc
06-19-2008, 09:01 PM
I didn't check with 2.2.9-post1 installation (i'm busy by translating it in French and a lot of others things) and I have seen a little translation error.

Phrase 'll_perms_report_email', there is some unnecessary <em></em>.

Action taken on <em>Report Entry</em>. 0: Email <em></em> users, 1: As 0 plus category/forum moderators, 2: As 1 plus all VB moderators, 3: As 2 plus all VB supermoderators and administrators.This line is the only one which isn't translated.

Edit: an other bug:

When you have some saved searches in the search menu, the DOI lines (to be searched) has a wrong colspan.

PS: i'm finishing to translate it with the first release of LDM 2.2.9 and I will check for news in 2.2.9-post1 just after ;)

Edit 2: translation finished - look your PMs ;)

chronoshift
06-21-2008, 12:06 AM
I get this error:

Fatal error: Call to undefined function check_LDM_envt() in /var/www/mysite.com/forum/admincp/plugin.php(1985) : eval()'d code on line 22

when trying to install the product

AndrewD
06-21-2008, 05:00 AM
I get this error:

Fatal error: Call to undefined function check_LDM_envt() in /var/www/mysite.com/forum/admincp/plugin.php(1985) : eval()'d code on line 22

when trying to install the product

Check that you have uploaded all the php files into the right places. They should follow the directory structure in release/forums. The installer is trying to find a function that is in includes/local_links_admininclude.php

chronoshift
06-21-2008, 02:54 PM
Check that you have uploaded all the php files into the right places. They should follow the directory structure in release/forums. The installer is trying to find a function that is in includes/local_links_admininclude.php

I'm pretty sure I uploaded it all in the correct directory structure

I just checked and local_links_admininclude.php is in /mysite.com/forum/includes/

josiespencer
06-21-2008, 03:16 PM
AndrewD, just thought I would give you some more information. It looks like the reason a user can get into the hidden category files is because of my cookies being on the same server. When I tried the test with george on a newly imaged server, the problem did not occur. So it looks like your download agreement logic is causing the probem.

I try to download a file for the first time as BeauBeau:
https://vborg.vbsupport.ru/

But your download Continue screen shifts me back to SSULibrarian - I don't know if this is because of cookies or the Remember Me option being "on":

https://vborg.vbsupport.ru/

Hope this helps.

AndrewD
06-21-2008, 03:36 PM
AndrewD, just thought I would give you some more information. It looks like the reason a user can get into the hidden category files is because of my cookies being on the same server. When I tried the test with george on a newly imaged server, the problem did not occur. So it looks like your download agreement logic is causing the probem.

I try to download a file for the first time as BeauBeau:
http://www.uber-goober.com/myPictures/UG1.png

But your download Continue screen shifts me back to SSULibrarian - I don't know if this is because of cookies or the Remember Me option being "on":

http://www.uber-goober.com/myPictures/UG2.png

Hope this helps.

I don't think it's my download agreement logic that's causing the problem. If you take a look at those two screens, you'll see that one of them is for uber-goober.com and the other is for www.uber-goober.com. These have different cookies, so you are shown different users. This happens when the vbulletin admin/options/sitename settings identify the site differently from your site entry urls.

As I said in a PM a couple of weeks ago, you've got at least some, if not all, of an old release of LDM installed - I can see that from the LDM admin settings screen, which has the layout from onne of the alpha or beta 2.2.9 releases.

AndrewD
06-21-2008, 03:40 PM
I'm pretty sure I uploaded it all in the correct directory structure

I just checked and local_links_admininclude.php is in /mysite.com/forum/includes/

Make sure it's not the version left from an old installation. The function was renamed going from version 2.2.8 to 2.2.9 (part of the process of avoiding problems between LDM and other hacks)

AndrewD
06-21-2008, 05:33 PM
Yeah, using the LDM import/export features :D

I think this requires a rewrite of the ldm import code to deal correctly with extended characters. I'll put it on the list of things to do, but I don't think I can make this change quickly.

Cyborg86
06-21-2008, 10:41 PM
Hi,

I have a problem. Whenever I enter a link (remote or local) for a file, the link duplicates as you you can see in the attached file. So, when I have 6 entries for example and I choose a value of 6 for (links_per_page) from Entry Display Settings, I only see the first 3 entries on the page, and there is no button or something that takes me to the other 3 entries. But, when I enter a value of 12, I see all the 6 entries. Hope there is a solution for that, and thanks for this great mod and your effort.

AndrewD
06-22-2008, 05:22 AM
Hi,

I have a problem. Whenever I enter a link (remote or local) for a file, the link duplicates as you you can see in the attached file. So, when I have 6 entries for example and I choose a value of 6 for (links_per_page) from Entry Display Settings, I only see the first 3 entries on the page, and there is no button or something that takes me to the other 3 entries. But, when I enter a value of 12, I see all the 6 entries. Hope there is a solution for that, and thanks for this great mod and your effort.

I thinhk you're pointing to two different things.

The missing entries are caused by a bug in 2.2.9 which occurs when entries have different display orders (which I can see you are using). The fix is provided in the local_links_include.php file in the header post. Just upload that file into your forum/includes directory and the problem should be fixed. Please let me know.

I will merge this into the main zip file very shortly as part of the 2.2.9-post1 release, but I am waiting on resolving someone else's problem before doing so.

On the second point, the duplication of file names on your admin/mass edit page, this is quite different. The first (top line) url in each box is the one you provided for the entry url box on the 'add entry' form and the second is the one you entered into the thumbnail image box. I'm not sure why you are specifying an rar file for the thumbnail image?

Cyborg86
06-22-2008, 10:31 AM
Hi,

I uploaded the updated local_links_include.php, and the missing entries issue was solved. Regarding the second problem, actually the 2nd link looks like the top one but it is pointing to the thumbnail image. So, when I click on the 2nd link (even if it is same as the top one) it doesn't direct me to the file, it directs me to the image. So, It just has a similar name to the file link.

AndrewD
06-22-2008, 02:18 PM
OK... now my add to the wishlist XD

One of my forums have asian characters or kanji in the files description, when i export and reimported the LDM class, every kanji was a "?"

Is there a way to allow strange characters be exported and reimported, of course, just in case :p

This caused me to lose a bit more hair (not much left).

The attached file modifies the import process to process kanji, etc, provided these are being handled in the form of extended html entities. (This is the default behaviour, as far as I can tell, but I'm not an expert on utf8 and the like.)

If you want to give it a try, be my guest. I'd appreciate a report. Just replace this file in your forum/includes directory. It doesn't change the export file; just processes the import file with a little more intelligence.

NB: This will only work if your php installation supports the *mbstring* extension (you can check by going to vb/admin/maintenance/phpinfo and scrolling down to look for that section).

AndrewD
06-22-2008, 06:20 PM
Released

22.06.08 version 2.2.9 post1 [Works with vb 3.6 and 3.7]

'Accept Site Terms'
Modified logic to make it work in a more rational manner when handling direct links to entries

Extras
Added 'hide-magnifier' extra to remove magnifier icon when image is smaller than icon size
Added 'tab-ldm-search' code for Ajax tabs

vba modules
Added 'show random entries' module
Discontinued versionist variation
Extended 'list categories' module with configuration params

Bug fixes
Fixed bug in forum autoannounce code (errors not displayed if site had turned off redirect panes)
Fixed bug in entrybits code miscounting entries with different display_orders
Fixed bug in local_stream.php + WMP which logged out users who had not checked 'remember me' box
Fixed bug blocking downloads when force_redirect=1/local_file_root=0
Cached templates properly when moderating
Corrected minor template errors
Form buttons consistently use 'button' class

TrIn@dOr
06-23-2008, 02:05 AM
NEED HELP ASAP!!

After upgraded, and uploaded the spanish phrases all the forum turned on a reverse look!!

HELP!!

//EDIT

Fixed!!, something is wrong in the _es post1 file!, i needed to reupload my language file!!

AndrewD
06-23-2008, 06:55 AM
NEED HELP ASAP!!

After upgraded, and uploaded the spanish phrases all the forum turned on a reverse look!!

HELP!!

//EDIT

Fixed!!, something is wrong in the _es post1 file!, i needed to reupload my language file!!

Apologies. The third line of the spanish phrases should read

<language name="Espa?ol" vbversion="3.7.1" product="eirma_ldm" type="phrases">


and not


<language name="Espa?ol" vbversion="3.7.1" product="eirma_ldm" type="custom">

abdelghani68
06-23-2008, 04:06 PM
I have installed the flash-sites but when I add a video from dailymotion, it is written that the link is not valid when i clic. youtube works fine...

Can you help me please, thanks.

Gholsie
06-23-2008, 06:03 PM
Had an error while trying to upload a file.

*** Unable to parse for XML file Array - error at line 1

AndrewD
06-23-2008, 07:05 PM
Had an error while trying to upload a file.

*** Unable to parse for XML file Array - error at line 1

I've never seen an error like this. Can you give more information?

AndrewD
06-23-2008, 07:19 PM
I have installed the flash-sites but when I add a video from dailymotion, it is written that the link is not valid when i clic. youtube works fine...

Can you help me please, thanks.

Thanks. Probably dailymotion has changed its flash coding since the extra was last checked. Will try to investigate.

sparklywater
06-23-2008, 09:19 PM
Is it possible to run multiple 'LDM databases/directories' at the same time using a single installation of LDM, ie. one for 'links', one for 'downloads', one for 'picture-gallery', etc? I don't see the option to do this, can someone please direct me to the relevant info?

obmob
06-23-2008, 10:43 PM
This caused me to lose a bit more hair (not much left).

The attached file modifies the import process to process kanji, etc, provided these are being handled in the form of extended html entities. (This is the default behaviour, as far as I can tell, but I'm not an expert on utf8 and the like.)

If you want to give it a try, be my guest. I'd appreciate a report. Just replace this file in your forum/includes directory. It doesn't change the export file; just processes the import file with a little more intelligence.

NB: This will only work if your php installation supports the *mbstring* extension (you can check by going to vb/admin/maintenance/phpinfo and scrolling down to look for that section).Andrew is baldy now? >.<

I'm glad to tell you it worked perfectly! ^^

Thanks!!

AndrewD
06-24-2008, 03:47 AM
Is it possible to run multiple 'LDM databases/directories' at the same time using a single installation of LDM, ie. one for 'links', one for 'downloads', one for 'picture-gallery', etc? I don't see the option to do this, can someone please direct me to the relevant info?

LDM is not set up to run completely separate directories at the same time from the same code files, although I think it could be hacked to do so without much difficulty.

Why not simply set up separate base categories for links, downloads, photos, etc, and then provide direct url links into these categories? You can easily set up different access permissions, settings, etc for teh different categories.

AndrewD
06-24-2008, 04:06 AM
Andrew is baldy now? >.< Increasingly so

I'm glad to tell you it worked perfectly! ^^

Thanks!!

I'll find a way to incorporate this into the next release as a standard feature.

dkny
06-24-2008, 03:59 PM
Hi
first off I love your product, it's great and have been using it for a year on 3.6.

I upgraded my forum over the weekend and uploaded your product to the latest version. I cant get it to work though, in settings it under where my files are stored (which I didn't change), it gives me the following error:

upload_dir : /forum/uploads/99/
Cannot access or create directory /forum/uploads/99/ [/forum/uploads/99/ not within permitted open_basedir /home/ncc: /usr/lib/php: /usr/local/lib/php: /tmp]

AndrewD
06-24-2008, 04:15 PM
Hi
first off I love your product, it's great and have been using it for a year on 3.6.

I upgraded my forum over the weekend and uploaded your product to the latest version. I cant get it to work though, in settings it under where my files are stored (which I didn't change), it gives me the following error:

upload_dir : /forum/uploads/99/
Cannot access or create directory /forum/uploads/99/ [/forum/uploads/99/ not within permitted open_basedir /home/ncc: /usr/lib/php: /usr/local/lib/php: /tmp]

From the look of your error message, you've got the LDM admin setting *local_file_root* turned off (i.e. store files outside the web directory), and your web server has open_basedir set, so that PHP is only allowed to access files in the named directories. The message says that your upload directory is not within the space allowed by open_basedir.

If everything was working before and none of these settings have changed, I find that strange.

I imagine that you mean to have *local_file_root* turned on (presumably you want to store your uploads in a subdirectory of your forums directory). Easiest approach is
* clear the upload directory and save the settings
* set local_file_root on and save the settings
* reset the upload directory

roymogg
06-24-2008, 07:21 PM
Hi Andrew

This mod went in a treat - still playing with the layouts before I go live.

I have had a problem with using the mod to include asx media files get a white screen when I select a media file - have uploaded the product as normal from the extras director and all seems OK (also added the asx to attachments).

However I cannot access the 'import radio-stations admin tab as I (as administrator) am advised I do not have permissions. I cannot see where this is set in the settings permissions area.

Can you help point me in the right direction.

cheers

Roy

Bexter
06-24-2008, 08:55 PM
Ok, so i've got this installed on my site, it's great.
However, im also an admin on another site which has this installed. The main admin installed it there. Now when adding files to them both I've noticed that on his site, I'm able to upload an image as well for the file, but I cant get that on my site. Ive looked through all the settings on both sites and changed pretty much all the settings, except the ones which I want customised for my site and I know have nothing to do with it. They dont have any extra plugins installed, I downloaded the latest version thinking that could be why, but nope, still dont get the upload an image option. Is there something I might be missing :S.

dkny
06-24-2008, 10:48 PM
From the look of your error message, you've got the LDM admin setting *local_file_root* turned off (i.e. store files outside the web directory), and your web server has open_basedir set, so that PHP is only allowed to access files in the named directories. The message says that your upload directory is not within the space allowed by open_basedir.

If everything was working before and none of these settings have changed, I find that strange.

I imagine that you mean to have *local_file_root* turned on (presumably you want to store your uploads in a subdirectory of your forums directory). Easiest approach is
* clear the upload directory and save the settings
* set local_file_root on and save the settings
* reset the upload directory

thank you that helped, works fine now.

AndrewD
06-25-2008, 03:40 AM
Ok, so i've got this installed on my site, it's great.
However, im also an admin on another site which has this installed. The main admin installed it there. Now when adding files to them both I've noticed that on his site, I'm able to upload an image as well for the file, but I cant get that on my site. Ive looked through all the settings on both sites and changed pretty much all the settings, except the ones which I want customised for my site and I know have nothing to do with it. They dont have any extra plugins installed, I downloaded the latest version thinking that could be why, but nope, still dont get the upload an image option. Is there something I might be missing :S.

The 'Add Entry' form has up to four fields for url/url upload/image/image upload, see attached picture. Check which of these are visible for you.

The two Image fields only appear when the setting *link_imagesize* is >0.

The two Upload fields only appear when uploading is both enabled and allowed for the current user. It's enabled if the *upload_enabled* setting is on; it's allowed if the LDM permission *can_upload_files* is on for the curent user group.

Get back to me if this doesn't help.

AndrewD
06-25-2008, 03:48 AM
Hi Andrew

This mod went in a treat - still playing with the layouts before I go live.

I have had a problem with using the mod to include asx media files get a white screen when I select a media file - have uploaded the product as normal from the extras director and all seems OK (also added the asx to attachments).

White screens usually mean a php error which gets caught up with vbulletin's screen handling. To find out if this is the case, go to vbulletin/admin/options/cookies and html headers and unset the 'gzip html output' option. Then try again and see if you get something other than the white screen. I'll also investigate.

I cannot access the 'import radio-stations admin tab as I (as administrator) am advised I do not have permissions. I cannot see where this is set in the settings permissions area.


My mistake - I've been too rigorous with the error checking. Will post a fix as soon as possible. Sorry.

Bexter
06-25-2008, 07:52 AM
Ah thank you, i didn't realise that one needed to be filled in, id left it blank so it would use the value of Thumbnail Size from the VB admincp. Putting 0 in didn't work either, but i changed it to 120 and it now works thanks :D

juzernie
06-25-2008, 01:45 PM
great product! but when i tried to navigate through the subfolders from the main site at http://forum.xxx.com/ while being logged in, i get logged out and i realise this is due to a change in the URL from http://forum.xxx.com/ to http://www.xxx.com/forum/.

Is there anyway to work around it? thanks in advance!

AndrewD
06-25-2008, 04:17 PM
great product! but when i tried to navigate through the subfolders from the main site at http://forum.xxx.com/ while being logged in, i get logged out and i realise this is due to a change in the URL from http://forum.xxx.com/ to http://www.xxx.com/forum/.

Is there anyway to work around it? thanks in advance!

Take a look at the forum url you have set up on your vb admincp/options/site name url. LDM picks this up and uses it in the urls

roymogg
06-25-2008, 04:19 PM
Andrew,

I have carefully gone through the permissions in general and have ensured unregistered can download attachments (obviously including asx now) but not see the thread this is because I only want registered users to actually be able to get downloads as an encouragement to join in general - the test radio stream now loads up with the Jukebox. So it looks as if permissions was the problem.

Still cannot access upload radio stations however - although this is not critical

cheers

RoyMogg

juzernie
06-25-2008, 04:52 PM
Take a look at the forum url you have set up on your vb admincp/options/site name url. LDM picks this up and uses it in the urls
hi andrew, thanks! it worked! :D

juzernie
06-25-2008, 05:17 PM
another quick question. i got this message which says,

"Possible inconsistencies between LDM and its environment
- upload_max_filesize 64M > post_max_size 10M in php.ini file - Large uploads may fail without warning"

all i know is the upload max file size is bigger than the post max size. what is the difference between these 2 and is there any setting which i can amend to get rid of the message?

AndrewD
06-25-2008, 06:54 PM
another quick question. i got this message which says,

"Possible inconsistencies between LDM and its environment
- upload_max_filesize 64M > post_max_size 10M in php.ini file - Large uploads may fail without warning"

all i know is the upload max file size is bigger than the post max size. what is the difference between these 2 and is there any setting which i can amend to get rid of the message?

These are parameters in the php.ini file which controls your web server. They both place limits on the maximum size of uploads. There is a potential problem when post_max_size is smaller than upload_max_filesize. If a user tries to upload a file that is bigger than post_max_size but smaller than upload_max_filesize, some versions of php are unable to give proper error messages. The solution is that post_max_size should be set to a value that is bigger than upload_max_filesize

AndrewD
06-25-2008, 06:56 PM
Still cannot access upload radio stations however - although this is not critical


Yes, I know what the problem is. I will upload the fix when I have the chance.

obmob
06-27-2008, 01:15 AM
I'll find a way to incorporate this into the next release as a standard feature.Thanks! :3

stwilson
06-27-2008, 05:01 AM
Is there any way you can allow for multiple attachments and multiple images per entry? That would be killer.

AndrewD
06-27-2008, 05:24 AM
Is there any way you can allow for multiple attachments and multiple images per entry? That would be killer.

Yes, it's there in 2.2.9.

You need to use the 'Entry Attributes' feature. See the online wiki for an explanation, http://www.eirma.org/wikis/index.php/Entry_Attributes

juzernie
06-27-2008, 10:53 AM
These are parameters in the php.ini file which controls your web server. They both place limits on the maximum size of uploads. There is a potential problem when post_max_size is smaller than upload_max_filesize. If a user tries to upload a file that is bigger than post_max_size but smaller than upload_max_filesize, some versions of php are unable to give proper error messages. The solution is that post_max_size should be set to a value that is bigger than upload_max_filesize

thanks so that means i will have to ask my hosting provider to change the limit for the post_max_size?

AndrewD
06-27-2008, 11:01 AM
thanks so that means i will have to ask my hosting provider to change the limit for the post_max_size?

Yes. Ask them to make post_max_size slightly bigger than upload_max_filesize

mhmd1983
06-28-2008, 06:54 AM
can anyone tell me what's "Use post count to define allowances" plugin do !! , i have it installed but it doesn't do anything

http://img72.imageshack.us/img72/1511/ldmei0.jpg

never mind the NO choice it means Yes cause i'm using rtl language

what i understand is this i can prevent download for selected group by post number but i can't understand if it (x)posts for (x)downloads or like example : 10 posts for 1 download so users with 20 posts can download 2 files , or all users more than 10 posts will download 1 files , i'm using count all posts not an hour period

and with all that i can't get it work at all

AndrewD
06-28-2008, 09:41 AM
can anyone tell me what's "Use post count to define allowances" plugin do !! , i have it installed but it doesn't do anything

never mind the NO choice it means Yes cause i'm using rtl language

what i understand is this i can prevent download for selected group by post number but i can't understand if it (x)posts for (x)downloads or like example : 10 posts for 1 download so users with 20 posts can download 2 files , or all users more than 10 posts will download 1 files , i'm using count all posts not an hour period

and with all that i can't get it work at all

When you enable this extra, users in the indicated user groups have the allowances specified here until their post count reaches the specified level. It seems to work for me.

You seem to have set this to limit root admins to 1 file maximum until they have 1000 posts. The attachment shows the message that should be displayed.

Question: is your root admin account also a member of another usergroup? LDM always grants the most generous usergroup allowances. You have not limited other groups.

roymogg
06-28-2008, 03:01 PM
Kevin, the change to the template is straightforward:


<if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>


This works if you tell a normal LDM display to use the featured linkbit. However, it will not work with the standard 'featured' display as it stands, because (for reasons of efficiency) the keywords are not cached at that point in the code. It's an easy change to make to the code - let me know what you need.

Andrew,

I was thinking about doing something similar and added some attributes (contact name email etc.) and wanted to show these in the featured template (or similar shorter catlink template). The extra attributes do not show up - OK in the larger templates.

Have I done something wrong (the answer is probably yes but would like to know how to correct)

can you advise

cheers

Roy

Is it possible to add another catlink template?

AndrewD
06-28-2008, 03:22 PM
Andrew,

I was thinking about doing something similar and added some attributes (contact name email etc.) and wanted to show these in the featured template (or similar shorter catlink template). The extra attributes do not show up - OK in the larger templates.

Have I done something wrong (the answer is probably yes but would like to know how to correct)

can you advise

cheers

Roy

Is it possible to add another catlink template?

The attributes are patched into the linkbits part way through processing. For them to appear, the following line has to appear somewhere in the relevant linkbit template. (Currently, the featured linkbit does not have this line)


<!--$linkid::entities-->


The entities themselves are built up using the links_viewone_entity template and then inserted at the marked point in the template.

Currently, new linkbit and catbit templates are added programmatically. Take a look at includes/local_links_admininclude.php. At around line 626, there's a sequence:


// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------
// name=X: name used in selection menus
// defcol=N: default number of display columns
// maxcol=N: maximum number of columns that it makes sense to display
// subbit=M: template used for displaying subcategories within this catbit
require_LDMadminrow($seq++, 'links_catbit', serialize(array("name"=>"Tabular", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
require_LDMadminrow($seq++, 'links_catbit_brief', serialize(array("name"=>"Brief", "defcol"=>2, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------


To add a new catbit, add another line of code:

require_LDMadminrow($seq++, 'links_your_catbit', serialize(array("name"=>"YourCatName", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);


Save, upload, and re-install the LDM product loader. The new catbit will appear on the selection menus.

juzernie
06-29-2008, 09:56 AM
Yes. Ask them to make post_max_size slightly bigger than upload_max_filesize

thanks for the help! :)

Bexter
06-29-2008, 10:16 AM
Thanks for your help before, seem to have another small little problem though. Thought itd be a good idea to autocreate threads for entries based on my site, so I've turned the settings on, gone through all the categories assigning the correct forum to post in (but it gives me an option of changing where its posted when I upload the file)
My problem though is, it uploads the file fine, but it says it can't create a thread. The reason it gives is: Forum does not exist
Yet the forum does exist. Any ideas?

AndrewD
06-29-2008, 11:17 AM
Thanks for your help before, seem to have another small little problem though. Thought itd be a good idea to autocreate threads for entries based on my site, so I've turned the settings on, gone through all the categories assigning the correct forum to post in (but it gives me an option of changing where its posted when I upload the file)
My problem though is, it uploads the file fine, but it says it can't create a thread. The reason it gives is: Forum does not exist
Yet the forum does exist. Any ideas?

I will find it easiest to help with this if I take a look at your site. If you like, send me a PM with details of an admin account.

derfelix
06-29-2008, 01:08 PM
just installed new version.. 2.29 post1 very very nice..2 little things though.. I use human verification system, and in LL if you go on search
i.e. advanced search ... as unregged user.. the template is not cached.. see attached screenshot
I'll just add it to the templates to cache.. no problem.. but i thought i'd let you know.. to fix for next release

and for the language files... french, and german are correctly encoded UTF-8.. but, unless u use vbulletin from vbulletin-china ( they have changed the main vb code) the header in the xml file should still be
<?xml version="1.0" encoding="ISO-8859-1"?>
and not
<?xml version="1.0" encoding="UTF-8"?>
but thats minor...

thx again for the great work..

Felix

AndrewD
06-29-2008, 03:46 PM
and for the language files... french, and german are correctly encoded UTF-8.. but, unless u use vbulletin from vbulletin-china ( they have changed the main vb code) the header in the xml file should still be
<?xml version="1.0" encoding="ISO-8859-1"?>
and not
<?xml version="1.0" encoding="UTF-8"?>
but thats minor...


Thanks - just to be clear on this - the phrases file should be ISO-8859-1 and the product file should be UTF-8, right?

derfelix
06-29-2008, 04:36 PM
nooo !!!

Sorry.. english is not my mother tongue...

What works for me:

1. If you use standard vbulletin from vbulletin.com without having modified the vbulletin xml parser class...
then the first line of ALL xml files should be:

<?xml version="1.0" encoding="ISO-8859-1"?>

Same thing for the product files...

OK?

If you use UTF-8 for the languages, then you open the xml file in your favorite editor.. ( I use "edit plus") and without modifying anything you do a "save as".
There you select encoding: UTF-8 in the dropdown. Then simply click save and overwrite the old file.
(Most editors have that option.. even notepad has UTF-8 when you do "save as")

Of course this is the standard.. IF the user uses english vbulletin and adds the other languages as custom languages with UTF-8 charset.

-----------

2. IF the user uses chinese product and the other languages as custom languages it is different. He probably has the chinese vbulletin installed. It is patched to accept the utf-8 first line for xml files..
In that case the chinese product is correct as it is in the package..
but he has to change the other language files..
All the first lines of the language files will have to be :
<?xml version="1.0" encoding="UTF-8"?>
And all language files saved as UTF-8 in editor..

It doesnt matter for the product file it will import correctly whatever the header is.. its just for the phrases in the product file.


The major problem is.. NOT all users use UTF-8 encoding.. or mix encodings when importing languages
Example:

french language Charset: ISO 8859-1
and chinese language Charset: UTF-8
both on the same board!!!

This will seem to work at first.. but is bad.. because your problems will appear as soon as you post in the forums...

In this example:
If a french user posts.. (when the board is set to french) he will post in ISO 8859-1... and the chinese user will post in UTF-8 because he will have chosen to view the board in chinese.
So if the french user looks at the post of the chinese user.. (even if the chinese user posted in french!!!! ) he will not see the special charachters correctly.. because he will be looking at the page in ISO 8859-1 and the chinese user posted the special characters in UTF-8..

That is why you sould always use the SAME encoding for ALL languages... (and only UTF-8 works with ALL languages) I think that is why vbulletin 4.0 will be UTF-8 only.



Hope that was clear..
If not I will try to do some further explanations..

Felix..

IR15H
06-29-2008, 08:38 PM
Is this normal behaviour?;
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

This was obtained by nominating a star entry, then changing to nominate a different entry. I expected it to only save the latest, current, nominated entry.

----------------------------

The comments/rating count only registers the number of different users who comment/rate, it doesn't account for the same user posting more than once;
https://vborg.vbsupport.ru/

----------------------------

If I enable the hide-magnifier extra, with a local_file_root_prefix set, then I receive the following error at the top of any page containing an external image (for use as thumbnail);

Warning: getimagesize(Local File Root Prefix/http://www.somesite.com/image.png) [function.getimagesize]: failed to open stream: Invalid argument in [path]\includes\local_links_include.php(3190) : eval()'d code on line 8

----------------------------

The upload permissions don't appear to follow those set in forum/admincp/attachmentpermission.php. I prevented all users from uploading png's, but was still able to upload a png using a regular Registered User's account;

https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

Have I set something wrong?

----------------------------

I found the description of autocreate_active a bit confusing - "Automatic forum announcement of new entries enabled". I originally thought it'd make an actual announcement, not a thread.

----------------------------

How would I go about making ldm_post_addrating_title follow the default format of Re: Thread Title (as defined in ADMIN CP > vBulletin Options > Message Posting and Editing Options >Automatically Quote Post / Thread Title). I tried editing the phrase to RE: {1}, but that appears as Re: %1$s in the actual thread.

----------------------------

Thank you once again for such an excellent mod :D.

RikiB
06-30-2008, 01:12 AM
Ive noticed a pattern, every time I upgrade my ldlm version it resets the "hidden" attribute on files to visible. Its not a huge deal now that I know it will happen, but I think it would be classified as a bug.

Riki

AndrewD
06-30-2008, 04:19 AM
Is this normal behaviour?;
http://img53.imageshack.us/img53/8414/localhostforumlocallinkgz5.png
http://img50.imageshack.us/img50/4789/fireshotcapture43adminicd9.png
http://img53.imageshack.us/img53/1338/localhostforumlocallinkun8.png

This was obtained by nominating a star entry, then changing to nominate a different entry. I expected it to only save the latest, current, nominated entry.


It records them all, but only counts a user's most recent nomination per period. That way, it continues to work correctly if the admin changes his/her mind about the collection period, e.g. decides to switch from months to weeks.

The comments/rating count only registers the number of different users who comment/rate, it doesn't account for the same user posting more than once;
http://img53.imageshack.us/img53/4517/localhostforumlocallinkyr0.png


This is true. Fixing this in an efficient manner requires a slight change to the database structure, which I have put off making. I was thinking of making version 2.3.0 an 'efficiency' release, with points like this addressed.

If I enable the hide-magnifier extra, with a local_file_root_prefix set, then I receive the following error at the top of any page containing an external image (for use as thumbnail);

Warning: getimagesize(Local File Root Prefix/http://www.somesite.com/image.png) [function.getimagesize]: failed to open stream: Invalid argument in [path]\includes\local_links_include.php(3190) : eval()'d code on line 8


OK, will fix in the next 2.2.9 upload.

The upload permissions don't appear to follow those set in forum/admincp/attachmentpermission.php. I prevented all users from uploading png's, but was still able to upload a png using a regular Registered User's account;

http://img176.imageshack.us/img176/2326/fireshotcapture49forumsec7.png
http://img128.imageshack.us/img128/2066/43625579mr7.png

Have I set something wrong?


The code in its current form does not check against those vb per-filetype permissions- I'm not sure - are these a relatively recent extension to vbulletin? I'll add it to the list of things to do, maybe 2.2.9 or 2.3.0.

I found the description of autocreate_active a bit confusing - "Automatic forum announcement of new entries enabled". I originally thought it'd make an actual announcement, not a thread.


OK, will change the wording in next 2.2.9 upload

How would I go about making ldm_post_addrating_title follow the default format of Re: Thread Title (as defined in ADMIN CP > vBulletin Options > Message Posting and Editing Options >Automatically Quote Post / Thread Title). I tried editing the phrase to RE: {1}, but that appears as Re: %1$s in the actual thread.


This requires a minor change to the code, which I will make available in the next 2.2.9 in the next few days.

AndrewD
06-30-2008, 04:20 AM
Ive noticed a pattern, every time I upgrade my ldlm version it resets the "hidden" attribute on files to visible. Its not a huge deal now that I know it will happen, but I think it would be classified as a bug.

Riki

I'm not sure how this can happen, but I'll check.

mhmd1983
06-30-2008, 08:19 AM
When you enable this extra, users in the indicated user groups have the allowances specified here until their post count reaches the specified level. It seems to work for me.

You seem to have set this to limit root admins to 1 file maximum until they have 1000 posts. The attachment shows the message that should be displayed.

Question: is your root admin account also a member of another usergroup? LDM always grants the most generous usergroup allowances. You have not limited other groups.

Ok , it keeps saying 0 used
https://vborg.vbsupport.ru/

I'm linking to a remote files using redirect links , it counts the hit , but doesn't limit it

AndrewD
06-30-2008, 08:38 AM
Ok , it keeps saying 0 used
http://img530.imageshack.us/img530/8324/ldmps4.jpg

I'm linking to a remote files using redirect links , it counts the hit , but doesn't limit it

That's why. Since LDM is not handling the download, it doesn't try to restrict it. This is generally true of the files/bandwidth limits.

kris
06-30-2008, 01:49 PM
AndrewD , thank you this MOD (add-on) very well done.
I was hopping to find one thing in configuration that I would like to have on my very large board , but it looks like you dont have it yet. It a possibilities of using your add-on to sync all user attachments (old and new) to special category, if its possible please let me know how ? if its not so may be you can add this to your future version. I have 20GB of users attachments (mostly jpegs) stored on the hard disk that they uploaded to my forum posts for over 8 years and I would like to have some kind of interface to view and manage them.

AndrewD
06-30-2008, 01:55 PM
AndrewD , thank you this MOD (add-on) very well done.
I was hopping to find one thing in configuration that I would like to have on my very large board , but it looks like you dont have it yet. It a possibilities of using your add-on to sync all user attachments (old and new) to special category, if its possible please let me know how ? if its not so may be you can add this to your future version. I have 20GB of users attachments (mostly jpegs) stored on the hard disk that they uploaded to my forum posts for over 8 years and I would like to have some kind of interface to view and manage them.

Thanks. This is not there at the moment, but it's a feature that I have been meaning to write for some time, and will probably do so in the near future. One question - are your attachments stored on file or in the database?

kris
06-30-2008, 02:11 PM
files ! but you'll need to read database to link attachment files to user information.

Thank you again !

btw, is your time available to do custom work extra for money?

AndrewD
06-30-2008, 02:50 PM
btw, is your time available to do custom work extra for money?

Nope.... I need a life.

roymogg
06-30-2008, 07:47 PM
The attributes are patched into the linkbits part way through processing. For them to appear, the following line has to appear somewhere in the relevant linkbit template. (Currently, the featured linkbit does not have this line)


<!--$linkid::entities-->


The entities themselves are built up using the links_viewone_entity template and then inserted at the marked point in the template.

Currently, new linkbit and catbit templates are added programmatically. Take a look at includes/local_links_admininclude.php. At around line 626, there's a sequence:


// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------
// name=X: name used in selection menus
// defcol=N: default number of display columns
// maxcol=N: maximum number of columns that it makes sense to display
// subbit=M: template used for displaying subcategories within this catbit
require_LDMadminrow($seq++, 'links_catbit', serialize(array("name"=>"Tabular", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
require_LDMadminrow($seq++, 'links_catbit_brief', serialize(array("name"=>"Brief", "defcol"=>2, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------


To add a new catbit, add another line of code:

require_LDMadminrow($seq++, 'links_your_catbit', serialize(array("name"=>"YourCatName", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);


Save, upload, and re-install the LDM product loader. The new catbit will appear on the selection menus.
Many thanks Andrew this looks very straightforward - if I have a prob will get back.

This is really a great add-on and I have already had some good feedback.

Cheers

Roy

abdelghani68
07-01-2008, 09:22 PM
hi

I have installed id3tag-enhancements but I can't see him run.

Can you help me please ?

I have upload idtag3 : www/mysite/forum/getid3

Sorry but how to do that ?

Scan and Add Link create entry attributes based on contents of ID3 tags


thanks

AndrewD
07-02-2008, 04:31 AM
hi

I have installed id3tag-enhancements but I can't see him run.

Can you help me please ?

I have upload idtag3 : www/mysite/forum/getid3

Sorry but how to do that ?

Scan and Add Link create entry attributes based on contents of ID3 tags


thanks

As well as installing the id3tag-enhancements plugin and enabling it, you also have to upload the getid3 code. Unzip getid3.zip from the extras directory. Then use your ftp software - create a directory called getid3 in your forums directory and upload the files into that directory.
You also need to enable display of 'additional attributes' on the LDM admin/settings page.

abdelghani68
07-02-2008, 08:46 AM
thanks.

obmob
07-03-2008, 05:15 PM
Ok... i need some help :p

On of my sites has around 500 entries every file is on my server they are sorted within folders, one folder for one category, I have never used LDM synch.

Is it possible to enable this feature? If so, how should i prepare my files and folders?

Thanks Andrew :D

Stilgar
07-03-2008, 07:47 PM
Hello,

First off I would like to say that this modification is incredible. Thank you for all the work you have put into it. The features and settings are outstanding.

I was wondering if it was possible to sort link entries by UserGroups?

UserGroup A (links submitted sort at the top of their category)

UserGroup B (links submitted sort after links submitted by Group A)

UserGroup C (links submitted sort after links submitted by Group B)

This way, members that pay (subscribe) to be in a better UserGroup such as B or A, will have their links displayed higher then those who are in Group C.

If this setting is already in there, pardon my missing it. There's a lot of configuration to do and I most likely missed it.

Again thanks for all your efforts,

James

Bexter
07-03-2008, 08:54 PM
I will find it easiest to help with this if I take a look at your site. If you like, send me a PM with details of an admin account.
Just to let you know, I got it working :), was to do with the parent category having a parent forum as well as the sub category. Must have conflicted or something because when I changed the parent category's forum to none, it started working.

Absolutely fantastic add on :D

AndrewD
07-04-2008, 04:27 AM
Ok... i need some help :p

On of my sites has around 500 entries every file is on my server they are sorted within folders, one folder for one category, I have never used LDM synch.

Is it possible to enable this feature? If so, how should i prepare my files and folders?

Thanks Andrew :D

There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.

AndrewD
07-04-2008, 04:28 AM
Hello,

First off I would like to say that this modification is incredible. Thank you for all the work you have put into it. The features and settings are outstanding.

I was wondering if it was possible to sort link entries by UserGroups?

UserGroup A (links submitted sort at the top of their category)

UserGroup B (links submitted sort after links submitted by Group A)

UserGroup C (links submitted sort after links submitted by Group B)

This way, members that pay (subscribe) to be in a better UserGroup such as B or A, will have their links displayed higher then those who are in Group C.

If this setting is already in there, pardon my missing it. There's a lot of configuration to do and I most likely missed it.

Again thanks for all your efforts,

James

This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.

Master of Music
07-04-2008, 02:33 PM
Hallo,
Ich bekomme immer die fehlermeldung
Warnung: Invalid argument supplied for foreach() in [path]/includes/local_links_misc.php (Zeile 74)

Can i help me?

Stilgar
07-04-2008, 03:57 PM
This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.

Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James

AndrewD
07-04-2008, 04:35 PM
Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James

This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.

IR15H
07-04-2008, 05:03 PM
Sorry it's been a few days before replying again.

It records them all, but only counts a user's most recent nomination per period. That way, it continues to work correctly if the admin changes his/her mind about the collection period, e.g. decides to switch from months to weeks.

Ah okay, thanks. Is there a way to un-nominate an entry I've made? I recently nominated an entry for a time period, which has since elapsed. I can't find out how to simply not nominate any entries for the next period (bar deleting it via the admin settings, which all users don't have access to), I can only change to nominate another one.

This is true. Fixing this in an efficient manner requires a slight change to the database structure, which I have put off making. I was thinking of making version 2.3.0 an 'efficiency' release, with points like this addressed.

Excellent, thanks :).

OK, will fix in the next 2.2.9 upload.

Thanks :).

The code in its current form does not check against those vb per-filetype permissions- I'm not sure - are these a relatively recent extension to vbulletin? I'll add it to the list of things to do, maybe 2.2.9 or 2.3.0.

I can't be certain on this, but I think they've been there since I first got vb, on 3.6. Either way, glad you've considered for a future version :).

OK, will change the wording in next 2.2.9 upload

Thanks :).

This requires a minor change to the code, which I will make available in the next 2.2.9 in the next few days.

Thanks :).

Stilgar
07-04-2008, 05:10 PM
This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.

Heh... Yes, busses and job offers. It's feast or famine sometimes. ;)

Cheers!

RikiB
07-05-2008, 10:33 AM
Hello Andrew, would it be easy to upgrade ldlm to use the new version of jw media player (4.0)

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Thanks!

obmob
07-05-2008, 03:47 PM
There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?

Hmm... i'm renaming everything to be sequenced, so, maybe i can try importing new entries using xml.

Is it possible? I mean to have some sort of xml template and just add extra lines for new entries, just changing the entry ID and the category number?

Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@

AndrewD
07-06-2008, 05:10 AM
OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?

Try the LDM/admin/Mass Edit/Scan features. This gives you an easy manual interface to syncing directory contents with existing categories.


Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@

Not sure what you mean - you want to add these automatically?

AndrewD
07-06-2008, 10:01 AM
Hallo,
Ich bekomme immer die fehlermeldung
Warnung: Invalid argument supplied for foreach() in [path]/includes/local_links_misc.php (Zeile 74)

Can i help me?

Sounds as if the product has not been properly installed or one of the code files is missing/corrupt. I suggest that you re-upload all the files and then re-install the product.

AndrewD
07-06-2008, 11:41 AM
* Deleted - superseded by post-3 test release.

AndrewD
07-06-2008, 11:47 AM
Hello Andrew, would it be easy to upgrade ldlm to use the new version of jw media player (4.0)

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Thanks!

I've taken a look at this - it wil be fairly straightforward, but I would like to take the time to test everything properly before launching this.

AndrewD
07-06-2008, 03:18 PM
I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James

Feature added in 2.2.9 post 2. There's a new LDM permission to allow/prevent usergroups from providing associated images at all, and LDM also checks the vb per-usergroup attachments permission to see what filetypes the user is allowed to upload.

Your request for per-usergroup sorting is not in this release, but is on the wish list.

Stilgar
07-07-2008, 03:16 PM
Feature added in 2.2.9 post 2. There's a new LDM permission to allow/prevent usergroups from providing associated images at all, and LDM also checks the vb per-usergroup attachments permission to see what filetypes the user is allowed to upload.

Your request for per-usergroup sorting is not in this release, but is on the wish list.

Brilliant! Thank you, Andrew.

Stilgar
07-07-2008, 05:35 PM
Andrew, After updating to version post2, I do see where the limited usergroups don't have the ability to post a thumbnail 'can_add_image'. However, they are still able to add an image to the Link Description. This image then shows on the added entry. May I have missed a setting to disallow this?

Thanks,
James

AndrewD
07-07-2008, 05:56 PM
Andrew, After updating to version post2, I do see where the limited usergroups don't have the ability to post a thumbnail 'can_add_image'. However, they are still able to add an image to the Link Description. This image then shows on the added entry. May I have missed a setting to disallow this?

Thanks,
James

You need to go to vb/admincp/attachments/permissions and deny the usergroup rights to jpg, gif, bmp and png. Unless I've missed something, which is quite possible :)

obmob
07-08-2008, 12:59 AM
Try the LDM/admin/Mass Edit/Scan features. This gives you an easy manual interface to syncing directory contents with existing categories.
Hmm... ok, i'll test this week. :D

Not sure what you mean - you want to add these automatically?Oh, on thosekeywords i was thinking about using xml to import new entries, and just edit the filename... so, i was thinking, there might bean issue to add keywords directly with the xml file ^^,

Thanks! ^^

OH! have a nice vacation!

IR15H
07-08-2008, 06:10 PM
I provide release 2.2.9-post 2 for careful testing.

As I be away for most of the next five weeks (work + vacation), I may not be able to provide any support. Please report problems in the usual way and I will reply when possible. The major change is the integration with vbulletin per-usergroup attachment permissions for file uploads

Changes from 2.2.9 post 1

Permissions
- Added *can_add_image* permission to control which usergroups can add thumbnails to entries

Thread/post creation
- ldm_post_addrating_title and ldm_thread_create_title phrases both accept (entry name, category name, submission date) as variables {1}, {2}, {3}; default ldm_post_addrating_title phrase change to Re: {1}

Uploads
- Restrictions (if any) in VB usergroup attachments permissions included in controls on uploadable filetypes/maximum filesizes
- Removed thumbnail image formfield from Add/Edit Entry form when attachment permissions disallowed for all image types
- Modified code to set file permissions of uploaded files to 0644 (some versions of php erroneously set this to 0600)

Extras
- Added 'upload-names' extra to modify the naming convention for file uploads
- Extended 'hide-magnifier' extra to deal sensibly with images specified as full urls

Bug fixes
- Updated JWsilverlight.js file so that Silverlight player works with Firefox 3
- Changed to vertical layout of yes/no form settings with right-to-left languages
- Correctly cache the *humanverify* template
- Changed German language file xml to ISO-8859-1
- Fixed bug in 'import-radiostation' extra introduced in release 2.2.9

Thanks a lot! Enjoy your holiday :).

derfelix
07-09-2008, 08:13 PM
very nice release
thx a bunch for the great work..

I just have little problems (that have nothing to do with the new release)
very simple setup as link database with six 1 level categories on mainpage...

1. problem, using multiple styles..
(stupid me probably) i just want on the main page to have the folder icons for categories to be blue.. for the blue style and green for the green style..
as the category.png is somehow cached in the code.. i do not seem to be able to place a $stylevar to the imagefolder..

2. problem, same setup.. 6 categories (1.st level)
i have categories A, B, C, D, E and F

I have 2 categories per line
works fine if I have
A --- B
C --- D
E --- F
But if i change the display order.. using 1, 3, 5, 2, 6, 4
the layout (2 per line) is lost.. i can get it back by using 2x the same digit for displayorder.. i.e. 2,2, 3,3, 1,1
But i cant change from left to right..
hope that was clear.. if not i wanted to have the cats on the main page to be:
D --- C
F --- A
B --- E

but the closest i could get was
C --- D
A --- F
B --- E

(But that is not a major issue.. as i am doing a fresh setup anyway and will create the cats in the order i want)

Felix

vbboarder
07-10-2008, 02:51 AM
To get the flash-sites plugin to work, do I need to enable allow_remote_downloads in LDM Settings? Also, do I need to enable the swf filetype in VB Attachment Manager?

AndrewD
07-10-2008, 04:13 AM
1. problem, using multiple styles..
(stupid me probably) i just want on the main page to have the folder icons for categories to be blue.. for the blue style and green for the green style..
as the category.png is somehow cached in the code.. i do not seem to be able to place a $stylevar to the imagefolder..

I understand. This is an omission on my part - the LDM icons are not style-dependent but can be category dependent. In fact, no one has asked for this before (in four years!!). Let me think about it.

2. problem, same setup.. 6 categories (1.st level)
i have categories A, B, C, D, E and F

I have 2 categories per line
works fine if I have
A --- B
C --- D
E --- F
But if i change the display order.. using 1, 3, 5, 2, 6, 4
the layout (2 per line) is lost.. i can get it back by using 2x the same digit for displayorder.. i.e. 2,2, 3,3, 1,1
But i cant change from left to right..
hope that was clear.. if not i wanted to have the cats on the main page to be:
D --- C
F --- A
B --- E

but the closest i could get was
C --- D
A --- F
B --- E

(But that is not a major issue.. as i am doing a fresh setup anyway and will create the cats in the order i want)

Felix

Also understood. Display order over-rides everything else as far as the sorting goes, and forces a line break. Again, I will give this some thougbt, although I think it may be an inherent problem in the code design - i.e. if I fix this for you, then it may break other people's preferred layouts.

derfelix
07-10-2008, 05:24 AM
I understand. This is an omission on my part - the LDM icons are not style-dependent but can be category dependent. In fact, no one has asked for this before (in four years!!). Let me think about it.

Well dont bother.. i just wanted to point it out.. as for me only the category icons need change.. i just added a stylevar in the code.. so it works for me.. as it is only 1 line i can port it for future releases. thx anyway


Also understood. Display order over-rides everything else as far as the sorting goes, and forces a line break. Again, I will give this some thougbt, although I think it may be an inherent problem in the code design - i.e. if I fix this for you, then it may break other people's preferred layouts.

Well as i said i can live with it.. as i have to do a brand new setup.. so dont waste your energies :D

because i would really need something for a product that is nearly finished. i.e. 3 extra hooks. The product is nearly finished.
What it does it allows you to have translated category titles and descriptions.
(I read in the FAQs that you dont plan to support that.. but i really wanted it)

It uses for the moment 3 plugins and 3 fileedits (that what i need the hooks for) and one template edit.
It uses the same translation system as the custom profile fields in vbulletin profile.
what it does:

creates custom phrases when adding or modifying category
deletes custom phrases when deleting category.
(this is done with plugins as there are nice hooks implemented)
When editing a category there is a link called "translations" besides the title and the description that opens the phrase editor with the phrase to translate.



what i'm still working on is the replacement of title and descriptions (still need one dropdown and wol)

If there is interest i will post the beta product here.. probably on sunday (cant work on it till then) (you can then check it out and decide if you think it would be worth it to add the hooks)

Felix

AndrewD
07-10-2008, 07:13 AM
Well dont bother.. i just wanted to point it out.. as for me only the category icons need change.. i just added a stylevar in the code.. so it works for me.. as it is only 1 line i can port it for future releases. thx anyway



Well as i said i can live with it.. as i have to do a brand new setup.. so dont waste your energies :D

because i would really need something for a product that is nearly finished. i.e. 3 extra hooks. The product is nearly finished.
What it does it allows you to have translated category titles and descriptions.
(I read in the FAQs that you dont plan to support that.. but i really wanted it)

It uses for the moment 3 plugins and 3 fileedits (that what i need the hooks for) and one template edit.
It uses the same translation system as the custom profile fields in vbulletin profile.
what it does:

creates custom phrases when adding or modifying category
deletes custom phrases when deleting category.
(this is done with plugins as there are nice hooks implemented)
When editing a category there is a link called "translations" besides the title and the description that opens the phrase editor with the phrase to translate.



what i'm still working on is the replacement of title and descriptions (still need one dropdown and wol)

If there is interest i will post the beta product here.. probably on sunday (cant work on it till then) (you can then check it out and decide if you think it would be worth it to add the hooks)

Felix

Thanks - I will gladly see how to integrate your ideas - Sunday will be difficult as it will be day 1 of being 'not normally conncted to internet' for several weeks.

Stilgar
07-10-2008, 05:57 PM
Am I missing it? Is there a way to show all of the links on the main page? We don't have that many links and I want to display them all at once, yet still have them split into categories.

Thanks for any and all advice.

AndrewD
07-10-2008, 06:15 PM
To get the flash-sites plugin to work, do I need to enable allow_remote_downloads in LDM Settings? Also, do I need to enable the swf filetype in VB Attachment Manager?

You should not need either of these - the add-in uses patterns to recognise each of the video sites.

I've re-tried the test file provided with the release, and found a couple of problems with the 2.2.9 releases.

- If you have the LDM setting local_file_root set, the addon does not work properly. There's a bug, fixed in the attached includes/local_links-players.php

- DailyMotion doesn't work any longer. I think the site has changed the url format.

AndrewD
07-10-2008, 06:18 PM
Am I missing it? Is there a way to show all of the links on the main page? We don't have that many links and I want to display them all at once, yet still have them split into categories.

Thanks for any and all advice.

You could turn on one of the LDM statistics options - e.g. newest entries, and set the number to display to more than the total entries.

Stilgar
07-10-2008, 06:35 PM
Thanks for that, Andrew.

That looks ok, but I really want to see the complete Link entries listed on the main page. I think my real problem is I have not yet explored the Category Display Settings properly. I had better get with it. ;)

obmob
07-10-2008, 07:32 PM
Icons dependent of styles would be great... if possible :p

derfelix
07-10-2008, 09:09 PM
ok.. as promised.. here are the 2 hacks..
ATTENTION.. this is very beta... and straight forward.. only apply if you know what you are doing!!!


1. the styledependent category icons.. (its a file edit and the category icons ONLY!!)
open includes/local_links_include.php
find:
$iconnew_setting = ldm_lookup_setting($catid, 'cat_icon_new');
below add:
//xba iconcache
$ldm_icon_cache['category_new'] = $stylevar['imgdir_misc'] . '/ldm/' . 'category_new.png';
$ldm_icon_cache['category'] = $stylevar['imgdir_misc'] . '/ldm/' . 'category.png';
save the file.

then create a "ldm" directory in the misc image directory of your style... (in every style)
into that directory copy "category_new.png" and "category.png" corresponding to the style..
that was all i needed..

------------------

2. multi language category titles and descriptions..

Ok this is more complicated..
1 product (see attachment)
what the product does:
every time you create a category or you modify a category title or description, it creates a 2 custom phrase.
it inserts your title (the one you created or modified the "normal" way as custom phrase in masterlanguage.
the name of the title-phrase will be
$vbphrase[ll_cat_catid_title]
in the vbulletin phrasemanager you can then add translations to that phrase..
IF you modify the title (as u usually do) the phrase gets overwritten in masterlanguage
IF you delete the category the phrase gets deleted.

It also adds a "Translations" link below "Category name" and "Category description" and the phrase: Translations

--------- ok thats the product... the hooks where there in the ideal places.


Now the fileedits... (they are in locations where i did not find any hooks)

open includes/local_links_include.php
find:
$child[$linkscat[$k]['parentid']][] = $k;
below add:
//xba multilang dropdown
if(!empty($vbphrase['ll_cat_' . $k . '_title']))
{
$linkscat[$k]['catname'] = $linkscat[$k]['catname_clean'] = htmlspecialchars_uni($vbphrase['ll_cat_' . $k . '_title']);
}
//xba multilang dropdown end
then find:
$catid = $thiscat["catid"];

below add:
//xba multilang on main page
if(!empty($vbphrase['ll_cat_' . $catid . '_title']))
{
$thiscat["catname"] = $vbphrase['ll_cat_' . $catid . '_title'];
}
if(!empty($vbphrase['ll_cat_' . $catid . '_desc']))
{
$thiscat["catdesc"] = $thiscat["cattext"] = $vbphrase['ll_cat_' . $catid . '_desc'];

}
//xba multilang on main page end

save local_links_include.php

then open: includes/local_links_profile.php
find:

$thislinkid = -1;
while ($myrow = $vbulletin->db->fetch_array($rec)) {
below add:
//xba multilang
if(!empty($vbphrase['ll_cat_' . $myrow['catid'] . '_title']))
{
$myrow['catname'] = $vbphrase['ll_cat_' . $myrow['catid'] . '_title'];

}
//xba multilang end
save: local_links_profile.php

and finally open the main local_links.php in the vbulletin directory

find:
if ($links_defaults['sync_enabled'] and $linkscat[$viewcatid]['catsyncdir']) {
require_once(DIR . '/includes/local_links_misc.php');
$resync = $vbulletin->GPC['resync'];
ldm_synchronise_category($viewcatid, iif($resync, $links_defaults['sync_maxcpu_allowed_manual'], $links_defaults['sync_maxcpu_allowed']), $resync);
}
below add:
//xba multilang on main page
if(!empty($vbphrase['ll_cat_' . $viewcatid . '_title']))
{
$linkscat["$viewcatid"]["catname"] = $vbphrase['ll_cat_' . $viewcatid . '_title'];
$linkscat["$viewcatid"]["catname_clean"] = htmlspecialchars_uni($vbphrase['ll_cat_' . $viewcatid . '_title']);
}
if(!empty($vbphrase['ll_cat_' . $viewcatid . '_desc']))
{
$linkscat["$viewcatid"]["cattext"]=$linkscat["$viewcatid"]["catdesc"] = $vbphrase['ll_cat_' . $viewcatid . '_desc'];

}
//xba multilang end
save: local_links.php

Don't forget to import the product...

ATTENTION: This will only work if you have more than 1 language installed in vbulletin. At least 2 languages must exist!!!! if you have only 1 language installed.. it will do nothing!!!
AND .. you will only see the translations after you actually translated the phrases ;)

IF you have existing categories.. clicking the "translations" link will give: phrase does not exist.
In that case.. just hit the submit button on the Add/Edit Category page. Then only the phrase is created and then you will get the phrase when clicking the translations link. This has to be done once for every existing category. When creating a new category you also have to save it. Then only the translations link gets you to the phrase.


Todo:
verify if the phrase replacements are needed in other places..
for the moment it works in main page, category pages ( the dropdown is also translated) and in the search page.. (I did not test the profile page but added the translation)

thats it..

I hope this is usefull for someone.. and if there were hooks.. that would save the file edits..

-------------

PS @ andrew
Just got a great fright... when editing a template i somehow seen that there were no sessionurls in the links.. (in the office.. they have disabled cookies on our browsers :( ) which meens that i get logged out each link i click.. i meen if for example i go to page 2.. i get logged out :(
I didnt have the time to check all the templates and all the files.

kompakt
07-11-2008, 01:15 AM
Hi Andrew, the the new release seemed to break my id3 tag for new entries. I checked your recent posts and turned on all the new features but its still now showing any of the id3 tags when it scans new entries. Any ideas?

AndrewD
07-11-2008, 04:00 AM
ok.. as promised.. here are the 2 hacks..
ATTENTION.. this is very beta... and straight forward.. only apply if you know what you are doing!!!


Thanks - I can see what you are aiming to achieve and will - at least - provide the hooks to allow this to be done without code edits. I'll see if I can go further.


PS @ andrew
Just got a great fright... when editing a template i somehow seen that there were no sessionurls in the links.. (in the office.. they have disabled cookies on our browsers :( ) which meens that i get logged out each link i click.. i meen if for example i go to page 2.. i get logged out :(
I didnt have the time to check all the templates and all the files.

Yes, he says, red-faced. You will not find any session urls. I know they need to be there for the situation you describe - for some reason early in the design I left this out - no-one has mentioned it before ! Fortunately, it's not difficult - just tedious - for me to put them back. Will do.

AndrewD
07-11-2008, 04:10 AM
Hi Andrew, the the new release seemed to break my id3 tag for new entries. I checked your recent posts and turned on all the new features but its still now showing any of the id3 tags when it scans new entries. Any ideas?

In 2.2.9, ID3 tags are handled as additional attributes rather than as text inserted into the description. You have to turn on display of Additional Attributes as well as installing the id3tag-enhancements. Sorry, I forgot to mention that in the 'readme' file.

The change makes it possible to do more interesting things with id3 tags - howevere, I do consider that this part o fthe code is still 'under development' so I will welcome suggestions for improvements.

kompakt
07-11-2008, 04:40 AM
I noticed something of that sort and I like the direction it is heading but it doesn't seem to pick up values from my files. When I edit a scanned entry all the id3 tags are blank and not checked. I have to enter custom text and check them. I checked the category and they are all enabled.

Is it possible to use the old id3 plug-in I was using on this new version?

derfelix
07-11-2008, 04:42 AM
Thanks - I can see what you are aiming to achieve and will - at least - provide the hooks to allow this to be done without code edits. I'll see if I can go further.

the hooks would be great... :)

forget the one in local_links_profile.php, because that would implement that the whole ldm phrasegroup would have to be imported in the profile.. wich would cause a big extra load.. so i think just disabling this in profile would be less trouble when using translations.

as for going further.. :up: you probably will also find better locations for adding the code.. as i just added it where it seems to work.. but i dont know if it works in all configurations!


Yes, he says, red-faced. You will not find any session urls. I know they need to be there for the situation you describe - for some reason early in the design I left this out - no-one has mentioned it before ! Fortunately, it's not difficult - just tedious - for me to put them back. Will do.
:up: great.. take your time...

as it is a not very intelectual task :p i offer to help.. because i know what a pain it is.. and how much time it takes.. (just pm me in case)
just a reminder: because i have lost about 5 hours when doing this to another hack.. because i mixed up sessionurl and sessionurl_q :eek: ... (i had added a questionmark before sessionurl_q and didnt find why the url was then broken)
I know.. YOU know.. but sometimes a reminder does no harm.

Anyway looking forward to the next release...

Felix

AndrewD
07-11-2008, 05:05 AM
I noticed something of that sort and I like the direction it is heading but it doesn't seem to pick up values from my files. When I edit a scanned entry all the id3 tags are blank and not checked. I have to enter custom text and check them. I checked the category and they are all enabled.

Is it possible to use the old id3 plug-in I was using on this new version?

I'll try to check this evening when I leave work and let you know.

obmob
07-11-2008, 04:34 PM
Thanks derfelix! :D

I'll try the icons mod.

yahoooh
07-11-2008, 10:02 PM
still wait : timer to download to prevent hotlinking
i still prefer timer than any other way
or also verification by image

evildream
07-12-2008, 12:29 PM
Using vb 3.6.4 and LDM 2.2.9 post2 and having this problem that's been frustrating me for hours because it should be simple.

local_file_root is set to Yes
local_file_root is set to /attachments/
sync_enabled is set to Yes
sync_populate_categories is set to Yes
sync_populate_entries is set to Yes

I uploaded the files into /attachments/songs/mp3/
set chmod 777 to all directories

When adding a category I set this:
Synchronise with... songs/mp3/

And gives me this error:
Cannot synchronise category with songs/mp3/ - directory not found.

What on earth am I doing wrong??

obmob
07-14-2008, 04:22 PM
Isn't 2.2.9 for vB 3.7? :p