PDA

View Full Version : Major Additions - Links and Downloads Manager


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

AndrewD
25 Dec 2007, 07:11
What this is and does

LDM is a general-purpose tool for managing libraries of links and files, and handling uploads and downloads in a flexible way, while tracking and control user access. It has a range of integrated media players and a large library of 'plugin' extras.

Installation and Usage Explained in the on-line Wiki (http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager), with a brief explanation in the file instructions.txt in the release zip. The recent revision history is given in the first post of this thread.

Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread.

14.06.09 Version 2.3.0 is now the the officially-supported version. Works with 3.7 and vb 3.8. Please post comments in this thread

22.06.08 Version 2.2.9-post1 - This is the previous supported version. Works fine with all versions of vb 3.6 and vb 3.7. All standard features except profile integration and forum prefix selection work fine with vb 3.8.

AndrewD
25 Dec 2007, 07:14
14.06.09 version 2.3.0 [Works with vb 3.7 and 3.8]

shadowevil
25 Dec 2007, 07:35
Mode nice ... *installed*

Hornstar
25 Dec 2007, 11:37
Thanks, this mod has such great potential. Looking forward to installing this for my members when I get vb 3.7 gold :)

yahoooh
25 Dec 2007, 12:05
thanks i will test it ,

what about my requisted features :(
every day i visit your thread to see if there are any update

thanks

AndrewD
25 Dec 2007, 12:31
thanks i will test it ,

what about my requisted features :(
every day i visit your thread to see if there are any update

thanks

I'm taking a look at all the requested updates during the break. Will see how much we can get done before work takes over my life again.

obmob
26 Dec 2007, 05:20
So far it is working fine. :D

Thanks Andrew!

Rouzbeh1
26 Dec 2007, 19:38
hi Andrew,
i have two requests for the new version (if possible)
1 - could you please make a plugin for LDM that allows me add multiple links for one entry? (useful for freehost linkings, since they don't work with the mirror system)
2 - in vba_modules, could you please add an option to paginate the entries that are shown...
example: i have set 200 entries to show, but want on each page 100 entries...

thanks

Alfa1
28 Dec 2007, 17:05
When installing LDM on 3.7, I get this error:
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.8 requires VBulletin version 3.5/3.6

AndrewD
28 Dec 2007, 17:18
When installing LDM on 3.7, I get this error:

Yes - have you installed the replacement includes/local_links_init.php which is supplied in this thread?

Alfa1
29 Dec 2007, 16:30
Many thanks.

dodgeboard.com
30 Dec 2007, 22:12
on 3.7 B2:


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

This happened after overwriting the old local_links_init.php file with the file included in your original post. Prior to overwriting, I was getting the other error:

Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.8 requires VBulletin version 3.5/3.6

Thanks in avdance!

AndrewD
31 Dec 2007, 06:31
on 3.7 B2:



This happened after overwriting the old local_links_init.php file with the file included in your original post. Prior to overwriting, I was getting the other error:



Thanks in avdance!

Looks as if you've tried to move a version 2.2.6 database straight onto vb 3.7. The upgrade file I provided requires that you are running version 2.2.8 (the latest supported version). Sorry for not making that clear.

a) Grab the full 2.2.8 release from the vb3.6 thread
b) Upload the code (release/forums)
c) Re-upload the includes/local_links_init.php from this thread,
d) Go to the vb3.7 product and plugins page and upload the LDM product installer supplied with the vb3.6 version.

dodgeboard.com
31 Dec 2007, 06:51
Thanks Andrew- will do that!

dilbert
01 Jan 2008, 01:37
I am planing on doing a clean install of 3.7 (once gold).
Can I import my data from my 3.6.8 Links and Downloads Manager install into a new one?

Thanks

AndrewD
01 Jan 2008, 06:09
I am planing on doing a clean install of 3.7 (once gold).
Can I import my data from my 3.6.8 Links and Downloads Manager install into a new one?

Thanks

Yes, either with an LDM xml export/import, or simply by copying the relevant LDM database tables to the new database.

dilbert
01 Jan 2008, 20:52
Andrew, you are awesome! Thank you.
Yes, either with an LDM xml export/import, or simply by copying the relevant LDM database tables to the new database.

tazzarkin
02 Jan 2008, 15:38
Is there anywhere that talks about the default values for "Controls on Which Usergroups can Access Features"? I am testing out this mod, and I have this problem where the administrator can play the files (mp3/video), but when a regular user does it, the first time it plays the file, but the 2nd time it disconnects the user.

When I look in the settings, it shows that an "unregistered" user tried to access the file. However, it was clearly a "registered user". Any ideas?

And is there any where that would show me the default settings for permissions in the LDM? This looks like a cool Mod, just having permission problems when testing it.

AndrewD
02 Jan 2008, 17:50
Is there anywhere that talks about the default values for "Controls on Which Usergroups can Access Features"? I am testing out this mod, and I have this problem where the administrator can play the files (mp3/video), but when a regular user does it, the first time it plays the file, but the 2nd time it disconnects the user.

When I look in the settings, it shows that an "unregistered" user tried to access the file. However, it was clearly a "registered user". Any ideas?

And is there any where that would show me the default settings for permissions in the LDM? This looks like a cool Mod, just having permission problems when testing it.

Are you using the windows media player jukebox and the Firefox browser? There's a strange problem with this combination - the Microsoft software makes two requests for the file, one time without sending the right cookies, so vbulletin/LDM thinks the request is coming from an unregistered user. I've not been able to get to the bottom of this.

AndrewD
06 Jan 2008, 18:39
The first alpha of LDM 2.2.9 is now available. See the start of this thread for details.

Nam
06 Jan 2008, 21:01
*Install* I'll play around with it and let you know if there are any bugs.

Rouzbeh1
07 Jan 2008, 11:48
WOW thanks for new features....
will test and post a feedback asap

Rouzbeh1
07 Jan 2008, 13:25
i have set an attribute in admin section and set value for it in the entry too.
where would it be shown?

AndrewD
07 Jan 2008, 13:58
i have set an attribute in admin section and set value for it in the entry too.
where would it be shown?

It should appear in the linkbit. In the alpha release, only the standard linkbit displays the attribute value. Once you're satisfied with the layout, etc, I'll include it in all the linkbits.

Another bit of info (not sure if this is explained on the form) - items with negative display orders and items with "Hidden" content are only displayed to usergroups with *can_see_hidden* permission. Items with positive display orders are shown to all usergroups. Currently, all attributes are offered/displayed if created in all categories. In the final version of 2.2.9, it will be possible to show/hide attribute groups on a per-category basis, so that (e.g.) attributes relevant to mp3s are only requested and displayed in the relevant categories.

dilbert
07 Jan 2008, 15:03
I installed the alpha on my test forum, but it used the tables for my live one, so I then updated the fiels on the love site.

How can I add a test site for LDM?

Thanks

AndrewD
07 Jan 2008, 17:46
I installed the alpha on my test forum, but it used the tables for my live one, so I then updated the fiels on the love site.

How can I add a test site for LDM?

Thanks

I'm not sure I understand? Have you got vb36 and 37 running out of the same database?

LDM uses tables in the vb database which (at least by default) are all prefixed local_links. You can patch the includes/local_links_init.php to use a different prefix for these tables but they will be in the same database.

obmob
07 Jan 2008, 18:44
A test site? How about setting up a local server like XAMPP? :D

http://www.apachefriends.org/en/xampp.html

Then import your ldm to your local installation

Rouzbeh1
07 Jan 2008, 20:24
will try again about attributes
one more thing, does autocreate_threads plugin, also handle Thread Prefixes which are new in v3.7?
thanks

itsblack
07 Jan 2008, 20:28
Hi Andrew, here is the chinese translation for v.2.2.9 alpha.

It seems that you forgot to add 29 new phrases to the chinese product file. So I compared it with the english version and added them to the thranslation. Some old translations also have been modified. For I have not installed the new alpha version yet, So I'm not sure if I've translated all the new elements appropriately. I'll make it better when I get to use the new version.

AndrewD
07 Jan 2008, 20:42
Hi Andrew, here is the chinese translation for v.2.2.9 alpha.

It seems that you forgot to add 29 new phrases to the chinese product file. So I compared it with the english version and added them to the thranslation. Some old translations also have been modified. For I have not installed the new alpha version yet, So I'm not sure if I've translated all the new elements appropriately. I'll make it better when I get to use the new version.

Thanks very much - I appreciate this - I hadn't forgotten with the languages but we're still some way from the final features so I had only created the English phrases so far - I expect there will be some more to translate before this is done.

AndrewD
07 Jan 2008, 20:43
will try again about attributes
one more thing, does autocreate_threads plugin, also handle Thread Prefixes which are new in v3.7?
thanks

I haven't gone through to look for changes like that - thanks for letting me know.

dilbert
07 Jan 2008, 21:54
Yes, I have my open / in-use 3.6.8 site, and my test 3.7 site. Yes, they are in the same database - unfortunately my host only allows on db with my plan.

If I wanted to attempt a clean install, can I modify includes/local_links_init.php and reinstall?

I'm not sure I understand? Have you got vb36 and 37 running out of the same database?

LDM uses tables in the vb database which (at least by default) are all prefixed local_links. You can patch the includes/local_links_init.php to use a different prefix for these tables but they will be in the same database.

pspcrazy
08 Jan 2008, 03:29
The new version looks great :) Well you also be adding the ability to have partial descriptions shown on main category page by defined character limit where when you click on a more link it shows the full description or mabye when we click the name of the file it takes you to a seperate file download page with the full description as well as comments all shown.

AndrewD
08 Jan 2008, 05:00
Yes, I have my open / in-use 3.6.8 site, and my test 3.7 site. Yes, they are in the same database - unfortunately my host only allows on db with my plan.

If I wanted to attempt a clean install, can I modify includes/local_links_init.php and reinstall?

Yes, just edit the line

// Database Table Prefix
define('THIS_TABLE', 'local_');


eg to

// Database Table Prefix
define('THIS_TABLE', 'test_');


and reupload the product xml file via the vb admincp.

You should also re-upload the (2.2.8) installer for your live forum, so that the two sets of database tables each know which version they are

AndrewD
08 Jan 2008, 05:12
The new version looks great :) Well you also be adding the ability to have partial descriptions shown on main category page by defined character limit where when you click on a more link it shows the full description or mabye when we click the name of the file it takes you to a seperate file download page with the full description as well as comments all shown.

Yes, it's there.

There's a new setting (*length_shortdesc*) which can be set globally (admin/settings) or per category (edit category/control settings) which specifies the length of entries' short descriptions. The short description is used if you choose the short (title+thumb+short description) linkbit for the category (again admin/settings or edit category/control settings). It behaves the way you indicate.

I realise that there's another linkbit described as Short (direct link, no thumb, short description) which does not work as described in the 2.2.9 aplha1.

Apolyton
09 Jan 2008, 19:22
I wanted to put the ldm tables in a separate table and had to make the following changes to the code for the system to install and run properly:

AndrewD
10 Jan 2008, 05:23
I wanted to put the ldm tables in a separate database and had to make the following changes to the code for the system to install and run properly:

Thanks very much for this - I'll add the explanation to the wiki, and just check to see if we can make the process even easier.

Rouzbeh1
10 Jan 2008, 10:01
It should appear in the linkbit. In the alpha release, only the standard linkbit displays the attribute value. Once you're satisfied with the layout, etc, I'll include it in all the linkbits.

Another bit of info (not sure if this is explained on the form) - items with negative display orders and items with "Hidden" content are only displayed to usergroups with *can_see_hidden* permission. Items with positive display orders are shown to all usergroups. Currently, all attributes are offered/displayed if created in all categories. In the final version of 2.2.9, it will be possible to show/hide attribute groups on a per-category basis, so that (e.g.) attributes relevant to mp3s are only requested and displayed in the relevant categories.
i am still unable too see the attributes in linkbit. (using standard linkbit)
could you please post a screenshot for this?

