PDA

View Full Version : Major Additions - Links and Downloads Manager


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

AndrewD
02-25-2007, 05:27 AM
For most users it works fine but for at least one, he can view the files but when he clicks on one, he gets sent to a login screen for vbulletin or gets an error that he doesn't have persmission to access the files. But his settings are the same as all my other vb members.

Is he in exactly the same combination of usergroups as your other users? This sounds like LDM discovering that the user has permission to view but not to save.

Mupetz
02-25-2007, 04:26 PM
AndrewD, the mod_rewrite (admin settings field), what is supposed to do ?
If the seo friendly option is enabled and the rewrite conditions are given to the .htaccess file or directly to http.conf file ; what mod_rewrite field should do ?

I deleted all other .htaccess rules (from vbseo , etc) to see if it is a conflict or not. It doesn't work even with the proper rules you quoted ; so it must be the script/commands.

Does anybody made it work with .htaccess rules ?
Please anwser.

Magma
02-25-2007, 05:04 PM
I am getting a really weird problem...I installed, didnt really change to much on the config just yet but my site is mystic-panda.com I also have another site which is mysticmagma.com

I added some categories and stuff to the site ok easy, added a link now I went back to my forums and clicked the link to one of the categories and it comes out with the link http://www.mysticmagma.com/local_links.php?catid=2 not http://mystic-panda.com/forums/local_links.php?catid=2 anyone know why??


EDIT: Its ok I figured out the problem it was left over in my settings from when I updated to the new VB

AndrewD
02-26-2007, 04:19 AM
AndrewD, the mod_rewrite (admin settings field), what is supposed to do ?
If the seo friendly option is enabled and the rewrite conditions are given to the .htaccess file or directly to http.conf file ; what mod_rewrite field should do ?

I deleted all other .htaccess rules (from vbseo , etc) to see if it is a conflict or not. It doesn't work even with the proper rules you quoted ; so it must be the script/commands.

Does anybody made it work with .htaccess rules ?
Please anwser.

Sorry, we're going round in circles with this.

For me, the SEO features of LDM work fine with the htaccess rules I sent you (and which are now in the Wiki), and also works with (very similar) rules in http.conf.

The SEO features work at two levels:
- you tell LDM to generate SEO-friendly links (i.e. yoursite/forum/local_links/link/12/3 instead of yoursite/forum/local_links.php?catid=12&linkid=3) by setting the seo_friendly option on the LDM admin page
- you tell Apache how to process these links by the rules in http.conf/.htaccess.

It seems your problem is in step 2. The only way to get to the bottom of it is by step-by-step debugging of your Apache setup. The easiest way is with a combination of RewriteLog and RewriteLogLevel commands (see apache documentation). But maybe you cannot do this on your server, in which case, it's a matter of trial and error - add one line at a time until you discover what breaks.

The LDM admin setting "mod_rewrite" is confusing things, I think. This has absolutely nothing to do with search engine optimisation - turn it off - you should not be using it. It was added to LDM to implement a few of the functions of the Apache module. Its purpose is explained in the Wiki (see http://www.eirma.org/wikis/index.php/Hacking_LDM). It modifies 'on the fly' the hidden urls that are stored in your LDM database, at the instant before someone tries to visit one of them. Suppose (for example) you've set up a lot of LDM entries pointing to files at http://site1 and they've all moved temporarily to http://site2. Instead of editing your whole database, you can just turn on LDM's mod_rewrite, with a rule to translate site1 to site 2. As I said, turn it off, you don't need it.

GrendelKhan{TSU
02-26-2007, 07:31 AM
whoa. been a while.

just finally upgraded and love the improvements. still have to delve in more..but so far admin set up is sooo much better and easier to use. great job! (as usual)

will let u know if any other questions.

and as a little token of appreciation, here's a MP3 gif I use that everyone is free to use as well. I think its a bit more leet / pro looking, imo.

GrendelKhan{TSU
02-26-2007, 07:49 AM
ps. I am trying to enable the seo friendly options...

but for the option:

or create an .htaccess file like this:
RewriteRule (.*)local_links/links/([^0-9]+)$ /$1$2 [L]
RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [L]
RewriteRule (.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [L]
RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [L]
RewriteRule (.*)local_links/jump/([0-9]+)$ /$1local_links.php?action=jump&id=$2 [L]
RewriteRule (.*)local_stream/([0-9]+)$ /$1local_stream.php?action=stream&id=$2 [L]


where would need to put the htaccess file? root? forum root? ldm root folder?



and / or what is the http.config file? or where is it? couldnt' find it.
(I'm a n00b. :()

Edit http.conf and include lines like these to process those urls:

GrendelKhan{TSU
02-26-2007, 09:07 AM
also, tried installing the vbCMPS ldm_new_thumb.module ... but it gets the url to the link wrong.

ie: links to

www. site.com/local_links-blahblah

instead of

www. site.com/FORUMS/local_links-blahblah

*ie: doesn't pick up the right folder.

any suggestions? I think this would be a cool module otherwise.

AndrewD
02-26-2007, 10:26 AM
also, tried installing the vbCMPS ldm_new_thumb.module ... but it gets the url to the link wrong.

ie: links to

www. site.com/local_links-blahblah

instead of

www. site.com/FORUMS/local_links-blahblah

*ie: doesn't pick up the right folder.

any suggestions? I think this would be a cool module otherwise.

Noted, will fix in final 2.2.7

AndrewD
02-26-2007, 10:27 AM
ps. I am trying to enable the seo friendly options...

but for the option:



where would need to put the htaccess file? root? forum root? ldm root folder?



and / or what is the http.config file? or where is it? couldnt' find it.
(I'm a n00b. :()

httpd.conf is the Apach configuration file, assuming your server is running Apache.. Not a good idea to try to get SEO working unless you understand Apache and higher incantations. It's voodoo.

GrendelKhan{TSU
02-26-2007, 11:27 AM
httpd.conf is the Apach configuration file, assuming your server is running Apache.. Not a good idea to try to get SEO working unless you understand Apache and higher incantations. It's voodoo.

ok cool...but then where do I put the htaccess file then? I have some set already in different folders from vbseo and other configurations I've done.

and ps..again.. great job with the improvements. love the new inline media player and features.

AndrewD
02-26-2007, 11:50 AM
ok cool...but then where do I put the htaccess file then? I have some set already in different folders from vbseo and other configurations I've done.

and ps..again.. great job with the improvements. love the new inline media player and features.

I'm not an expert on this - and don't really want to become one :)

As far as I know, you can put the .htaccess in any web directory and it then applies to pages in that directory and in all subdirectories. I'm not sure if the contents of the file change at all - there are some subtle differences between what happens when processed in the httpd.conf and in .htaccess files (e.g. you'll see extra directory slashes).

GrendelKhan{TSU
02-26-2007, 01:48 PM
I'm not an expert on this - and don't really want to become one :)

As far as I know, you can put the .htaccess in any web directory and it then applies to pages in that directory and in all subdirectories. I'm not sure if the contents of the file change at all - there are some subtle differences between what happens when processed in the httpd.conf and in .htaccess files (e.g. you'll see extra directory slashes).


ok thanx. I'll give it a try and let you know.

next issue: tried to install LIGHTBOX v2, but it didn't work and I'm wondering if this is the problem...

Readme says:
1) Upload the contents of /clientscript and /includes into the corresponding forums directories.

but there is was no INCLUDES folder provided in the Lightbox folder, it only had

v2/clientscript/4 .js files
v2/lightbox-icon/7 .gif files
v2/lightbox.xml

(ie: NO includes folder).



again, didn't work and think may be because of missing folder??

AndrewD
02-26-2007, 03:59 PM
also, tried installing the vbCMPS ldm_new_thumb.module ... but it gets the url to the link wrong.

ie: links to

www. site.com/local_links-blahblah

instead of

www. site.com/FORUMS/local_links-blahblah

*ie: doesn't pick up the right folder.

any suggestions? I think this would be a cool module otherwise.

It's assuming that the cmps_index.php script is running in your forums directory. You can fix it by editing the adv_portal_custom_ldm_new_thumb_one template - put an appropriate path to your forums directory in front of the $LINKS_SCRIPT and $RESIZE_SCRIPT variables.

No doubt I've made this mistake consistently in other modules too. Thanks for pointing it out.

josiespencer
02-27-2007, 12:45 AM
I upgraded LDM to 2.2.7. Now a link of "http://www.abc.com/forums/local_links.php?action=jump&id=3120&catid=1" works just fine and shows a standard save box:

https://vborg.vbsupport.ru/external/2007/02/1.png

But a link of "http://www.abc.com/forums/local_link.php?catid=1&linkid=3120" produces an error "404 Not Found - The requested URL /forums/local_link.php?catid=1&linkid=3120 does not exist."

GrendelKhan{TSU
02-27-2007, 01:53 AM
I'm not an expert on this - and don't really want to become one :)

As far as I know, you can put the .htaccess in any web directory and it then applies to pages in that directory and in all subdirectories. I'm not sure if the contents of the file change at all - there are some subtle differences between what happens when processed in the httpd.conf and in .htaccess files (e.g. you'll see extra directory slashes).

hmm.. well putting the htaccess file my LDM directory (using with the script from the wiki) didn't work. just got a 404 error.

don't really know where to go from there.


ps. LOVE the flash sites extras patch. incredible job. I can see that being a big thing in combo with new inline player. :)

AndrewD
02-27-2007, 08:23 AM
I upgraded LDM to 2.2.7. Now a link of "http://www.abc.com/forums/local_links.php?action=jump&id=3120&catid=1" works just fine and shows a standard save box:

http://sapsuperusers.com/myPictures/DownloadBox.png

But a link of "http://www.abc.com/forums/local_link.php?catid=1&linkid=3120" produces an error "404 Not Found - The requested URL /forums/local_link.php?catid=1&linkid=3120 does not exist."

Weird. That doesn't happen for me. Do you want me to take a look at your site?

GrendelKhan{TSU
02-27-2007, 09:36 AM
It's assuming that the cmps_index.php script is running in your forums directory. You can fix it by editing the adv_portal_custom_ldm_new_thumb_one template - put an appropriate path to your forums directory in front of the $LINKS_SCRIPT and $RESIZE_SCRIPT variables.

No doubt I've made this mistake consistently in other modules too. Thanks for pointing it out.


ok that worked, but it won't conform to the size of the module. I had it in the left column and it breaks out in FF and just stretches the box wiiiiiide in IE.

how do you get it to conform to the width of the module box? and/or go into new rows?

AndrewD
02-27-2007, 02:08 PM
ok that worked, but it won't conform to the size of the module. I had it in the left column and it breaks out in FF and just stretches the box wiiiiiide in IE.

how do you get it to conform to the width of the module box? and/or go into new rows?

I'd noticed that myself. The final version will include parameter options on the VBA admin pages to set the size. Currently it's using the value of link_imagesize param from your LDM admin.

You can again change this in the meantime by editing the adv_portal_custom_ldm_new_thumb template - just replace the size= parameter in the line


<img src="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=$links_defa ults[link_imagesize]" border="0" alt="$linkname_clean" />

GrendelKhan{TSU
02-27-2007, 04:03 PM
I'd noticed that myself. The final version will include parameter options on the VBA admin pages to set the size. Currently it's using the value of link_imagesize param from your LDM admin.

You can again change this in the meantime by editing the adv_portal_custom_ldm_new_thumb template - just replace the size= parameter in the line


<img src="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=$links_defa ults[link_imagesize]" border="0" alt="$linkname_clean" />



ok. but is there a way to make it go into multiple rows to fit the box? I don't necessarily want 10 tiny tiny thumbnails. especially if I decide to move the box -- then gotta resize everything again. :/

Barteken
02-28-2007, 06:04 PM
some guests on my forum found a way to watch some wmv files without being registred.
How is this possible? when I check the links myself when not logged in they do work but I can't find them anywhere on the forum when not logged in and when I use the link where they are supposed to click on it doesn't work (so I can't find a way how they could download the file without being registered)

How can I solve this problem I installed the latest version

AndrewD
02-28-2007, 07:00 PM
some guests on my forum found a way to watch some wmv files without being registred.
How is this possible? when I check the links myself when not logged in they do work but I can't find them anywhere on the forum when not logged in and when I use the link where they are supposed to click on it doesn't work (so I can't find a way how they could download the file without being registered)

How can I solve this problem I installed the latest version

I imagine they are just constructing the urls manually.

If you want to prevent unregistered users from accessing your entries, you need to use the permission system. There are two ways of doing with this - either turn off the *can_access_link* permission on the LDM admin permissions page, or assign one of your forums to the entries/categories and then give that forum the viewing permissions you want.

Let me know if you need more help.

Dream
02-28-2007, 10:52 PM
Everytime I go to translate this mod I cry after seeing 63 pages of phrases lol O_O

AndrewD
03-01-2007, 03:13 AM
Everytime I go to translate this mod I cry after seeing 63 pages of phrases lol O_O

How do you think I feel ;)

SteveC
03-01-2007, 04:32 AM
Is he in exactly the same combination of usergroups as your other users? This sounds like LDM discovering that the user has permission to view but not to save.

he's the same as all the others. It won't let him actually view anything either. He sees the list of files but seems to get kicked out when he clicks on one of them

obmob
03-01-2007, 03:26 PM
Everytime I go to translate this mod I cry after seeing 63 pages of phrases lol O_OSpanish translation is quite done, so far! :D

Still testing 2.2.7 :cool:

AndrewD
03-01-2007, 05:43 PM
he's the same as all the others. It won't let him actually view anything either. He sees the list of files but seems to get kicked out when he clicks on one of them

I'm happy to help you get to the bottom of this, but I'll need full access to your site. Send me a PM with details if you want me to do this - also let me know which user is affected.

Alfa1
03-01-2007, 10:23 PM
How would I add the latest files of a category to mediawiki/vbwiki? Is this simple to do?
I'd like a simular mod as you made for vbwiki as we have for vbadvanced.

Barteken
03-03-2007, 02:22 PM
I get a lot of sql errors (i'm running the latest version)
Database error in vBulletin 3.6.4:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT linkid
FROM local_linkslink
WHERE linkid IN (5,7,8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,25 ,26,27,28,29,30,31,32,33,34,35,36,44,45,46,49,50,5 1,53)
AND linkforum NOT IN (0,59,27,38,29,28,61,62,42,13,18)
AND linkstatus != -3(link.linkmoderate = 0 OR
(linkmoderate = -2 AND linkuserid = 730));

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 '(link.linkmoderate = 0 OR
(linkmoderate = -2 AND linkuseri
Error Number : 1064
Date : Saturday, March 3rd 2007 @ 02:44:12 PM
Script : http:///local_links_search.php?action=like&linkid=52&catid=3
Referrer : http:///local_links.php?catid=3
IP Address :
Username :
Classname : vB_Database

AndrewD
03-03-2007, 03:21 PM
I get a lot of sql errors (i'm running the latest version)
Database error in vBulletin 3.6.4:

Have you downloaded and installed the patched version of local_links_search.php (see the first post of this thread). The version in the zip file is broken. Sorry about that.

Barteken
03-03-2007, 03:50 PM
Have you downloaded and installed the patched version of local_links_search.php (see the first post of this thread). The version in the zip file is broken. Sorry about that.
ow must have looked over it. thanks for the fast response :-)

grtz

katilkuzu
03-03-2007, 09:19 PM
hi, can not we hinder if the user do not have post!

forexample: if user have 0 (zero) post, can not view the download page...

is it posiblle.?

thank you

Chadi
03-04-2007, 02:17 AM
I just installed this v 2.2.6 but anytime I click the category link, it shows 'page not found' message.

AndrewD
03-04-2007, 03:57 AM
I just installed this v 2.2.6 but anytime I click the category link, it shows 'page not found' message.

Have you switched on the seo_friendly option on the LDM admin settings page? If so, you must also configure Apache to recognise the urls that are generated.

If this is not the problem, send me a PM - am happy to take a look at your site.

AndrewD
03-04-2007, 04:01 AM
hi, can not we hinder if the user do not have post!

forexample: if user have 0 (zero) post, can not view the download page...

is it posiblle.?

thank you

This needs a simple VB 'plugin' - there is one in the 'extras' directory of the LDM release which controls the user's rights to download based on his/her number of posts. I will edit this reply later today to explain how to block access to LDM altogether.

josiespencer
03-04-2007, 09:54 PM
Sorry, Andrew, I found one other little tiny bug in 2.2.7: there seems to a clitch in the display name of the file to be downloaded. I verified that the real files do not have spaces in their names, UNIX wouldn't have let them ever have been downloaded in the past. As a side note, this space seems to be cosmetic because the files can still be downloaded:

https://vborg.vbsupport.ru/external/2007/03/6.png
https://vborg.vbsupport.ru/external/2007/03/6.png

josiespencer
03-04-2007, 09:56 PM
Oh, man these pictures came out awful. But there is a space like "Busines sSolution" in the first and "Performance Improvement" in the second. I don' ever put any spaces in my files names.

AndrewD
03-05-2007, 04:17 AM
Oh, man these pictures came out awful. But there is a space like "Busines sSolution" in the first and "Performance Improvement" in the second. I don' ever put any spaces in my files names.

Weird. I can't see any place in the code that would do this. I'll need to take a look at your site - have I still got an account on your site?

Demon fox
03-07-2007, 09:33 PM
Hey andrew is it possible to make it so that when users upload it goes to an external server?

katilkuzu
03-07-2007, 10:40 PM
This needs a simple VB 'plugin' - there is one in the 'extras' directory of the LDM release which controls the user's rights to download based on his/her number of posts. I will edit this reply later today to explain how to block access to LDM altogether.

ok thank you for your relpy. i will wait :)
take care...

afterglow
03-08-2007, 05:25 AM
I tried installing this on a localhost to see how it works. I liked the many functions that this mod has except for the fact that it doesn't recognize all other skins and would only use what is chosen as the default in the mod setting. Is there a way to make this mod use whatever skin the user chooses? It's really not a good idea for example if i chose a pink template as a default for this plugin and then one of my users decided to use a black theme. Is there a fix for this?

regards,
afterglow

Demon fox
03-08-2007, 10:43 PM
The look should change with the users selected skin no matter it being default or not. It does with my site but I have 2.2.6 installed so may be a bug? But im sure it isnt.

afterglow
03-08-2007, 11:38 PM
I installed ver. 2.2.7 and it seems to only use the default skin specified in the mod setting. It doesn't change when i try to use other forum skins. I wonder if this is a bug.

regards,
afterglow

AndrewD
03-09-2007, 05:25 AM
I installed ver. 2.2.7 and it seems to only use the default skin specified in the mod setting. It doesn't change when i try to use other forum skins. I wonder if this is a bug.

regards,
afterglow


Sorry, I've been out of town all week and I had a disk crash last weekend :mad: .

I thought LDM was handling style choices correctly, but I will test this again over the weekend. The code that handles style choices has not changed (as far as I can see) from version 2.2.6 to 2.2.7. So if there's a bug, it's in both versions.

You need to be aware of the following:

* The default behaviour is simply to use the current VB setting, so if the user has made a choice or not, this should be used.

* It is possible to over-ride this behaviour, either for LDM as a whole or on a category basis. This is done with the *default_style* setting - the global value is set on the admin/settings page and the per-category value is set on the relevant Edit Category/control settings page. See attached image.

* If the value is over-ridden in a category, then that new value will also apply in any categories that are children of the category, etc, unless they over-ride the value themselves.

* Some LDM displays will not use a category over-ride, because they are not part of the category structure. For example, the admin pages, search pages, etc, always use the global LDM setting.

So I suggest you check that you haven't told LDM to use an explicit style.

afterglow
03-09-2007, 05:58 AM
Thanks for the response. It's already fixed. Sorry, i think i missed the default part in the setting. It was the other default that i clicked. I have it all sorted now. Glad you posted the screenshot. This is a very good plugin. Thank you for sharing it.

regards,
afterglow (clicking nomination link)

AndrewD
03-09-2007, 06:39 PM
Sorry, Andrew, I found one other little tiny bug in 2.2.7: there seems to a clitch in the display name of the file to be downloaded. I verified that the real files do not have spaces in their names, UNIX wouldn't have let them ever have been downloaded in the past. As a side note, this space seems to be cosmetic because the files can still be downloaded:

http://sapsuperusers.com/myPictures/Space1.png
http://sapsuperusers.com/myPictures/Space2.png


Are you still havingthis problem? - I haven't been able to check your site. However, I set up a test on my m/c and long filenames are displayed correctly - see image.

Please let me know - I want to get 2.2.7 finalised

josiespencer
03-09-2007, 10:13 PM
I've been on funeral leave myself and won't be home until Sunday. But yes, the problem is still there in the display but not in the database data itself.

amnesia623
03-10-2007, 04:08 AM
Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.

Thanks

amnesia623
03-10-2007, 05:00 AM
Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.


Thanks

edit- I search the online wiki but couldn't find anything :(

any help appreciated!

AndrewD
03-10-2007, 09:08 AM
Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.


Thanks

edit- I search the online wiki but couldn't find anything :(

any help appreciated!

Go to the extras/wimpy directory. This includes the demo versions of Wimpy. To buy the real things, see www.wimpyplayer.com. Depending on which plugin(s) you use, you buy wimpy.swf, wasp.swf or wimpy-button.swf.

1) Upload the contents of /clientscript into your forum/clientscript

2a) To install the demo version of Wimpy, create subdirectory forum/getid3, and upload the contents of /getid3
or
2b) To install the full (paid-for) version, create forum/getid3 and copy your wimpy.swf, wasp.swf or wimpy_button.swf into it

3) Use the vb plugin installer to upload:

wimpybutton-mp3-plugin.xml (Uses Wimpy button to play mp3 files)

or

wimpyplayer-mp3_plugin.xml (standard Jukebox, uses wimpy plays mp3 only)

and/or

wimpyplayer-flash-plugin.xml (standard Jukebox, uses wimpy wasp to play flv/swf files)

OK?

rasun
03-10-2007, 04:50 PM
When I want to add a link I get this message at the top of the page: (I use version 2.2.6)

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/local_links_include.php on line 1286

After that the link is added successfully, but I am a little confused what this means...

Can you help me?

AndrewD
03-10-2007, 06:10 PM
When I want to add a link I get this message at the top of the page: (I use version 2.2.6)



After that the link is added successfully, but I am a little confused what this means...

Can you help me?

LDM uses a library called cURL to access entries held somewhere else on the internet. Use of some of the features within cURL depends on the configuration of your own web server.

This warning message is telling you that there's a conflict between what LDM's trying to do, and what your web server allows. (What it's trying to do, actually, is follow web sites that set up redirections to another site.) The code should suppress the warning message, and in version 2.2.7, it does. There's nothing to be concerned about.

Demon fox
03-10-2007, 06:35 PM
Is it possible to make a hack like this (https://vborg.vbsupport.ru/showthread.php?t=138461&highlight=ajax+preview) for previewing extended descriptions of categories.

I have a large amount of categories with extended descriptions that includes a picture of the manga and a description about it. See it here (http://www.mangahunter.com/forums/local_links.php?catid=1)

It be a huge time saver for members if they could just click a preview button next to the category link that creates a popup like the hack I mentioned which shows the extended description. That way users dont have to go back and forwards reloading pages to find a manga that interests them.

Im willing if need be pay for this because I believe it be a really useful feature.

Cheers

AndrewD
03-10-2007, 06:44 PM
Is it possible to make a hack like this (https://vborg.vbsupport.ru/showthread.php?t=138461&highlight=ajax+preview) for previewing extended descriptions of categories.

Im willing if need be pay for this because I believe it be a really useful feature.



Fifteen eunuchs and an accompanying team of virgins?

I'll give this some thought. Good idea.

Demon fox
03-10-2007, 06:52 PM
Fifteen eunuchs and an accompanying team of virgins?

I'll give this some thought. Good idea.

lol ok ill write you an IOU worth that amount then give me a few years and ill get there.

Oh and I knew it was a good idea :) dont need to tell me that lol

rasun
03-10-2007, 07:44 PM
LDM uses a library called cURL to access entries held somewhere else on the internet. Use of some of the features within cURL depends on the configuration of your own web server.

This warning message is telling you that there's a conflict between what LDM's trying to do, and what your web server allows. (What it's trying to do, actually, is follow web sites that set up redirections to another site.) The code should suppress the warning message, and in version 2.2.7, it does. There's nothing to be concerned about.
OK, Thank You for this detailed information.

amnesia623
03-11-2007, 06:59 AM
Go to the extras/wimpy directory. This includes the demo versions of Wimpy. To buy the real things, see www.wimpyplayer.com. Depending on which plugin(s) you use, you buy wimpy.swf, wasp.swf or wimpy-button.swf.

1) Upload the contents of /clientscript into your forum/clientscript

2a) To install the demo version of Wimpy, create subdirectory forum/getid3, and upload the contents of /getid3
or
2b) To install the full (paid-for) version, create forum/getid3 and copy your wimpy.swf, wasp.swf or wimpy_button.swf into it

3) Use the vb plugin installer to upload:

wimpybutton-mp3-plugin.xml (Uses Wimpy button to play mp3 files)

or

wimpyplayer-mp3_plugin.xml (standard Jukebox, uses wimpy plays mp3 only)

and/or

wimpyplayer-flash-plugin.xml (standard Jukebox, uses wimpy wasp to play flv/swf files)

OK?

Got it, and it shows the flash player....:)

But it doesn't stream the audio. What if my files are uploaded/stored in a file outside the webroot (like /home/blah/blah2/media but wimpy and ldm are running in /home/blah/blah2/public-html/forum ?)

Thanks again andrew for your help. LDM will be a major function for my upcoming website that will allow DJs and bands to upload their mp3s and stream them back. I would really like to keep the files out of the webroot so they can't be downloaded.

thanks
Kevin

AndrewD
03-11-2007, 07:09 AM
Got it, and it shows the flash player....:)