AndrewD
10 Jan 2008, 10:39
i am still unable too see the attributes in linkbit. (using standard linkbit)
could you please post a screenshot for this?

Perhaps you can just check (LDM/admin/permissions) that you have *can_view_entities* permission.

Do yo mind if I take a look at your site - I'd like to see for myself what's going wrong (admin details :))

Attached is a screen shot of the linkbit with some extras - the alpha 1 code doesn't include images as extras but you will get the general idea

Rouzbeh1
11 Jan 2008, 20:49
Perhaps you can just check (LDM/admin/permissions) that you have *can_view_entities* permission.

Do yo mind if I take a look at your site - I'd like to see for myself what's going wrong (admin details :))

Attached is a screen shot of the linkbit with some extras - the alpha 1 code doesn't include images as extras but you will get the general idea
sure, will PM admin details right now.

thanks for screenshot. looks very nice (would be much better if it was possible to set a default icon or button for each attribute in admin panel)

Alfa1
12 Jan 2008, 06:14
Will the keywords of LDM be merged with vb 3,7 its tags? As they are different names, but other than that they are exactly the same.

AndrewD
12 Jan 2008, 07:32
Will the keywords of LDM be merged with vb 3,7 its tags? As they are different names, but other than that they are exactly the same.

I've been wondering about that. I'm not sure which is the better approach.

AndrewD
12 Jan 2008, 07:33
thanks for screenshot. looks very nice (would be much better if it was possible to set a default icon or button for each attribute in admin panel)

Noted, will do. Thanks

Ron1213
12 Jan 2008, 08:42
im not sure if anything wrong with installation, but the trapvid extra is not playing video at all. there was no error and the jwplayer just kept loading.

AndrewD
12 Jan 2008, 09:11
im not sure if anything wrong with installation, but the trapvid extra is not playing video at all. there was no error and the jwplayer just kept loading.

This is still rather new, so it's quite possible that there are bugs. Have you registered at trapvid.com and set up an account with the right ip address?

It's important to enter the urls in the correct format. Try this veoh file.

http://www.veoh.com/videos/v1717492rr86NdWC

Edit the entry as an admin (with *can_view_hidden* LDM permission) and take a look down the bottom of the page at the attributes section. Check that the Trapvid entity contains something that looks sensible (this is automatically created using the response from trapvid).

If none of that works, am happy to take a look.

Alfa1
12 Jan 2008, 15:55
I've been wondering about that. I'm not sure which is the better approach.
I do not know if that will cause coding difficulties, but it would surely be good if tags connect files and threads on the same topic.

Both from a SEO perspective as from a user/functionality perspective.

Plus this would increase the use of LDM, by forum users. It is always hard to make LDM popular among forum users, because LDM is separated from the forum. Mostly a small portion of forum users use LDM. But with functions that make forum users jump back and forth from forum to LDM, the use of LDM becomes more natural or incorporated into general forum use.

This is the reason why I have asked for these functions as options in the past:
- the comments function, to be replaced by forum posts
- reputation functions for LDM

I can understand that from a programming perspective it is best to keep certain things separated from vb, but where ever integration can be done without causing programming difficulties, this would surely increase the popularity of your software.

Just my 2cents.
Thanks for your great software.

Ron1213
12 Jan 2008, 16:57
This is still rather new, so it's quite possible that there are bugs. Have you registered at trapvid.com and set up an account with the right ip address?

It's important to enter the urls in the correct format. Try this veoh file.

http://www.veoh.com/videos/v1717492rr86NdWC

Edit the entry as an admin (with *can_view_hidden* LDM permission) and take a look down the bottom of the page at the attributes section. Check that the Trapvid entity contains something that looks sensible (this is automatically created using the response from trapvid).

If none of that works, am happy to take a look.

i saw the entity and enter the messy url in the browser, it responded. the veoh file still keep loading, then i tried in Firefox and Opera and it played, it is IE problem i think, thanx.

AndrewD
12 Jan 2008, 18:21
i saw the entity and enter the messy url in the browser, it responded. the veoh file still keep loading, then i tried in Firefox and Opera and it played, it is IE problem i think, thanx.

Ah....

I've read that there are some problems with the IE cache and flash. I thought I'd worked round it, but you are the second person to report this problem. I need to look into it.

reddyink
12 Jan 2008, 18:37
As a user how can I upload a file using browse, select and upload.(similar to add thread)

Where is the field???

Do I need to make it active using admincp??

Rouzbeh1
12 Jan 2008, 19:12
i have one more request about attributes:
could you please add an option for BBCodes? for example to use AnyMedia (Goldbrick) to play....

thanks

AndrewD
12 Jan 2008, 19:41
i have one more request about attributes:
could you please add an option for BBCodes? for example to use AnyMedia (Goldbrick) to play....

thanks

Yes, this is all in hand for the next alpha/beta

Nam
13 Jan 2008, 00:20
Dear Andrew, I've been looking in JW forum about the Veoh files not being able to play in IE, some people have it too but it's solvable with normal html code. I just don't know how to solve it with LDM. I'll read more and will PM you if I have found anything helpful, I need it solve as badly as anyone.

AndrewD
13 Jan 2008, 05:24
As a user how can I upload a file using browse, select and upload.(similar to add thread)

Where is the field???

Do I need to make it active using admincp??

step 1:

By default (i.e. as first installed) uploads are disbled in LDM, so the first step for the admin is to enable them (LDM/admin/settings/Controls on File Uploads) You have to specify the directory where the uploaded files will be stored (unlike vb itself, which by default stores attachments in the database).

step 2:

You mustalso decide which filetypes can be uploaded. By default, LDM will accept any filetypes that are listed in the VB/admin/attachments table. Standard users will be able to upload files up to the size limits given in that table; admins can upload up to the maximum size permitted by your php site configuration.

LDM will *not* accept uploads of filetypes that are not listed in that table, so if there are particular filetypes you need, you have to add them, along with correct 'mimetype' information. There's a LDM extra (see the extras directory in the release) which will do this for most of the common filetypes automatically), or you can do the job by hand

step 3

You need to give the desired usergroups permission to upload (LDM/admin/permissions/can_upload_files)

After you've done this, the 'add entry' form will include options to browse and upload.

Ther can be problems with step 1 depending on your site configuration, but it's possible to work around these in most cases.

Golzarion
13 Jan 2008, 20:56
I haven't installed yet. but I'm going to use it...

1. Should I create " download" folder with Permission 777 ?

If yes ... I had some problem with folders by 777 permision... because these folders are not safe .

and anyone have the full permission to access the folders ! and probably can hack the site !! or cause other problems...

how is the security ?

thank you.

AndrewD
14 Jan 2008, 05:31
I haven't installed yet. but I'm going to use it...

1. Should I create " download" folder with Permission 777 ?

If yes ... I had some problem with folders by 777 permision... because these folders are not safe .

and anyone have the full permission to access the folders ! and probably can hack the site !! or cause other problems...

how is the security ?

thank you.

If you want an absolutely secure site, then you must give people the absolutely minimum access that they need. However, if you want to let them share files, then there has to be somewhere to store these files. vbulletin's standards solution (for attachments) of storing the contents of the files in the database is fine for a relatively small number of relatively small files, but is not useful for a general purpose file exchange site.

You should certainly think carefully about where you create the upload/download folder and what types of file you will allow people to upload. But there's no need to open up your entire site. Giving open access permissions to a folder does not mean that you are giving people freedom to do anything they like. They still have to gain access.

Your web server has to be able to create and then read the files and directories in which the uploads are stored. This means that it has to be writeable by PHP. The easiest way to do this is CHMOD it 777, although some other mode may be possible depending on how your server is built.

Generally, it is not recommended that folders that are CHMODed 777 are stored within your web root. LDM works perfectly well if the upload/download folder is located above the document root, provided other security settings on your server allow this. (This prevents people from having any direct access) You tell LDM whereabouts things to be stored (outside the web root/inside the web root) by using the <em>local_file_root</em> and <em>local_file_root_prefix</em> settings in LDM's admin settings page.

Golzarion
14 Jan 2008, 18:34
LDM works perfectly well if the upload/download folder is located above the document root, provided other security settings on your server allow this. (This prevents people from having any direct access) You tell LDM whereabouts things to be stored (outside the web root/inside the web root) by using the <em>local_file_root</em> and <em>local_file_root_prefix</em> settings in LDM's admin settings page.

Thank you very much .
It's a good idea to place the upload folder( with CH Mode 777 ) above the document root.

also it can be protected by .htaccess ,,,,,

as I understand ... we can set the directory :" You tell LDM whereabouts things to be stored (outside the web root/inside the web root) by using the <em>local_file_root</em> and <em>local_file_root_prefix</em> settings in LDM's admin settings page."

would you please describe more ? I mean .. how can I set the changes that you mentioned ?

" LDM's admin settings page." ?

AndrewD
14 Jan 2008, 19:19
Thank you very much .
It's a good idea to place the upload folder( with CH Mode 777 ) above the document root.

also it can be protected by .htaccess ,,,,,

as I understand ... we can set the directory :""

would you please describe more ? I mean .. how can I set the changes that you mentioned ?

" LDM's admin settings page." ?

This is described in the online wiki, see http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load

ssslippy
14 Jan 2008, 23:45
I am getting errors when attempting to open this zip. Was this done on high compression in winzip?

pspcrazy
15 Jan 2008, 03:11
Yes, it's there.

There's a new setting (*length_shortdesc*) which can be set globally (admin/settings) or per category (edit category/control settings) which specifies the length of entries' short descriptions. The short description is used if you choose the short (title+thumb+short description) linkbit for the category (again admin/settings or edit category/control settings). It behaves the way you indicate.

I realize that there's another linkbit described as Short (direct link, no thumb, short description) which does not work as described in the 2.2.9 aplha1.

Thanks but is there anyway to simply have it where we can use the modern template and all we need to do is replace the link for the image/title which is also a direct link, to go to here: http://www.pspcrazy.com/forums/local_links.php?action=ratelink&linkid=319&catid=15&lpage=1 or the page that allows users to comment directly, as I'm going for a all out social type site with comments, and all integrated in one area.

Is it possible to do that? Modern with a link to this page: http://www.pspcrazy.com/forums/local_links.php?action=ratelink&linkid=319&catid=15&lpage=1 that's all i really need as the new short seems a bit too minimal for my own preferences. Thanks

Oh and yea something is wrong with he new version's top 10: http://www.pspcrazy.com/forums/local_links.php On that note any chance we can get two more stats based top 10's on the home of downloadS? Newest 10 and Recently Commented would be great

AndrewD
15 Jan 2008, 05:05
I am getting errors when attempting to open this zip. Was this done on high compression in winzip?

no normal compression. perhaps a corrupt download?

check the file size - 1,492,517 bytes

AndrewD
15 Jan 2008, 05:13
Thanks but is there anyway to simply have it where we can use the modern template and all we need to do is replace the link for the image/title which is also a direct link, to go to here: http://www.pspcrazy.com/forums/local_links.php?action=ratelink&linkid=319&catid=15&lpage=1 or the page that allows users to comment directly, as I'm going for a all out social type site with comments, and all integrated in one area.

Is it possible to do that? Modern with a link to this page: http://www.pspcrazy.com/forums/local_links.php?action=ratelink&linkid=319&catid=15&lpage=1 that's all i really need as the new short seems a bit too minimal for my own preferences. Thanks

I can add another linkbit, yes. Ideally, I'd like to get LDM to a stage where you can easily do this yourself.

Oh and yea something is wrong with he new version's top 10: http://www.pspcrazy.com/forums/local_links.php

Nothing's changed here, as far as I know. What's wrong?

[QUOTE=pspcrazy;1421642]On that note any chance we can get two more stats based top 10's on the home of downloadS? Newest 10 and Recently Commented would be great

I'll add these to the list for 2.2.9. Bear in mind that these 'top 10 lists' add to the cost of running LDM - extra database access, extra cpu, so they should be optional.

pspcrazy
15 Jan 2008, 07:43
Yea of course they would be added items. Well you probably don't notice the top 10 being odd, but before it had it's own box, and was not in any way stretched to the full screen size, rather it was in it's own box. Did you do any changes to it? Thanks.

As for the linkbit thanks!

AndrewD
15 Jan 2008, 09:09
Yea of course they would be added items. Well you probably don't notice the top 10 being odd, but before it had it's own box, and was not in any way stretched to the full screen size, rather it was in it's own box. Did you do any changes to it? Thanks.

As for the linkbit thanks!

Yes, I made that change. It's a request from others and makes the design look more consistent with other parts of vbulletin. The full box will also contain other information before the final version of 2.2.9

obmob
17 Jan 2008, 03:04
Any chance to have a plugin that adds some random images from the downloads... and another one that shows latest additions inside ldm main page? :D

AndrewD
17 Jan 2008, 05:42
Any chance to have a plugin that adds some random images from the downloads... and another one that shows latest additions inside ldm main page? :D

You're wanting these inside LDM or on vbadvanced pages?

obmob
17 Jan 2008, 19:05
Oh... inside LDM, please! :D

Similar to that filmstrip plugin, but maybe to add a whole table with random images, and another one with the latest additions... same, to be able to use the resize function to make smaller images and maybe show 6 images in each table. :p

Thanks Andrew!

reddyink
19 Jan 2008, 16:08
I am not seeing the links in the regular forums. Does the points system (vbcredits, vbplaza) integrate with this mod?

AndrewD
19 Jan 2008, 16:43
I am not seeing the links in the regular forums. Does the points system (vbcredits, vbplaza) integrate with this mod?

No, this has been on the wish list for some time.

Shanj
20 Jan 2008, 08:32
Andrew it all installed nicely thank you.
I tried a test upload document
but when I'd filleed out an upload form I couldn't see a Browse button to upload with.
Is it not poss to upload direct from the desktop?

It looks like I have to upload stuff to the site outside LDM
then LDM can link to the file
but while I can do that my users can't.
I want them to be able to upload pics and documents.

????

AndrewD
20 Jan 2008, 11:02
Andrew it all installed nicely thank you.
I tried a test upload document
but when I'd filleed out an upload form I couldn't see a Browse button to upload with.
Is it not poss to upload direct from the desktop?

It looks like I have to upload stuff to the site outside LDM
then LDM can link to the file
but while I can do that my users can't.
I want them to be able to upload pics and documents.

????

You have to enable uploading via the ldm/admin/settings pages and then give the relevant usergroups upload permission via the ldm/admin/permissions page

abroad
20 Jan 2008, 14:51
Is there a possibility to show a thumbnail of each link as well e.g. with this:

http://www.thumbshots.org/

Tried to install the code of thumbshots.org in the description field, but it has no effect.

AndrewD
20 Jan 2008, 16:07
Is there a possibility to show a thumbnail of each link as well e.g. with this:

http://www.thumbshots.org/

Tried to install the code of thumbshots.org in the description field, but it has no effect.

The 'extra' directory in the release zip has plugins for snap and bluga.net which do similar things. I haven't tested them recently but they should work.

abroad
20 Jan 2008, 16:41
Snap didnt work...got an error message when I uploaded the plug in. The others do cost...

AndrewD
20 Jan 2008, 17:22
Snap didnt work...got an error message when I uploaded the plug in.

What sort of error? I've just tried it and it worked for me.


The others do cost...

Blug's webthumbs come with a free allowance per month. Is my programming time less valuable?

abroad
20 Jan 2008, 20:13
I get this error message when I click in the navbar on the link and download manager when I activate the plugin "ldm_start"


Fatal error: Call to undefined function: locate_ldmadminrow_space() in /.../forum/local_links.php(252) : eval()'d code on line 9

AndrewD
21 Jan 2008, 05:21
I get this error message when I click in the navbar on the link and download manager when I activate the plugin "ldm_start"


Fatal error: Call to undefined function: locate_ldmadminrow_space() in /.../forum/local_links.php(252) : eval()'d code on line 9

Have you got mixed versions of the files uploaded? That function changed name between 2.2.8 and 2.2.9. Looks like you've got the 2.2.9 extra and the 2.2.8 code.

abroad
21 Jan 2008, 06:05
oh, I can not use the extras for the 2.8 version?

Ok then sorry

AndrewD
21 Jan 2008, 17:18
oh, I can not use the extras for the 2.8 version?

Ok then sorry

You have to be consistent - if you are running the 2.2.8 LDM code, then you need the 2.2.8 extras; ditto 2.2.9

abroad
21 Jan 2008, 17:25
where can I find the 2.8 extras?

AndrewD
21 Jan 2008, 17:40
where can I find the 2.8 extras?

In the 2.2.8 download, which is in the vb3.6 forum, see here. But if you are already running version 2.2.8, you should already have this?

Alfa1
22 Jan 2008, 17:22
Andrew,

Do you need to have new phrases translated for 2.2.9? Do you have any idea when it will go into beta phase?

obmob
22 Jan 2008, 17:33
Yeah, please tell us when you need translations! :D

AndrewD
22 Jan 2008, 17:59
Andrew,

Do you need to have new phrases translated for 2.2.9? Do you have any idea when it will go into beta phase?

There will be new phrases to translate, certainly. I will not finalise 2.2.9 until vb 3.7 becomes reasonably solid - parts of the vb interface code have changed between their beta releases. As for the move from alpha to beta - there will be at least one more alpha once I've got all the new functionality coded - this code is mainly written, but I got a bit distracted over Christmas with the video site integration.

Rouzbeh1
22 Jan 2008, 18:40
hi Andrew,
is this feature implemented in the ldm-2.2.9?
SEO: Ability to use category names instead of the category ID numbers for SEO purposes (local_links/links/17 => local_links/links/music/); Add SEO ability to paging and category jumping links.

would be very helpful to have this
thanks

Alfa1
23 Jan 2008, 02:21
Are there any limitations set anywhere to the cat_icons? I am trying to get these displayed and although the category_new.gif disappears, It is not replaced by the new cat_icon. Any ideas?

AndrewD
23 Jan 2008, 05:37
hi Andrew,
is this feature implemented in the ldm-2.2.9?
SEO: Ability to use category names instead of the category ID numbers for SEO purposes (local_links/links/17 => local_links/links/music/); Add SEO ability to paging and category jumping links.

would be very helpful to have this
thanks

It's not implemented yet - I'll take a look. There's a couple of potential traps - categories do not need to have unique names and the names can include bbcodes, etc.

AndrewD
23 Jan 2008, 05:42
Are there any limitations set anywhere to the cat_icons? I am trying to get these displayed and although the category_new.gif disappears, It is not replaced by the new cat_icon. Any ideas?

Not as far as I know - you're trying the new 'oxygen' icons? I've just run a test and both the category and category_new icons display fine. Bear in mind that the new icons are pngs and you can't put them in the same directory as the old gif icons (i.e. upload them into another directory or delete the old icons).

nerofix
24 Jan 2008, 16:38
Hello, I still get this error when trying to download a file:

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

Can you help me to solve please?

AndrewD
24 Jan 2008, 17:06
Hello, I still get this error when trying to download a file:

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

Can you help me to solve please?

This is a conflict with vcharset.

You can fix it by changing the definition of update_settings and the calls to it in LDM. This is done in 2.2.9. In 2.2.8, you need to edit the following files:

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

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

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

includes\local_links_misc.php(399): function update_settings($catid, $settings, &$errors) {

includes\local_links_misc.php(797): ldm_general_failure("update_settings/$name");

Just change update_settings to update_ldm_settings

nerofix
24 Jan 2008, 19:45
Perfect Andrew !! Thanks a lot !!

But I thought I've upgrated sucessful to 2.2.9 before ..
Anyway, works fine after the edit ;)

Rouzbeh1
24 Jan 2008, 20:30
It's not implemented yet - I'll take a look. There's a couple of potential traps - categories do not need to have unique names and the names can include bbcodes, etc.
for me it would be enough to have a link in this format local_links/links/17 => local_links/links/c-17-music/
where c-17 stands for category 17....
:D thanks

Alfa1
25 Jan 2008, 20:28
Not as far as I know - you're trying the new 'oxygen' icons? I've just run a test and both the category and category_new icons display fine. Bear in mind that the new icons are pngs and you can't put them in the same directory as the old gif icons (i.e. upload them into another directory or delete the old icons).
No, i am trying to use the same icons for my LDM categories as i have been using for my forum categories.
I just uploaded the prefix_forum_new.gif and prefix_forum_old.gif to the uploads folder and entered the files into LDM's admin.

I have a special LDM category for sponsors, that only they should have access to. But sponsors are an additional usergoup, not a primary usergroup. How can I grant access to sponsors only?

AndrewD
26 Jan 2008, 07:04
No, i am trying to use the same icons for my LDM categories as i have been using for my forum categories.
I just uploaded the prefix_forum_new.gif and prefix_forum_old.gif to the uploads folder and entered the files into LDM's admin.

Currently, the code assumes that all icons are being specified relative to the forum directory and there's no check whether this is in fact the case - I realise that this is inconsistent with the handling of other directories such as uploads and thumbsdir. Either create a new image subdirectory somewhere underneath the forums or just drop your icons into your regular LDM icons dir.

If you do the first, specify the category icon in the form my/new/icon/subdir/mycaticon.gif

If you do the second, specify myiconsdir/mycaticoncat.gif

I have a special LDM category for sponsors, that only they should have access to. But sponsors are an additional usergoup, not a primary usergroup. How can I grant access to sponsors only?

LDM should take care of this fine. If you are using version 2.2.9, edit the category of interest, choose the user permissions tab, and take away *can_view_category* permission from all usergroups except sponsors (and perhaps admins, etc). Or, with version 2.2.8 or 2.2.9, associate the category with a forum which is only visible to the sponsors usergroup

Alfa1
26 Jan 2008, 08:43
If you do the first, specify the category icon in the form my/new/icon/subdir/mycaticon.gif
Thanks that worked well. I am eager to see how this looks when the forum like layout of 2.2.9 is added.

LDM should take care of this fine. If you are using version 2.2.9, edit the category of interest, choose the user permissions tab, and take away *can_view_category* permission from all usergroups except sponsors (and perhaps admins, etc). Or, with version 2.2.8 or 2.2.9, associate the category with a forum which is only visible to the sponsors usergroup
I am currently using 2.2.8, but will be upgrading as soon as 2.2.9 beta is out. I'll edit usergoup settings at that time. Thanks.

beishe8
26 Jan 2008, 10:07
no normal compression. perhaps a corrupt download?

check the file size - 1,492,517 bytes

Yes,only part of the file would come down.
Solution: When downloading the file don't use "Save", use "Open" instead.

lovevn
26 Jan 2008, 14:42
Hello
Can I export database and import to another site? In this case how about the user names (of users who posted the links)?

Thanks

AndrewD
26 Jan 2008, 15:46
Hello
Can I export database and import to another site? In this case how about the user names (of users who posted the links)?

Thanks

You can transfer the database in two ways - either use an sql utility to backup all the tables called "local_" and import these into your new database. This will transfer all settings

LDM also has an xml export/import facility on the admin page. The xml file contains all information on your categories and entries but (at least not until the final version of 2.2.9) the admin settings.