But it doesn't stream the audio. What if my files are uploaded/stored in a file outside the webroot (like /home/blah/blah2/media but wimpy and ldm are running in /home/blah/blah2/public-html/forum ?)

Thanks again andrew for your help. LDM will be a major function for my upcoming website that will allow DJs and bands to upload their mp3s and stream them back. I would really like to keep the files out of the webroot so they can't be downloaded.

thanks
Kevin

This works ok for me - files outside webroot do play fine (just tested it). But versionist and I spent some time trying to sort this out a few months back - maybe there's something I've overlooked. Am happy to take a look at your site, if you want - but I'll need full access.

One problem is that it's not possible to get the track name to display correctly inside the wimpy flash jukebox - this is because of limitations in the wimpy javascript - I've asked the author about this, but he didn't have a fix. So you're stuck with it displaying the name of the LDM script or modifying the skin so that the track title isn't displayed at all, which is the route I chose to use in the wimpy skin that is issued with LDM.

AndrewD
03-11-2007, 09:16 AM
lol ok ill write you an IOU worth that amount then give me a few years and ill get there.

Oh and I knew it was a good idea :) dont need to tell me that lol

This seems easy enough, at least with internet explorer. If I can get Firefox and Opera sorted, I'll include this in the final 2.2.7.

4x4 Mecca
03-11-2007, 04:46 PM
I've searched this thread for "searching" and "search" Is there any way to incorporate search results for the main forum and LDN?

AndrewD
03-11-2007, 04:48 PM
I've searched this thread for "searching" and "search" Is there any way to incorporate search results for the main forum and LDN?

Sorry, not at present. The searches are completely separate,

4x4 Mecca
03-11-2007, 04:52 PM
Also is there a way to make the thumbnail for images use lightbox also instead of just the little magnifier image?

4x4 Mecca
03-11-2007, 04:53 PM
Thank you for the fast response!

amnesia623
03-11-2007, 05:06 PM
Hi andrew - thanks for the help (again)

I'm going to PM you the site information now, if you could take a look, that would be awesome!

I'm not sure if it's related, but in order to download any files, I need to check the 'force save as box'' (or something to the effect) in order to save it. If I don't, I get a 500 error.

PM is being sent now...thanks!

amnesia623
03-11-2007, 05:15 PM
Quick question -

Is there a way to get the wimpy button to show in the linkbit so every mp3 file can be streamed straight from the page rather than the jukebox?

Just curious..

Thanks again!

Demon fox
03-11-2007, 07:32 PM
This seems easy enough, at least with internet explorer. If I can get Firefox and Opera sorted, I'll include this in the final 2.2.7.

Awesome im looking forward to it.

AndrewD
03-11-2007, 08:06 PM
Quick question -

Is there a way to get the wimpy button to show in the linkbit so every mp3 file can be streamed straight from the page rather than the jukebox?

Just curious..

Thanks again!

See PM

irishblue
03-12-2007, 03:28 AM
Andrew, Thanks for the numerous updates in the latest verion. I just upgraded to the new version 2.2.7. But I am now getting emailed errors from vb that quote this:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder

, ltoc2.catid AS linkcatid2


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




LEFT JOIN local_linksltoc AS ltoc2
ON link.linkid = ltoc2.linkid
WHERE link.linkid IN ();

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 ')' at line 23
Error Number : 1064
Date : Monday, March 12th 2007 @ 06:22:51 AM
Script : mysite.com/forum/local_links_search.php?action=like&linkid=11&catid=7
Referrer : mysite.com/forum/local_links.php?catid=7
IP Address : xxx.xxx.xx.xx

any idea what could be wrong?

AndrewD
03-12-2007, 04:56 AM
Andrew, Thanks for the numerous updates in the latest verion. I just upgraded to the new version 2.2.7. But I am now getting emailed errors from vb that quote this:



any idea what could be wrong?

Are you using the version of the local_links_search.php file that forms part of the 2.2.7 zip? That is broken - there's a replacement in the first post of this thread.

Let me know if this does not solve the problem.

GrendelKhan{TSU
03-12-2007, 08:56 AM
can I just say...
Andrew, you continue to give the some of the most (if not THE most) concerted, best and most importantly patient and courteous support in all of vb org. And the mod is equally incredible reflection of that. so many coders crack and/or get nasty under 1/10000 the amount of questions and pressure you get for your hack. Its a true mark of character that you have done so much with the mod and with supporting it and so many appreciate it for that.

props Andrew..and CHEERS.

LDM pwns all. :bow: ;) :D