The transfer will retain the usernames and userids from the source machine. Of course these may not correspond to usernames and userids on the new machine. Depending on the number of users who have submitted entries, this would be a fairly quick task to fix using a bit of sql. Its not yet included as one of the 'mass edit' features in LDM.

lovevn
26 Jan 2008, 15:52
Thanks for your quick reply. I want to use the LDM xml file. As you said it still does not contain the "admin settings", after I import this xml file in to the new forum can I set it via a admin control panel? If there are some "same " user id, is there any error when I importing it?

AndrewD
26 Jan 2008, 16:58
Thanks for your quick reply. I want to use the LDM xml file. As you said it still does not contain the "admin settings", after I import this xml file in to the new forum can I set it via a admin control panel? If there are some "same " user id, is there any error when I importing it?

Yes, you simply go to the ldm admin and reapply the settings you want

There will be no problems with userids - just mismatches between the displayed usernames and the current ones - as far as I can see

Alfa1
27 Jan 2008, 10:00
Where can I set moderators per category and where can I define where the broken link emails go?
Is it possible to create categories that only contain subcategories? i.e. it should not be possible to add entries/files to these categories.

If possible, then I would like to display these categories similar to how a category is displayed in vbulletin. (vbulletin forum settings: Act as Forum (Will act as category if no))
Is this an option?

Will 2.2.9 add LDM statistics to the statistics tab of vbulletin member profiles? (vb 3.7)

Apolyton
27 Jan 2008, 19:29
Where can I set moderators per category and where can I define where the broken link emails go?
Is it possible to create categories that only contain subcategories? i.e. it should not be possible to add entries/files to these categories.

If possible, then I would like to display these categories similar to how a category is displayed in vbulletin. (vbulletin forum settings: Act as Forum (Will act as category if no))
Is this an option?

Will 2.2.9 add LDM statistics to the statistics tab of vbulletin member profiles? (vb 3.7)

I have basically the same question: when I clicked "report this link" on a test link, that report went to many users, including "Users Awaiting Email Confirmation" which doesn't make sense to me. I can't see immediately how to correct this, however; that group has only the top two permissions (can view category, can access link).

AndrewD
27 Jan 2008, 20:24
Where can I set moderators per category and where can I define where the broken link emails go?
Is it possible to create categories that only contain subcategories? i.e. it should not be possible to add entries/files to these categories.

If possible, then I would like to display these categories similar to how a category is displayed in vbulletin. (vbulletin forum settings: Act as Forum (Will act as category if no))
Is this an option?

Will 2.2.9 add LDM statistics to the statistics tab of vbulletin member profiles? (vb 3.7)

The basic logic in 2.2.8 is to email group a) plus group b)
a) if the category has an associated forum, then the email reports get sent to the moderators of that forum;
b) the report gets sent to all users with some level of vb admincp permissions

I am making a change between 2.2.8 and 2.2.9. In 2.2.8, group (b) is always selected.

In 2.2.9, group (b) is only selected if there are *no* associated forum* moderators *and* you have set *send post reports* on your vb admincp to email admins and moderators. In addition, in 2.2.9, the email will be sent to all users in groups that have LDM *can_moderate_links* permission in the respective category. (I think they should always have received these emails, but I seem to have overlooked them.)

I'm open to suggestions, within reason.

It is possible to close a category so that it will not accept new entries, but it is not currently possible to define a category in the way that vb does.

However, in 2.2.9, it will be possible to give subtitles for groups of entries (and groups of categories) with the same display orders.

Again, I am open to suggestions, within reason.

Apolyton
28 Jan 2008, 02:25
Thanks for the quick response!

It would be helpful to be able to manually set which usergroups or useres are able to receive these reports, either in a text list (like the vB lists 5,7,23,26 of users) or as one of the permissions settings separate from 'can moderate links'.

We for example have admins, forum moderators, and people who you could call 'content mods' for different types of content, all of which we'd want to be able to moderate links, but not necessarily all of them we'd want to be able to moderate *all* links. It would be helpful to have a setting for that, if it's possible.

yahoooh
28 Jan 2008, 02:49
i hope there is addition feature for download by unregistered by adding captcha or timer to download because some sites just copy link of download and the visitors will download without visiting my site

AndrewD
29 Jan 2008, 06:00
i hope there is addition feature for download by unregistered by adding captcha or timer to download because some sites just copy link of download and the visitors will download without visiting my site

The secure-urls extra in the LDM release gives you the means to prevent these downloads by unregistered users

yahoooh
01 Feb 2008, 05:44
The secure-urls extra in the LDM release gives you the means to prevent these downloads by unregistered users

i see extra secure url

but i do not need it for play i just need it for download link
and i think the captcha or timer to download more benifits than this

thanks for support

Alfa1
09 Feb 2008, 16:43
I am having trouble with X-PHP-Script: /forum/local_links_actions.php
Somehow spammers manage to use this to send out bulk spam. I have already limited the can_send_to_friend permission to members only, but now I am experiencing the same again. Is there another setting that needs to be changed? Can you please add human verification to the send to friend form?

BTW: http://www.trapvid.com/ is closed.

AndrewD
11 Feb 2008, 14:59
I am having trouble with X-PHP-Script:
Somehow spammers manage to use this to send out bulk spam. I have already limited the can_send_to_friend permission to members only, but now I am experiencing the same again. Is there another setting that needs to be changed? Can you please add human verification to the send to friend form?

BTW: http://www.trapvid.com/ is closed.

We got hit by something very similar a few weeks ago. I've added human verification to the next alpha - sorry that it's taking time to appear.

Yes, I know that trapvid closed down. Most irritating, given that I devoted much of my Christmas vacation to this!

Alfa1
11 Feb 2008, 18:29
- sorry that it's taking time to appear.
Apologies are definitely not needed. Your effort is much appreciated. I still dont understand why you do not charge for your excellent software.

Yes, I know that trapvid closed down. Most irritating, given that I devoted much of my Christmas vacation to this!
Is there an alternative?

hydn
14 Feb 2008, 14:27
so if we upgrade to vb 3.7 once final then we will have to use this version to keep using LDM? Of can 2.2.8 work with 3.7? thanks

Alfa1
15 Feb 2008, 02:00
Use this:
Version 2.2.8

The 2.2.8 release version of LDM, available in this thread, works correctly in most respects.

To use this version, install (or keep) the 2.2.8 code and replace the initialisation file with the includes/local_links_init.php file attached to this thread. I have found only one problem, which is with the member profile integration features in LDM.

AndrewD
17 Feb 2008, 20:32
I'm pleased to report that (all being well) the next version of LDM will be uploaded some time this week for testing.

This is a quite substantial rewrite of the code to implement a consistent function naming scheme and (hopefully) avoid conflicts with other hacks. In addition, these features are implemented:

- a flash based uploader with progress bar, handling uploads to 100MB
- nominations for 'entry of the month/year/etc'
- new statistics options and a redesign of the statistics layouts on the home page
- an optional collapsible category explorer display (see attached image)
- extensions to the filmstrip extra to include various hit parades on home page.

and so on.

Give the extent of the changes, and the fact that more work is still needed to interface fully with VB3.7, this release will remain alpha code for some time still.

Has anyone tried the gold release of vbadvanced 3.0? I'm having problems with modules on windows (but not on Linux).

hydn
17 Feb 2008, 21:14
Looks really good. I also love the sound of the stats improvements. :up:

obmob
18 Feb 2008, 17:48
WOW! It looks awesome! ^^

Thanks Andrew, will be glad to start testing :D

pspcrazy
19 Feb 2008, 05:52
I'm pleased to report that (all being well) the next version of LDM will be uploaded some time this week for testing.

This is a quite substantial rewrite of the code to implement a consistent function naming scheme and (hopefully) avoid conflicts with other hacks. In addition, these features are implemented:

- a flash based uploader with progress bar, handling uploads to 100MB
- nominations for 'entry of the month/year/etc'
- new statistics options and a redesign of the statistics layouts on the home page
- an optional collapsible category explorer display (see attached image)
- extensions to the filmstrip extra to include various hit parades on home page.

and so on.

Give the extent of the changes, and the fact that more work is still needed to interface fully with VB3.7, this release will remain alpha code for some time still.

Has anyone tried the gold release of vbadvanced 3.0? I'm having problems with modules on windows (but not on Linux).

Looking great as usual AndrewD :) Can't wait until we see this come out :) Of course for larger uploads will there be an alternative uploader? Thanks

AndrewD
19 Feb 2008, 06:59
Looking great as usual AndrewD :) Can't wait until we see this come out :) Of course for larger uploads will there be an alternative uploader? Thanks

The existing upload mechanism will continue to work as before. The flash based uploader is an optional extra, but it can only handle 100Mb max.

seangworld
19 Feb 2008, 10:28
how do i edit my php.ini file to allow for uploads larger than 2mb???

AndrewD
19 Feb 2008, 10:37
how do i edit my php.ini file to allow for uploads larger than 2mb???

Do you have full access to your web server? If not, you will have to ask your service provider to handle the changes on your behalf.

Assuming that you do have full access:

a) locate the php.ini file (e.g. vb/admincp/maintenance/php info)
b) download the file and edit a copy:

find the line starting post_max_size and edit, e.g.
post_max_size = 16M

find the line starting upload_max_filesize and edit, e.g.
upload_max_filesize = 16M

save and upload

restart your web server software (e.g. apache)

seangworld
19 Feb 2008, 10:43
and if i dont, can i edit my htaccess file instead?

seangworld
19 Feb 2008, 10:49
i followed this part:

a) locate the php.ini file (e.g. vb/admincp/maintenance/php info)


and am looking right at it, but i dont see how you can download/edit it.

AndrewD
19 Feb 2008, 11:29
i followed this part:



and am looking right at it, but i dont see how you can download/edit it.

php.ini is a file on your server. The vb admincp/php info usually tells you where to find it. However, if you don't have full access to your server, you will not be able to access and modify it.

As far as I know (e.g. http://www.webmasterworld.com/forum88/9393.htm), you can make these changes in an htaccess file.

seangworld
19 Feb 2008, 11:34
im the admin to my site, and i must be blind...grr.

AndrewD
19 Feb 2008, 11:42
im the admin to my site, and i must be blind...grr.

does your php info look like this?

seangworld
19 Feb 2008, 11:45
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php5-fcgi/lib
Loaded Configuration File /usr/local/php5-fcgi/lib/php.ini


it looks like that.

AndrewD
21 Feb 2008, 19:57
I've uploaded the next alpha release of 2.2.9, good for both vb 3.6 and 3.7. Will appreciate tests/comments.

There's more work to do on this before we finalise it for vb 3.7 and I hope also you'll bear with me for a while before I get round to updating the wiki.

obmob
21 Feb 2008, 22:29
Sometimes you can drop a new php.ini file inside a particular folder, then this one will overrule the one in the server... at least that's what another webhost did for me one time, i did the same with my current webhost and i have had no problems at all :p

Thanks Andrew, will start testing on vb 3.7 beta5 x.x

NeuroLancer
22 Feb 2008, 00:13
This is great ive been keeping an eye on it waiting for the next release, will let you know how it goes with my beta 5 installation.

Ipuck
22 Feb 2008, 20:30
Thanks Andrew you are the best!!!

I'll test the new release this weekend.

seangworld
23 Feb 2008, 11:49
Sometimes you can drop a new php.ini file inside a particular folder, then this one will overrule the one in the server... at least that's what another webhost did for me one time, i did the same with my current webhost and i have had no problems at all :p

Thanks Andrew, will start testing on vb 3.7 beta5 x.x

when i was using a line to edit the htaccess to recognize the php5 on the server it was conflicting with my forum only, so i took out the line. it was also slowing down my site A LOT.

how do i make a php.ini? and what goes in it?

AndrewD
23 Feb 2008, 16:35
how do i make a php.ini? and what goes in it?

You need to post that question in another forum, e.g. http://www.vbulletin.org/forum/forumdisplay.php?f=197

stwilson
24 Feb 2008, 05:31
I'm not sure why, but I cannot get thumbnails to ever create/show. I have them enabled on my forum and enabled in the LDM config panel. I view a list of links, click on them, edit them and still not one thumbnail shows. What am I missing?

AndrewD
24 Feb 2008, 06:36
I'm not sure why, but I cannot get thumbnails to ever create/show. I have them enabled on my forum and enabled in the LDM config panel. I view a list of links, click on them, edit them and still not one thumbnail shows. What am I missing?

Not sure - there are several possible reasons - strangely I had someone else with this problem yesterday.

Things to check

- Have you got the GD graphics library available on your server (go to LDM/admin and take a look at the message about GD2 on the left margin)

- Are the thumbs being displayed as broken images (try IE as Firefox doesn't show them)

- Have you set a non-zero size for thumbs (LDM/admin/settings)

- Do they work non-cached (clear the thumbs directory on LDM/admin/settings, clear any existing thumbs (ldm/admin/statistics)). If so, the problem may be with the cache directory.

If this doesn't help, get back to me and we can investigate further.

Rouzbeh1
24 Feb 2008, 18:44
hi,
i tried to upgrade to ldm-2.2.9-a3 on my test forum. there where 2 Points:
1 - i saw a red phrase about PHP BASE DIR but it was to fast for me to read the complete line.... is this normal?
2 - i can't vire LDM anymore on user-end. error msg: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 72718 bytes) in /home/xxxxx/public_html/local_links.php(272) : eval()'d code on line 39
the second one appeared when i installed explorer-view plugin

thanks

Rouzbeh1
24 Feb 2008, 19:00
one more request or better to say addition to JW Player:D
take a look at here please: http://www.jeroenwijering.com/?item=JW_WMV_Player
if possible, i want this play the WMV files instead of wmp

thanks in advace

AndrewD
24 Feb 2008, 19:11
hi,
i tried to upgrade to ldm-2.2.9-a3 on my test forum. there where 2 Points:
1 - i saw a red phrase about PHP BASE DIR but it was to fast for me to read the complete line.... is this normal?
2 - i can't vire LDM anymore on user-end. error msg: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 72718 bytes) in /home/xxxxx/public_html/local_links.php(272) : eval()'d code on line 39
the second one appeared when i installed explorer-view plugin

thanks

LDM gives a warning if open_basedir is set. There's no problem provided you organise things properly. open_basedir is a security restriction on where you can read/write files on your server.

The second point is dealt with by increasing memory_limit in your php.ini.

On your second post, yes I'd noticed that also.

Rouzbeh1
24 Feb 2008, 19:37
still the same problem with another error:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 30720 bytes) in /home/xxxxx/public_html/includes/local_links_include.php(2594) : eval()'d code on line 14

isn't 50M really too much for an application?

thanks for the fast answer


ADD: got the point.... i have more than 1500 categories and this kills php :D it worked hardly with 70M memory_limit!
just wanted to test how it looks like. it's a perfect feature for databases with less categories and looks very nice ;)

AndrewD
24 Feb 2008, 20:37
still the same problem with another error:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 30720 bytes) in /home/xxxxx/public_html/includes/local_links_include.php(2594) : eval()'d code on line 14

isn't 50M really too much for an application?

thanks for the fast answer


ADD: got the point.... i have more than 1500 categories and this kills php :D it worked hardly with 70M memory_limit!
just wanted to test how it looks like. it's a perfect feature for databases with less categories and looks very nice ;)

The javascript for the explorer view is capable of handling an ajax-like 'expand on demand', which should reduce the memory requirement considerably (assuming that you haven't got a weird category structure). I am thinking about how to make that available. Currentyly, the whole tree is loaded.

Omranic
25 Feb 2008, 00:08
Hello,
How are you sir, i hope you are fine.
Hello,
Thanks for this fantastic mod, it's a great mod really.

I have a question:
I need to: Create a main category called "Backup" & create sub-categories inside it for each customer, each sub-cat for one customer & is synchronized with a directory on the server, each sub-cat also is specified to a specific customer & so he can't (see/access) any (sub-cats/cat's content) except the one specified for him (Customers can't see others sub-cats / Like: users can't see others threads).

Is there any way doing this using LDM or extras supplied with it?
If no, so how can I do it as a custom work, if you can help with some code snippets or as least the coding principal, I would appreciate your effort.

Thanks

The synchronising is straightforward and already built in.