irishblue
03-12-2007, 09:31 AM
Are you using the version of the local_links_search.php file that forms part of the 2.2.7 zip? That is broken - there's a replacement in the first post of this thread.

Let me know if this does not solve the problem.

Thanks for the quick reply! :) I remember uploading that file separately. Perhaps I should try re-uploading it again. Maybe it didn't overwrite the old file (that was in the zip) while it was queued in FTP. I'll try reuploading. Will post back again.

AndrewD
03-12-2007, 04:27 PM
Also is there a way to make the thumbnail for images use lightbox also instead of just the little magnifier image?

I'll make that change in the final 2.2.7, at least for the v2 lightbox.

obmob
03-12-2007, 10:15 PM
can I just say...
Andrew, you continue to give the some of the most (if not THE most) concerted, best and most importantly patient and courteous support in all of vb org. And the mod is equally incredible reflection of that. so many coders crack and/or get nasty under 1/10000 the amount of questions and pressure you get for your hack. Its a true mark of character that you have done so much with the mod and with supporting it and so many appreciate it for that.

props Andrew..and CHEERS.

LDM pwns all. :bow: ;) :DAndrew rules! :D

Demon fox
03-12-2007, 10:21 PM
Yes he does.. Hey Andrew do you have an estimated time of completion for 2.2.7

AndrewD
03-13-2007, 05:02 AM
Yes he does.. Hey Andrew do you have an estimated time of completion for 2.2.7


It's ready, except for confirmation of a couple of bug reports - I want to be certain about the 'long file name' problem reported a few posts back and the sql error in the 'like search'.

I get very nervous just before a release - there's always something that has been missed!

Alfa1
03-13-2007, 11:20 AM
Andrew; is there any way to create a new category and let it have multiple parent categories?

AndrewD
03-13-2007, 11:26 AM
Andrew; is there any way to create a new category and let it have multiple parent categories?

No, a category can only have one parent at a time. This is deliberate, to prevent the possibility to create 'infinite loops' of categories which end up being their own grandchildren

Alfa1
03-13-2007, 12:39 PM
How would you suggest handling the structure of categories?
I have my LDM categorised as:

categorised per topic
video
music & audio

I have the video seperately because I want to pull the latest video's from this category. Still many video's are dedicated to topics, which have a section in the 1st category. So there should be a link between the related sections.

AndrewD
03-13-2007, 01:48 PM
How would you suggest handling the structure of categories?
I have my LDM categorised as:

categorised per topic
video
music & audio

I have the video seperately because I want to pull the latest video's from this category. Still many video's are dedicated to topics, which have a section in the 1st category. So there should be a link between the related sections.

Two possibilities come to my mind:

a) Create entries in your categories which are actually links to another category, and give these a display order of 0 to force them to appear at the top of the list

b) Place entries in multiple categories (you can do this just fine by selecting several categories from the list)

Alfa1
03-13-2007, 04:29 PM
Not really satisfying solutions though. Ah, well. You can't have everything.

Jaxel
03-13-2007, 04:32 PM
Hey Andrew, I asked for a feature a few months ago and you told me you would consider it in a future release. I was wondering what is the status of my request. Essentially what I am asking for is an "extra data field" built into the system. Then of course I could use this piece of extra data in any which way I want...

For instance, the way I would use it... my links and download manager I use as a system to distribute match videos. Sometimes I like to mirror these matches on YouTube. So if I had an extra field where I could put information, I would put the YouTube ID tag in the extra field. Then of course I would within my linkbit_featured I would add in an if not null display of the ID tag with a link to its youtube counterpart.

Of course if you want to see my implementation... http://www.crookedjester.com/local_links.php?catid=88

NFLfbJunkie
03-13-2007, 05:46 PM
Can 2.2.6 be used with vbbux and vbplaza?

AndrewD
03-13-2007, 06:15 PM
Hey Andrew, I asked for a feature a few months ago and you told me you would consider it in a future release. I was wondering what is the status of my request. Essentially what I am asking for is an "extra data field" built into the system. Then of course I could use this piece of extra data in any which way I want...

For instance, the way I would use it... my links and download manager I use as a system to distribute match videos. Sometimes I like to mirror these matches on YouTube. So if I had an extra field where I could put information, I would put the YouTube ID tag in the extra field. Then of course I would within my linkbit_featured I would add in an if not null display of the ID tag with a link to its youtube counterpart.

Of course if you want to see my implementation... http://www.crookedjester.com/local_links.php?catid=88

I'm sorry, I haven't implemented this yet and it's too late to include in version 2.2.7. It does seem an important feature, so I can only say that I will keep it on the list.

AndrewD
03-13-2007, 06:16 PM
Can 2.2.6 be used with vbbux and vbplaza?

It's not integrated with these. I had a brief discussion with one of the the authors last summer, but we didn't get anywhere.

NFLfbJunkie
03-13-2007, 06:20 PM
Is it something that could still possibly get integrated with your mod? Also, is 2.2.7RC safe to upgrade with at this time?

AndrewD
03-13-2007, 07:37 PM
Is it something that could still possibly get integrated with your mod? Also, is 2.2.7RC safe to upgrade with at this time?

I've only had one major bug with 2.2.7 RC, which is fixed if you also upload the replacement local_links_search.php. But the final 2.2.7 will be available in a day or so, when I get a couple of reports back on possible bugs.

I see no any reason why the various hacks won't integrate, but I've never used the ones you mention, and am not in a position to make a commitment on this.

NFLfbJunkie
03-13-2007, 08:07 PM
For gif images, I changed the MIME type in the vB attachment manager to Content-type: application/force-download' to force the download box to open instead of showing the image in a browser, but this did not work. Am I missing something?

josiespencer
03-14-2007, 12:14 AM
I've got a question: is there a way to limit just one or two users to a specific download quota? If a user belongs to three or four user groups, his rights seem to go from the top down. If any one user group has no quota for downloads, this user's downloads are not limited in any way. So I want a hard coded download limit for one or two users so far.

AndrewD
03-14-2007, 05:05 AM
I've got a question: is there a way to limit just one or two users to a specific download quota? If a user belongs to three or four user groups, his rights seem to go from the top down. If any one user group has no quota for downloads, this user's downloads are not limited in any way. So I want a hard coded download limit for one or two users so far.

Yes, there is a way.

It can be done with a plugin which is configured to check on the specific userid. If you feel comfortable with a small bit of coding, take a look in the extras/limit-useraccess directory, where you'll find some samples which give quotas by testing other parameters. Otherwise, I will write something for you - it's about ten or twenty lines of code.

The way LDM usergroup allowances work is not quite as you describe. The quotas are based on the user's primary usergroup. Other permissions are done the way you say - the code checks all the user's groups to see if it should give the permission or not. I thought about doing it the same way for quotas also, but it wasn't obvious to me what this would mean. So I stuck with using the primary group.

On a separate matter - I'd like to get to the bottom of your problem with long file names, but need access to you site. Please can you reinstate my account.

AndrewD
03-14-2007, 05:12 AM
For gif images, I changed the MIME type in the vB attachment manager to Content-type: application/force-download' to force the download box to open instead of showing the image in a browser, but this did not work. Am I missing something?

I tried this - seems to work fine with Firefox and Opera, but IE continue tos show the image in the browser. I suspect that IE is hard coded to recognise image formats, but I may be wrong.

josiespencer
03-14-2007, 03:37 PM
Andrew, I have sent the information to you via email. Thanks!

Kahuna900
03-14-2007, 05:09 PM
Installed the latest version and everything is working great except on thing.

I can't get the icons to show up. I would like to see the folder icons as well as the file type icons, but I can't seem to get them working.

AndrewD
03-14-2007, 05:12 PM
Installed the latest version and everything is working great except on thing.

I can't get the icons to show up. I would like to see the folder icons as well as the file type icons, but I can't seem to get them working.

Have you uploaded the /icon directory (in the zip file) somewhere convenient, and have you pointed file_icons_dir (LDM/admin/settings/image settings) at this directory?

AndrewD
03-14-2007, 05:17 PM
Andrew, I have sent the information to you via email. Thanks!

Found it!

VB is adding a break in the middle of long names. The place where the break happens is controlled by the setting *Number of Characters Before Wrapping Text* (see vb/admincp/Thread Display Options).

What I need to know is whether you think this is sensible behaviour or not.

Plus points:
- very long names will not break template layout

Negative points:
- It's a bit distracting

Kahuna900
03-14-2007, 05:18 PM
Have you uploaded the /icon directory (in the zip file) somewhere convenient, and have you pointed file_icons_dir (LDM/admin/settings/image settings) at this directory?Yes. I had a little trouble trying to set the file_icons_dir becuase the example said "/images/icons", but I could only get "images/icons" to work. If I try to put "/images/icons", it will strip the first "/" from the path.

AndrewD
03-14-2007, 05:23 PM
Yes. I had a little trouble trying to set the file_icons_dir becuase the example said "/images/icons", but I could only get "images/icons" to work. If I try to put "/images/icons", it will strip the first "/" from the path.

Yes, that is a bit confusing, I agree.

Is everything working now?

Kahuna900
03-14-2007, 05:23 PM
Darn, it was all me. I checked the path again and had it wrong. :(

Great product you have here.

It would be nice to just display all the categories and then the downloads on the main page. Also, it would be cool to automatically display the "you don't have permissions" dialog when trying to access a page with out the correct rights. currently, it just displays an empty page. :)

AndrewD
03-14-2007, 05:32 PM
Darn, it was all me. I checked the path again and had it wrong. :(

Happens to the best of us...


It would be nice to just display all the categories and then the downloads on the main page.

Could you explain a bit further?

Also, it would be cool to automatically display the "you don't have permissions" dialog when trying to access a page with out the correct rights. currently, it just displays an empty page. :)

Not sure where this is missing - as far as I know, all barred accesses are trapped. Can you point me at an example?

Kahuna900
03-14-2007, 05:48 PM
Okay, on the main page which shows the categories. It would be nice to be able to display the category title, then the links below it. The the next category, and links, and so on.

I set my downloads to use the permission from a certain forum because I want only fully register users to have access. So, if a non register member tries to access the page, it just just shows the blank forum page with no category headers. I mean it works fine, but it would be nice to be able to display a message instead. I can't show you an example on my site because I coded it to actually display the standard message in the local_links.php file.

josiespencer
03-14-2007, 05:52 PM
Found it!

VB is adding a break in the middle of long names. The place where the break happens is controlled by the setting *Number of Characters Before Wrapping Text* (see vb/admincp/Thread Display Options).

What I need to know is whether you think this is sensible behaviour or not.

Plus points:
- very long names will not break template layout

Negative points:
- It's a bit distracting

Thanks, Andrew! That is definitely a workaround. In 2.8 you might think about adding an override of "Number of Characters Before Wrapping Text" just for LDM. For non-professional sites, the way it is now is probably fine. But for professional sites related to SAP, IBM, Oracle, Microsoft, etc. you can get some really long file names out there.

Again, my thanks!

AndrewD
03-14-2007, 06:06 PM
Okay, on the main page which shows the categories. It would be nice to be able to display the category title, then the links below it. The the next category, and links, and so on.

I set my downloads to use the permission from a certain forum because I want only fully register users to have access. So, if a non register member tries to access the page, it just just shows the blank forum page with no category headers. I mean it works fine, but it would be nice to be able to display a message instead. I can't show you an example on my site because I coded it to actually display the standard message in the local_links.php file.

OK, I understand - you mean, if the permissions result in *no* visible categories/entries at all, then this should be flagged with a 'no permission' warning message.

PitchouneN64ngc
03-14-2007, 08:57 PM
Hi AndrewD ;)

Just a little thing: for the phrases 'll_HELP_title_media', 'll_HELP_title_security' and 'll_HELP_title_synchronise', you have an little error in the path ('index.php//LDM_Settings' instead of 'index.php/LDM_Settings') :)

josiespencer
03-14-2007, 10:10 PM
Andrew, sorry to kick another bug in 2.2.7 at you when I know you want to finalize it but you still have access to my website so you can test it on us.

We have been keeping a close eye on users reaching the daily max download count which is 10 for now. We use either the Quota stats or the Allowances option in the Adminster 2.2.7 option from the Links and Downloads menu bar.

Here is an example: I have three users who I am pretty sure are all the same user. Three users are maxed out for the day, they all originate from the same IP address, and the prefix for all the files they download is the same, SCM. So I wanted to pull a hit list for a user named mariored. I clicked on the [View hits] options, and then clicked on the username when it was displayed as a single entry on the next day. I got a list of the 10 files downloaded by the use today. So I clicked on the IP address for that user to see who else is downloading using that same IP address and the first page looks fine:

http://sapsuperusers.com/myPictures/Page1.png

Then I click either > or 2 and instead of getting the second page to the restricted IP results, it looks like I get some sort of global user list:

http://sapsuperusers.com/myPictures/Page2.png

Please feel free to poke around on my site to research this is you need to do so.

Jaxel
03-15-2007, 12:37 AM
Hey Andrew, can you perhaps write a script I can run to rebuild all the thumbnails? I know I can press the "reset thumbnails" button, but that only clears the current thumbnails, it doesnt actually create new ones.

http://www.crookedjester.com/local_links.php?catid=88
I just moved to a new server, however for some reason, even after hitting the reset thumbnails button, when I browse to the media it doesnt recreate the thumbnails... I have 'create_thumbs_oninsert' set to NO, so it should create the thumbs on first page display, but it doesnt. Instead I just get the usual red Xs.

I can manually get the thumbnail to show up by setting 'create_thumbs_oninsert' to YES and then manually going into each link and confirming an edit; in which it will recreate the thumb right then and there.

So I am looking for a script that will manually recreate all the thumbs.

Alfa1
03-15-2007, 12:44 AM
Is it possible to somehow connect a RSS feed to LDM, so that LDM automaticly adds new video's in the same way that vbulletin can create new moderated threads from RSS feeds?

GrendelKhan{TSU
03-15-2007, 03:49 AM
Hey Andrew, can you perhaps write a script I can run to rebuild all the thumbnails? I know I can press the "reset thumbnails" button, but that only clears the current thumbnails, it doesnt actually create new ones.

http://www.crookedjester.com/local_links.php?catid=88
I just moved to a new server, however for some reason, even after hitting the reset thumbnails button, when I browse to the media it doesnt recreate the thumbnails... I have 'create_thumbs_oninsert' set to NO, so it should create the thumbs on first page display, but it doesnt. Instead I just get the usual red Xs.

I can manually get the thumbnail to show up by setting 'create_thumbs_oninsert' to YES and then manually going into each link and confirming an edit; in which it will recreate the thumb right then and there.

So I am looking for a script that will manually recreate all the thumbs.

me too! :)



and found a small tiny bug.
we I try to add new link AND set the order number to something other than 1... it doesn't actually save the order number (saves it as 1). you have to edit the link and save the order number again for it to "take".

AndrewD
03-15-2007, 04:53 AM
Hi AndrewD ;)

Just a little thing: for the phrases 'll_HELP_title_media', 'll_HELP_title_security' and 'll_HELP_title_synchronise', you have an little error in the path ('index.php//LDM_Settings' instead of 'index.php/LDM_Settings') :)

Thanks!