The other part, visibility/access to given user only, is not currently available (I don't think :) - this is getting a bit complex), but not hard to add. I will include it in the next release, which should be available (at least in beta form) quite soon, depending on how much food I eat this week.

Is there any news regarding this?
Also: Is there a way to do the same procedure for items in some categories? i mean "User can't see others items, is it possible?

AndrewD
25 Feb 2008, 19:15
Hello,
How are you sir, i hope you are fine.


Is there any news regarding this?
Also: Is there a way to do the same procedure for items in some categories? i mean "User can't see others items, is it possible?

Most of it is done in the 2.2.9 alpha. There's a couple of bits I need to finish off regarding teh synchronisation. The basic feature is the *can_view_category* permission, which is new in 2.2.9. Since users can always see their own entries/categories, by removing this permission you can deny users the right to see anything else. This can be applied on a per-category basis.

macc
25 Feb 2008, 23:01
hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/local_links.php?action=ratelink&linkid=3&catid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/local_links.php?catid=2

Rouzbeh1
25 Feb 2008, 23:26
hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/local_links.php?action=ratelink&linkid=3&catid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/local_links.php?catid=2
when i go to your LDM and click to view ratings, i get to this page http://www.belaplay.com/vb/libar/local_links_search.php?action=find&catid=-13
which is different from your first url ....

macc
26 Feb 2008, 00:03
maybe because you were guest .. but try click on some link you will get same page ...blank ...

regards
macc

maybe i miss something ...

Rouzbeh1
26 Feb 2008, 00:28
Hi Andrew,
is it possible that LDM-2.2.9 a bit slower than 2.2.8?
i can see the difference when i try to open the LDM main page
let me know if you need a link

thanks in advance

AndrewD
26 Feb 2008, 04:31
hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/local_links.php?action=ratelink&linkid=3&catid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/local_links.php?catid=2

Sorry about that - coding bug. If you want to fix it yourself, edit includes/local_links_include.php. Go to line 3356 and change:


if ($links_defaults['starred_entries_enabled']) {


for


if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {


I will include the fix in the next upload

AndrewD
26 Feb 2008, 04:40
Hi Andrew,
is it possible that LDM-2.2.9 a bit slower than 2.2.8?
i can see the difference when i try to open the LDM main page
let me know if you need a link

thanks in advance

It's quite possible and I'm happy to try to get to the bottom of this if I can. As people ask for more and more features, there is more code to execute.

Ideally, this is the way to test on your site, if you are willing:

- enable debug in vbulletin by editing includes/config.php and adding the following line somewhere near the bottom:

$config['Misc']['debug'] = 1;


This will add a 'debug information' down the bottom of every vb page, with summary information about time and database accesses. This will give the first hint. If you then click on the hyperlink on the number of database accesses, you will get a very complete summary of where vbulletin is spening its time.

If you can compare the two versions of LDM and send me the details, then I have something to work with. I will try my own tests in the meantime.

Rouzbeh1
26 Feb 2008, 08:42
if you like, i will send you admin information and you take a look yourself.
i have no campare anymore, because i updated my live site to 2.2.9
let me know

macc
26 Feb 2008, 13:25
Sorry about that - coding bug. If you want to fix it yourself, edit includes/local_links_include.php. Go to line 3356 and change:


if ($links_defaults['starred_entries_enabled']) {


for


if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {


I will include the fix in the next upload


thanks for help... that is fixed ... now comments and raitings work!
will just ask ..can be possibly that error in code cause problem - errors in some blocks- for cmps ?
get this "
Warning: Division by zero in /modules/ldm_hot_media.php on line 34"

Warning: Division by zero in /modules/ldm_new_media.php on line 22


regards
macc

AndrewD
26 Feb 2008, 15:42
thanks for help... that is fixed ... now comments and raitings work!
will just ask ..can be possibly that error in code cause problem - errors in some blocks- for cmps ?
get this "
Warning: Division by zero in /modules/ldm_hot_media.php on line 34"

Warning: Division by zero in /modules/ldm_new_media.php on line 22


regards
macc

That will be a different bug - I'll take a look. I rewrote quite a bit of code for 2.2.9 alpha 3 so this does not surprise me.

macc
26 Feb 2008, 16:33
i just check those php files and those lines ( 22 and 34) are empty??

regards
macc

AndrewD
26 Feb 2008, 20:36
i just check those php files and those lines ( 22 and 34) are empty??

regards
macc

Have you installed the LDM extra inlineJWplayer? The bug is that the vba module code is trying to pick up settings from that extra. My mistake. If you install that extra, the errors should go away.

macc
26 Feb 2008, 20:57
no i have not installed extra inline player ...will test do that ... thanks for help!

regards

macc

Rouzbeh1
26 Feb 2008, 23:47
i think there is a bug in 2.2.9-a3
autocreate thread in not working at all....
could you please check if it works for you?
thanks

AndrewD
27 Feb 2008, 05:22
i think there is a bug in 2.2.9-a3
autocreate thread in not working at all....
could you please check if it works for you?
thanks

Thanks for this. As far as I can tell, it works if you enable the (new in 2.2.9) admin option that requires users to confirm thread creation, but not if everything is fully automatic. The bug has been there from alpha-1. Will investgate and fix.

Edited.

If you want, you can patch this bug by editing the links_addnewlink template. Find the lines:

<else />
<tr style="display:none;">
<td class="alt1" colspan="2">
<input type="hidden" name="linkautocreate" value="0" />
</td>
</tr>
</if>



and replace by


<else />
<tr style="display:none;">
<td class="alt1" colspan="2">
<input type="hidden" name="linkautocreate" value="1" />
</td>
</tr>
</if>


i.e. change the 0 to 1

Be careful if you make this change - if I make further changes to the template before the final version of 2.2.9, vb will not warn you about the need to revert the template.

macc
27 Feb 2008, 07:50
thanks for help...now blocks work with inline player...

regards
macc

bxbigt
27 Feb 2008, 08:31
So heres the big question the mod is really nice but i rather not have people upload to my server is there any way to have them use this hack with whatever host they want to use ie rs , mu mediafire etc etc

Rouzbeh1
27 Feb 2008, 10:40
Thanks Andrew,
it worked! i will revert that template manually when i update to next version.

AndrewD
27 Feb 2008, 18:02
So heres the big question the mod is really nice but i rather not have people upload to my server is there any way to have them use this hack with whatever host they want to use ie rs , mu mediafire etc etc

You can use this hack to let people upload files or you can use it to let them provide links to files that are held on other servers. It's up to you. You can disable uploads altogether or on a per-usergroup basis.

bxbigt
27 Feb 2008, 18:26
You can use this hack to let people upload files or you can use it to let them provide links to files that are held on other servers. It's up to you. You can disable uploads altogether or on a per-usergroup basis.
Thanks for the reply gonna test it out on the demo board ;)

AndrewD
01 Mar 2008, 11:11
if you like, i will send you admin information and you take a look yourself.
i have no campare anymore, because i updated my live site to 2.2.9
let me know

I did some quick tests on a database with a few dozen categories and a few thousand entries.

With LDM's home page statistics turned off, 2.2.8 and 2.2.9 seem pretty well identical in speed.

However, 2.2.9 has more home page stats options, and these can be quite expensive. I'll take a look at the code to see if they can be speeded up.

choccyclaire
01 Mar 2008, 18:27
Any idea why this works on firefox but when I tested it on IE it gives me a database error?

AndrewD
01 Mar 2008, 18:36
Any idea why this works on firefox but when I tested it on IE it gives me a database error?

yes - I imagine you are logged in on firefox but not on IE. See http://www.vbulletin.org/forum/showpost.php?p=1451141&postcount=144

If that's not the case, let me have more details and I'll investigate.

choccyclaire
01 Mar 2008, 19:05
yes - I imagine you are logged in on firefox but not on IE. See http://www.vbulletin.org/forum/showpost.php?p=1451141&postcount=144

If that's not the case, let me have more details and I'll investigate.

I am definitely logged in. When I first uploaded all the files to my server and installed, I tested it out on IE, as I use firefox normally, and it just says my board has encountered a database error. I haven't edited any of the files on my server and only configured a few things in the LDM admin settings. It works perfectly fine on firefox so I don't get it!

AndrewD
01 Mar 2008, 19:42
I am definitely logged in. When I first uploaded all the files to my server and installed, I tested it out on IE, as I use firefox normally, and it just says my board has encountered a database error. I haven't edited any of the files on my server and only configured a few things in the LDM admin settings. It works perfectly fine on firefox so I don't get it!

It's quite possible I've messed up the coding - quite a bit of version 2.2.9 is new, which is why it's still in alpha. Maybe you can post some more details of the error and I can investigate?

choccyclaire
01 Mar 2008, 20:04
It's quite possible I've messed up the coding - quite a bit of version 2.2.9 is new, which is why it's still in alpha. Maybe you can post some more details of the error and I can investigate?

There is no actual error though? All that happens is I type in mydomain.com/forum/local_links.php on internet explorer and it says my domain has a database error (the default main vbulletin DB error you get sometimes). Something just seems dodgy with the compatibility of IE and the database for LDM.

AndrewD
01 Mar 2008, 20:32
There is no actual error though? All that happens is I type in mydomain.com/forum/local_links.php on internet explorer and it says my domain has a database error (the default main vbulletin DB error you get sometimes). Something just seems dodgy with the compatibility of IE and the database for LDM.

I think you'll find the problem is fixed by uploading this file into your forum/includes directory. The problem is not with IE, it's with users who do/do not have moderate permission, and an undeclared global variable relating to moderation. I can reproduce the bug that you report.

choccyclaire
01 Mar 2008, 21:33
I think you'll find the problem is fixed by uploading this file into your forum/includes directory. The problem is not with IE, it's with users who do/do not have moderate permission, and an undeclared global variable relating to moderation. I can reproduce the bug that you report.

Thank you so much. :D It's working right now.

EDIT: Now I have an issue with the jukebox lol. It loads up fine and looks good etc but it won't play any files at all. At it also says 0.00 time/0%.

I know the file has definitely uploaded in the entry because I can download it.

AndrewD
02 Mar 2008, 05:59
Thank you so much. :D It's working right now.

EDIT: Now I have an issue with the jukebox lol. It loads up fine and looks good etc but it won't play any files at all. At it also says 0.00 time/0%.

I know the file has definitely uploaded in the entry because I can download it.

I'll need a bit more information to help. Which file types, which media player, etc. Does it not work/work with mp3s, wmas, etc? Am happy to take a look at your if you want.

choccyclaire
02 Mar 2008, 19:40
I'll need a bit more information to help. Which file types, which media player, etc. Does it not work/work with mp3s, wmas, etc? Am happy to take a look at your if you want.

I have all the default settings that you set up. I added an mp3 extension to the attachments.
I upload the mp3 file and when I went to play it, the jukebox windows comes up but nothing plays and it doesn't look like there is anything to play.

However I am definitely sure the file does upload because I clicked the option to download it and it works.

IrPr
02 Mar 2008, 23:02
hi Andrew,
i have two requests for the new version (if possible)
1 - could you please make a plugin for LDM that allows me add multiple links for one entry? (useful for freehost linkings, since they don't work with the mirror system)
2 - in vba_modules, could you please add an option to paginate the entries that are shown...
example: i have set 200 entries to show, but want on each page 100 entries...

thanks
one more request or better to say addition to JW Player:D
take a look at here please: http://www.jeroenwijering.com/?item=JW_WMV_Player
if possible, i want this play the WMV files instead of wmp

thanks in advace

hi Andrew,
is this feature implemented in the ldm-2.2.9?
SEO: Ability to use category names instead of the category ID numbers for SEO purposes (local_links/links/17 => local_links/links/music/); Add SEO ability to paging and category jumping links.

would be very helpful to have this
thanks


Such good ideas!! freehosting mirros, stream n SEO!

edaaaaaame bede refigh =))hamin mage betooni idea bedi, yani idea az jahaye dige bedozdi dar vaghe' =)) vaela orze mikhad neveshtane intor chiza ;)

BTW Awesome work Andrew! keep it on dude
I'll check alpha

pspcrazy
02 Mar 2008, 23:21
Truly amazing mod that's for sure, thanks for adding what I need. Only complaint I got left is how do I get rid of the bars in between the categories randomly?

http://www.pspcrazy.com/forums/local_links.php : The separators shouldn't be there. Now If only there was that SEO feature mentioned above in there, then I'd be in heaven :) Awesome mod for sure.

AndrewD
03 Mar 2008, 06:12
Truly amazing mod that's for sure, thanks for adding what I need. Only complaint I got left is how do I get rid of the bars in between the categories randomly?

http://www.pspcrazy.com/forums/local_links.php : The separators shouldn't be there. Now If only there was that SEO feature mentioned above in there, then I'd be in heaven :) Awesome mod for sure.

The category bars aren't random. They appear between groups of categories with different 'display orders'. I'm at a hotel PC at present, so can't check the code, but I think you get rid of these altogether by editing the links_linkseparator template. I'll post a follow-up message later.

Rouzbeh1
03 Mar 2008, 20:35
I did some quick tests on a database with a few dozen categories and a few thousand entries.

With LDM's home page statistics turned off, 2.2.8 and 2.2.9 seem pretty well identical in speed.

However, 2.2.9 has more home page stats options, and these can be quite expensive. I'll take a look at the code to see if they can be speeded up.
i think i found the reason why LDM gets slow....
ONLY on pages, where i have set display order for each category, LDM slow down. in other cases it's working as fast as 2.2.8 or maybe faster....

GrendelKhan{TSU
04 Mar 2008, 05:33
ok...
3.7 beta 5
LDM alpha 3

I get an infinite loop then this ERROR:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/******/public_html/forums/includes/local_links_include.php on line 2079


EDIT:
grrrr... tried installing 2.2.8 now I get this error:

Fatal error: Call to undefined function ldm_lookup_forum_protections() in /home/********/public_html/forums/includes/local_links_vbafunc.php on line 26

don't know what's up.... HELP!

AndrewD
04 Mar 2008, 10:50
i think i found the reason why LDM gets slow....
ONLY on pages, where i have set display order for each category, LDM slow down. in other cases it's working as fast as 2.2.8 or maybe faster....

Noted.

AndrewD
04 Mar 2008, 10:57
ok...
3.7 beta 5
LDM alpha 3

I get an infinite loop then this ERROR:

EDIT:
grrrr... tried installing 2.2.8 now I get this error:



[/B]don't know what's up.... HELP!


Your second problem is caused by mixed code - the local_links_vbafunc.php file was introduced in 2.2.9. I imagine you've got the 2.2.9 vba modules installed.

I will try to pin down the first problem - the code in question is trying to strip bbcodes and is looping indefinitely.

RikiB
04 Mar 2008, 21:07
I installed 2.2.9 and its so close to perfect for what I need. It addresses almost everything that I wanted in 2.2.8. Is there any word on if playlists will be available with the JW flv player? I wonder if would be easy since I think the JW mp3 player accepts playlists.

Thanks!

Rouzbeh1
04 Mar 2008, 22:21
i'm not sure but i think it would be enough to add XML to the player file types for JW media player ( Filetypes handled: mp3, xml) + maybe you will need to add it in vb attachment table

RikiB
04 Mar 2008, 22:46
interesting, Ill give that a shot, thanks!

RikiB
05 Mar 2008, 00:53
It almost works, I added it to the attachment table and also the media player and it brings up the flv player but it acts like it cant find the videos, the videos are in the same folder and the xml is just calling the filename like normal. Anyone know why its not working?

Riki

Rouzbeh1
05 Mar 2008, 00:57
maybe because the files are not in the forum root.
try to put a full url of your video in the xml files

RikiB
05 Mar 2008, 00:57
ahh, I really need to avoid that..its imperative that I use the "stream" feature.

do you mean full server url, like home/usernane/public_html

Rouzbeh1
05 Mar 2008, 01:04
as far as i know videos are downloadable with several tools if one wants to download them.
but LDM is streaming the files, so it normally shouldn't give out the url.

i your files are on the same webspace, try linking files like this example:

video.flv is in: /home/user/public_html/some/folder/video.flv
and forum is in: /home/user/public_html/forums/
link to file will be : ../some/folder/video.flv

RikiB
05 Mar 2008, 02:05
I want it to be as secure as possible, I even tried using orbit downloader with the stream option on a single FLV and it failed to download it...very encouraging. I also tried pointing to /home/use/download in the xml and it didnt seem to work, Ill keep trying

AndrewD
05 Mar 2008, 10:07
It almost works, I added it to the attachment table and also the media player and it brings up the flv player but it acts like it cant find the videos, the videos are in the same folder and the xml is just calling the filename like normal. Anyone know why its not working?

Riki

There are some sensitivities with this - I think I got them sorted out for direct streaming of mp3s, flvs and swfs - as I recall, it's about getting the paths correct as far as the flash is concerned, and ensuring everything is properly urlencoded so that the javascript doesn't croak. I'll take a look at the playlist code to see if they will work with streams.

sickboy6ths
05 Mar 2008, 10:14
Hi,

I get this error when my members surf the download center. (When I as Administrator do it, i dont get errors):

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:

SELECT COUNT(linkid) AS newlinks
FROM local_linkslink AS link
WHERE link.linkforum NOT IN (0,245,251,252,249,253,248,254,247,255,250,256,225,230,231,229,228,232,257,261,2 27,246,236,146)
AND linkdate > 1202112831
AND (link.linkmoderate = OR
(link.linkmoderate = AND link.linkuserid = 1277)
);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR
(link.linkmoderate = AND link.linkuserid = 1277)
)' at line 5
Error Number : 1064
Date : Wednesday, March 5th 2008 @ 09:13:51 AM
Script : xxxx/vbulletin/local_links.php?
Referrer : xxxx/downloads
IP Address : xxxxxxx
Username :xxxxxx
Classname : vB_Database_MySQLi
MySQL Version :
=====================================================

Thanks for any insights/help! I love your product! :D

Some more Data:
php 5.2,
mysql 5,
Problem occured after going from vB 3.6.3 to 3.7.0 beta5 and upgrading LDM from 2.2.8 to 2.2.9alpha3

AndrewD
05 Mar 2008, 10:35
Hi,

I get this error when my members surf the download center. (When I as Administrator do it, i dont get errors):


Thanks for any insights/help! I love your product! :D

Some more Data:
php 5.2,
mysql 5,
Problem occured after going from vB 3.6.3 to 3.7.0 beta5 and upgrading LDM from 2.2.8 to 2.2.9alpha3

Sorry about that. There's a bug in includes/local_links_vbafunc.php. You need to upload a revised version which is available in http://www.vbulletin.org/forum/showpost.php?p=1454579&postcount=165

I'll put this in the thread start when I get the chance.

sickboy6ths
05 Mar 2008, 10:37
Sorry about that. There's a bug in includes/local_links_vbafunc.php. You need to upload a revised version which is available in http://www.vbulletin.org/forum/showpost.php?p=1454579&postcount=165

I'll put this in the thread start when I get the chance.Thanks a million! And imo as long as we don't pay for your products, you have nothing to be sorry about.

Thank you kindly for all hard work done!

RikiB
06 Mar 2008, 01:45
Sorry about that. There's a bug in includes/local_links_vbafunc.php. You need to upload a revised version which is available in http://www.vbulletin.org/forum/showpost.php?p=1454579&postcount=165

I'll put this in the thread start when I get the chance.

This fixed the same problem I was having with IE7, Thanks.

AndrewD
06 Mar 2008, 20:13
I installed 2.2.9 and its so close to perfect for what I need. It addresses almost everything that I wanted in 2.2.8. Is there any word on if playlists will be available with the JW flv player? I wonder if would be easy since I think the JW mp3 player accepts playlists.

Thanks!

I've got streamed playlists working within the jwplayer on my testbed. How do you plan to use them - will you create the xmls yourself and use them as entries in LDM, or do you also need them creating from within LDM?

RikiB
06 Mar 2008, 20:21
Creating them myself is easy enough, so I dont mind doing it. Sounds exciting that you got it working!

Riki

RikiB
06 Mar 2008, 20:48
I seem to be having a problem with using a download manager with IE7, it only downloads the small local_links.php file instead of the actual file. Has anyone heard of this and how to fix it? The download manager I was trying was "free download manager".

AndrewD
06 Mar 2008, 21:22
I seem to be having a problem with using a download manager with IE7, it only downloads the small local_links.php file instead of the actual file. Has anyone heard of this and how to fix it? The download manager I was trying was "free download manager".

I imagine you'll find that the small php file contains a web page telling you that you don't have access to the file. Probably, FDM is coming in as an unregistered user, so it will be something to do with cookies.

RikiB
06 Mar 2008, 23:41
You hit the nail on the head Andrew, thank you, I figured out the problem. (cookies)

AndrewD
09 Mar 2008, 10:56
I've reuploaded the alpha 3 release with the most serious bugs fixed:

09.03.08 version 2.2.9 alpha 4

- SQL error when some users (usually unregistered) visit the home page
- Pathological nesting of bbcodes causing infinite loop
- Entries possible from users with special characters in their usernames
- Error handling of *upload_maxspace* setting
- PHP error message displayed on ratings page
- Bluga.net webthumbs recoded to add new options, allow per-category use, improve reliability

Beta 1 is on its way in a few days with the following changes:

Category synchronisation
- Default owner of synced entries/categories changed to owner of category in which the entry/category is placed

Admin
- IP/userid-based hits analyses subgrouped by username/IP
- Option added to accumulate all hits from user's IP address against that user's allowances

Mirrors
- Mirror selection page includes response times for each alive mirror

Extras
JWplayer extra extended to handle xml playlists and to use the Silverlight player for windows media

Help needed

I would very much welcome reports on the *swfupload* extra that was included in alpha3/alpha4, which provides a progress bar and greater reliability for monitoring uploads

Rouzbeh1
09 Mar 2008, 16:45
updated without any complications
thanks

macc
11 Mar 2008, 14:55
hello!

have 2.2.9 alpha 3 ver and vbulletin 3.7.0 beta6 and cmps 3.0 ... will just ask if i upgrade to alpha 4 - must i also reinstall all module blocks in my cmps 3.0 or just upload new files and import product file?


regards

macc

AndrewD
11 Mar 2008, 15:18
hello!

have 2.2.9 alpha 3 ver and vbulletin 3.7.0 beta6 and cmps 3.0 ... will just ask if i upgrade to alpha 4 - must i also reinstall all module blocks in my cmps 3.0 or just upload new files and import product file?


regards

macc

There are no changes in the vba modules between alpha 3 and 4, so should be no need to reinstall.

Beta 1 is coming quite soon....

macc
11 Mar 2008, 16:37
thanks for help and replay!

just one thing ... you recomended if i understand right ..at have not hot media and new media blocks on cmps in same time ??

reg
macc

donal
12 Mar 2008, 11:26
Thanks for the nice hack. I installed and its working fine.

However I am not able to upload files of more then 2MB. How can I increase this limit ?

AndrewD
12 Mar 2008, 13:34
Thanks for the nice hack. I installed and its working fine.

However I am not able to upload files of more then 2MB. How can I increase this limit ?

This is generally a limit in the php configuration of your website. You need to get your system admin to edit the configuration and set the parameters post_max_size and upload_max_filesize to the size you wish to accept. Bear in mind that standard large uploads are not always reliable.

I have added an 'extra' with the 3.7 release (see extras dircetory) which uses the 'swfuploader' utility to provide more robust handling of larg uploads.

RikiB
12 Mar 2008, 19:49
sounds great, I cant wait to test out the upcoming beta! :)

obmob
13 Mar 2008, 18:17
So many things to test for 3.7, so many templates tu update also x.x

Alfa1
17 Mar 2008, 11:35
Is it possible to use LDM as a reciprocal links manager? If yes, then please explain. If no, then please consider adding this functionality.

maroceve
17 Mar 2008, 13:27
My bad Andrew about that error i posted in the 3.6 forum : i reuploaded the files and anlso patched to latest version ..Db was old version

thanks again

macc
17 Mar 2008, 18:23
i think that you forget to update local_links_include.php with this on two places


Code:
if ($links_defaults['starred_entries_enabled']) {
for


Code:
if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {


i update from alpfa 3 to alpha 4 and get blank page on cmps portal ...but after this changes everything works fine !
have vbulletin 3.7.0 beta6 and cmps 3.0

regards

macc

AndrewD
17 Mar 2008, 18:59
i think that you forget to update local_links_include.php with this on two places


Code:
if ($links_defaults['starred_entries_enabled']) {
for


Code:
if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {


i update from alpfa 3 to alpha 4 and get blank page on cmps portal ...but after this changes everything works fine !
have vbulletin 3.7.0 beta6 and cmps 3.0

regards

macc

Thanks - apologies for that.

macc
17 Mar 2008, 23:36
hello!

now i have problem when i click on media - links on my nav bar i get blank page ...before it works ..some solution?

http://www.belaplay.com/vb/libar/local_links.php

cmps portal works fine now... http://www.belaplay.com/vb/libar/cmps_index.php

reg

macc

AndrewD
18 Mar 2008, 06:02
hello!

now i have problem when i click on media - links on my nav bar i get blank page ...before it works ..some solution?

http://www.belaplay.com/vb/libar/local_links.php

cmps portal works fine now... http://www.belaplay.com/vb/libar/cmps_index.php

reg

macc

The problem seems only to be on the base (home) page of LDM - it seems ok when you go to a category or search page.

To debug blank page problems, you need to disable the 'gzip' option within vb/admincp/options/cookies and http/enable gzip

The blank page happens when a vb site generates an error message before it starts to send the page html. By disabling gzip, you get to see the error. I think it will be a similar problem as yesterday, i.e. an uninitialised variable. Happy to help further when you have this information - or upgrade my account on your site (andrewd) to vb admin

codershark
18 Mar 2008, 06:18
is it possible to make the hack in german ?

AndrewD
18 Mar 2008, 08:50
is it possible to make the hack in german ?

There is a fairly complete German translation in the release directory of the zip. Simply install product-eirma_ldm_de.xml instead of product-eirma_ldm.xml. Or, if you want to have both English and German, you can find the German phrases in development/phrases/phrases_de.xml - these can simply be imported on top of your German language using vb/admin/languages and phrases/download and upload phrases

I'd appreciate it if someone could bring the German translation up to date.

macc
18 Mar 2008, 09:40
Thanks ... i will upgrade youe account to admin... you are wellcome...
and please if you can check admin settings for LDM in admin cp!

reg

macc

AndrewD
18 Mar 2008, 11:20
Thanks ... i will upgrade youe account to admin... you are wellcome...
and please if you can check admin settings for LDM in admin cp!

reg

macc

You should be ok now. Thanks for bringing this problem to my attention.

macc
18 Mar 2008, 11:37
thanks for help!


reg

macc

macc
18 Mar 2008, 20:03
Andrewd if you can look on my site ...have one problem..all (90%) files disapeared from media links ... (categories or forums)


regards

macc

www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)

AndrewD
18 Mar 2008, 20:31
Andrewd if you can look on my site ...have one problem..all (90%) files disapeared from media links ... (categories or forums)


regards

macc

www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)

You've set the LDM admin setting *links_expiry_days* to 20 days, so after 20 days they become hidden. They have not been deleted.

Ertan AKTEPE
18 Mar 2008, 23:46
thanks:)

macc
19 Mar 2008, 01:59
Thanks Andrewd ...


reg

macc

RikiB
21 Mar 2008, 20:19
Is it possible to secure an external link for a download? Currently if the file is on the server you can secure the download file very well, but is this possible to point it to another server. It would be very nice if I was able to mirror a file on another one of my webhosts but in a secure way.
Thanks!
Riki

AndrewD
21 Mar 2008, 20:29
Is it possible to secure an external link for a download? Currently if the file is on the server you can secure the download file very well, but is this possible to point it to another server. It would be very nice if I was able to mirror a file on another one of my webhosts but in a secure way.
Thanks!
Riki

It's not possible (as far as I know) to access a file on another server which is held outside the website space on that server. However, LDM's access to remote files is 'secure' in the following sense:

- provided force_redirect is set to 0, there is not way for the user to discover where the file is held, because it is streamed through LDM
- you can set up entries in LDM with username/password in order to access http protected areas on the remote server.

RikiB
21 Mar 2008, 21:03
wow, I am seriously impressed, and continually surprised how amazing this hack is. I just did a quick test and I think it will work perfect.

Can you briefly explain how I would be able to set up entries that are password protected on a remote server?

AndrewD
22 Mar 2008, 06:57
wow, I am seriously impressed, and continually surprised how amazing this hack is. I just did a quick test and I think it will work perfect.

Can you briefly explain how I would be able to set up entries that are password protected on a remote server?

Use apache's authenication methods to protect the directory of interest (e.g. an htaccess file or instructions in the httpd.conf file), for instance mysecuresite/files

Support you have a username 'alloweduser' with password 'mypassword'. Then set up the LDM entry to file1.typ in LDM using the following format:

http : // alloweduser:mypassword @ mysecuresite/files / file1.typ

Make sure that no-one other than yourself is able to edit entries in LDM or acces the LDM admin pages, otherwise they can find out the password.

webgeek247
26 Mar 2008, 23:47
This mod is *swears** awesome! lol :D Well not long had it installed to be honest, but all the features it has, etc so far looks very promising.

One thing though is that I dont see the "upload progress bar" feature anywhere. Hasnt it been added to the dlm mod yet or something?

This mod has great potential. Please keep up the good work :up:

cheers chris

webgeek247
26 Mar 2008, 23:54
Nearly forgot....

When I add say a keyword “tech’d up trance” and go back to the page the keyword shows as “tech/'d up trance” trance. Problem with quotes or something. Im not sure. Only thing ive noticed so far

Cheers

AndrewD
27 Mar 2008, 05:20
This mod is *swears** awesome! lol :D Well not long had it installed to be honest, but all the features it has, etc so far looks very promising.

One thing though is that I dont see the "upload progress bar" feature anywhere. Hasnt it been added to the dlm mod yet or something?

This mod has great potential. Please keep up the good work :up:

cheers chris

The dowload progress bar is available when you use the flash upload 'extra' - take a look in the 'extras' directory for 'swfuploader'. It was only just added - I will consider making it mainstream in a while provided it proves completely reliable.

AndrewD
27 Mar 2008, 05:21
Nearly forgot....

When I add say a keyword “tech’d up trance” and go back to the page the keyword shows as “tech/'d up trance” trance. Problem with quotes or something. Im not sure. Only thing ive noticed so far

Cheers

It's a problem with escaping quotes to preven people hacking the database. I'll take a look.

webgeek247
27 Mar 2008, 21:24
The dowload progress bar is available when you use the flash upload 'extra' - take a look in the 'extras' directory for 'swfuploader'. It was only just added - I will consider making it mainstream in a while provided it proves completely reliable.

Ok great. i will try it. any reason why the its limited to 100MB though just that i will be letting my members upload promotional dj mixes/productions. the upload limit ill be allowing is 200mb. what will happen if they try and upload a file over 100mb. will the upload flash progress bar stop working?

webgeek247
27 Mar 2008, 21:26
It's a problem with escaping quotes to preven people hacking the database. I'll take a look.

ok cheers

webgeek247
27 Mar 2008, 21:26
ive found another problem which is the 'categories' and 'show' links dont work. wel not in Internet Explorer 7.0 anyway

AndrewD
27 Mar 2008, 21:31
Ok great. i will try it. any reason why the its limited to 100MB though just that i will be letting my members upload promotional dj mixes/productions. the upload limit ill be allowing is 200mb. what will happen if they try and upload a file over 100mb. will the upload flash progress bar stop working?

It's limited to 100MB because that's all that adobe flash will handle. I don't know what will happen if someone tries to go over the limit. I imagine the upload will fail.

Progress bars are not easy to code purely in php - there is one solution I found on the net, bit it requires a particular version of php and even then is unreliable.

AndrewD
27 Mar 2008, 21:34
ive found another problem which is the 'categories' and 'show' links dont work. wel not in Internet Explorer 7.0 anyway

I'm not sure I follow - these seem to work ok for me. What's not working?

macc
27 Mar 2008, 21:53
hello!

when i try to play some mp3 i get this message (can not play anything)


Sorry, you do not have sufficient download allowances available at the moment
Allowances: 0 files/0 used, 0 bytes/0 bytes used, 0 bytes uploads/19.12 Mbytes uploaded



some help or solution?

regards
macc

www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)

webgeek247
27 Mar 2008, 23:33
It's limited to 100MB because that's all that adobe flash will handle. I don't know what will happen if someone tries to go over the limit. I imagine the upload will fail.

Progress bars are not easy to code purely in php - there is one solution I found on the net, bit it requires a particular version of php and even then is unreliable.


hmmm shame. i have latest version of php BUT if it cant be done.. wounded. thanks for the info anyway

webgeek247
27 Mar 2008, 23:35
I'm not sure I follow - these seem to work ok for me. What's not working?

hi please see pic

https://www.vbulletin.org/forum/

dont want it indexed yet in case my vbseo custom url rewrites are affecting the links or i may want until we can have names for categories etc

cheers chris

webgeek247
28 Mar 2008, 00:06
hello!

when i try to play some mp3 i get this message (can not play anything)


Sorry, you do not have sufficient download allowances available at the moment
Allowances: 0 files/0 used, 0 bytes/0 bytes used, 0 bytes uploads/19.12 Mbytes uploaded



some help or solution?

regards
macc

www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)

looks like youve set all allowances to 0

think you need to change them in Administration > Users > Download and Upload Allowances.

macc
28 Mar 2008, 00:58
thanks for help!

macc

webgeek247
28 Mar 2008, 01:30
No problem Macc.

Andrew: I uploaded the swfuploader plugin and installed it etc but it doesnt seem to be working. The uploads upload normally. No progress bar loads up. I cant see a switch to activate it anywhere either?

AndrewD
28 Mar 2008, 04:54
hi please see pic

http://i101.photobucket.com/albums/m72/Chris_Powell/gfdgdnjk5k6n5n645ndd.jpg

dont want it indexed yet in case my vbseo custom url rewrites are affecting the links or i may want until we can have names for categories etc

cheers chris

I visited your site and see what you mean. I imagine that the problem is related to the seo handling, but I don't have a vbseo licence to check for myself. Can you just confirm what happens without vbseo?

AndrewD
28 Mar 2008, 05:04
No problem Macc.

Andrew: I uploaded the swfuploader plugin and installed it etc but it doesnt seem to be working. The uploads upload normally. No progress bar loads up. I cant see a switch to activate it anywhere either?

It should operate automatically. There are no settings.

It only works (currently) if you are using the Add Single Entry form, i.e. it will not activate if you have set LDM/admin/setting/allow_add_multi to a value greater than 1.

webgeek247
28 Mar 2008, 07:08
I visited your site and see what you mean. I imagine that the problem is related to the seo handling, but I don't have a vbseo licence to check for myself. Can you just confirm what happens without vbseo?

Ok. I can comfirm that whether you have the vbseo plugin enabled or dislabed those clickable dlm dropdown menus dont seem to load properly.

webgeek247
28 Mar 2008, 11:47
It should operate automatically. There are no settings.

It only works (currently) if you are using the Add Single Entry form, i.e. it will not activate if you have set LDM/admin/setting/allow_add_multi to a value greater than 1.

i have allow_add_multi set to default 0 so it isnt that. im using single entry form. well it just says add entry form. doesnt mention single.

anything else what could be stopping it from working. i was only uploading 6.7 mb

thanks for your help andrew

AndrewD
28 Mar 2008, 11:58
i have allow_add_multi set to default 0 so it isnt that. im using single entry form. well it just says add entry form. doesnt mention single.

anything else what could be stopping it from working. i was only uploading 6.7 mb

thanks for your help andrew

I created an account on your site (andrewd) - could you give the account enough access to try to find some answers (e.g. admin?)

webgeek247
28 Mar 2008, 14:44
ok andrew, no problem. cheers

webgeek247
28 Mar 2008, 21:10
Andrew, I used the plugin to add all the mime type extensions last night and forgot to the remove the ones I didnt want to use. Anyway, ive now removed them but ive just noticed that a user of the forum created a thread and added an mp3 attachment

http://www.djpassion.co.uk/forums/members-dj-mix-downloads/4451-beach-party-part-1-a.html

I only want to allow mp3 uploads for the links and download manager NOT in thread attachments. Is there a work around for this?

AndrewD
28 Mar 2008, 21:22
ok andrew, no problem. cheers

As you'll see, I've been at work on your site.

First, concerning the drop down menus on the LDM navbar, with IE. I'm not sure what is causing the problem, but it is somehow connected with your style. When I display your site using the basis VB style, everything works correctly. With your style, as you say, the LDM navbar breaks. Furthermore, if I download the html code from site pages that are broken, and host them on my server, the menus work correctly.

Second, I have successfully uploaded three files (3Mb, 7MB and 17Mb) using the swf uploader. I also had two occasions whe the upload failed. I need to sort out why the failures are happening. I'l try to dig further over the weekend.l

AndrewD
28 Mar 2008, 21:23
Andrew, I used the plugin to add all the mime type extensions last night and forgot to the remove the ones I didnt want to use. Anyway, ive now removed them but ive just noticed that a user of the forum created a thread and added an mp3 attachment

http://www.djpassion.co.uk/forums/members-dj-mix-downloads/4451-beach-party-part-1-a.html

I only want to allow mp3 uploads for the links and download manager NOT in thread attachments. Is there a work around for this?

I'll give this some thought.

webgeek247
28 Mar 2008, 21:40
As you'll see, I've been at work on your site.

First, concerning the drop down menus on the LDM navbar, with IE. I'm not sure what is causing the problem, but it is somehow connected with your style. When I display your site using the basis VB style, everything works correctly. With your style, as you say, the LDM navbar breaks. Furthermore, if I download the html code from site pages that are broken, and host them on my server, the menus work correctly.

Second, I have successfully uploaded three files (3Mb, 7MB and 17Mb) using the swf uploader. I also had two occasions whe the upload failed. I need to sort out why the failures are happening. I'l try to dig further over the weekend.l

Hmmm i dont get whats wrong with my style then. well i wouldnt launch the upload / download center until most of the needed features work properly anyway. so no rush fixing the uploads, helping to get the style thing to work and adding a work around for the attachment (should decide to allow the option). ill leave the access as is for you anyway so you can test when you like. Least I can do to help you make the plugin better.

Cheers,
chris.

AndrewD
29 Mar 2008, 06:54
Hmmm i dont get whats wrong with my style then. well i wouldnt launch the upload / download center until most of the needed features work properly anyway. so no rush fixing the uploads, helping to get the style thing to work and adding a work around for the attachment (should decide to allow the option). ill leave the access as is for you anyway so you can test when you like. Least I can do to help you make the plugin better.

Cheers,
chris.

The problem with your style is as follows: Go to vb/admin/styles and templates/style manager. Take a look at the Main CSS for your default style, and scroll down to the bottom. I There are two boxes in the section marked Additional CSS definitions. Both of these are heavily reconfigured in your style.

In the top box, there is are two lines in the subdreamer css section which read:

div
{ vertical-align: top; }


I've no idea if this css is essential to your style. Its effect is to kill the display of the LDM navbar popup menus on IE, but for some reason not with Firefox.

I have created a "Child of Default" style on your board, which is identical to your default style, except that I have removed that line. The LDM menus work correctly with this style.

I'll see about a permanent fix in a new version of LDM.

Concerning the mp3 files, what you can do is disable the unwanted attachment types in the vb/admincp - attachments/attachment manager/edit mp3/uncheck enabled. LDM will continue to accept mp3, but your forums will not.

I'll get back to you on the swfupload extra. I'll probably have to provide some debug code for you to upload onto your site.

webgeek247
29 Mar 2008, 13:09
Cool, yes that’s fixed it now, Andrew.

Subdreamer CMS comes with automatic forum skinning which is what I used. But the forums wouldn’t validate as vaild xhtml at w3c because I had <link> etc in the wrong place. So I had to copy some code/css from the Subdreamer skin ’Passion’ that I modifed and added it to the vBulletin style sheet instead so that the forums would pass as vaild xhtml.

Right from the start though I had another problem which was when the forums wasn’t skinned by Subdreamer CMS and vBSEO's option ‘Cleanup HTML Code’ was enabled the vbulletin quick links would work. But only when the forums was skinned and while having the vBSEO option ‘Clean HTML Code’ was enabled I would get the same problem as what was happening with the ldm navbar links. Anyway, so I had to disable the vBSEO option so the standard vbulletin quick links would work. Though it didn’t make a different with ldm.

But now you have removed the unnecessary css from the vbulletin skin even with both forum skinned/vBSEO option ‘Clean HTML Code’ the vbulletin quick links and dlm links work now.

So I've copied your code back to the default style sheet and will use that now. And will delete the other ones as they arent needed now.

Thanks for finding that unnecessary css, Andrew. All vbulletin/ldm drop down links work properly now. Much apprecaited!



Concerning the mp3 files, what you can do is disable the unwanted attachment types in the vb/admincp - attachments/attachment manager/edit mp3/uncheck enabled. LDM will continue to accept mp3, but your forums will not.

This works fine. Cheers!


I'll get back to you on the swfupload extra. I'll probably have to provide some debug code for you to upload onto your site.

I will provide you ftp details if thats easier for you. I'd like you to check something else to do with where/how the music is uploaded in ldm (structure wise) looks odd looking on ftp. loads of blank folders and stuff.

I will PM you shortly.

Big thanks for the css fix. Much appreciated.

webgeek247
29 Mar 2008, 16:28
noticed another prob which is when viewing a category the moderator links are too close together

Moderators: Chris PowellKarlosandrewd

should be

Moderators: Chris Powell Karlos andrewd

cheers

AndrewD
29 Mar 2008, 18:27
noticed another prob which is when viewing a category the moderator links are too close together

Moderators: Chris PowellKarlosandrewd

should be

Moderators: Chris Powell Karlos andrewd

cheers

Yes, I noticed that as well