GrendelKhan{TSU
03-15-2007, 04:58 AM
Is it possible to somehow connect a RSS feed to LDM, so that LDM automaticly adds new video's in the same way that vbulletin can create new moderated threads from RSS feeds?

I believe thats already in there-- extra folder. haven't used it though, so not 100% sure how it works.

AndrewD
03-15-2007, 05:11 AM
Hey Andrew, can you perhaps write a script I can run to rebuild all the thumbnails? I know I can press the "reset thumbnails" button, but that only clears the current thumbnails, it doesnt actually create new ones.

http://www.crookedjester.com/local_links.php?catid=88
I just moved to a new server, however for some reason, even after hitting the reset thumbnails button, when I browse to the media it doesnt recreate the thumbnails... I have 'create_thumbs_oninsert' set to NO, so it should create the thumbs on first page display, but it doesnt. Instead I just get the usual red Xs.

I can manually get the thumbnail to show up by setting 'create_thumbs_oninsert' to YES and then manually going into each link and confirming an edit; in which it will recreate the thumb right then and there.

So I am looking for a script that will manually recreate all the thumbs.

As far as I can tell from your site, LDM thinks that it is creating new thumbs, but somehow they are then not found.

Couple of questions:
- Does it display a thumb correctly when you add a new entry to the database (i.e. is it only the old entries which have a problem)?
- When you moved server, did you change the location of the master images from which the thumbs are generated?

My guess is that LDM can't find the master images from which it builds the thumbnail, but I may be wrong.

To get to the bottom of this, I'll need admin access to your site.

AndrewD
03-15-2007, 05:12 AM
Is it possible to somehow connect a RSS feed to LDM, so that LDM automaticly adds new video's in the same way that vbulletin can create new moderated threads from RSS feeds?

Good idea - I think this can probably be done with an plugin. If it's ok with you, I'll get 2.2.7 out of the door before trying to write it.

AndrewD
03-15-2007, 05:13 AM
Please feel free to poke around on my site to research this is you need to do so.

Will do

AndrewD
03-15-2007, 05:14 AM
and found a small tiny bug.
we I try to add new link AND set the order number to something other than 1... it doesn't actually save the order number (saves it as 1). you have to edit the link and save the order number again for it to "take".

Will check this, thanks

Joep11
03-15-2007, 08:51 AM
Hi all,

Just got an new laptop with Vista. However, LDM video's are not streaming anymore. In XP they do though. I also have a problem with internetradio. Does anyone know the solution?

Jaxel
03-15-2007, 10:28 AM
As far as I can tell from your site, LDM thinks that it is creating new thumbs, but somehow they are then not found.

Couple of questions:
- Does it display a thumb correctly when you add a new entry to the database (i.e. is it only the old entries which have a problem)?
- When you moved server, did you change the location of the master images from which the thumbs are generated?

My guess is that LDM can't find the master images from which it builds the thumbnail, but I may be wrong.

To get to the bottom of this, I'll need admin access to your site.

New or old, doesnt work unless I turn 'create oninstert' on. When I moved servers I changed the location of nothing. The thumbnail GIFs are the same name as my video files in the same directory. Remember the simple-avi-image script you wrote? Well you wrote it for me; except I modified it a few months back to work for MKV -> GIF rather than AVI -> JPG. You have admin access now. From my old server I jsut copied all the data and the database...

I did discover a weird occurance... I have my 'local_file_root_prefix' set to '/downloads'... so if I have a file setup as /file.mkv, when click on it will go to 'http://www.crookedjester.com/downloads/file.mkv' (this file doesnt actually exist, just using it as an example)... this is with 'force_redirect' set to 0. The thumbnail would be at /file.gif.

If I change my 'force_redirect' to 2, instead it will ignore the 'local_file_root_prefix' and go to 'http://www.crookedjester.com/file.mkv' instead... Could this be caused by the same issue with the thumbnails not being found?

AndrewD
03-15-2007, 11:21 AM
I did discover a weird occurance... I have my 'local_file_root_prefix' set to '/downloads'... so if I have a file setup as /file.mkv, when click on it will go to 'http://www.crookedjester.com/downloads/file.mkv' (this file doesnt actually exist, just using it as an example)... this is with 'force_redirect' set to 0. The thumbnail would be at /file.gif.

If I change my 'force_redirect' to 2, instead it will ignore the 'local_file_root_prefix' and go to 'http://www.crookedjester.com/file.mkv' instead... Could this be caused by the same issue with the thumbnails not being found?

Yes, these are related. There seems to be a mismatch between the way the main script and the imaging script are processing files when local_file_root_prefix is set. A very similar problem exists with the different settings of force_redirect. Sorry about that - I suspect I made a change to the code to fix another problem and no-one has hit the new bug until now. I'm make sure it's fixed in 2.2.7.

Alfa1
03-15-2007, 11:22 AM
Good idea - I think this can probably be done with an plugin. If it's ok with you, I'll get 2.2.7 out of the door before trying to write it.
Hey Andrew, off course this is ok with me. I'm just very happy that you'll add this feature. Another great step forward if you ask me.

Jaxel
03-15-2007, 12:05 PM
Yes, these are related. There seems to be a mismatch between the way the main script and the imaging script are processing files when local_file_root_prefix is set. A very similar problem exists with the different settings of force_redirect. Sorry about that - I suspect I made a change to the code to fix another problem and no-one has hit the new bug until now. I'm make sure it's fixed in 2.2.7.

I'm using the same files/scripts from my old server, as well as the imported database... so how come I didnt have the bug until now?

Anyway, were you able to fix it?

AndrewD
03-15-2007, 12:12 PM
I'm using the same files/scripts from my old server, as well as the imported database... so how come I didnt have the bug until now?

Anyway, were you able to fix it?

I've no idea why you've only just hit the bug. I'm at work at the moment - I'll try to give this some effort this evening but there is a day job to do....

Ranma2k
03-15-2007, 01:17 PM
HI AndrewD,

Thanks for the continues update of the hack .. i really use it a lot ..

i always wanted to ask if it's possible to add custom fields to the links added so it can be filled when adding new links and stuff ..

is that possible in the new ver ?
I'm still using an old one since i did a lot of modification on it to meet my needs :)

AndrewD
03-15-2007, 01:24 PM
HI AndrewD,

Thanks for the continues update of the hack .. i really use it a lot ..

i always wanted to ask if it's possible to add custom fields to the links added so it can be filled when adding new links and stuff ..

is that possible in the new ver ?
I'm still using an old one since i did a lot of modification on it to meet my needs :)

Sorry, this is one of those changes that I haven't dealt with yet. It's on the list, and I know other people want it too, but it needs careful design.

Maybe in 2.2.8, I hope...

Jaxel
03-15-2007, 03:56 PM
I've no idea why you've only just hit the bug. I'm at work at the moment - I'll try to give this some effort this evening but there is a day job to do....

Looking into it further... I dont think thats the bug... If I create a new link with an offsite download... such as 'http://68.178.217.7/downloads/adxencd.zip' and set the thumbnail as 'http://68.178.217.7/downloads/thumbnails/file_adx.gif' it still doesnt create the thumbnail. It has an exact url too.

Once again, it only works if "create_thumbs_oninsert" is on. Yes, I know I can easily just turn create_thumbs_oninsert to on and then manually edit each link so it creates the thumbnail... but I have about 500 links, I would rather use a script that would do it automatically.

If I get rid of the whole local_file_root all together, it still cant make the thumbnails if I direct define the image.

obmob
03-15-2007, 04:22 PM
Do we have an RSS feed plugin?

I mean a simple one that can be used to access files and links with an rss reader? :p

AndrewD
03-15-2007, 04:37 PM
Looking into it further... I dont think thats the bug... If I create a new link with an offsite download... such as 'http://68.178.217.7/downloads/adxencd.zip' and set the thumbnail as 'http://68.178.217.7/downloads/thumbnails/file_adx.gif' it still doesnt create the thumbnail. It has an exact url too.

Once again, it only works if "create_thumbs_oninsert" is on. Yes, I know I can easily just turn create_thumbs_oninsert to on and then manually edit each link so it creates the thumbnail... but I have about 500 links, I would rather use a script that would do it automatically.

If I get rid of the whole local_file_root all together, it still cant make the thumbnails if I direct define the image.

This is weird. It seems that the script local_resize.php is not running at all.

Please can you grab the files /local_resize.php and /includes/local_links_resize.php - please make sure these are the files that currently installed on your forum - and post them here or email them to me at ad_rodin at noos.fr I want to check that we're dealing with the same code. Thanks.

AndrewD
03-15-2007, 06:08 PM
Andrew, sorry to kick another bug in 2.2.7 at you when I know you want to finalize it but you still have access to my website so you can test it on us.

We have been keeping a close eye on users reaching the daily max download count which is 10 for now. We use either the Quota stats or the Allowances option in the Adminster 2.2.7 option from the Links and Downloads menu bar.

Here is an example: I have three users who I am pretty sure are all the same user. Three users are maxed out for the day, they all originate from the same IP address, and the prefix for all the files they download is the same, SCM. So I wanted to pull a hit list for a user named mariored. I clicked on the [View hits] options, and then clicked on the username when it was displayed as a single entry on the next day. I got a list of the 10 files downloaded by the use today. So I clicked on the IP address for that user to see who else is downloading using that same IP address and the first page looks fine:

Then I click either > or 2 and instead of getting the second page to the restricted IP results, it looks like I get some sort of global user list:

Please feel free to poke around on my site to research this is you need to do so.

Thanks for the report - it was straightforward to fix.

Jaxel
03-15-2007, 06:18 PM
This is weird. It seems that the script local_resize.php is not running at all.

Please can you grab the files /local_resize.php and /includes/local_links_resize.php - please make sure these are the files that currently installed on your forum - and post them here or email them to me at ad_rodin at noos.fr I want to check that we're dealing with the same code. Thanks.

Ok... sent to you... but remember, it succesfully creates links when I have "create_thumbs_oninsert" set to on... so doesnt that mean the local resize is working?

EDIT: AHA!... somehow the local_resize file was lost when I migrated servers... haha... problem solved.

Ranma2k
03-15-2007, 06:57 PM
Sorry, this is one of those changes that I haven't dealt with yet. It's on the list, and I know other people want it too, but it needs careful design.

Maybe in 2.2.8, I hope...
will be looking forward for it ..

AndrewD
03-15-2007, 08:06 PM
Do we have an RSS feed plugin?

I mean a simple one that can be used to access files and links with an rss reader? :p

These a simple rss2 script in the extras/rss2 directory.

Vinyljunky
03-16-2007, 09:49 AM
Firstly thank you for this MOD, I can tell that you put a lot of hours in it!

My query is about Adverts!

I currently use VB Ad Management 3.04 (https://vborg.vbsupport.ru/showthread.php?t=131150) to display ads within my forum. But sadly the Ads dont apear within the Links & Downloads listings.

Is there anyway I can display adverts within the DL listings?

Thanks

VJ

GrendelKhan{TSU
03-16-2007, 11:10 AM
side q:

anyone get the SEO rewrite to work? if so, can ya help me out? cant' seem to get it to work at all for me :(

chorton
03-16-2007, 11:42 AM
i have vbseo rewrite working on www.versionist.com

mauro1947
03-16-2007, 02:24 PM
Hi!
Is there any way to recount all the entries?
I made changes to my DB and now LDM says i have 7000 links when i have exactly the middle.
How can i fix it?
Thanks
PD: AndrewD if you can, when you can, send me a mail, i have some questions for you ;)
THANKS!!!

GrendelKhan{TSU
03-16-2007, 03:13 PM
request: (cause ..er... like you don't have enough. :p)

I've had a bunch of requests whether veoh videos can be added to the LDM (http://www.veoh.com) flash sites addon... same like you have for youtube, google vid etc.

if you get a chance or its doable, it would be greatly appreciated. (no biggy if its a pain though).

as usual.,..thanks again for your continued developemtn on this incredible mod.

santimariani
03-16-2007, 06:13 PM
When trying to upload the product, I get these messages:

Importing Product, Please Wait...

[:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::]

Warning: require_once() [function.require-once]: Unable to access /mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php in /admincp/plugin.php(1941) : eval()'d code on line 3

Warning: require_once(/mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php) [function.require-once]: failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required '/mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/admincp/plugin.php(1941) : eval()'d code on line 3

And it continues to load forever. Why is this happening? Thanks.

santimariani
03-16-2007, 06:25 PM
Yay! I figured it out. Never mind! :)

Kahuna900
03-16-2007, 10:39 PM
Strange, I update to 2.2.7 and now I can only upload new downloads but can not link files already on the server. There is no place to enter the URL of the file when editing the entry. Not even for the files I already have setup and are linking to. Any ideas?

obmob
03-16-2007, 10:52 PM
These a simple rss2 script in the extras/rss2 directory.
Thanks, i'll look around :p

AndrewD
03-17-2007, 04:52 AM
Strange, I update to 2.2.7 and now I can only upload new downloads but can not link files already on the server. There is no place to enter the URL of the file when editing the entry. Not even for the files I already have setup and are linking to. Any ideas?

Check that you have actually uploaded all the new php files correctly.

Sometimes, strange things happen because there is a mix of old and new files on the server.

If this is not the reason, I will be happy to take a look at your site.

AndrewD
03-17-2007, 04:53 AM
request: (cause ..er... like you don't have enough. :p)

I've had a bunch of requests whether veoh videos can be added to the LDM (http://www.veoh.com) flash sites addon... same like you have for youtube, google vid etc.

if you get a chance or its doable, it would be greatly appreciated. (no biggy if its a pain though).

as usual.,..thanks again for your continued developemtn on this incredible mod.

This was easy to do. It will be in the final 2.2.7 - later today, unless someone throws a big problem at me......

AndrewD
03-17-2007, 07:42 AM
I've uploaded a new release of version 2.2.7, which (provided there are no serious reported bugs) will soon become the supported version.

Please remember to backup your database before upgrading. Please report experiences.

Obmod - I'm very sorry - there's a few more phrases to translate.

This release fixes all bugs that have been reported to me, and also includes many of the suggestions made in the last four weeks (althoug *not* the request for extra fields in the linkbit).

Bug fixes and other changes
- Admin/*cat_desc_popup* option enables a popup showing category's extended description next to the category title in the catbit
- Admin/*word_wrap* controls where long titles/words in text gain a space to allow then to wrap correctly
- Admin/allowances blanks out non-enabled form fields
- Admin/hits improvements and fixes to selection criteria
- Admin/imports and exports are allowed up to 60 seconds cpu if php installation allows this
- Admin/mass edits include 'process all pages' and regex-based edits on several fields with count of entries affected by edit
- Admin/permissions includes transpose opion to list everything by usergroup
- Admin/settings, more settings (including *force_redirect*) can be re-configured on a per-category basis
- Admin/settings *local_file_root_prefix* and *force_redirect*=2 now work correctly together
- Category synchronisation does not create/deletes categories where there are no entries or subcategories
- Hit recording coding error fixed for null entries
- Linkbit/better flagging of expired/not yet visible entries
- Linkbit/date fields fixed with languages that have format overrides
- Main page/warning message displayed if database/category is empty or if current user is not allowed to see anything
- Search/advanced search on category and subcategories no longer produces ridiculous category list
- Search/similarity search bugs fixed (php4 and general sql errors)
- User profile listing includes "show all my entries" link
- vbAdvanced/advanced search module added
- vbAdvanced/thumbs, hot, new modules have new parameter to specify entries per row
- added player for Veoh flash video site via 'extra'

PitchouneN64ngc
03-17-2007, 08:22 AM
Thanks for the final release, I think I will finish to translate your mod in French in a few hours ;)

Alfa1
03-17-2007, 02:02 PM
Is there a way to get new comments included into the 'new posts' function of vbulletin?

Does a search intergration with vbulletin's search engine exist?

Masiello
03-17-2007, 05:10 PM
Hi, can this works fine without any problem with vB 3.6.5?

Masiello
03-17-2007, 05:15 PM
Is there a lite mod just a link directory facsimile to a vBadvanced product?

AndrewD
03-17-2007, 07:04 PM
Hi, can this works fine without any problem with vB 3.6.5?

No problem with 3.6.5.

A lite version?? After they spend three years asking me to add more and more ?????

Dream
03-17-2007, 07:22 PM
Thanks for the update, upgraded and seems to be working fine.

All but the 100 pages phrases of course :P

AndrewD
03-17-2007, 08:13 PM
Thanks for the update, upgraded and seems to be working fine.

All but the 100 pages phrases of course :P

Which language do you want to translate into?

Dream
03-17-2007, 08:25 PM
Brazilian Portuguese

PitchouneN64ngc
03-17-2007, 08:50 PM
When you update your mod, in the page local_links_admin.php?action=admin, when you go into the debug part of the page, the vbphrase used for the debug title table is 'll_PERMS_debug'.

But, when you update to 2.2.7, the function init_admin_table is called. This function updates entries for the local_links_admin.php?action=admin page (phrase, default values, etc...). And in this function, I can see the default phrase for the debug title table is 'll_settings_title_debug'. (line 373)

When you updates to 2.2.7, this line is not updated (vbphrase from 'll_PERMS_debug' to 'll_settings_table_debug'). It is normal or do you must to force update? (sixth parameter of the line 373 to 1)

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

Other design issue: when you go to local_links_admin.php?set=categories , you have a little problem with the colspan attribute of the top-right table :)

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

In the phrase 'll_perms_force_redirect', you miss to close the bracket.

obmob
03-17-2007, 11:43 PM
No problem with 3.6.5.

A lite version?? After they spend three years asking me to add more and more ?????LOL, that was funny. :D

I guess there are plenty of linkbits to make it simple, no? :p

OK, final version of spanish phrases attached. :)

Now i must work in my templates :eek:

Thanks Andrew!

AndrewD
03-18-2007, 10:59 AM
When you update your mod, in the page local_links_admin.php?action=admin, when you go into the debug part of the page, the vbphrase used for the debug title table is 'll_PERMS_debug'.

But, when you update to 2.2.7, the function init_admin_table is called. This function updates entries for the local_links_admin.php?action=admin page (phrase, default values, etc...). And in this function, I can see the default phrase for the debug title table is 'll_settings_title_debug'. (line 373)

When you updates to 2.2.7, this line is not updated (vbphrase from 'll_PERMS_debug' to 'll_settings_table_debug'). It is normal or do you must to force update? (sixth parameter of the line 373 to 1)

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

Other design issue: when you go to local_links_admin.php?set=categories , you have a little problem with the colspan attribute of the top-right table :)

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

In the phrase 'll_perms_force_redirect', you miss to close the bracket.


Thanks for spotting these.

To force the debug title update, as you say, there needs to be six parameters on line 373 of admininclude.


require_admin_row($seq++, 'title_debug', 'll_settings_title_debug', 'title', 0, 1);

itsblack
03-18-2007, 02:13 PM
Hi Andrew, thank you very much for this great mod. I've been used it for a long time. Now I upgrade to 2.2.7, and translate it into chinese. [Simplified Chinese, use UTF-8 encode]

I have a little problem with the "Autocreate threads". The Image URL in the auto-created thread is not correct. But the images in LDM are totally correct. My vb path is www.mysite.com/forum, and I installed the LDM under the forum, but the image URL just lack of "forum". Only when I change the script, namely includes/local_links_misc.php, it goes to work. What I changed was line 1447:
$imglink = 'https://vborg.vbsupport.ru/';
here homeurl replace with bburl.

But I don't know if it is a bug or it only occurs by me. btw, I use the IIS server, and in the 2.2.6 stage it has the same problem. The other related settings are:
local_file_root = no
local_file_root_prefix = forum
upload_dir = /LDM/upload

Gsmdenis
03-18-2007, 10:51 PM
The first ,very nice for the new ver. release, BTW, better make/add new function that can download the SW form server by direct ? that 's mean just need setting the URL in admincp/download option.

Eg. for IIS server , d:/software/VBBfiles then can preview/download all the files in Vbb download section !

BR.,

Denis

obmob
03-19-2007, 12:34 AM
I upgraded my online site... and i got an error while updating (see attachment), then in admin i see something similar.

local_file_root Sitio web
local_file_root_prefix
(no establecido) not established
Carga de Archivos Permitido - Upload files Allowed
upload_dir
dll/usrupl/
thumbs_dir
(no establecido)
file_icons_dir
images/icons/dll/
PHP 4.4.4
allow_url_fopen S? - Yes
cURL S?
GD2 S?
open_basedir '.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/'
post_max_size 8M
upload_max_filesize 2M
MySQL 4.1.21-standard
wait_timeout 200


Did i miss something? Oo

It didn't happen when i was testing on my local server. >.<

I've been lokking around and everything seems to be working

Slave
03-19-2007, 02:25 AM
Hi AndrewD :)

Just installed the latest version of 2.2.7 and I'm now seeing some strange behaviour when trying to edit links .. It's either going very slow and just showing a blank page or I'm getting a "The page cannot be displayed" message within IE ..

I've just upgraded my web server and am now using PHP 4.3.9 and MySQL 4.1.20

Oh .. seems like the "Add Entry" link is doing the same thing ..

Slave
03-19-2007, 02:34 AM
Just seen in links_linkbit_table .. seems there are 2 date fields? Any reason why?

Slave
03-19-2007, 02:40 AM
In advanced search ..

Any reason why the Search Text box is multi lined? .. you enter some text, press enter and it gives a new line .. instead of searching as I would expect.

Also .. is there is a size limit? as it doesn't seem to find 3 letter words. any way to change this?

Thanks :)

AndrewD
03-19-2007, 04:55 AM
I upgraded my online site... and i got an error while updating (see attachment), then in admin i see something similar.

Did i miss something? Oo

It didn't happen when i was testing on my local server. >.<

I've been lokking around and everything seems to be working

It's just a warning - the setting of open_basedir limits the parts of your web server that php scripts can access, and you can inadvertently try to get LDM to use parts that are blocked. If everything's working ok, no need to be concerned.

AndrewD
03-19-2007, 04:59 AM
Just seen in links_linkbit_table .. seems there are 2 date fields? Any reason why?

date and moddate - one says when the entry was posted, the other when it was (last) moderated. Both are needed to keep things working.

AndrewD
03-19-2007, 05:03 AM
In advanced search ..

Any reason why the Search Text box is multi lined? .. you enter some text, press enter and it gives a new line .. instead of searching as I would expect.

Also .. is there is a size limit? as it doesn't seem to find 3 letter words. any way to change this?

Thanks :)

It's ajax-enabled to catch keywords, and I didn't get round to sorting out how to get the vb ajax code working with text inputs rather than boxes. One of those things that I may sort out - I agree with you...

There are two search mechanisms built into LDM, which use the alternative LIKE and FULLTEXT features in SQL. By default, it uses fulltext, which is generally faster and more powerful, but has some strange restrictions built in when the server is configured. One is to ignore short and common words.

You can go to the ldm/admin and switch over to using LIKE searches, which for your site should be fine.

AndrewD
03-19-2007, 05:04 AM
Hi AndrewD :)

Just installed the latest version of 2.2.7 and I'm now seeing some strange behaviour when trying to edit links .. It's either going very slow and just showing a blank page or I'm getting a "The page cannot be displayed" message within IE ..

I've just upgraded my web server and am now using PHP 4.3.9 and MySQL 4.1.20

Oh .. seems like the "Add Entry" link is doing the same thing ..

Can I take a look?

AndrewD
03-19-2007, 05:12 AM
Hi Andrew, thank you very much for this great mod. I've been used it for a long time. Now I upgrade to 2.2.7, and translate it into chinese. [Simplified Chinese, use UTF-8 encode]

I have a little problem with the "Autocreate threads". The Image URL in the auto-created thread is not correct. But the images in LDM are totally correct. My vb path is www.mysite.com/forum, and I installed the LDM under the forum, but the image URL just lack of "forum". Only when I change the script, namely includes/local_links_misc.php, it goes to work. What I changed was line 1447:
$imglink = ''.mk_file_name($vbulletin->options['homeurl], $linkimg).'';
here homeurl replace with bburl.

But I don't know if it is a bug or it only occurs by me. btw, I use the IIS server, and in the 2.2.6 stage it has the same problem. The other related settings are:
local_file_root = no
local_file_root_prefix = forum
upload_dir = /LDM/upload

It's a bug on my part - this code is ignoring that you've got local_file_root_prefix set. Switching from homeurl to bburl corrects that. Thanks, and thanks for the translation.

AndrewD
03-19-2007, 05:14 AM
The first ,very nice for the new ver. release, BTW, better make/add new function that can download the SW form server by direct ? that 's mean just need setting the URL in admincp/download option.

Eg. for IIS server , d:/software/VBBfiles then can preview/download all the files in Vbb download section !

BR.,

Denis

Do I understand right - you want to be able to automatically set up an LDM database pointing to all the files in a certain part of your server?

If so, this is already there - you can either do it manually in the admin/categories section, or you can do it automatically by telling catgeories to synchronise with directories.

Gsmdenis
03-19-2007, 12:59 PM
Do I understand right - you want to be able to automatically set up an LDM database pointing to all the files in a certain part of your server?

If so, this is already there - you can either do it manually in the admin/categories section, or you can do it automatically by telling catgeories to synchronise with directories.


pls check here for the demo http://www.litoweb.net/pfn2/


BR.,

Denis

josiespencer
03-19-2007, 03:04 PM
Andrew, help! Is there any way to disable LDM searches by my users?

My site is getting banned for excessive CPU use due to this type of a GET: /forums/local_links.php?action=jump&id=3370&catid=1 HTTP/1.1.

AndrewD
03-19-2007, 03:25 PM
Andrew, help! Is there any way to disable LDM searches by my users?

My site is getting banned for excessive CPU use due to this type of a GET: /forums/local_links.php?action=jump&id=3370&catid=1 HTTP/1.1.

Is it really searches that are the problem?

That GET request is the request to download a document. It gets very cpu intensive, mainly because of the way (I think) you have set up the entries in your database - you're using full urls to point to the documents. The php code needed to access files in this way is expensive to execute - this is covered at length in the on line manual - even if the documents are actually on the same physical computer.

By far the best/cheapest way to handle the documents while making sure that the source is kept private is as follows:

- Use local_file_root and local_file_root_prefix to store documents on the same server but outside the web site directory structure
- Use local file names in the entries, not urls.

This can make 100 - 1000 fold improvement in cpu use.

If it's really searches that are causing the problem, I'll see how to help.

GospelLabs
03-19-2007, 03:48 PM
Hi all, I would like to know if this is possible, and if someone can point me in the right direction if so.
I would like to give the users the ability to upload MP3 files (but not download them).
And when viewing the post, I would like to embed a flash player to play that single mp3.
I proabably will use this flash player found in this tutorial (http://www.macloo.com/examples/audio_player/).
Can someone give me a hand and point me in the right direction?

AndrewD
03-19-2007, 04:07 PM
Hi all, I would like to know if this is possible, and if someone can point me in the right direction if so.
I would like to give the users the ability to upload MP3 files (but not download them).
And when viewing the post, I would like to embed a flash player to play that single mp3.
I proabably will use this flash player found in this tutorial (http://www.macloo.com/examples/audio_player/).
Can someone give me a hand and point me in the right direction?

This is certainly possible.

- Install LDM
- Go to the VB admin page and add mp3 mimetype data to the attachments manager ("Content-type: audio/mp3")
- Go to the LDM admin/permissions page, give can_play_music_box, can_add_link and can_upload_files permissions and remove can_save_musicbox permissions from the usergroups you want to do this
- Go to the LDM/admin/settings page and enable uploads and set file_icons_dir

The /extras/wimpy_player directory in the release shows you how to install the wimpy button player, which also is a single press flash-based mp3 player. If you don't want to use wimpy, the example will show you how to patch LDM.

obmob
03-19-2007, 04:26 PM
It's just a warning - the setting of open_basedir limits the parts of your web server that php scripts can access, and you can inadvertently try to get LDM to use parts that are blocked. If everything's working ok, no need to be concerned.Oh, ok, thanks Andrew. :)


I have an inquiry, it's the fist time i'm able to see the mainpage stats change to what has really been downloaded in the latest X days.

But... arent' they supposed to be sorted? Oo

You can take a look in here:
http://www.ositobarrigon.com/download.php



Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!

AndrewD
03-19-2007, 04:55 PM
Oh, ok, thanks Andrew. :)


I have an inquiry, it's the fist time i'm able to see the mainpage stats change to what has really been downloaded in the latest X days.

But... arent' they supposed to be sorted? Oo

You can take a look in here:
http://www.ositobarrigon.com/download.php



Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!

You're right - it should be sorted - thanks.

I'll give thought to your other suggestions.

itsblack
03-19-2007, 05:46 PM
Also, is there a way to create a similar table as the one shown with the vbamodule and show it in the main page of LDM?

What? OO

Yeah, to have the chance to show the latest addons in the mainpage, let's say that we can set to show "x" columns and "y" lines with the latest or random entries.

vba module let me add a thumbnail image using the same variables from ldm! ^^

Thanks!
Good idea. That's also what I thought.
It will be great, let the LDM mainpage look like a portral page.
like this: http://www.download.com/

GospelLabs
03-19-2007, 08:54 PM
This is certainly possible.

- Install LDM
- Go to the VB admin page and add mp3 mimetype data to the attachments manager ("Content-type: audio/mp3")
- Go to the LDM admin/permissions page, give can_play_music_box, can_add_link and can_upload_files permissions and remove can_save_musicbox permissions from the usergroups you want to do this
- Go to the LDM/admin/settings page and enable uploads and set file_icons_dir

The /extras/wimpy_player directory in the release shows you how to install the wimpy button player, which also is a single press flash-based mp3 player. If you don't want to use wimpy, the example will show you how to patch LDM.

Thanks so much, I cant find how to set it up without wimpy button. Cant find it in the example.

AndrewD
03-20-2007, 04:55 AM
Thanks so much, I cant find how to set it up without wimpy button. Cant find it in the example.

I'll post you the details when I have time.

Slave
03-20-2007, 05:10 AM
Can I take a look?
Admin details PM'ed to you. Let me know if you need anything else :)

Slave
03-20-2007, 05:12 AM
It's ajax-enabled to catch keywords, and I didn't get round to sorting out how to get the vb ajax code working with text inputs rather than boxes. One of those things that I may sort out - I agree with you...

There are two search mechanisms built into LDM, which use the alternative LIKE and FULLTEXT features in SQL. By default, it uses fulltext, which is generally faster and more powerful, but has some strange restrictions built in when the server is configured. One is to ignore short and common words.

You can go to the ldm/admin and switch over to using LIKE searches, which for your site should be fine.
That's the ticket! .. thanks :)

Slave
03-20-2007, 05:15 AM
date and moddate - one says when the entry was posted, the other when it was (last) moderated. Both are needed to keep things working.
but do they need to be both shown to users? It seems they aren't in the other linkbits.

eczantrik
03-20-2007, 05:40 AM
thank you for this mod

but i ve a problem
while adding a category control settings or usergroup permissions links isn't working(while editing too)

i tried 2.2.7 2.2.6 versions too
but nothing changed

can you help me pls

thank you

AndrewD
03-20-2007, 06:23 AM
thank you for this mod

but i ve a problem
while adding a category control settings or usergroup permissions links isn't working(while editing too)


i tried 2.2.7 2.2.6 versions too
but nothing changed

can you help me pls

thank you


Are you using a clean installation of LDM, or have you wrapped the installation inside vbadvanced, etc? The usual reason why the category control/usergroup tabs don't work is that the necessary javascript isn't loaded (see links_header template) or javascript is disabled.

AndrewD
03-20-2007, 06:26 AM
but do they need to be both shown to users? It seems they aren't in the other linkbits.

Sorry, I misread your question - I read you as asking about the links TABLE, rather than the linkbit_table... Wake up, Andrew.

eczantrik
03-20-2007, 06:57 AM
Are you using a clean installation of LDM, or have you wrapped the installation inside vbadvanced, etc? The usual reason why the category control/usergroup tabs don't work is that the necessary javascript isn't loaded (see links_header template) or javascript is disabled.



i m using vbadvanced 2.2.1
i installed only and didn't do any code changes.

i attached my links_header but i didn't do any changes on it
other java's are working

is there a solution? thank you

AndrewD
03-20-2007, 07:04 AM
i m using vbadvanced 2.2.1
i installed only and didn't do any code changes.

i attached my links_header but i didn't do any changes on it
other java's are working

is there a solution? thank you

There's certainly a fix - can I take a look at your site (I'll need an admin userid)?

eczantrik
03-20-2007, 07:14 AM
There's certainly a fix - can I take a look at your site (I'll need an admin userid)?
i sended with pm thank you

GospelLabs
03-20-2007, 02:11 PM
Would anyone be willing to help me with setup for my forum http://www.ringerstuff.com/forums

I am new to vbulletin

Here is what I would like to do;
I have a forum called "Show off your mobile bling" that I would like users to be able to upload into a sub forum/category ringtones they made and backgrounds.
the backgrounds i would like to show someway simular to a gallary.
The ringtones, i would like them only to be able to upload (not download) but listen via a flash mp3 player (not wimpy but same as wimpy)
so when you go to the show off your mobil bling/ ringtones/ you will see a list of post and inside those post you will find the single ringtone that they can listen to via flash player.

josiespencer
03-20-2007, 05:36 PM
Is it really searches that are the problem?

That GET request is the request to download a document. It gets very cpu intensive, mainly because of the way (I think) you have set up the entries in your database - you're using full urls to point to the documents. The php code needed to access files in this way is expensive to execute - this is covered at length in the on line manual - even if the documents are actually on the same physical computer.

By far the best/cheapest way to handle the documents while making sure that the source is kept private is as follows:

- Use local_file_root and local_file_root_prefix to store documents on the same server but outside the web site directory structure
- Use local file names in the entries, not urls.

This can make 100 - 1000 fold improvement in cpu use.

If it's really searches that are causing the problem, I'll see how to help.

Yes, please, Andrew. I think it would be great if the Search on Links and Downloads could be disabled based on user group.

eczantrik
03-20-2007, 06:18 PM
i m using vbadvanced 2.2.1
i installed only and didn't do any code changes.

i attached my links_header but i didn't do any changes on it
other java's are working

is there a solution? thank you


when
i added "header" template
<script type="text/javascript" src="clientscript/ldm_global.js"></script>
it solved

thank you AndrewD

Stop
03-20-2007, 07:50 PM
I have a strange case in my site. I installed the Version 2.2.7 and it worked fine. I made some categories and add a couple of entries and it all was going fine but out of a sudden, my site now always shows (The website is too busy to show the webpage) when I try to add an entry. My server is alright and there's nothing wrong with it. I still can upload files and photos and I've just installed vbarticles and every is going just prefect with the other add-ons.
Now, how can I solve this thing ? It's been 3 days and I still can't add any entry not even 4 or 5 words in an entry.

AndrewD
03-20-2007, 07:59 PM
I have a strange case in my site. I installed the Version 2.2.7 and it worked fine. I made some categories and add a couple of entries and it all was going fine but out of a sudden, my site now always shows (The website is too busy to show the webpage) when I try to add an entry. My server is alright and there's nothing wrong with it. I still can upload files and photos and I've just installed vbarticles and every is going just prefect with the other add-ons.
Now, how can I solve this thing ? It's been 3 days and I still can't add any entry not even 4 or 5 words in an entry.

I wonder... Second similar report. Do you have several hacks installed on your site?

Go to VB/admin/maintenance/phpinfo and take a look at the memory_limit setting.

Possibly, you've only got 8MB memory available to php - which is not enough.

If so, try creating the following plugin, hooked onto ldm_start


ini_set('memory_limit', 12000000);

Stop
03-20-2007, 08:42 PM
I checked on my phpinfo and I found nothing that has to do with memory_limit..

Slave
03-20-2007, 10:42 PM
I wonder... Second similar report. Do you have several hacks installed on your site?

Go to VB/admin/maintenance/phpinfo and take a look at the memory_limit setting.

Possibly, you've only got 8MB memory available to php - which is not enough.

If so, try creating the following plugin, hooked onto ldm_start


ini_set('memory_limit', 12000000);

I've managed to get my web host to change my setting to 12m and it's now working .. thanks for the quick pointer in the right direction :)

Gsmdenis
03-20-2007, 10:44 PM
phpinfo have PHP Memory Limit

obmob
03-21-2007, 03:51 AM
Would anyone be willing to help me with setup for my forum http://www.ringerstuff.com/forums

I am new to vbulletin

Here is what I would like to do;
I have a forum called "Show off your mobile bling" that I would like users to be able to upload into a sub forum/category ringtones they made and backgrounds.
the backgrounds i would like to show someway simular to a gallary.
The ringtones, i would like them only to be able to upload (not download) but listen via a flash mp3 player (not wimpy but same as wimpy)
so when you go to the show off your mobil bling/ ringtones/ you will see a list of post and inside those post you will find the single ringtone that they can listen to via flash player.Yeah, yeah, next step must be toward mobile content! ^^

AndrewD
03-21-2007, 05:00 AM
I checked on my phpinfo and I found nothing that has to do with memory_limit..

I'm happy to take a look at your site if you wish. I need an account with admin privs.

AndrewD
03-22-2007, 05:16 AM
I checked on my phpinfo and I found nothing that has to do with memory_limit..

I've taken a look at your site - you'll find that I've created a test category and put a couple of entries in it. Everything worked fine for me, once I got past some early problems with VB itself. I found that your board was continuing to give me messages about missing profile fields, even though I had entered them all.

I wonder if you are having problems with caching - messages getting trapped somewhere in the pipeline from your server to the browser.

Let me know if you are still having problems.

Vinyljunky
03-23-2007, 10:06 AM
Hello,

Im relatively new to VB so go easy with me ;)

I have LDM installed and it works great! I use it so that anybody can download quizzes and registered users can download quiz answers.

99% of the registered users come to my site just to download the answers without interacting with the site.

Would it be possible to configure LDM so that:
Catagory A - Anybody could download (inc unregistered users)
Catagory B - Only Registered Users with N posts can download

Thanks

VinylJunky

AndrewD
03-23-2007, 10:19 AM
Hello,

Im relatively new to VB so go easy with me ;)

I have LDM installed and it works great! I use it so that anybody can download quizzes and registered users can download quiz answers.

99% of the registered users come to my site just to download the answers without interacting with the site.

Would it be possible to configure LDM so that:
Catagory A - Anybody could download (inc unregistered users)
Catagory B - Only Registered Users with N posts can download

Thanks

VinylJunky


Yes, this is certainly possible. There is a folder in the release/extras directory called "limit-useraccess". This contains a number of VB "plugins", one of which (limitaccess-byposts-plugin.xml) does precisely what you require. The sample is configured so that, for all users except administrators, if they have less than 10 posts, they are allowed one download a day.

If you feel comfortable ediing/installing plugins, you can adjust this as you like. Otherwise, get back to me and I will gladly help you to install a modified version.

Vinyljunky
03-23-2007, 11:01 AM
Yes, this is certainly possible. There is a folder in the release/extras directory called "limit-useraccess". This contains a number of VB "plugins", one of which (limitaccess-byposts-plugin.xml) does precisely what you require. The sample is configured so that, for all users except administrators, if they have less than 10 posts, they are allowed one download a day.

If you feel comfortable ediing/installing plugins, you can adjust this as you like. Otherwise, get back to me and I will gladly help you to install a modified version.

I have to confess that Im not a coder so some help would really be appreciated.

This is what Im trying to achieve:

Catagory A - Anybody could download (inc unregistered users)
Catagory B - Only Registered Users with N posts can download

Thanks

VJ:up:

AndrewD
03-23-2007, 11:31 AM
I have to confess that Im not a coder so some help would really be appreciated.

This is what Im trying to achieve:

Catagory A - Anybody could download (inc unregistered users)
Catagory B - Only Registered Users with N posts can download

Thanks

VJ:up:

Send me a PM with details of your site and an exact indication of "N" and I will set things up for you during the weekend. I'll need an account with admin privs.

efil
03-24-2007, 04:45 AM
Hi,
I did installed 2.27 and it's great!

but i just can download my wmv movies and can not see them in Jukebox.

efil
03-24-2007, 05:20 AM
Sorry it's working now.

Thanks.

efil
03-24-2007, 06:03 PM
Hi,
How can i move this text to the right (see pic)?

Rouzbeh1
03-24-2007, 10:26 PM
hi Andrew
i have 2 questions:
1 - is it possible to view video files that are setup to be streamed in Wimpy?
2 - does it take too much time to modify LDM to be able to add multiple URLs per entry? (i've seen it on Wishlis, actually i suggested this :d. the problem is that i badly need this, so any info/help would be appriciated)

thanks in advance

about multiple URLs: i think it would be VERY USEFUL to be able mirror base url
for example: Mirror 1 Base URL: http://www.baseurl1.com/folder
Mirror 2 Base URL: http://www.baseurl2.com/folder
in add entry page you would see for each mirror one text field in which you could just enter the folder and filename... mirror 1 : folder_blah/blah_file.zip

this is useful, when you for some reason HAVE TO change your directory structure or the path you saved the files there. then you won't have to edit more than 1000 entries, it's enough to just edit the mirror base url :d

AndrewD
03-25-2007, 09:04 AM
2.2.7 is now the official release.

New code has been uploaded with the Spanish and French translations completed (thanks ObMob and PitchouneN64ngc) and a new Chinese translation (thanks ItsBlack), plus some minor bug fixes:
- a couple of phrases
- the admin/category template
- sorting of the stats on the home page

Good luck!

AndrewD
03-25-2007, 09:09 AM
Hi,
How can i move this text to the right (see pic)?

Edit the links_linkbit template, and find these lines and change the third line as indicated


<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkc atid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid &amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[right]">


to


<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkc atid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid &amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[left]">

AndrewD
03-25-2007, 09:14 AM
hi Andrew
i have 2 questions:
1 - is it possible to view video files that are setup to be streamed in Wimpy?

Not sure if you're asking if wimpy can be used for video files? - answer is 'yes' for flash-based files - there are instructions in the extras/wimpy-player directory.

2 - does it take too much time to modify LDM to be able to add multiple URLs per entry? (i've seen it on Wishlis, actually i suggested this :d. the problem is that i badly need this, so any info/help would be appreciated)

about multiple URLs: i think it would be VERY USEFUL to be able mirror base url
for example: Mirror 1 Base URL: http://www.baseurl1.com/folder
Mirror 2 Base URL: http://www.baseurl2.com/folder
in add entry page you would see for each mirror one text field in which you could just enter the folder and filename... mirror 1 : folder_blah/blah_file.zip

I realise this is important to some sites. It's not a trivial change, but I've promised to look at the whole question of extra fields for the next release (without promising when that will happen).

this is useful, when you for some reason HAVE TO change your directory structure or the path you saved the files there. then you won't have to edit more than 1000 entries, it's enough to just edit the mirror base url :d

Did you know that you can do a 'mass edit' of all your entries in one go on the admin/categories/mass edit pages?

Rouzbeh1
03-25-2007, 10:43 AM
thank you for your reply :)
Not sure if you're asking if wimpy can be used for video files? - answer is 'yes' for flash-based files - there are instructions in the extras/wimpy-player directory.
i does it also work for video files? i taught it's only for Audio files

I realise this is important to some sites. It's not a trivial change, but I've promised to look at the whole question of extra fields for the next release (without promising when that will happen).
thank you very much :)

Did you know that you can do a 'mass edit' of all your entries in one go on the admin/categories/mass edit pages?
yes but how do i make it only change baseurl and let filename remain?

AndrewD
03-25-2007, 10:54 AM
i does it also work for video files? i taught it's only for Audio files

There are three plugins in the wimpy-player directory. wimpyplayer-flash-plugin.xml handles flash videos



yes but how do i make it only change baseurl and let filename remain?

See image. Admin/categories/ then usually easiest with access permissions/mass edit. Then go down to the bottom of the page, check 'select all entries' and select edit, then put the old and new base urls between the # characters in the regular expression boxes. Be careful, as this is an irreversible process. It's a good idea to take a backup.

Rouzbeh1
03-25-2007, 11:17 AM
wow cool
thank you.
but i need the mirroring system too, because i have more than 3000+ entries on LDM and each file has min. 30 MB, so the server gets lag most of times if i don't different mirrors.
the idea is that i have 2 own mirror servers and use freehosts besides this.
btw. it would be nice it the would be a possibility to check server load on each mirror to determine which mirror fits best. this could be done via a PHP file placed on each server or .... ;)

Blackhat
03-25-2007, 01:00 PM
This one works with 3.6.4 and above right ?

AndrewD
03-25-2007, 01:20 PM
This one works with 3.6.4 and above right ?

It works with all versions 3.6 and it should work fully with all versions of 3.5

Rouzbeh1
03-25-2007, 02:34 PM
i tried to make LDM play flv with wimpy wasp, what do i have to do?
i added flv extentions to musicbox_filetypes and also attachments.
what should i do next?

Alfa1
03-25-2007, 04:14 PM
Can LDM be used as a radio/mp3 player? Is there such an add on? I dont mean to play one radiostation/mp3, but to play a tracklist, etc.

efil
03-25-2007, 05:04 PM
Edit the links_linkbit template, and find these lines and change the third line as indicated


<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkc atid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid &amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[right]">


to


<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkc atid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid &amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[left]">


Thanks.:)

Alfa1
03-25-2007, 06:58 PM
Andrew, can you add a upgrade paragraph to your wiki?

AndrewD
03-26-2007, 05:18 AM
i tried to make LDM play flv with wimpy wasp, what do i have to do?
i added flv extentions to musicbox_filetypes and also attachments.
what should i do next?

My apologies - I've just tested this with 2.2.7 and realise that I forgot to update it. The wasp plugin does not currently work with this release. I will post a fix as soon as possible.

AndrewD
03-26-2007, 05:18 AM
Andrew, can you add a upgrade paragraph to your wiki?

There was one but it was hidden. Made visible, thanks

AndrewD
03-26-2007, 05:19 AM
Can LDM be used as a radio/mp3 player? Is there such an add on? I dont mean to play one radiostation/mp3, but to play a tracklist, etc.

I've been meaning to extend the wimpy plugin to do this - it's a matter of writing some javascript - hasn't been a priority so far.

Clayton
03-26-2007, 08:39 AM
Andrew, this is truly a massive amount of work you are doing on this hack/mod

I am just getting round to using it now, have installed and will be doing the settings

Thanks for all your time on this

obmob
03-26-2007, 05:55 PM
Version should be edited in the first post :p

It says 2.2.6 and not 2.27. :D

Thanks for the new release Andrew!

GrendelKhan{TSU
03-27-2007, 12:15 PM
AHHH! hallpp!!

I just can't get the lightbox to work. haven't for a few versions. is there a missing file or something different? in fact, I cant' even get the original image to pop-up from the thumbnail (even with no lightbox effect).

I gotz no little magnifying glass appearing even to enlarge even.

what'd I miss? :(


(ps. just found a bug I think with auto-create thread:
1. if you upload the same image to two different uploads it creates a DOUBLE discussions thread link to both threads

2. also still have bug where doesn't "take" the order number when you add link if you have "for selected category only" selected. you have to go back and edit it to get it to take.)

EasyTarget
03-27-2007, 02:38 PM
hey andrew, thanks for the updates. Its been awhile since I've updated and I've changed web servers once again. (long story)

On the old server you helped me and I had manually editted the document root in the local_links_init.php file however this is no longer valid on the new server and so I left that off. However, in trying to administer the settings, I am unable to make the necessary changes. I'm trying to change to a relative local file root and remove the local file root prefix, but when I try to apply the changes I get this error message:
The following setting(s) are invalid
upload_dir : /forum/files
Directory /forum/files (/Inetpub/vhosts/tribesonline.com/httpdocs/forum/files) doesn't exist and I can't create itHow can I switch back to a relative file root and remove the prefix?

EasyTarget
03-27-2007, 03:17 PM
ok, I was able to locate the setting in the database and remove it so that now in the administration it shows local file root is set to no and there is no local file root prefix, however I still get this message even though the directory does exist:The following setting(s) are invalid
upload_dir : /forum/files
Directory /forum/files (/forum/files) doesn't exist and I can't create it

AndrewD
03-27-2007, 04:49 PM
I just can't get the lightbox to work. haven't for a few versions. is there a missing file or something different? in fact, I cant' even get the original image to pop-up from the thumbnail (even with no lightbox effect).

I gotz no little magnifying glass appearing even to enlarge even.

what'd I miss? :(

Not sure. Have you edited any of the LDM linkbit templates? Do you want me to take a look as admin?


1. if you upload the same image to two different uploads it creates a DOUBLE discussions thread link to both threads

I can't reproduce this one.



also still have bug where doesn't "take" the order number when you add link if you have "for selected category only" selected. you have to go back and edit it to get it to take.)

Did you give me all that information the first time round :) I spent quite a while trying to find the bug but it always worked for me. "for selected category only"... Indeed, there's a bug - will fix

AndrewD
03-27-2007, 04:58 PM
ok, I was able to locate the setting in the database and remove it so that now in the administration it shows local file root is set to no and there is no local file root prefix, however I still get this message even though the directory does exist:

Are you sure that you no longer need to define document_root? The new error message is saying that it thinks the directory /forum/files is really a base level directory on your server, when I think you want it to be relative to the web site.

When you change local_file_root, it's a good idea first to clear the upload_dir setting and then reset it back the way you want after the new local_file_root has been accepted. That way, the code only needs to think about one thing at once.

EasyTarget
03-27-2007, 07:10 PM
ok figured out that it kept resetting the local file root to yes so it kept behaving funny. Once I editted just that field to no then updated the other fields it seems to be working fine.

Demon fox
03-27-2007, 08:57 PM
Hey is it possible to make it so that categorys have there own upload folder, so when a user uploads a file in a category it uploads into the folder set for it?

josiespencer
03-28-2007, 02:19 AM
AndrewD, I am thinking of using the blockaccess-byposts-plugin.xml plugin - can you explain a little bit more about this change in the code:

// --- Within the last XX hours - set to 0 to require posts over all time
$LAST_HOURS = 0;

Does this set a time measurement before the new user can download new posts? And what is the maximum value it can be? Or did I totally misread this parameter?

AndrewD
03-28-2007, 04:07 AM
Hey is it possible to make it so that categorys have there own upload folder, so when a user uploads a file in a category it uploads into the folder set for it?

I imagine that this is a simple change, but...

The code currently uses the upload folder to specify the *base* directory where uploads are stored. Individual uploads are placed in subdirectories according to /your/user/ids/digits (e.g. /uploaddir/1/3/2 for userid 132.

The trivial change to the code would continue to use this process but with different base directories for categories that override the default.

If you want all the files for a category in a single directory, that would be a bigger change, and in my view not a good idea.

AndrewD
03-28-2007, 04:12 AM
AndrewD, I am thinking of using the blockaccess-byposts-plugin.xml plugin - can you explain a little bit more about this change in the code:

// --- Within the last XX hours - set to 0 to require posts over all time
$LAST_HOURS = 0;

Does this set a time measurement before the new user can download new posts? And what is the maximum value it can be? Or did I totally misread this parameter?

This plugin prevents users from accessing LDM *at all* unless they have made the indicated number of posts on your main VB board in the immediately previous $LAST_POST hours.

The default setting for $LAST_HOURS=0 means that the calculation is done over all the history of your board, i.e. that number of posts *ever*. If you set LAST_HOURS to 24, then it will look at the user's posts to VB forums during the last 24 hours and so on.

Ophelia
03-28-2007, 12:33 PM
Just installed the newest version Andrew and setting it up now. Thank you so much for all your hard work on this Andrew! I know we are going to be in heaven with the newest features. I'm already seeing some things that are going to really help (outside of the things you knew about!)

Here is something that we would *love* to have.

Force comment on download.

josiespencer
03-28-2007, 02:27 PM
Ophelia, there is a must_comment_and_rate setting. It has the following description:

If set, when users comment on an entry, they must also rate it. Otherwise, comments can be added without giving a rating.


But I am guessing you don't want comments to be optional at all, huh?

AndrewD
03-28-2007, 03:58 PM
Just installed the newest version Andrew and setting it up now. Thank you so much for all your hard work on this Andrew! I know we are going to be in heaven with the newest features. I'm already seeing some things that are going to really help (outside of the things you knew about!)

Here is something that we would *love* to have.

Force comment on download.

Noted - all well with you?

digital3
03-28-2007, 07:00 PM
Call me a dummy but why do I have this installed and configured properly yet when submitting a new file I only see an option to link to it and not one to upload it using the attachment system? If I have to link to an existing attached file in another post this isn't going to do me a lot of good. I'm sure I must be missing something here because someone would have surely brought this up by now.

digital3
03-28-2007, 07:09 PM
Duh..Never mind I found it.

Stop
03-28-2007, 07:31 PM
I've taken a look at your site - you'll find that I've created a test category and put a couple of entries in it. Everything worked fine for me, once I got past some early problems with VB itself. I found that your board was continuing to give me messages about missing profile fields, even though I had entered them all.

I wonder if you are having problems with caching - messages getting trapped somewhere in the pipeline from your server to the browser.

Let me know if you are still having problems.

It was something in my laptop. I cleared the cache and deleted the cookies and it's all fine now and the hack works like a charm.
Your kind efforts are really appreciated and I thank you Sir. very much for the constant support you offer.
AndrewD Rocks ;)

digital3
03-28-2007, 07:40 PM
Any ideas on why this is happening when I try to edit an entry?


Database error in vBulletin 3.6.5:

Invalid SQL:

INSERT INTO local_linksdebug
SET
userid='1',
settingtime='1175114301',
message='TRACE',
command='/forums/local_links_actions.php',
settings='a:151:{s:17:"title_data_access";s:26:"ll_settings_title_features";s:17:"close_data_access";s:0:"";s:16:"title_data_entry";s:23:"ll_settings_title_entry";s:16:"close_data_entry";s:0:"";s:13:"title_general";s:25:"ll_settings_title_general";s:13:"database_name";s:0:"";s:18:"category_jump_menu";s:1:"1";s:15:"show_hit_parade";s:1:"1";s:12:"seo_friendly";s:1:"0";s:27:"template_category_selection";s:26:"links_addnewlink_catselect";s:21:"must_comment_and_rate";s:1:"0";s:16:"monitor_template";s:14:"links_scantext";s:25:"categories_seen_on_portal";s:0:"";s:19:"days_seen_on_portal";s:2:"30";s:20:"links_seen_on_portal";s:2:"10";s:9:"word_wrap";s:1:"0";s:13:"close_general";s:0:"";s:14:"title_security";s:26:"ll_settings_title_security";s:22:"allow_remote_downloads";s:1:"1";s:15:"default_forumid";s:2:"42";s:12:"force_accept";s:1:"0";s:14:"force_redirect";s:1:"0";s:12:"force_saveas";s:1:"1";s:15:"local_file_root";s:1:"0";s:22:"local_file_root_prefix";s:0:"";s:11:"mod_rewrite";s:0:"";s:19:"profile_ldmactivity";s:1:"0";s:19:"prune_downloadtable";s:1:"0";s:15:"robots_meta_tag";s:15:"index, nofollow";s:17:"timeout_hit_allow";s:1:"0";s:21:"timeout_hit_recording";s:2:"60";s:16:"use_instructions";s:0:"";s:17:"validate_on_entry";s:1:"1";s:14:"close_security";s:0:"";s:14:"title_controls";s:26:"ll_settings_title_controls";s:12:"allow_bbcode";s:1:"1";s:10:"allow_html";s:1:"1";s:12:"allow_images";s:1:"1";s:13:"allow_smilies";s:1:"1";s:16:"allow_null_links";s:1:"0";s:16:"allow_duplicates";s:1:"1";s:14:"max_textlength";s:1:"0";s:14:"close_controls";s:0:"";s:16:"title_displayopt";s:28:"ll_settings_title_displayopt";s:13:"default_style";s:2:"-1";s:15:"template_catbit";s:12:"links_catbit";s:17:"cat_depth_display";s:1:"1";s:16:"cat_depth_indent";s:1:"3";s:15:"cat_sub_display";s:1:"0";s:23:"cat_sub_display_perline";s:1:"0";s:21:"cat_sub_display_limit";s:1:"0";s:16:"cat_cols_display";s:1:"1";s:17:"cat_name_colwidth";s:3:"20%";s:17:"cat_data_colwidth";s:3:"20%";s:11:"count_depth";s:1:"1";s:8:"cat_icon";s:0:"";s:12:"cat_icon_new";s:0:"";s:11:"subcat_icon";s:0:"";s:16:"default_cat_dseq";s:1:"1";s:14:"cat_desc_popup";s:1:"0";s:16:"close_displayopt";s:0:"";s:24:"title_displayopt_entries";s:36:"ll_settings_title_displayopt_entries";s:16:"template_linkbit";s:13:"links_linkbit";s:15:"template_altbit";s:13:"links_linkbit";s:17:"link_cols_display";s:0:"";s:14:"links_per_page";s:2:"50";s:20:"links_show_othercats";s:1:"1";s:17:"default_link_dseq";s:1:"1";s:18:"default_sort_order";s:1:"N";s:26:"open_local_links_newwindow";s:1:"1";s:27:"open_remote_links_newwindow";s:1:"1";s:14:"protected_link";s:1:"0";s:12:"show_avatars";s:1:"1";s:24:"close_displayopt_entries";s:0:"";s:14:"title_moderate";s:26:"ll_settings_title_moderate";s:14:"moderate_links";s:1:"0";s:21:"moderate_email_accept";s:1:"0";s:21:"moderate_email_submit";s:1:"0";s:17:"links_expiry_days";s:2:"-1";s:19:"links_expired_catid";s:2:"-1";s:16:"link_review_freq";s:1:"0";s:14:"close_moderate";s:0:"";s:14:"title_featured";s:26:"ll_settings_title_featured";s:23:"featured_all_categories";s:1:"1";s:18:"featured_user_favs";s:0:"";s:14:"featured_sites";s:1:"0";s:16:"featured_linkbit";s:22:"links_linkbit_featured";s:14:"close_featured";s:0:"";s:12:"title_images";s:24:"ll_settings_title_images";s:14:"link_imagesize";s:0:"";s:17:"link_imagemagsize";s:1:"0";s:14:"file_icons_dir";s:17:"images/ldm_icons/";s:10:"thumbs_dir";s:0:"";s:22:"create_thumbs_oninsert";s:1:"1";s:15:"thumbs_resample";s:1:"1";s:12:"close_images";s:0:"";s:11:"title_media";s:23:"ll_settings_title_media";s:27:"musicbox_default_sort_order";s:1:"h";s:19:"musicbox_files_seen";s:1:"5";s:26:"musicbox_standalone_height";s:3:"600";s:25:"musicbox_standalone_width";s:3:"800";s:14:"musicbox_width";s:3:"760";s:23:"open_musicbox_newwindow";s:1:"1";s:11:"close_media";s:0:"";s:12:"title_search";s:24:"ll_settings_title_search";s:18:"default_search_all";s:1:"1";s:19:"default_search_desc";s:1:"1";s:19:"default_search_keys";s:1:"1";s:10:"enable_doi";s:1:"0";s:16:"match_using_like";s:1:"0";s:19:"profile_searchfield";s:2:"-1";s:14:"search_linkbit";s:13:"links_linkbit";s:17:"search_like_favwt";s:1:"1";s:17:"search_like_hitwt";s:1:"1";s:17:"search_like_keywt";s:1:"1";s:15:"search_like_num";s:1:"5";s:15:"search_like_own";s:1:"0";s:12:"close_search";s:0:"";s:17:"title_synchronise";s:29:"ll_settings_title_synchronise";s:12:"sync_enabled";s:1:"0";s:9:"sync_freq";s:5:"86400";s:14:"sync_filetypes";s:0:"";s:24:"sync_populate_categories";s:1:"0";s:21:"sync_populate_entries";s:1:"1";s:19:"sync_maxcpu_allowed";s:1:"2";s:26:"sync_maxcpu_allowed_manual";s:2:"10";s:10:"sync_depth";s:1:"1";s:13:"sync_username";s:0:"";s:17:"close_synchronise";s:0:"";s:12:"title_upload";s:24:"ll_settings_title_upload";s:10:"upload_dir";s:12:"/attachments";s:14:"upload_enabled";s:1:"1";s:16:"upload_filetypes";s:0:"";s:15:"upload_maxspace";s:1:"0";s:12:"close_upload";s:0:"";s:11:"title_debug";s:23:"ll_settings_title_debug";s:5:"DEBUG";s:1:"0";s:5:"TRACE";s:1:"1";s:11:"close_debug";s:0:"";s:12:"title_addons";s:0:"";s:12:"links_catbit";s:101:"a:4:{s:4:"name";s:7:"Tabular";s:6:"defcol";i:1;s:6:"maxcol";i:4;s:6:"subbit";s:15:"links_subcatbit";}";s:18:"links_catbit_brief";s:99:"a:4:{s:4:"name";s:5:"Brief";s:6:"defcol";i:2;s:6:"maxcol";i:4;s:6:"subbit";s:15:"links_subcatbit";}";s:12:"this_version";s:5:"2.2.7";s:17:"version_installed";s:1:"1";s:15:"bandwidth_limit";s:2365:"a:13:{i:1;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";i:0;s:11:"bytesenable";i:0;s:10:"filesdaily";i:0;s:11:"filesenable";i:0;s:11:"uploadlimit";i:0;s:12:"uploadenable";i:0;}i:2;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:100;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:3;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";i:0;s:11:"bytesenable";i:0;s:10:"filesdaily";i:0;s:11:"filesenable";i:0;s:11:"uploadlimit";i:0;s:12:"uploadenable";i:0;}i:4;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";i:0;s:11:"bytesenable";i:0;s:10:"filesdaily";i:0;s:11:"filesenable";i:0;s:11:"uploadlimit";i:0;s:12:"uploadenable";i:0;}i:5;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:1000;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:6;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:5000;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:7;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:500;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:8;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";i:0;s:11:"bytesenable";i:0;s:10:"filesdaily";i:0;s:11:"filesenable";i:0;s:11:"uploadlimit";i:0;s:12:"uploadenable";i:0;}i:10;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:200;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:11;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:400;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:12;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:300;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}i:13;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";i:0;s:11:"bytesenable";i:0;s:10:"filesdaily";i:0;s:11:"filesenable";i:0;s:11:"uploadlimit";i:0;s:12:"uploadenable";i:0;}i:14;a:7:{s:12:"carryforward";i:1;s:10:"bytesdaily";d:1.024E+8;s:11:"bytesenable";i:1;s:10:"filesdaily";i:500;s:11:"filesenable";i:1;s:11:"uploadlimit";d:1.024E+8;s:12:"uploadenable";i:1;}}";s:11:"sync_userid";s:1:"0";s:29:"ldm_player_WindowsMediaPlayer";s:426:"a:10:{s:4:"name";s:18:"WindowsMediaPlayer";s:8:"priority";i:10;s:7:"enabled";i:1;s:16:"filetypes_played";s:44:"mpg, mpeg, wmv, mp3, swf, asf, wma, avi, wav";s:9:"playerbit";s:27:"links_playerbit_MediaPlayer";s:5:"opsys";a:3:{s:7:"Windows";i:1;s:5:"Linux";i:0;s:3:"Mac";i:0;}s:4:"vars";a:2:{s:12:"player_width";s:3:"320";s:13:"player_height";s:3:"240";}s:13:"player_stream";s:6:"stream";s:9:"urlencode";i:0;s:8:"ismaster";i:1;}";s:25:"ldm_player_QuickTimeAudio";s:387:"a:10:{s:4:"name";s:14:"QuickTimeAudio";s:8:"priority";i:8;s:7:"enabled";i:1;s:16:"filetypes_played";s:13:"mp3, wma, wav";s:9:"playerbit";s:25:"links_playerbit_QuickTime";s:5:"opsys";a:3:{s:7:"Windows";i:1;s:5:"Linux";i:0;s:3:"Mac";i:1;}s:4:"vars";a:2:{s:12:"player_width";s:3:"240";s:13:"player_height";s:2:"16";}s:13:"player_stream";s:6:"stream";s:9:"urlencode";i:0;s:8:"ismaster";i:1;}";s:20:"ldm_player_QuickTime";s:407:"a:10:{s:4:"name";s:9:"QuickTime";s:8:"priority";i:8;s:7:"enabled";i:1;s:16:"filetypes_played";s:38:"mov, qt, mpg, mpeg, wmv, swf, asf, avi";s:9:"playerbit";s:25:"links_playerbit_QuickTime";s:5:"opsys";a:3:{s:7:"Windows";i:1;s:5:"Linux";i:0;s:3:"Mac";i:1;}s:4:"vars";a:2:{s:12:"player_width";s:3:"320";s:13:"player_height";s:3:"256";}s:13:"player_stream";s:6:"stream";s:9:"urlencode";i:0;s:8:"ismaster";i:1;}";s:21:"ldm_player_RealPlayer";s:428:"a:10:{s:4:"name";s:10:"RealPlayer";s:8:"priority";i:3;s:7:"enabled";i:1;s:16:"filetypes_played";s:56:"mp3, mpg, mpeg, avi, mov, qt, ra, ram, rm, rmvb, rpm, rv";s:9:"playerbit";s:26:"links_playerbit_RealPlayer";s:5:"opsys";a:3:{s:7:"Windows";i:1;s:5:"Linux";i:1;s:3:"Mac";i:1;}s:4:"vars";a:2:{s:12:"player_width";s:3:"320";s:13:"player_height";s:3:"240";}s:13:"player_stream";s:6:"stream";s:9:"urlencode";i:0;s:8:"ismaster";i:1;}";s:15:"ldm_player_DivX";s:368:"a:10:{s:4:"name";s:4:"DivX";s:8:"priority";i:5;s:7:"enabled";i:1;s:16:"filetypes_played";s:9:"divx, avi";s:9:"playerbit";s:20:"links_playerbit_DivX";s:5:"opsys";a:3:{s:7:"Windows";i:1;s:5:"Linux";i:1;s:3:"Mac";i:1;}s:4:"vars";a:2:{s:12:"player_width";s:3:"320";s:13:"player_height";s:3:"240";}s:13:"player_stream";s:7:"fullurl";s:9:"urlencode";i:0;s:8:"ismaster";i:1;}";}',
get='a:0:{}',
post='a:29:{s:7:"subject";s:3:"LDM";s:6:"action";s:10:"doeditlink";s:6:"linkid";s:1:"1";s:5:"catid";s:1:"1";s:4:"page";i:1;s:7:"linkdoi";s:0:"";s:8:"linkname";s:30:"Paris Hilton - Stars Are Blind";s:7:"message";s:136:"Ha! Just a music video I am using to test the module. Made ya look though, didn't it?<br><br><img src="images/thumbnails/paris.jpg"><br>";s:7:"wysiwyg";s:1:"1";s:8:"keywords";a:5:{i:0;s:1:"3";i:1;s:1:"2";i:2;s:1:"1";i:3;s:1:"4";i:4;s:1:"5";}s:11:"newkeywords";s:0:"";s:7:"linkurl";s:55:"http://flamers-heaven.com/forums/media/video/hilton.wmv";s:13:"MAX_FILE_SIZE";s:8:"96916912";s:8:"linkfile";s:0:"";s:7:"linkimg";s:0:"";s:9:"imgupload";s:0:"";s:8:"linkuser";s:12:"Eccentricity";s:4:"date";a:7:{s:5:"month";s:1:"3";s:3:"day";s:2:"28";s:4:"year";s:4:"2007";s:4:"hour";s:2:"02";s:3:"min";s:2:"29";s:4:"ampm";s:1:"2";s:3:"now";s:1:"1";}s:9:"expirenow";s:1:"0";s:6:"pcatid";a:1:{i:0;s:1:"1";}s:6:"pforum";s:2:"42";s:14:"linkreviewfreq";s:1:"0";s:6:"notify";s:1:"0";s:13:"display_order";s:1:"1";s:20:"change_display_order";s:1:"2";s:4:"hide";s:1:"0";s:6:"submit";s:6:"Submit";s:10:"pagenumber";R:6;s:4:"ajax";i:0;}',
files='a:1:{s:10:"linkupload";a:5:{s:4:"name";s:0:"";s:4:"type";s:0:"";s:8:"tmp_name";s:0:"";s:5:"error";i:4;s:4:"size";i:0;}}',
cookie='a:17:{s:20:"psistats_screenwidth";i:1280;s:21:"psistats_screenheight";i:720;s:20:"psistats_screendepth";i:32;s:14:"bblastactivity";i:0;s:18:"vbulletin_collapse";s:0:"";s:9:"bbstyleid";i:27;s:8:"bbuserid";i:1;s:10:"bbpassword";s:32:"41d6a97f1edbc5c5658c5c747eb34552";s:11:"bblastvisit";i:1174445153;s:13:"bbsessionhash";s:32:"4c7a8e46f9f0f7ec1392d33090924ab8";s:11:"bbcpsession";s:32:"83bf66f902e6c2c7cdade749257f324a";s:17:"bbarcade_viewdata";s:82:"6921c80555afeeb033e020d0745c6f0fa-2-{s-10-.categoryid._i-0_s-10-.pagenumber._i-1_}";s:9:"PHPSESSID";s:32:"86fdb35d41c77b00a4a7b93d9f6c7626";s:9:"bbbarsize";s:1:"0";s:12:"bbreferrerid";i:0;s:14:"bbthreadedmode";s:0:"";s:12:"bblanguageid";i:0;}';

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 't it?<br><br><img src="images/thumbnails/paris.jpg"><br>";s:7:"wysiwyg";s:1:"1";' at line 9
Error Number : 1064
Date : Wednesday, March 28th 2007 @ 04:38:21 PM

Ophelia
03-28-2007, 08:41 PM
Noted - all well with you?

Yes thank you :) My little one is almost 2 months old now! Hope your vacation was relaxing!

digital3
03-29-2007, 12:31 AM
The problem is that apostrophes are causing the SQL error. Has a fix been posted for this that I am unaware of?

itsblack
03-29-2007, 03:16 AM
Hi Andrew, I wish I can delete the uploaded image when I edit the entry. Now I can only replace it with new one. Can you add this function in the next version? Thank you.

AndrewD
03-29-2007, 04:10 AM
The problem is that apostrophes are causing the SQL error. Has a fix been posted for this that I am unaware of?

Sorry, this should not have slipped through. But it's happening because you've enabled either tracing or debugging on the LDM admin page. I recommend you turn these off, not least because you'll fill your database.

I'll post a fix for this and other reported bugs when possible

AndrewD
03-29-2007, 04:13 AM
Hi Andrew, I wish I can delete the uploaded image when I edit the entry. Now I can only replace it with new one. Can you add this function in the next version? Thank you.

Sure, will put this on the list

Demon fox
03-29-2007, 04:18 AM
Hey Andrew im having a little problem. When files are uploaded through LDM there names are changed into numbers making it difficult for us to know what they are on the server. But the main problem is that when they get downloaded the name doesnt change even when its set to be renamed differently when downloaded.

Demon fox
03-29-2007, 04:42 AM
It seems you need to have force redirect set to 0 for it to work I have mine set to 1 so users can use download managers. But if I set it to 0 users cant use download managers. Any way to get around this?

Edit: Perhaps the best way to get around it would be making it so that when files get uploaded the name doesnt get changed to straight numbers.

AndrewD
03-29-2007, 05:06 AM
It seems you need to have force redirect set to 0 for it to work I have mine set to 1 so users can use download managers. But if I set it to 0 users cant use download managers. Any way to get around this?

Edit: Perhaps the best way to get around it would be making it so that when files get uploaded the name doesnt get changed to straight numbers.

I should have read this before answering your PM.

Download managers should work correctly with force redirect set to 0 - it's one of the things I test. Which d/l manager are they using?

Demon fox
03-29-2007, 07:09 AM
free download manager

edit: it seems downloads managers works when force redirect is set to 0 when files have been uploaded. But because I have files on another server I use full links to them. All the links with full http:// links dont work with the donwloads manager.

Alfa1
03-29-2007, 11:39 AM
LDM gives me this message:
- There are currently 36917 records in the LDM Download 'Hits' table. You are likely to see reduced performance when using the LDM show_hit_parade setting to show overall statistics, and when analysing hits with LDM/Admin/Hits. Consider setting prune_downloads or use LDM/Admin/Hits to manually delete some of these records.
As you know my LDM is big. If I dont have to I'd prefer not to erase hits. Members like to see their file is being used. But performance is important. What should I do with this?

On another note: Is there a way to bulk generate thumbs for video's?

And another thing I wonder about: Are you planning to enhance the photo / image functions to a level where it could replace photopost pro? With all these new improvements LDM sure seems to have that potential.

maroceve
03-29-2007, 11:59 AM
Hi there :)

2 BUGs : When i try to upload with a basic registered user it tells me that i the DATE IS WRONG ?

and also. The basic registered users don't have the option to change date when uploading the folder.

I am using the french translation.

Please test the basic account here are the login pass animal/animal

http://www.maroceve.com/forums/local_links.php

Yorixz
03-29-2007, 03:56 PM
LDM gives me this message:

As you know my LDM is big. If I dont have to I'd prefer not to erase hits. Members like to see their file is being used. But performance is important. What should I do with this?


I'd say, prune the data after 30 days, that should be plenty of stats for your users and enough to keep the performance acceptable.

Back on the track:

I'm wondering if it's possible to hack LDM a little bit so the 'keyword' field becomes required, does anyone know how I could possibly achieve that? Thanks in advance.

josiespencer
03-29-2007, 03:59 PM
Poor Andrew, you have such a demanding fan club!

AndrewD
03-29-2007, 04:22 PM
Poor Andrew, you have such a demanding fan club!

I'm never short of something to do, that's for sure...

AndrewD
03-29-2007, 04:44 PM
LDM gives me this message:

As you know my LDM is big. If I dont have to I'd prefer not to erase hits. Members like to see their file is being used. But performance is important. What should I do with this?

Pruning the downloads table doesn't lose the "total hits" information - just the detailed records of who is accessing what, which is normally something that only the admin looks at. As Yorixz suggests, I'd say, set the admin setting prune_downloadtable to 30 days or so.

On another note: Is there a way to bulk generate thumbs for video's?

Not currently. Does anyone know of a *small* php library that will autocreate a jpeg from a video file in various formats?

And another thing I wonder about: Are you planning to enhance the photo / image functions to a level where it could replace photopost pro? With all these new improvements LDM sure seems to have that potential.

Which would you say are the main features that are missing? I'm not one for masochism, but I'd quite like to have a good photo album system myself.

Alfa1
03-29-2007, 05:16 PM
Which would you say are the main features that are missing? I'm not one for masochism, but I'd quite like to have a good photo album system myself.
These features: http://www.photopost.com/featuresphp.html

A few nice functions off the top of my head, that I have with Photopost now:

Special lay out features for the image gallery.
The option to have it seem seperate from the rest of LDM.
Recent & most popular photo's (is already possible but would need a different lay out as well.
Slide show.
User galleries.
Show thumbs of other pics in dir/member gallery
Watermark.
Comments with a more forum like appearance.


Photopost is an excellent program. Best way to compare this is to get access to someones image gallery & admin panel and check it out. There are too many options to list here. Or install it yourself and play around with it.

Yorixz
03-29-2007, 06:04 PM
Little support request in addition to the other 100 pages of this topic; Where would I need to alter the plugin code of automatic topic generation?

On my forum I don't want users to be able to manually post in the board I'm using for the automatically generated topics (spam related issues), but this is currently required for the plugin to work. I can't find where to alter this in order to remove this functionality though.