View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
2
3
4
5
6
7
8
9
10
[
11]
12
13
Dr.NoTime
10-18-2007, 04:39 PM
Thanks again for a great program! Updated flawlessly.
:)
I forgot how to mass adding media files on local sever on the same folder. I remember I could do this back to 2.1.1, could you remind me Andrew?
It's certainly possible to consider a hack that will do this, but it's not called LDM :) I really don't want to start writing scripts to coordinate vbulletin amd other hosts.
I thought you don't have to do anything with LDM except programing a few php files to put on the remote server that allow main server to read it directly. You don't have to modify anything in current LDM, do you? :)
Thanks for all the help so far.
Smooth Adam
10-18-2007, 05:19 PM
I'm trying to edit my settings and I get the following:
The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.
I'm mainly wanting to use this for the Downloads area. Please help! :eek:
AndrewD
10-18-2007, 07:08 PM
I'm trying to edit my settings and I get the following:
The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.
I'm mainly wanting to use this for the Downloads area. Please help! :eek:
From a quick Google search, this seems to be a problem linked to DNS settings and service providers. I've never seen this before with LDM.
Smooth Adam
10-18-2007, 07:31 PM
From a quick Google search, this seems to be a problem linked to DNS settings and service providers. I've never seen this before with LDM.
Alrighty... is there a way I can edit the settings manually?
nanaimobar
10-18-2007, 11:54 PM
Just updated to 2.2.8. Thanks Andrew. No problems. Great work.
AndrewD
10-19-2007, 03:54 AM
Alrighty... is there a way I can edit the settings manually?
I'm sorry - I've no idea - these messages are not being generated within LDM. I'm quite willing to take a look at your site to see if there is anything obvious I can spot. If you want, send me a PM with details of a vb admin account.
AndrewD
10-19-2007, 03:58 AM
I forgot how to mass adding media files on local sever on the same folder. I remember I could do this back to 2.1.1, could you remind me Andrew?
By now, there are two ways - manual and automatic.
Manual is ldm/admin/categories/scan
Automatic is to set up a category (category tree) to synchronise with the directory/directories. This is explained in the wiki, http://www.eirma.org/wikis/index.php/LDM_Quick_Tutorial
Ezswo
10-19-2007, 10:53 AM
Well, I must say that this is one hell of a add-on! I recently switched from using Integramod to VBulletin, and I missed a downloadsection in it, untill I found this add-on. And it's even more than I hoped for....very flexible!
So far I encountered just one 'problem' and that has to do with the hit-counter of my downloads or links. It doesn't show how many people downloaded a file of clicked on a link. It stays on "0" hits. I searched this topic to see if I could find a solution myself, but with no luck. What could this be?
Thanks!
Ezra
AndrewD
10-19-2007, 04:14 PM
Well, I must say that this is one hell of a add-on! I recently switched from using Integramod to VBulletin, and I missed a downloadsection in it, untill I found this add-on. And it's even more than I hoped for....very flexible!
So far I encountered just one 'problem' and that has to do with the hit-counter of my downloads or links. It doesn't show how many people downloaded a file of clicked on a link. It stays on "0" hits. I searched this topic to see if I could find a solution myself, but with no luck. What could this be?
Thanks!
Ezra
Two points to check. On the LDM/admin/permissions, check that you have *not* enabled *can_bypass_hit_recording*. On LDM/admin/settings, check that you have *not* set *force_redirect* to 2. These settings instruct LDM to bypass the whole hit recording process.
If you're ok on both of these, I'm happy to take a look at your site to investigate.
Andrew, I'm pretty sure LDM have this. Basically I want to create 2 categories: First for sub category and 2nd for alphabetically, but 2nd category is nothing but the same to the 1st. How could I link 2 different files to 1 link?
AndrewD
10-20-2007, 03:42 AM
Andrew, I'm pretty sure LDM have this. Basically I want to create 2 categories: First for sub category and 2nd for alphabetically, but 2nd category is nothing but the same to the 1st. How could I link 2 different files to 1 link?
I'm somehow misunderstanding your question. You want to set up exactly the same entries in two categories, but have them sorted differently? (That's straightforward - you just choose the two categories together when adding the entry, and you change the default sort order for one of the categories using edit category/control settings) Or you want to connect more than one file to each entry?
obmob
10-20-2007, 03:45 AM
Hmm... thought there were no new phrases in the last version, but it seems there are some.
Here is updated files for spanish translation. :D
Good night :p
Hi,
I upgraded to 2.28 and i have this problem in Explorer only.
i can't see All the video files (just flv) that i uploaded to my server (i can see files from youtube).
also i can't see the the next 5 video.
It's happened just with explorer, in firefox it's fine.
See pics.
AndrewD
10-20-2007, 06:36 AM
Hi,
I upgraded to 2.28 and i have this problem in Explorer only.
i can't see All the video files (just flv) that i uploaded to my server (i can see files from youtube).
also i can't see the the next 5 video.
It's happened just with explorer, in firefox it's fine.
See pics.
Hi, I visited your site and tried to play the Persuaders flash with both IE and Firefox (http://www.televizia.net/vb/local_links.php?linkid=467&catid=25). It works fine for me with both browsers. Maybe you could try clearing the cache with IE?
AndrewD
10-20-2007, 06:50 AM
Hmm... thought there were no new phrases in the last version, but it seems there are some.
Here is updated files for spanish translation. :D
Good night :p
Thanks - this is a tedious job, isn't it.
Hi,
still not working.
I hear just the sound with no pic.
Maybe it was before i did the upgrade.
I use always firefox and i did not notice.
another member in my site has this problem also.
neopet001
10-20-2007, 08:04 AM
I turn arround the wiki but still can't find out how to use the Media Player.
->I setup in normal way (upload and import xml).
->In Media Player section in Admin , windows media player is enabled, Delivery: checked stream.
->Then I add new Entry, with the url to a wmv file. But when I browse that file, clicking on the entry's name, it only bring me to the download link, not the player !
I think there is an other configuration needed but I still haven't found yet. and I need it to be done quickly as my work needs it!
Thank you for your help, I'd appreciate it!
Ezswo
10-20-2007, 11:15 AM
Two points to check. On the LDM/admin/permissions, check that you have *not* enabled *can_bypass_hit_recording*. On LDM/admin/settings, check that you have *not* set *force_redirect* to 2. These settings instruct LDM to bypass the whole hit recording process.
If you're ok on both of these, I'm happy to take a look at your site to investigate.
Thanks man! It was the first option that was enabled. I have installed the dutch language, but the translation of the phrase is not very good in my opinion, so I thought this option was meant to do something else.
I don't know who's working on the dutch translation, but maybe I will check the full translation (or do it myself completely, because there are a lot of mistakes in it...nevertheless kudos to the person who made the translation available, I know it's a lot of work to do).
Thanks again.
Ezra
PS: I just realized I have another question. I have set up a categorie for photo's, turned thumbnails on and they're showing up fine. Then I use the magnifier and get to see one of the picture fullsize. When I go back to the thumbnailview (categorie of the pictures), I don't see a thumbnail but the fullsize picture of the image that I just magnified. When I go back to the categorie-view I would expect to only see thumbnails again.
So in short: The pictures I magnified show up fullsize in the categorie-view. The pictures I didn't magnify show up as thumbnails (as they should). But, I want the thumbnail to show up again after magnifying. What could this be?
AndrewD
10-20-2007, 04:04 PM
I turn arround the wiki but still can't find out how to use the Media Player.
->I setup in normal way (upload and import xml).
->In Media Player section in Admin , windows media player is enabled, Delivery: checked stream.
->Then I add new Entry, with the url to a wmv file. But when I browse that file, clicking on the entry's name, it only bring me to the download link, not the player !
I think there is an other configuration needed but I still haven't found yet. and I need it to be done quickly as my work needs it!
Thank you for your help, I'd appreciate it!
Have you added the required information on media filetypes to the vbulletin / admin / attachments / filetypes table? See http://www.eirma.org/wikis/index.php/Configuring_Filetypes_in_vBulletin for information
AndrewD
10-20-2007, 04:08 PM
Thanks man! It was the first option that was enabled. I have installed the dutch language, but the translation of the phrase is not very good in my opinion, so I thought this option was meant to do something else.
I don't know who's working on the dutch translation, but maybe I will check the full translation (or do it myself completely, because there are a lot of mistakes in it...nevertheless kudos to the person who made the translation available, I know it's a lot of work to do).
The current Dutch translation is rather old, but [url=https://vborg.vbsupport.ru/member.php?u=120685]Alfa1/url] has been working on bringing it up to date. I'm waiting for him to post the new translation. Might be worth checking with him before starting the job over.
PS: I just realized I have another question. I have set up a categorie for photo's, turned thumbnails on and they're showing up fine. Then I use the magnifier and get to see one of the picture fullsize. When I go back to the thumbnailview (categorie of the pictures), I don't see a thumbnail but the fullsize picture of the image that I just magnified. When I go back to the categorie-view I would expect to only see thumbnails again.
So in short: The pictures I magnified show up fullsize in the categorie-view. The pictures I didn't magnify show up as thumbnails (as they should). But, I want the thumbnail to show up again after magnifying. What could this be?
I'll try to reproduce this when I have chance, and see if I can offer any suggestions/find a bug.
I'm somehow misunderstanding your question. You want to set up exactly the same entries in two categories, but have them sorted differently? (That's straightforward - you just choose the two categories together when adding the entry, and you change the default sort order for one of the categories using edit category/control settings)
You got that right, just select as many categories to link to one file. (Just hold Ctrl and select, I forgot about that).
Andrew, another quick question about performance. Would using no hided link is faster than using enable hided link (on the same server)? MySQL crashed twice yesterday, not sure what's the reason, but it was a peak time when multiple connections were connected to multiple files on the server.
AndrewD
10-20-2007, 05:36 PM
Andrew, another quick question about performance. Would using no hided link is faster than using enable hided link (on the same server)? MySQL crashed twice yesterday, not sure what's the reason, but it was a peak time when multiple connections were connected to multiple files on the server.
Almost right. If you completely turn off LDM's link protection, by setting force_redirect to 2, then the load on your server will be reduced. However, the amount it is reduced will depend on the nature of your site.
- If you are serving copies of files that are hosted on your site, then your server still has to deliver them somehow. Provided you set up these entries using local file names (i.e. /dir1/file rather than http: // yoursite /dir1/fil), then it doesn't make that much difference whether the file is processed via LDM or directly by the webserver.
- If the entries are downloads and you set them up as full urls, even if they are on the same server, then there is a high overhead in passing them through LDM.
- The sql performance is another matter. I would be rather suprised if LDM makes a major difference, or if setting force_redirect to 2 changed matters.
- I always use local file name dir1/file and not full http, all of them are streaming, with download option turned off (not allowed)
So server load and sql performance are different then. I'm not sure how much performance different if I were to set force_redirect to 2, would it make a big difference on server load? And I assume mysql has to do with a lot Rams, which I think I have enough (8gb on my server that host only 1 site)
I'm somehow misunderstanding your question. You want to set up exactly the same entries in two categories, but have them sorted differently? (That's straightforward - you just choose the two categories together when adding the entry, and you change the default sort order for one of the categories using edit category/control settings) Or you want to connect more than one file to each entry?
I found out that I was able to select one link to be listed in multiple category (hold Ctrl and select files), but I was unable to select one sub-category to be listed in multiple category, or is it?
For example:
- Category A
-- B
-- C
- Category D
-- E
Could I make C belong to both A and D? So when people click on A and C, they will all see the same C. Save me tons of time by creating another sub-category C in main D.
obmob
10-21-2007, 02:30 AM
Thanks - this is a tedious job, isn't it.
NAH! it's ok, glad to help you a little.
After all, there is no other LDM i'd rather be. :D
AndrewD
10-21-2007, 03:42 AM
- I always use local file name dir1/file and not full http, all of them are streaming, with download option turned off (not allowed)
So server load and sql performance are different then. I'm not sure how much performance different if I were to set force_redirect to 2, would it make a big difference on server load? And I assume mysql has to do with a lot Rams, which I think I have enough (8gb on my server that host only 1 site)
I'm not an expert on configuring mysql - you should probably ask this on a specialist site.
AndrewD
10-21-2007, 03:49 AM
I found out that I was able to select one link to be listed in multiple category (hold Ctrl and select files), but I was unable to select one sub-category to be listed in multiple category, or is it?
For example:
- Category A
-- B
-- C
- Category D
-- E
Could I make C belong to both A and D? So when people click on A and C, they will all see the same C. Save me tons of time by creating another sub-category C in main D.
No, this is not possible, and it was an important design decision to prevent problems. The categories create what is usually called a 'tree structure'. The important feature is that you can walk along a tree structure and know that you will eventually reach the beginning/end. If you allow a category to be a subcategory of more than one other category, that no longer applies. It's possible to create 'loops', so the coding becomes harder and more complicated to avoid getting stuck/produce sensible layouts/menus/etc.
However, you can achieve the same (similar) result by creating an entry which are actually pointers to your categories (i.e. make the url /local_links.php?catid=NN), and put this entry in multiple categories. If you give it a display order of 0, you can also ensure it appears at the top of the list with a separator.
Hi,
still not working.
I hear just the sound with no pic.
Maybe it was before i did the upgrade.
I use always firefox and i did not notice.
another member in my site has this problem also.
I did a test with other computer and it was working fine.
It's mean that the problem is in my computer.
Thanks.
Hi,
I have 3 questions:
1.for some reason I can't see the similes, in Rate/Comment.
2. Can I change the < - > in "filmstrip" to an arrow gif or something like that?
3.How can i limit the "My Recent LDM Entries" in vb profile just to the last five?
Thanks,
AndrewD
10-21-2007, 07:39 AM
Hi,
I have 3 questions:
1.for some reason I can't see the similes, in Rate/Comment.
This should depend on the LDM setting *allow_smilies*. If you've got that enabled, the smilies should display in the rate entry and the add/edit entry dialogues.
2. Can I change the < - > in "filmstrip" to an arrow gif or something like that?
You need to patch the links_filmstrip_bit template. I'll also make this change with the next upload (which will be a bugfix release for 2.2.8).
3.How can i limit the "My Recent LDM Entries" in vb profile just to the last five?
Edit the LDM plugin which is tied to the member_customfields hook, and find/edit the line $entries_to_show = 50; You're right - this should be configurable.
However, you can achieve the same (similar) result by creating an entry which are actually pointers to your categories (i.e. make the url /local_links.php?catid=NN), and put this entry in multiple categories. If you give it a display order of 0, you can also ensure it appears at the top of the list with a separator.
I tried to add an entry, in URL field I type: /local_links.php?catid=4, then select 3 categories. It say error because the link is not valid, I click accept it and I see the letter B with "See also..." but the B link is invalid.
Was that what you try to tell me, or I did it wrong?
directprint
10-22-2007, 06:00 AM
I have just installed this and have a blank page, read a few things about it, but nothing seems to work.
Used this mod 2 years ago, and looking forward to adding it again.
I get this error
=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================
I have edited the init file with the document root with no luck.
I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine
It seems like something seriously wrong with my database, you have any idea?
Database error in vBulletin 3.6.8:
Invalid SQL:
DELETE FROM local_linksdownloads
WHERE usertime<'1192806439';
MySQL Error : Table 'local_linksdownloads' is marked as crashed and should be repaired
Error Number : 1194
Date : Monday, October 22nd 2007 @ 11:06:56 AM
Script : http://www.domain.com/forums/local_stream.php?action=stream&linkid=317&catid=48
Referrer : http://www.domain.com/forums/local_links.php?action=play&linkid=317&catid=48&page=1
IP Address : 58.187.xx.xxx
Username : Unregistered
Classname : vb_database
AndrewD
10-22-2007, 06:08 PM
I have just installed this and have a blank page, read a few things about it, but nothing seems to work.
Used this mod 2 years ago, and looking forward to adding it again.
I get this error
=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================
I have edited the init file with the document root with no luck.
Fixed, I think, see PM.
AndrewD
10-22-2007, 06:13 PM
I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine
It seems like something seriously wrong with my database, you have any idea?
You should go to vb/admin/maintenance/repair and optimise tables, and run a couple of repairs, then an optimise. that should tidy things up. If that doesn't solve the problem, use a tool like phpmyadmin, delete the local_linksdownload table and then reinstall LDM to recreate a clean table.
AndrewD
10-22-2007, 06:19 PM
I tried to add an entry, in URL field I type: /local_links.php?catid=4, then select 3 categories. It say error because the link is not valid, I click accept it and I see the letter B with "See also..." but the B link is invalid.
Was that what you try to tell me, or I did it wrong?
What is the full url to your forum? You should use that, less the sitename.
For example, if your forums are in http: // yoursite / forum, then you should set up the entry as /forum/local_links.php?catid=M
sduckie2k5
10-23-2007, 01:12 AM
Want to thank you first of all, have been running this for quite sometime and have enjoyed your work.
Secondly, I noticed today when upgrading to 2.2.8 besides the obvious reported bug that if I goto the directory where the downloads reside, I can access it and the index of the downloads publicly, is there anyway I can shut this down, in the event that someone finds out its location, i.e should I chmod it? If so, to what or what might I do that only registered users can gain access, thru the proper channels?
Thanks D*
Andrew, thanks so much for all the help so far, but I have another issue. I keep getting error email about max_user_connections:
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User vncom_chuot has already more than 'max_user_connections' active connections
/home/vncom/public_html/forums/includes/class_core.php on line 274
MySQL Error :
Error Number :
Date : Monday, October 22nd 2007 @ 11:04:42 PM
Script : http://www.domain.com/forums/local_stream.php?action=stream&linkid=1123&catid=112
Referrer : http://www.domain.com/forums/local_links.php?action=play&linkid=1123&catid=112&page=1
IP Address : 211.28.59.246
Username :
Classname : vb_database
So I login my server root and change the my.cnf user_max_connection from 50 to 200. Still, the email error keep coming. You have any idea of what's wrong? I did optimize and everything as you instructed.
Here is my.cnf, just in case you need it:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_user_connections=200
max_connections=500
interactive_timeout=10
wait_timeout=10
connect_timeout=10
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
thread_concurrency=8
myisam_sort_buffer_size=64M
server-id=1
#[mysql.server]
#user=mysql
#basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192
#[mysqldump]
#quick
#max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[mysqlhotcopy]
interactive-timeout
AndrewD
10-23-2007, 04:03 AM
Want to thank you first of all, have been running this for quite sometime and have enjoyed your work.
Secondly, I noticed today when upgrading to 2.2.8 besides the obvious reported bug that if I goto the directory where the downloads reside, I can access it and the index of the downloads publicly, is there anyway I can shut this down, in the event that someone finds out its location, i.e should I chmod it? If so, to what or what might I do that only registered users can gain access, thru the proper channels?
Thanks D*
Several points.
You can place all the LDM files outside the web server directories using the local_file_root and local_file_root_prefix settings. That will completely stop anyone being able to get at the files by guessing the location. This is explained in http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load
In addition, you should block your web server from allowing production of directory listings when someone just enters the directory name. An easy way to do this is to put an empty index.html file in that directory. A better way is to tell the server not to provide directory listings. With Apache, you can also configure the server to prevent directory listings, using the Options commands within the httpd.conf file.
AndrewD
10-23-2007, 04:05 AM
Andrew, thanks so much for all the help so far, but I have another issue. I keep getting error email about max_user_connections:
So I login my server root and change the my.cnf user_max_connection from 50 to 200. Still, the email error keep coming. You have any idea of what's wrong? I did optimize and everything as you instructed.
Here is my.cnf, just in case you need it:
Nam, I'm sorry, but as I said in an earlier message, I am not an expert on MySQL, so I can't help you with this.
It's no problem Andrew, I thought because the error is point to LDM, you might know something about it. I've bothered you enough :).
sduckie2k5
10-23-2007, 09:47 AM
Several points.
You can place all the LDM files outside the web server directories using the local_file_root and local_file_root_prefix settings. That will completely stop anyone being able to get at the files by guessing the location. This is explained in http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load
In addition, you should block your web server from allowing production of directory listings when someone just enters the directory name. An easy way to do this is to put an empty index.html file in that directory. A better way is to tell the server not to provide directory listings. With Apache, you can also configure the server to prevent directory listings, using the Options commands within the httpd.conf file.
Thank you I will use those ideas! D*
the new version is here...that's great andrew! :)
i use LDM to let my users to upload the songs they make, so' id' like to know is there something like "nominate for mod/entry/song of the month" add-on...
or, a way to know, every, month, which songs are best rated...or which songs posted on a month the users like more...
thanks! ;)
obmob
10-24-2007, 02:49 AM
Well, finally I updated one of my sites to 2.2.8, but now i'm having a little problem.
I decided to sort better my folders, so i renamed the one where my downloads are... I renamed it and used xml to import my db.
But now, every time i want to rename the uploads directory, I cant, i get the following error:
Not valid
upload_dir : /files/uploads
Cannot access/create directory /media/usrupl [/home/server/public/files/uploads]
That folder is there, it has CHMOD 777, but it can't be accessed, i even deleted my htaccess file and tried again, but no luck. O.o
Any thoughts?
Thanks! ^^,
AndrewD
10-24-2007, 04:28 AM
Well, finally I updated one of my sites to 2.2.8, but now i'm having a little problem.
I decided to sort better my folders, so i renamed the one where my downloads are... I renamed it and used xml to import my db.
But now, every time i want to rename the uploads directory, I cant, i get the following error:
Not valid
upload_dir : /files/uploads
Cannot access/create directory /media/usrupl [/home/server/public/files/uploads]
That folder is there, it has CHMOD 777, but it can't be accessed, i even deleted my htaccess file and tried again, but no luck. O.o
Any thoughts?
Thanks! ^^,
I'm surprised by that error - as far as I can tell from the code, it should say Cannot access/create directory /files/uploads [/home/server/public/files/uploads]
try doing it in several steps. clear the upload_dir field and submit. then clear the local_file_root and local_file_root_prefix settings and submit. then reset the local_file_root and local_file_root_prefix settings the way you want them. then reset upload_dir.
Are you sure that your upload_dir is where you think it is, i.e. a subdirectory of /home/server/public?
Alfa1
10-24-2007, 08:17 AM
Here are the Dutch phrases for LDM. Please let me know if this is up to your liking.
Little typo in hooks_ldm.xml, Twice ldm_ repeated
<hook>ldm_ldm_cache_built</hook>
I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine
It seems like something seriously wrong with my database, you have any idea?
Goto phpMyAdmin -> Show MySQL runtime information/Status or locate phpMA_path/server_status.php manually
look for red values and check their Descriptions, maybe it help u
BTW how many records u've on linksdownload?
obmob
10-24-2007, 03:49 PM
I'm surprised by that error - as far as I can tell from the code, it should say Cannot access/create directory /files/uploads [/home/server/public/files/uploads]
try doing it in several steps. clear the upload_dir field and submit. then clear the local_file_root and local_file_root_prefix settings and submit. then reset the local_file_root and local_file_root_prefix settings the way you want them. then reset upload_dir.
Are you sure that your upload_dir is where you think it is, i.e. a subdirectory of /home/server/public?Oh, i translated the first, i was using spanish :p
Well, there is nothing set on my local_file_root and local_file_root_prefix, still, i modified them, save and tried again.
The following setting(s) are invalid
upload_dir : /files/uploads
Cannot access/create directory /files/uploads [/home/myserver/public_html/files/uploads]
Not saving the path, i even tried to set it directly with phpmyadmin, but i get the same result if i try to change something in the configuration. :eek:
Thanks Andrew
AndrewD
10-24-2007, 04:04 PM
Oh, i translated the first, i was using spanish :p
Well, there is nothing set on my local_file_root and local_file_root_prefix, still, i modified them, save and tried again.
The following setting(s) are invalid
upload_dir : /files/uploads
Cannot access/create directory /files/uploads [/home/myserver/public_html/files/uploads]
Not saving the path, i even tried to set it directly with phpmyadmin, but i get the same result if i try to change something in the configuration. :eek:
Thanks Andrew
Can I take a look at the site, so that I can work this out? Send me a PM with details and an admin account if so.
pspcrazy
10-24-2007, 05:09 PM
Thanks as usual pm sent.
tormodg
10-24-2007, 08:20 PM
I am going to try this out on my test board.
I was wondering if anyone has created a way to pull a list of links so that it can be displayed in a forum post?
What I'd love to see is a popup window where you can enter search queries to search through the links, and check a box to include the desired links as a list in the parent post...
It may sound daunting but I need this exact functionality for my site. :)
AndrewD
10-25-2007, 04:13 AM
the new version is here...that's great andrew! :)
i use LDM to let my users to upload the songs they make, so' id' like to know is there something like "nominate for mod/entry/song of the month" add-on...
or, a way to know, every, month, which songs are best rated...or which songs posted on a month the users like more...
thanks! ;)
Three ideas:
- An 'extra' based on the LDM favourites system, so that users' favourites were treated as nominations for 'entry of the month'. Currently, the favourites table does not keep track of the date/time the item was marked as a favourite, so this would have to be modified.
- Ditto, an 'extra' based on the LDM ratings system.
Both approaches would be quite straighttforward to implement, but might have some compromises - not sure.
- A completely new 'entry of the month' system, running in parallel to ratings and favourites.
I'm assuming that, when you say 'which songs posted on a month the users like more' that this feature only needs to work with new entries in the month. Can someone nominate an old entry this month? If so, what do we do at the end of the month - do we discard the old ratings and start again, or is the system supposed to keep track of the historic winners also?
AndrewD
10-25-2007, 04:15 AM
I am going to try this out on my test board.
I was wondering if anyone has created a way to pull a list of links so that it can be displayed in a forum post?
What I'd love to see is a popup window where you can enter search queries to search through the links, and check a box to include the desired links as a list in the parent post...
It may sound daunting but I need this exact functionality for my site. :)
It doesn't sound too daunting. Question is always time...
When would the pop up box be displayed? When someone creates a new post/edits an existing post? Or is this something they would do inside LDM, then save the results to incorporate into the post later?
tormodg
10-25-2007, 04:54 AM
When would the pop up box be displayed? When someone creates a new post/edits an existing post? Or is this something they would do inside LDM, then save the results to incorporate into the post later?
Either way is actually fine as long as it's somehow possible to edit/delete the list later.
I imagine a button in the editor, or a link, like "Choose links". When I click on it, I get a popup with a search interface. Links I add are displayed under the search field so that I can add more and more links to my list. When I'm done, I click "save" and close the popup.
I am not sure how to display the links or connect them to the post. I imagine it takes some kind of hook?
What I want to accomplish is the ability to build articles like this in vB:
http://www.hypography.com/topics/wormholes.cfm
Those links are pulled from a homemade link table so that when I update the links in the main application, the changes are reflected wherever the links are shown. It's written in ColdFusion, and not knowing much about PHP I'm not sure how to do the same in vB.
PitchouneN64ngc
10-25-2007, 08:41 PM
AndrewD, I've the same problem as obmob, I'm waiting for a solution (all works with 2.2.7, but not in 2.2.8). open_basedir is On but I'm 200% sure of my paths.
When this bug is solved and I can test it more, I'll post my French updated translation ;)
Thanks :)
obmob
10-25-2007, 09:39 PM
AndrewD, I've the same problem as obmob, I'm waiting for a solution (all works with 2.2.7, but not in 2.2.8). open_basedir is On but I'm 200% sure of my paths.
When this bug is solved and I can test it more, I'll post my French updated translation ;)
Thanks :)AHA! I'm not alone! :D
PM sent to Andrew! :p
AndrewD
10-26-2007, 03:41 AM
AHA! I'm not alone! :D
PM sent to Andrew! :p
** Edited **
post1 version of 2.2.8 released
PitchouneN64ngc
10-26-2007, 11:00 AM
Problem fixed for me, many thanks, I'll review my French translation of your mod ;)
Just some little uncached templates:
- when you are in local_links_admin.php?set=mirrors, you have an uncached template named "links_admin_onemirror".
- when you looking an entry with template "links_linkbit_mtop" (or local_links_admin.php?set=linkbits), this template is uncached.
neopet001
10-26-2007, 02:56 PM
I JUST want to play swf files as it! with original html embed code , I don't want to play flv or use the wimpy wsap ...swf player , just want to play swf directly!
Would you please show me how can I do this ?
Thank you so much!
itsblack
10-26-2007, 03:32 PM
Thank you Andrew for the update.
Here is the updated chinese translation. 7 places has been changed. (2 phrases you changed in this edition, and 5 old phrases I modified recently.)
AndrewD
10-26-2007, 04:25 PM
I JUST want to play swf files as it! with original html embed code , I don't want to play flv or use the wimpy wsap ...swf player , just want to play swf directly!
Would you please show me how can I do this ?
Thank you so much!
Well, if you install the versin of the code a few posts back (https://vborg.vbsupport.ru/showpost.php?p=1368861&postcount=2560), then there's a 'extra' provided that uses Jeroen van Wijering's general flash media player. This will handle swfs, although it implements the javascript-based player rather than a straight embed.
Just to spell it out
- install ldm 2.2.8 post 1
- go to vbulletin/admin/attachments/filetypes and add a filetype plus corrent mimetype info for swf (Content-type: application/x-shockwave-flash). Alternatively install the LDM add-mimetypes extra which will do the job for you
- read the instructions in the extras/jwplayer directory, upload the required files and install the required plugins
Three ideas:
- An 'extra' based on the LDM favourites system, so that users' favourites were treated as nominations for 'entry of the month'. Currently, the favourites table does not keep track of the date/time the item was marked as a favourite, so this would have to be modified.
- Ditto, an 'extra' based on the LDM ratings system.
Both approaches would be quite straighttforward to implement, but might have some compromises - not sure.
- A completely new 'entry of the month' system, running in parallel to ratings and favourites.
I'm assuming that, when you say 'which songs posted on a month the users like more' that this feature only needs to work with new entries in the month. Can someone nominate an old entry this month? If so, what do we do at the end of the month - do we discard the old ratings and start again, or is the system supposed to keep track of the historic winners also?
i've noticed that my users do not use the favourite system so much...but they often rate them...so i think that the 'extra' based on the LDM ratings system would be the best solution.
you have reached the point: at the beginning of the month we, the admins, have to look only for the ratings given in the last month (an old entry can't be nominated) but the system i supposed to keep track of the historic winner and also of the rating given the month before.
when you have some time, can you give it a look? thanks :D :D
obmob
10-27-2007, 02:46 AM
Sorry about this - you've both been hit by the bug I reported in the starter post to this thread - handling open_basedir.
Attached to this post is, I hope, a fixed version of 2.2.8. At least, I've tried all the possible combinations of operating systems I can get my hands on.
This version has these fixes/extensions:
- Fixed the code for checking directory pathways against server operating system (this is the one that I believe is causing the problems)
- Fixed spurious *rename* error message if the name of an uploaded file contains characters that are invalid on some operating systems (I think this is pspcrazy's problem)
- Modified the number of "My Recent LDM Entries" and "What's Viewed" displayed in user profile to 15 (was 50 and 10 respectively)
- Admin settings/permissions pages highlight all parameters that can be over-ridden within categories, not just those that have been over-ridden
- Trap seriously malformed urls such as http:// with no site (FlexXy's report)
- Tidied up look of Filmstrip extra (arrows) (eFil)
- Added new extra to use Jeroen Wijering's generalised mp3/swf/flv media player
and of course included the new Spanish translation
Please test and report, so that I can clear this problem up for everyone.
As an aside, I'm rather concerned that this problem was not detected during the beta testing. The range of systems that we need to work with (at least three fundamentally different flavours of operating systems for the user, several web servers, at least two web server operating systems, and all the added complexities of utf-8 and standard ascii character sets) makes testing a nightmare. How could we address this?Well, this time i was able to save my path, now i'll test how it works.
Well, for me, i guess i'll have to make a test installation under my server and test new ldm in there... cause i used to test in my local server using XAMPP, from apache friends.
I guess this one is too friendly. If there is anything you have in mind and i can help, will be glad to.
Thank you for the quick support Andrew! :D
AndrewD
10-27-2007, 08:37 AM
I think there's enough evidence that the main bug in 2.2.8 is fixed, so I've replaced the main release with the bugfix.
Concerning future development, I can realistically do some testing with the following combinations of server/browser/opsys
- Apache 2.2 on Windows server
- Limited Apache/Linux web server (VMware + LAMP)
- Windows for user PC, with limited testing with Ubuntu Linux
- English version of the hack
- Firefox 2 and IE7
I cannot test Mac servers or user systems, nor do much testing of the language translations.
Andrew, when I turned on SEO friendly on Admin, the links are become inaccessible. I guess I have to do some code with .htaccess right? Not sure if I've missed anything. thanks.
AndrewD
10-29-2007, 06:06 AM
Andrew, when I turned on SEO friendly on Admin, the links are become inaccessible. I guess I have to do some code with .htaccess right? Not sure if I've missed anything. thanks.
Absolutely - as the parameter description says on the LDM admin/settings page:
"If set, LDM creates search engine friendly urls for entries and categories (yoursite/links/catid/linkid, etc). If set, you must configure your web server (Apache) to recognise the urls that LDM creates - see the online LDM manual for details."
When you go to the online manual, there's a menu item labelled Search Engine Optimisation which explains what to do
Thanks, another question, it is possible to turn off the link protections on some files/categories so I can link to remote server without using bandwidth on both? I just bought a new server and don't really care about leeching. Thank you.
CamJM
10-30-2007, 02:08 AM
If you want to put something in each entry, then you have to edit one/several of the links_linkbit templates. There are several of these, depending on which layout you are using. Each of them takes the form of a table row definition, looking like this:
<tr id="linkid$linkid">
<td colspan="2">
...
</td>
</tr>
For patching the main layout, above/below the list of entries, it's the links_main template. In fact that template already has some placeholder variables, via an array variable, $includeinmain. Set one of these array elements: precat, postcat, prefeat, postfeat, prelink, postlink, prestats, poststats, e.g. using the ldm_maindisplay_end hook.
Hi Andrew, sorry to say this but I'm a bit of a coding novice, how would I use the ldm_maindisplay_end hook within the place holders? All I really intend on doing is placing a line of text in there if that makes it simpler at all. Thanks.
AndrewD
10-30-2007, 05:43 AM
Hi Andrew, sorry to say this but I'm a bit of a coding novice, how would I use the ldm_maindisplay_end hook within the place holders? All I really intend on doing is placing a line of text in there if that makes it simpler at all. Thanks.
Here's a couple of examples. Suppose you want to put a box saying "Hello Hello Hello" on all category pages, placed immediately above the list of entries. You can do this in two ways - either write a plugin or edit a template.
You add the plugin by going to vbulletin->admincp->products and plugins->add new plugin.
Choose products=links and downloads manager, hook location=ldm_maindisplay_end, plugin is active=yes. Call the plugin (e.g.) 'annotate' and add the following code:
if ($viewcatid>0) {
$includeinmain['postcat'] .= '
<table width="100%" class="tborder">
<tr><td class="alt1" align="center">
Hello Hello Hello
</td></tr>
</table>
';
}
This adds a boxed table on all category content pages immediately above the list of entries.
You can achieve the same effect by editing the links_main template. Find the lines which read:
<if condition="$includeinmain[postcat]">
$includeinmain[postcat]
</if>
Immediately afterwards insert these lines:
<if condition="$viewcatid>0">
<table width="100%" class="tborder">
<tr><td class="alt1" align="center">
Hello Hello Hello
</td></tr>
</table>
</if>
If you want to add a similar line at the start of the description of each entry, you can also do this with a plugin or by editing a template. Plugin approach:
Again, call the plugin (e.g.) 'annotate', products=links and downloads manager, hook location=ldm_linkbit_create, plugin is active=yes, with the following code:
$linkdesc = '
Hello Hello Hello
<br />
<br />
' . $linkdesc;
This will work with all choices of linkbit - you don't need to repeat it for each of the available layouts.
Template approach. Edit the links_linkbit template (or the links_linkbit_table, etc templates, depending on your choice of linkbit) and insert the following right at the start:
<tr colspan="2">
<td align="center">
Hello Hello Hello
</td>
</tr>
I'm struggling with layout issues. I have a broken link that links to:
"ARG:4NDEFINED.php?catid=-8"
Also there's a "lone" statistics box on the bottom-right of all pages. How can I add other stats or anything to the left of it?
Any tips thanks.
Sorry about not much details.
Here's the current code for the stats box:
<if condition="$viewcatstats or $viewcathits">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<tr><td width="50%"> </td>
<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr align="center">
<td class="tcat" align="center" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('hitparadebit')"><img id="collapseimg_hitparadebit" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_hitparadebit].gif" alt="" border="0" /></a>
<strong>$vbphrase[ll_statistics]</strong>
</td>
</tr>
</tbody>
<tbody id="collapseobj_hitparadebit" style="$vbcollapse[collapseobj_hitparadebit]">
<if condition="$viewcathits">
<tr><td class="alt1" colspan="2">
<span class="smallfont"><strong>$viewcathitstitle</strong></span>
</td></tr>
$viewcathits
</if>
<if condition="$viewcatstats">
$viewcatstats
</if>
</tbody>
</table>
</td></tr>
</table>
<br />
</if>
<if condition="$includeinmain[poststats]">
$includeinmain[poststats]
</if>
I'll like to place an identical box to the left of this box with other stats such as. Last 10 downloaded by other users or random 10 downloads.
thanks
AndrewD
10-30-2007, 04:11 PM
I'm struggling with layout issues. I have a broken link that links to:
"ARG:4NDEFINED.php?catid=-8"
Have you modified one of the LDM templates at some time in the past or got other hacks installed? A url pointing to catid=-8 is trying to display the most recent entries, and the current templates would construct this in terms of something like:
<a href="$SEARCH_SCRIPT.php?action=find&catid=$NEW_CAT">$vbphrase[ll_menu_shownew]</a>
Maybe if you switch on template titles on your vb admincp/options, you can check which template this link is within - I would expect it to be in the links_header template.
Also there's a "lone" statistics box on the bottom-right of all pages. How can I add other stats or anything to the left of it?
This is set up in the links_main template. There a set of code that looks like the following:
<if condition="$includeinmain[prestats]">
$includeinmain[prestats]
</if>
<if condition="$viewcatstats or $viewcathits">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td width="70%"> </td>
<td>
...
You can add other material to the empty 70% cell. Alternatively, you can assign something to the $includinmain[prestats] variable by writing a plugin tied to the links_linkbit_create hook
PitchouneN64ngc
10-30-2007, 04:14 PM
AndrewD, I can tell you the French translation is finished, i read it last time (fixing translations bugs and incoherences between phrases) and release it :)
CamJM
10-31-2007, 02:29 AM
Awesome Andrew! Thanks for the help :)
obmob
10-31-2007, 04:17 AM
Hello, playing again with the new vBa modules... I uploaded the ldm_new.module.
First i coudln't see it, then set clean code to "no" and it start showing.
Now, I made some changes on the template to show a thumbnail, this, because eveything i have has a thumb. :p
So, the code is working, there aren't errors so far, but i figured out a funny thing.
Entries 1,2,5 show a link in the title, but 3 and 4 are just plain text.
You can take a look at this in www.ositobarrigon.com or in the attached image. :D
There are no variables added, just deleted the filetype one and added the thumbnail.
Help! :confused:
Thanks!
CamJM
10-31-2007, 05:09 AM
Template approach. Edit the links_linkbit template (or the links_linkbit_table, etc templates, depending on your choice of linkbit) and insert the following right at the start:
<tr colspan="2">
<td align="center">
Hello Hello Hello
</td>
</tr>
Hi Andrew, just one small question, if I set a condition so that only people who aren't logged in see it, it doesn't appear to work. here's what I edited, I have the condition working in other areas of the site..
<tr colspan="2">
<td align="center">
<if condition="$show['guest']">
Hello Hello Hello
</if>
</td>
</tr>
AndrewD
10-31-2007, 05:11 AM
Hello, playing again with the new vBa modules... I uploaded the ldm_new.module.
First i coudln't see it, then set clean code to "no" and it start showing.
Now, I made some changes on the template to show a thumbnail, this, because eveything i have has a thumb. :p
So, the code is working, there aren't errors so far, but i figured out a funny thing.
Entries 1,2,5 show a link in the title, but 3 and 4 are just plain text.
You can take a look at this in www.ositobarrigon.com or in the attached image. :D
There are no variables added, just deleted the filetype one and added the thumbnail.
Help! :confused:
Thanks!
The two entries that are displayed with no link on the text are currently considered to be broken, i.e. LDM can't find the file. Not the best/clearest of signals, I agree.
AndrewD
10-31-2007, 05:14 AM
Hi Andrew, just one small question, if I set a condition so that only people who aren't logged in see it, it doesn't appear to work. here's what I edited, I have the condition working in other areas of the site..
<tr colspan="2">
<td align="center">
<if condition="$show['guest']">
Hello Hello Hello
</if>
</td>
</tr>
LDM doesn't (currently) set the $show array. You need another test, such as
<if condition="$vbulletin->userinfo['usergroupid'] > 1">
for logged in, and
<if condition="$vbulletin->userinfo['usergroupid'] <= 1">
for not
Willygsm
10-31-2007, 01:17 PM
hi andrewD, after i change the sync path now it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 3914
how to solve this??
AndrewD
10-31-2007, 01:24 PM
hi andrewD, after i change the sync path now it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 3914
how to solve this??
Directory synchronisation can be expensive, especially if you allow manual resyncs.
You must either allow php to spend more than 30 seconds running scripts or you must reduce the amount of time that LDM tries to spend on the task.
The first requires editing the server's php.ini configuration file, finding the *max_execution_time* parameter, increasing the value and restarting your web server.
The second requires visiting LDM/admin/settings and checking the sync_maxcpu_allowed and sync_maxcpu_allowed_manual settings, making sure that they are well below 30 seconds.
Willygsm
10-31-2007, 01:32 PM
Directory synchronisation can be expensive, especially if you allow manual resyncs.
You must either allow php to spend more than 30 seconds running scripts or you must reduce the amount of time that LDM tries to spend on the task.
The first requires editing the server's php.ini configuration file, finding the *max_execution_time* parameter, increasing the value and restarting your web server.
The second requires visiting LDM/admin/settings and checking the sync_maxcpu_allowed and sync_maxcpu_allowed_manual settings, making sure that they are well below 30 seconds.
thanks for reply :)
ok, actually for 1st time i didnt set for more than 30 second and sync all the files and it work. after i change the sync path now it should this. can i delete the whole folder and resync? if yes, how to delete it?
AndrewD
10-31-2007, 01:43 PM
thanks for reply :)
ok, actually for 1st time i didnt set for more than 30 second and sync all the files and it work. after i change the sync path now it should this. can i delete the whole folder and resync? if yes, how to delete it?
Actually, you shouldn't need to do/delete anything - it should work everything out for itself. But how many files are there in the directory that it is trying to read?
You can empty and delete entire folders (categories) in LDM by going to LDM/admin/categories, select the categor(y/ies) you want rid of, then select empty or delete
Willygsm
10-31-2007, 01:50 PM
Actually, you shouldn't need to do/delete anything - it should work everything out for itself. But how many files are there in the directory that it is trying to read?
You can empty and delete entire folders (categories) in LDM by going to LDM/admin/categories, select the categor(y/ies) you want rid of, then select empty or delete
hi AndrewD, it have 14179 files and near 400GB.
i cant delete the categories coz when i click on categories, it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 961
AndrewD
10-31-2007, 02:16 PM
hi AndrewD, it have 14179 files and near 400GB.
i cant delete the categories coz when i click on categories, it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 961
Ouch...
Perhaps the directory structure that you are scanning is simply too complex to process in the cpu time allowed. The problem is how to regain control.
Go to LDM/admin/settings and turn off category_jump_menu and turn off sync_enabled.
Then try to go to admin/categories again.
Is this a production site, or are you still trying to get things set up?
By the way, are you running the latest (2.2.8-post 1) version of LDM or an older version? (Just so that I know which code to look at.)
voter
10-31-2007, 02:33 PM
Is there a way a SQL query, to generate a copy of entries of LDM as a threads of a forum?
Willygsm
10-31-2007, 02:41 PM
Ouch...
Perhaps the directory structure that you are scanning is simply too complex to process in the cpu time allowed. The problem is how to regain control.
Go to LDM/admin/settings and turn off category_jump_menu and turn off sync_enabled.
Then try to go to admin/categories again.
Is this a production site, or are you still trying to get things set up?
By the way, are you running the latest (2.2.8-post 1) version of LDM or an older version? (Just so that I know which code to look at.)
hi andrewD thanks for reply, after i off the categories now i can go to here
http://www.sw-box.com/forum/local_links.php?catid=1365
but it show 2 folder now and when i go admin setting still cant go the categories setting there
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXXX/public_html/forum/includes/local_links_include.php on line 975
??
Willygsm
10-31-2007, 03:19 PM
hi andrewD, how to delete whole categories? any code to modify?
Cannot delete a category which still contains entries or subcategories.
AndrewD
10-31-2007, 05:14 PM
hi andrewD, how to delete whole categories? any code to modify?
Cannot delete a category which still contains entries or subcategories.
Try the following.
Go to your vb admincp, products and plugins.
Add new plugin
product - Links and Downloads manager
hook - ldm_admin_start
code: @ini_set('max_execution_time', 300);
plugin is active: yes
Now you should be able to get at ldm/admin/categories and tidy up.
Remember to turn off/delete the plugin when you've finished.
AndrewD
10-31-2007, 05:16 PM
Is there a way a SQL query, to generate a copy of entries of LDM as a threads of a forum?
You know that there's an facility to autocreate threads pointing to new entries in LDM, I suppose? (LDM/admin/settings/Controls on New Entry/Comment Announcements)
You want to be able to create threads, each corresponding to one entry in an LDM category?
obmob
10-31-2007, 09:23 PM
The two entries that are displayed with no link on the text are currently considered to be broken, i.e. LDM can't find the file. Not the best/clearest of signals, I agree.
OMG! I think I deleted those files while moving... :mad:
Thanks Andrew, now I know why it would happen :D
Wilhelm
10-31-2007, 10:08 PM
hi, i have a problem with the hack when uploading has finished. It seems the file was submitted but then:
i use the german version and the text says:
"Fehler beim Hochladen - kann die hochgeladene Datei auf dem Server nicht verschieben."
engl. smth like that: Error while uploading - cannot move the uploaded file on the server.
I have an upload, thumb folder both set to 777, no error messages @LDM
using 2.8.8Post1, local_file_root Website local_file_root_prefix not set
whats the error on that?
btw awesome hack :eek:
edit: Tested with full path url, local url, both works, only upload i still get the error msg.
JtChurch925
11-01-2007, 12:29 AM
I apologize if I have somehow missed these answers (...and I probably have), but...
If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
Is it relatively simple to add adsense code to the basic template of the downloads pages?
I appreciate your answers and time. This plugin looks very promising!
AndrewD
11-01-2007, 06:48 AM
If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
Yes, although (depending on exectly how you set things up), this will be more expensive, both in terms of cpu (file reads over an http channel are more expensive than from the local server) and bandwidth (everything goes through your server twice, in then out). It's not a good idea to do this with (e.g.) video files, although it's quite ok with typical pdfs.
Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
No, LDM will not autosync with a second server, although it will sync with the local file system. I didn't add this for a couple of reasons - security and processing cost. (If you look back a few posts, you'll see that someone is having problems syncing a directory structure containing tens of thousands of files.)
Is it relatively simple to add adsense code to the basic template of the downloads pages?
I have not done this myself, but I think this is quite a common mod to the mod.
AndrewD
11-01-2007, 07:05 AM
hi, i have a problem with the hack when uploading has finished. It seems the file was submitted but then:
i use the german version and the text says:
"Fehler beim Hochladen - kann die hochgeladene Datei auf dem Server nicht verschieben."
engl. smth like that: Error while uploading - cannot move the uploaded file on the server.
I have an upload, thumb folder both set to 777, no error messages @LDM
using 2.8.8Post1, local_file_root Website local_file_root_prefix not set
whats the error on that?
btw awesome hack :eek:
edit: Tested with full path url, local url, both works, only upload i still get the error msg.
Check if the php security setting open_basedir and safe_mode are set (vb/admin/maintenance/phpinfo), and whether your upload directory is within the space allowed by open_basedir - LDM is supposed to be aware of open_basedir, but perhaps there's a problem in the code that I've missed.
If that doesn't point you in the right direction, here's a quick debugging check. Go to vb/admincp/products and plugins and add a new plugin, called, e.g. debug, attached to the hook ldm_upload_filesave, and make sure it's active, with the following code:
echo 'open_basedir '.ini_get('open_basedir').'<br />';
echo 'safe_mode '.ini_get('safe_mode').'<br />';
echo $fullfile.'<br />';
if (file_exists($fullfile)) {
echo 'file exists<br />';
exit;
}
if (move_uploaded_file($GPC['tmp_name'], $fullfile)) {
echo 'move ok<br />';
}
exit;
then try uploading a file, take a look at the error messages and post them back here. Remember to disable the debug plugin after you've run it.
Wilhelm
11-01-2007, 02:49 PM
Hi AndrewD, thanks alot for your time and help. I figured out the phpinfo(), safemode is local and global set, open_basedir is only local set.
the error msg is recieve with your debug code:
open_basedir /home/httpd/vhosts/***myURLNAME***/httpdocs:/tmp
safe_mode 1
/home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1/290811939309968307.zip
Warnung: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1 owned by uid 30 in /local_links_actions.php(343) : eval()'d code (Zeile 8)
I have no clue what settings to change to get the upload working. I dont have access to php.ini, only .htaccess i could work with. Would the problem be solved by disabling SAFE_MODE AND open_basedir? Or just one of them?
Maybe i can do something in Plesk file manager editing some file in the root directory? Im not that strong with server settings.
AndrewD
11-01-2007, 04:10 PM
Hi AndrewD, thanks alot for your time and help. I figured out the phpinfo(), safemode is local and global set, open_basedir is only local set.
the error msg is recieve with your debug code:
open_basedir /home/httpd/vhosts/***myURLNAME***/httpdocs:/tmp
safe_mode 1
/home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1/290811939309968307.zip
Warnung: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1 owned by uid 30 in /local_links_actions.php(343) : eval()'d code (Zeile 8)
I have no clue what settings to change to get the upload working. I dont have access to php.ini, only .htaccess i could work with. Would the problem be solved by disabling SAFE_MODE AND open_basedir? Or just one of them?
Maybe i can do something in Plesk file manager editing some file in the root directory? Im not that strong with server settings.
I think the problem will be solved by turning off safe_mode, but I've not experienced this before. Your open_basedir setting is ok.
VBulletin itself gets round this problem with some slightly contorted file movements, which I have not implemented in LDM.
*Edit*
I've run a quick test with safe_mode on and open_basedir set, and can reproduce your problem. Turning off safe_mode corrects the problem. So (at least for me) does turning on safe_mode_gid
PitchouneN64ngc
11-01-2007, 06:21 PM
Hey AndrewD, there is the French translation with this post ;)
I already asked this but I guess you missed it, is it possible to enable both link protection on some categories and no protections on some file/categories?
The second question is that does LDM keep sleeping mySQL connections? My host says sometimes the server on a high load because of that reason. I'm not sure what's that mean but I wonder if it's necessary to keep those connections.
32k hits in 3 days :)
albibak
11-01-2007, 09:28 PM
Hey AndrewD, there is the French translation with this post ;)
Thanks for this translation Pitchoune :)
AndrewD
11-02-2007, 05:04 AM
Hey AndrewD, there is the French translation with this post ;)
Thanks!
AndrewD
11-02-2007, 05:32 AM
I already asked this but I guess you missed it, is it possible to enable both link protection on some categories and no protections on some file/categories?
The second question is that does LDM keep sleeping mySQL connections? My host says sometimes the server on a high load because of that reason. I'm not sure what's that mean but I wonder if it's necessary to keep those connections.
32k hits in 3 days :)
1) Yes.
As background, you can find out which settings/permissions can be set per-category as follows: a) Go to any of your categories, do edit/category, and look at the control settings and permissions tabs. If the setting/permission is listed on these pages, then the value for that category will override the global value in that category and in any child categories that do not set their own value. b) Alternatively, from version 2.2.8-post 1, look at the admin/settings and admin/permissions pages. If the setting/permission is colour coded yellow, then it is configurable per-category.
*force_redirect* is one such setting, so the answer to your first question is 'yes'.
2) LDM does nothing special with database connections. As far as I know, I'm using standard vbulletin procedures, including when LDM shuts down. However, I don't know what your site is using LDM to deliver - if you are supplying large video files, then there is likely to be be a long delay between starting to deliver the video and eventually closing down (and ? releasing the database connection). Consequently, if lots of people are using the site at once, then the number of simultaneous connections may be equally large.
As I've mentioned, I'm not an expert on MySQL, but I also wonder if your problem is related to the way your site is configured to handle so-called 'persistent connections'. This is a particular method for using the database. It is configured in (at least) two places - in the php.ini file and in the vbulletin config.php file - it's not something that LDM knows about or tries to do anything with. I suggest that you ask for help on the subject on vb.com or in the main vb.org programming/mysql forum.
Willygsm
11-02-2007, 02:09 PM
Try the following.
Go to your vb admincp, products and plugins.
Add new plugin
product - Links and Downloads manager
hook - ldm_admin_start
code: @ini_set('max_execution_time', 300);
plugin is active: yes
Now you should be able to get at ldm/admin/categories and tidy up.
Remember to turn off/delete the plugin when you've finished.
hi andrewD thanks for reply, problem still no solve.. after i click categories now it show only blanks. and i use latest LDM. Have anyway to delete the whole categories and resync again??
AndrewD
11-02-2007, 02:19 PM
hi andrewD thanks for reply, problem still no solve.. after i click categories now it show only blanks. and i use latest LDM. Have anyway to delete the whole categories and resync again??
I suspect that you are trying to sync a directory structure that is simply too large and complex for LDM to handle within the limits of resources that your web server will permit. When I took a look at your site, you had lots and lots of categories.
Unless you are already using LDM to offer a production service, I suggest that you simply delete all the LDM database tables (use phpmyadmin, etc) and start again by reinstalling the product via VB - it will automatically recreate these tables.
Alfa1
11-04-2007, 01:40 PM
The phrase ldm_thread_create_body currently has the following content:
{5}
A new entry has been added to {4}
Description:
{2}
To check it out, rate it or add comments, visit {1} ({3})
The comments you make there will appear in the posts below.
What other variables can I use?
- Entries that are approved by a moderator, do not get a discussion thread posted by the member that entered the entry, but the discussion thread is posted in the name of the moderator approving the entry instead. How can I change this?
- Discussion Threads are not automatically added as subscribed threads.
- It would be great if a automatic thread prefix be set for discussion threads.
- Currently discussion threads are flooding my forums. More control on autocreate would be great. What do you think of a 'create discussion thread' button for entries that do not have discussion threads yet?
Another idea that i like is to send all discussion threads through vb's moderation queue, for approval by the moderator.
yahoooh
11-04-2007, 02:06 PM
i still wait the features tha i requist and i think this great product need this new feature :
work in folder other than forum
so if the forum in folder www.site.com/forum
we can put this product in www.site.com/directory for example or any other folder
so this will make us using subdomain for it
thanks for this product and plz keep on
Alfa1
11-04-2007, 02:55 PM
When you are on the LDM main page, $viewcatid will be equal to -1
When you are viewing the results of a search, the variable $this_action will be equal to "show"
When you are inside LDM, $this_action is always set, and I imagine it's not set when you are in a forum
So I suggest you modify your forum tab code to say something like
if condition="!$this_action and (THIS_SCRIPT=='index' or in_array(..))">...</if>
Thanks a lot! This works.
Your LDM search check could be
if condition="$this_action=='show')">...</if>
If I add this including the ) then vb gives me an error because there is no opening ( in the code. I can not leave it out either as that doesn't work. Can you please elaborate?
Your LDM main page check could be
if condition="$this_action=='links') and $viewcatid<0">...</if>
I encounter the same problem here.
SuperTaz
11-05-2007, 04:13 AM
Andrew, I get this error when I try to set the path for the images:
The following setting(s) are invalid
file_icons_dir : http://www.global-gamers.net/forums/images/icons/
Cannot find/read directory http://www.global-gamers.net/forums/images/icons/
Do I have to load them individually or load them all in a single folder to the icons folder?
AndrewD
11-05-2007, 03:28 PM
Andrew, I get this error when I try to set the path for the images:
Do I have to load them individually or load them all in a single folder to the icons folder?
Have you uploaded the icons? (Look in the zip file /release/icon) - Decide where you want to store them, ftp upload the directory, then set the icon path.
AndrewD
11-05-2007, 03:35 PM
i still wait the features tha i requist and i think this great product need this new feature :
work in folder other than forum
so if the forum in folder www.site.com/forum
we can put this product in www.site.com/directory for example or any other folder
so this will make us using subdomain for it
thanks for this product and plz keep on
Noted - I'm grateful for your enthusiasm. I'm just a little short of time :)
AndrewD
11-05-2007, 03:47 PM
The phrase ldm_thread_create_body currently has the following content:
What other variables can I use?
Unfortunately, this is not the way that vb works - when the code uses this phrase, it is given precisely the right variables to complete it. You would have to start modifying includes/local_face.php, around line 207.
- Entries that are approved by a moderator, do not get a discussion thread posted by the member that entered the entry, but the discussion thread is posted in the name of the moderator approving the entry instead. How can I change this?
- Discussion Threads are not automatically added as subscribed threads.
- It would be great if a automatic thread prefix be set for discussion threads.
- Currently discussion threads are flooding my forums. More control on autocreate would be great. What do you think of a 'create discussion thread' button for entries that do not have discussion threads yet?
Another idea that i like is to send all discussion threads through vb's moderation queue, for approval by the moderator.
Noted - these are all bugs/suggetsions which will need some thought.
AndrewD
11-05-2007, 03:49 PM
Thanks a lot! This works.
If I add this including the ) then vb gives me an error because there is no opening ( in the code. I can not leave it out either as that doesn't work. Can you please elaborate?
I encounter the same problem here.
I'm sorry, the closing parenthesis was a typo in both cases - are you saying that the test doesn't work when you leave it out?
SuperTaz
11-05-2007, 09:46 PM
Have you uploaded the icons? (Look in the zip file /release/icon) - Decide where you want to store them, ftp upload the directory, then set the icon path.
Yes, I uploaded the icons to that specified directory and that did not work. I gave the exact full path and I also tried the local path and both did not work. So, then I tried to put the icons in another folder and it still says the same.
Like I said, everything is done exactly how your directions say to do it and it does not work.
Ipuck
11-05-2007, 10:56 PM
Hello Andrew!
Thanks for the mod and for the latest update.
I just did the upgrade to 2.2.8 post1. All the links and categories are working fine, but I notice that in the administer are, many of the options settings are turned yellow, like I have override in the categories, when in fact I have only two categories that I have override the settings. Here is an example:
AndrewD
11-06-2007, 03:02 AM
Hello Andrew!
Thanks for the mod and for the latest update.
I just did the upgrade to 2.2.8 post1. All the links and categories are working fine, but I notice that in the administer are, many of the options settings are turned yellow, like I have override in the categories, when in fact I have only two categories that I have override the settings. Here is an example:
This is a modification in behaviour in 2.2.8 post 1 - yellow now shows that the setting *can* be changed, not that it *has* been changed.
AndrewD
11-06-2007, 03:05 AM
Yes, I uploaded the icons to that specified directory and that did not work. I gave the exact full path and I also tried the local path and both did not work. So, then I tried to put the icons in another folder and it still says the same.
Like I said, everything is done exactly how your directions say to do it and it does not work.
Check whether your site php has open_basedir set (vb/admin/maintenance/phpinfo) and that the icon directory is within the allowed space. If that's ok send me a PM and I'll gladly take a look.
SuperTaz
11-06-2007, 04:02 AM
open_basedir - no value - no value
yahoooh
11-06-2007, 04:39 AM
AndrewD
i see some sites that has put links for download files that in my site by just paste link of files , so people can download without visit my site
i do not need to prevent unregistered user from download but i need to make captcha for them to prevent hot linking
and this captch should only for downloading files not for veiw juke box player because people have to visit my site but in download they will download directly so i need captcha for that
thanks
benjaminkramer
11-06-2007, 05:48 AM
Hi,
is it possible, that when I am uploading data into Links and Downloads Manager in a specific category that automatic a thread is created in a specific forum?
For example:
Links and Downloads Manager:
For students - University Leipzig - Anatomy -> create one file for downloading
-> Then new thread should be created in:
Forum
Students of Germany - University Leipzig -> [New Thread] - New Download available...
Hope that is possible to set up, that would save a lot of time :-)
Ipuck
11-06-2007, 09:50 PM
This is a modification in behaviour in 2.2.8 post 1 - yellow now shows that the setting *can* be changed, not that it *has* been changed.
Thanks Andrew!
csavern
11-07-2007, 12:50 AM
I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.
I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this
Internet Explorer cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
What you can try:
Diagnose Connection Problems
More information
This problem can be caused by a variety of issues, including:
Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
For offline users
You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds
Click the Favorites Center button , click Feeds, and then click the feed you want to view.
To view recently visited webpages (might not work on all pages)
Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.
but it still post the link but i got people thinking it didnt that something went wrong and sumitting it over and over again
AndrewD
11-07-2007, 05:10 AM
Hi,
is it possible, that when I am uploading data into Links and Downloads Manager in a specific category that automatic a thread is created in a specific forum?
For example:
Links and Downloads Manager:
For students - University Leipzig - Anatomy -> create one file for downloading
-> Then new thread should be created in:
Forum
Students of Germany - University Leipzig -> [New Thread] - New Download available...
Hope that is possible to set up, that would save a lot of time :-)
Yes, this is available. You use the autothreadcreate options which can be set up on the LDM/admin/settings page on a global basis, or on edit category/control settings on a per category basis
AndrewD
11-07-2007, 05:12 AM
I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.
I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this
Internet Explorer cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
What you can try:
Diagnose Connection Problems
More information
This problem can be caused by a variety of issues, including:
Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
For offline users
You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds
Click the Favorites Center button , click Feeds, and then click the feed you want to view.
To view recently visited webpages (might not work on all pages)
Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.
but it still post the link but i got people thinking it didnt that something went wrong and sumitting it over and over again
Apologies for missing this. Please bear with me for a couple of days - I'm not at home at present, so can't easily diagnose this problem.
csavern
11-07-2007, 01:19 PM
Not a problem
If ya would just let me know when you might know what it is
Andrew, I found add multiple link is very useful, however, I don't see the display order appear. I tried to add 20 link and the link order was messed up and I had to manually edit the individual link again to correct the display order.
Is there anyway to make the display order field show up in add multiple entry? Thank you.
AndrewD
11-08-2007, 04:06 AM
Andrew, I found add multiple link is very useful, however, I don't see the display order appear. I tried to add 20 link and the link order was messed up and I had to manually edit the individual link again to correct the display order.
Is there anyway to make the display order field show up in add multiple entry? Thank you.
The display order does appear in the add multiple entry form - it's in the top part of the form - the same display order value is applied to all the new entries rather than being set on an entry by entry basis. As far as I can tell it works. Maybe it should be availableto be set for each individual new entry - I tried to make the add multiple form as easy as possible for people to complete?
AndrewD
11-08-2007, 04:21 AM
I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.
I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this
Internet Explorer cannot display the webpage
Just to be clear, can you confirm:
a) LDM works ok without webthumbs, and
b) LDM always fails to work with webthumbs
or is the problem intermittent with webthumbs? or does the problem happen even without webthumbs?
The display order does appear in the add multiple entry form - it's in the top part of the form - the same display order value is applied to all the new entries rather than being set on an entry by entry basis. As far as I can tell it works. Maybe it should be availableto be set for each individual new entry - I tried to make the add multiple form as easy as possible for people to complete?
Yes I noticed that it does appear on top of the form, however it's apply to all entries. Like you said, it'd be better to be able to to set each entry individually. Otherwise, I have to set most of them individually anyway.
Hopefully you'll release it in the next version, cheers :).
coolgus
11-08-2007, 07:13 PM
Congrats for this amazing product. Two questions though
1. Can I disable the keyword function ? I am trying to edit some files and asks me for a keyword everytime even though I didn't give one when I created the entry
2. Is there any easy way to add a new field when create/editing an entry so I can give a url with the official site of it ? If it's easier, keyword function could be changed so I have the source url instead
Thank you in advance
AndrewD
11-08-2007, 07:49 PM
Congrats for this amazing product. Two questions though
1. Can I disable the keyword function ? I am trying to edit some files and asks me for a keyword everytime even though I didn't give one when I created the entry
2. Is there any easy way to add a new field when create/editing an entry so I can give a url with the official site of it ? If it's easier, keyword function could be changed so I have the source url instead
Thank you in advance
1) This should be disabled by default. Check whether you've inadvertently enabled the *must_add_keyword* permission.
2) Not currently. Additional fields is something that has been requested for some time but has not been implemented yet - I'm waiting for proper inspiration! But it stays on the list.
AndrewD
11-10-2007, 07:32 AM
I was sorry to discover that the online wiki for LDM got hacked this week. So I've decided to disable new account creation on the site, as well as anonymous editing. This will make it harder to improve the manual, but that's life.
saltvattensakva
11-11-2007, 06:07 PM
hard to uninstall and the uninstall script does not delete all changes and files.
aint possible to remove from admin cp->plugin/product manager.
++++ing terrible to uninstall.
coolgus
11-11-2007, 09:48 PM
Andrew I try to have latest "Show What's New" in joomla. I'm only interested for the titles of links and nothing more. Also I would like to being able to exlude some categories.
Could you tell me which is the query which is needed ? I had a look at ldm_new.module but couldn't find anything
AndrewD
11-12-2007, 04:05 AM
hard to uninstall and the uninstall script does not delete all changes and files.
aint possible to remove from admin cp->plugin/product manager.
++++ing terrible to uninstall.
Thank you for your polite description. It's perfectly possible to do what you want, and quite straightforward too. If you take a look at the on-line documentation, you'll find an explanation of what to do.
The reason why the uninstall script does not simply delete all the database tables and files is because it is too easy to have accidents - either of one's own causing or because someone vandalises your board.
AndrewD
11-12-2007, 04:12 AM
Andrew I try to have latest "Show What's New" in joomla. I'm only interested for the titles of links and nothing more. Also I would like to being able to exlude some categories.
Could you tell me which is the query which is needed ? I had a look at ldm_new.module but couldn't find anything
you need something like the following:
select links.linkname as linkname, links.linkdate as linkdate, ltoc.catid as catid
from local_linkslink as links
left join local_linksltoc as ltoc
on links.linkid = ltoc.linkid
where ltoc.catid NOT IN (10,11,12)
order by linkdate desc
replace 10,11,12 by the catids you want to omit
GTRyan
11-12-2007, 04:30 AM
On my statistics hit parade menu on the LDM main page one of my downloads for a video .wmv file started going down when it got to about 2500 hits, the counter on the download info itself is correct though, using 3.6.8 post 1.
http://alamoride.com/forum/local_links.php look at the file alamoride_murillo_star_car_2_fab2startup info
AndrewD
11-12-2007, 05:23 AM
On my statistics hit parade menu on the LDM main page one of my downloads for a video .wmv file started going down when it got to about 2500 hits, the counter on the download info itself is correct though, using 3.6.8 post 1.
http://alamoride.com/forum/local_links.php look at the file alamoride_murillo_star_car_2_fab2startup info
There are two records of hits inside LDM. The entry itself keeps a record of the total number of hits (but nothing more - no information on who/when/etc). This information is kept permanently. The downloads table keeps a full record of all accesses, but, because the table can become very large, you have the option to 'prune' it after a certain length of time (LDM/admin/settings/prune_downloadtable).
The hit parade is produced by reading the downloads table, so, if you have told LDM to prune this table, you will eventually start losing hits off the beginning. I suspect this is the source of your problem.
GTRyan
11-12-2007, 06:13 AM
ah one thing I was thinking, does the hit parade only show the downloads counts for the last 30 days? Then so its not showing the total since the file has been there right? Then if so that cool then cause its been dropping daily as the video is getting older.
AndrewD
11-12-2007, 06:26 AM
ah one thing I was thinking, does the hit parade only show the downloads counts for the last 30 days? Then so its not showing the total since the file has been there right? Then if so that cool then cause its been dropping daily as the video is getting older.
Yes, it's the number of hits in the last *days_seen_on_portal* days, which you set on the main ldm/settings page - just don't set a value which is larger than *prune_downloadtable*.
trigon
11-12-2007, 09:19 AM
is it possible to turn off the rights to upload files (in VBulletin) but turn the rights in the L&DL-Manager on?
I ask, beacause i dont want that files will be uploaded in the board, files shoult be upload in the L&DL-Manager.
And a last question: Is it possible to use 2 xml's (one english and one german for example)?
AndrewD
11-12-2007, 10:18 AM
is it possible to turn off the rights to upload files (in VBulletin) but turn the rights in the L&DL-Manager on?
I ask, beacause i dont want that files will be uploaded in the board, files shoult be upload in the L&DL-Manager.
yes, this is possible - the systems are quite separate.
And a last question: Is it possible to use 2 xml's (one english and one german for example)?
Yes - you should first (e.g.) install the English one product xml for your default language, then use the vbulletin admincp/language manager/upload the individual language xml from the LDM release zip (development/phrases directory) on top of your German phrases.
csavern
11-12-2007, 11:57 AM
Just to be clear, can you confirm:
a) LDM works ok without webthumbs, and
b) LDM always fails to work with webthumbs
or is the problem intermittent with webthumbs? or does the problem happen even without webthumbs?
It happens with webthumbs
without webthumbs there aint a problem takes ya back to the front of the mod
where on webthumbs it takes ya to the error page of internet explorer but still makes the post
AndrewD
11-14-2007, 03:53 PM
It happens with webthumbs
without webthumbs there aint a problem takes ya back to the front of the mod
where on webthumbs it takes ya to the error page of internet explorer but still makes the post
I've written an alternative version of the plugin, which uses Joshua Eichorn's 'Easy' webthumb service. This should be more reliable, although it's not as fast on subsequent page displays because it always retrieves the image from his server rather than keeping a local copy. You might like to try it as an alternative. Please note that it needs two parameters based on your webthumbs account - the api key and the userid.
Can you tell me how to change upload_max_file size in Links and Downloads Manager. I change d php.ini file in my forum's root folder and includes folder, but it seems not work .
Thank all of you :x.
AndrewD
11-15-2007, 12:06 PM
Can you tell me how to change upload_max_file size in Links and Downloads Manager. I change d php.ini file in my forum's root folder and includes folder, but it seems not work .
Thank all of you :x.
first, you need to find out which php.ini file is actually being used by your web server. you can find this from vb/admincp/maintenance/php info -> configuration file path.
second, after editing php.ini, you have to restart your web server (presumably apache) for the change to take effect.
Thanks, but my site work on shared hosting and i can't change the configuration file path shows in Admincp. Can you give me another way ?
AndrewD
11-15-2007, 12:53 PM
Thanks, but my site work on shared hosting and i can't change the configuration file path shows in Admincp. Can you give me another way ?
Only if your service provider allows the use of so-called htaccess files on a per-site basis. See, e.g. http://gentoo-wiki.com/HOWTO_php.ini_overrides_w/_.htaccess for an explanation
My site works on Dreamhost :)
AndrewD
11-15-2007, 04:03 PM
My site works on Dreamhost :)
According to the online description - http://www.dreamhost.com/hosting-features.html - Dreamhost uses apache as web server and provides full support for htaccess files, so you should be able to control your php settings, e.g. by referring to the site I mentioned
SherryG
11-16-2007, 01:24 PM
Hi Andrew,
Forgive me - I don't know a whole lot when it comes to vbadvanced.
I'm trying to add the ldm_new.module but get the following error message on my page:
***Removed error message as it was too long and was interfering with the layout on this page***
Egads, what am I doing wrong?
AndrewD
11-16-2007, 01:32 PM
Hi Andrew,
Forgive me - I don't know a whole lot when it comes to vbadvanced.
I'm trying to add the ldm_new.module but get the following error message on my page:
Egads, what am I doing wrong?
How did you install the module? - it should be done using the vb/admincp/vba/download upload module
SherryG
11-16-2007, 02:09 PM
Thanks for the quick reply Andrew.
I was installing the modules wrong :o.
I followed your instructions and added them via admincp/vba/download upload module but something didn't go as planned. The module appears in my list with no name associated with it. I'm not sure I can even delete it. Tried it twice as you can see.
Rochndil
11-16-2007, 02:14 PM
Good morning!
I've got a rather odd problem, and while it's more annoying than anything else, I'd like to clear it up if possible.
I'm new to vB so this may well be based on my own ignorance. I've got a vB 3.6.8.2 board up and running, and I've got LDM 2.2.8 installed and working fine. The issue is that each user, even after signing into vB, has to sign in AGAIN to access any category in LDM (the link to the category LIST seems to work fine). However, once this second sign-in is completed, the cookie(?) appears to be set and stable for that session, and possibly indefinitely.
My users aren't very technically savvy, so if possible I'd like to prevent the necessity for a double sign-in. If there is any specific information about my system you need, please let me know.
Thank you for your help!
I can also be reached directly at my work address, alan.martin (at) mightyautoparts.com
Alan Martin.
AndrewD
11-16-2007, 02:37 PM
Thanks for the quick reply Andrew.
I was installing the modules wrong :o.
I followed your instructions and added them via admincp/vba/download upload module but something didn't go as planned. The module appears in my list with no name associated with it. I'm not sure I can even delete it. Tried it twice as you can see.
I've seen that problem too and mentioned it to the vba people. You can delete it and then it should reinstall correctly. If not - send me a PM with an admin account and I'll gladly take a look.
AndrewD
11-16-2007, 02:39 PM
Good morning!
I've got a rather odd problem, and while it's more annoying than anything else, I'd like to clear it up if possible.
I'm new to vB so this may well be based on my own ignorance. I've got a vB 3.6.8.2 board up and running, and I've got LDM 2.2.8 installed and working fine. The issue is that each user, even after signing into vB, has to sign in AGAIN to access any category in LDM (the link to the category LIST seems to work fine). However, once this second sign-in is completed, the cookie(?) appears to be set and stable for that session, and possibly indefinitely.
My users aren't very technically savvy, so if possible I'd like to prevent the necessity for a double sign-in. If there is any specific information about my system you need, please let me know.
Thank you for your help!
I can also be reached directly at my work address, alan.martin (at) mightyautoparts.com
Alan Martin.
Alan, send me a PM with site details and an account, ideally one with access to the vb admincp, amnd I'll gladly take a look. It's the first report I've had of this problem.
SherryG
11-16-2007, 03:35 PM
I've seen that problem too and mentioned it to the vba people. You can delete it and then it should reinstall correctly. If not - send me a PM with an admin account and I'll gladly take a look.
Thanks Andrew - sent you a PM
AndrewD
11-16-2007, 04:03 PM
Thanks Andrew - sent you a PM
You haven't sent one to me - who did you send it to?
** Sorry -- edited - got it by email.
AndrewD
11-16-2007, 04:18 PM
Thanks Andrew - sent you a PM
I see that you are still using vbadvanced 2.2. I haven't tested with that version for some time, and it seems I've created a problem - sorry - I'll look into it and see how to fix things.
SherryG
11-16-2007, 04:22 PM
I see that you are still using vbadvanced 2.2. I haven't tested with that version for some time, and it seems I've created a problem - sorry - I'll look into it and see how to fix things.
Should I go ahead and update vbadvanced or will that cause more issues?
AndrewD
11-16-2007, 06:39 PM
Should I go ahead and update vbadvanced or will that cause more issues?
Let me sort out the problem before I start giving you new problems !
AndrewD
11-17-2007, 01:58 PM
Should I go ahead and update vbadvanced or will that cause more issues?
Sherry, indeed, the vbadvanced module format has changed between version 2 and version 3 and the module files I released are for version 3.
Before you attempt to upgrade (indeed if you decide to do so), we really need to get rid of the junk that's been added to your database during the attempt to install the LDM modules. The easiest way, if you are comfortable with this approach, is to run phpmyadmin, go to your vb database, to the adv_modules table and kill the rows that have a blank title - I think you'll find that you've got three of these. I don't think it's possible to tidy up from within vbadvanced itself, so, if you don't want to use this approach, the alternative is that I write a small vb plugin to do the job. Let me know what you want. Sorry for this.
yahoooh
11-17-2007, 05:39 PM
any news for any new version that has more features that me and others requist ,
i think version 3 will be more and more than perfect
pspcrazy
11-17-2007, 06:58 PM
Anyway to get the downloads to show up on a seperate page? Thanks
SherryG
11-17-2007, 07:23 PM
Sherry, indeed, the vbadvanced module format has changed between version 2 and version 3 and the module files I released are for version 3.
Before you attempt to upgrade (indeed if you decide to do so), we really need to get rid of the junk that's been added to your database during the attempt to install the LDM modules. The easiest way, if you are comfortable with this approach, is to run phpmyadmin, go to your vb database, to the adv_modules table and kill the rows that have a blank title - I think you'll find that you've got three of these. I don't think it's possible to tidy up from within vbadvanced itself, so, if you don't want to use this approach, the alternative is that I write a small vb plugin to do the job. Let me know what you want. Sorry for this.
Hi Andrew,
No need to apologize. I should have specified which version of vbadvanced that I was using. I'll take care of removing these entries from the database and will then upgrade.
THANKS so very much!
Sherry
AndrewD
11-18-2007, 06:05 AM
any news for any new version that has more features that me and others requist ,
i think version 3 will be more and more than perfect
I hope it will :)
I have so little free time at present. Producing a new release is a major piece of work in order to test all the combinations. So I am trying to keep up with the support but have not done any more development since 2.2.8-post 1 was released.
Can you confirm - you want me to extend the synchronisation features as follows:
- one category will synchronise with a directory and all its subdirectories, rather than creating new subcategories for each subdirectory
- different templates for constructing the entry description
I wasn't sure what you meant by 'special template for category "show"' - do you mean you want the 'show what's new/what's hot/etc' commands to be able to use a different template?
AndrewD
11-18-2007, 06:05 AM
Anyway to get the downloads to show up on a seperate page? Thanks
Not sure I understand?
Andrew, I found a minor size problem with the flash-based plug-in. The VEOH video player is bigger than YouTube player, is there anyway to specific the size of player for YouTube and VEOH?
I tried to increased the size in plug-manager to make it suit VEOH but then I increased the size of ALL Youtube files. Any guide to overcome this problem would be great!
yahoooh
11-20-2007, 09:45 AM
I hope it will :)
I have so little free time at present. Producing a new release is a major piece of work in order to test all the combinations. So I am trying to keep up with the support but have not done any more development since 2.2.8-post 1 was released.
Can you confirm - you want me to extend the synchronisation features as follows:
- one category will synchronise with a directory and all its subdirectories, rather than creating new subcategories for each subdirectory
- different templates for constructing the entry description
yes
I wasn't sure what you meant by 'special template for category "show"' - do you mean you want the 'show what's new/what's hot/etc' commands to be able to use a different template?
i mean the links_linkbit ,so i can choose for category any one i want from the types of links_linkbit
also i hope that you make the ldm in folder other than forum ,so we can use subdomain for it
and option to make the navbar begin with ldm , forum home or url home
also adding great future that enable upload files in any vedio type like :wma,3gp,flv and publish it like youtube ,, there will be required some modules installed in server ofcourse but this will be grat feature to add
thank you for your great support , i suppose to make nominate for the best supporter in vbulletin.org and sure i will nominate u
thanks
obmob
11-20-2007, 04:14 PM
The best gallery i've known is 4homeapges, 4image has an incredible way to synch files... of course, i'm not a coder, so i've no ide if that would be useful for you Andrew. :p
Maybe you can take a look at it and see how that works.
http://www.4homepages.de/
You think we can have a plugin to show latest uploads in a box below or above the categories? :D
http://demo.4homepages.de/?l=english
An maybe also a random box!
thanks
moon_spell
11-22-2007, 05:16 PM
wow installed but i dont know how to activate and use enhancements in Extras & development?! for example i would like to use tv channels or gallery ! how to install and manage them ?
thx
AndrewD
11-22-2007, 05:54 PM
Andrew, I found a minor size problem with the flash-based plug-in. The VEOH video player is bigger than YouTube player, is there anyway to specific the size of player for YouTube and VEOH?
I tried to increased the size in plug-manager to make it suit VEOH but then I increased the size of ALL Youtube files. Any guide to overcome this problem would be great!
I'm not sure why these sites are displaying at different sizes.
Anyway, as you discovered, by default all the flash players are set up to display at the size configured in *flash_sites_plugin.xml*, i.e. at 480x360.
You can change this on a per-player basis by editin the file includes/local_links_flashsites.php.
You'll find a series of declarations, such as the following for Veoh:
"Veoh" => array(
"pattern" => "#http://www.veoh.com/videos/([a-z0-9]*)#i",
"replace" => "$1",
"iconpattern" => "#www.veoh.com/videos#",
"icon" => "flv",
"recordhitnow" => 1,
"template" => '
<embed
src="http://www.veoh.com/videodetails.swf?permalinkId=$url&id=1&player=videodetails&videoAutoPlay=0"
width="$player_width"
height="$player_height"
bgcolor="#000000"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
',
),
Change statements like
width="$player_width"
height="$player_height"
replacing $player_height and $player_width as you wish.
AndrewD
11-22-2007, 05:58 PM
wow installed but i dont know how to activate and use enhancements in Extras & development?! for example i would like to use tv channels or gallery ! how to install and manage them ?
thx
You should ignore the development directory unless you are really keen - it contains the raw templates, phrases, etc, used to build the main product installer.
For each of the extras, there is a 'readme.txt' file in the subdirectory, which explains how to install it. In most cases, you do this by uploading the extra's xml file using vbulletin/admincp/products and plugins/download and upload plugin.
Veoh format is 540x438, they allow more resolution and unlimited file size, I guess that's why the different in window player.
I found and fixed it perfectly, thank you so much.
hotwheels
11-23-2007, 07:28 PM
Can someone tell me how to play .flv movies..........i don't feel like reading all the posts....thanks
AndrewD
11-24-2007, 04:42 AM
Can someone tell me how to play .flv movies..........i don't feel like reading all the posts....thanks
Install LDM's JWPlayer addon, included in the release/extras directory.
Make sure you've defined mimetype information for flv in the vbulletin attachments table, or use the LDM add-mimetype addon to do this for you.
hotwheels
11-24-2007, 10:47 AM
Okay, i added the jwplayer......but i didn't add the mimetype......I will do that today and see how it goes....
Thanks for the quick reply andrew......
hotwheels
General_
11-25-2007, 02:04 PM
Hi Andrew,
is there a possibility to ban a group from LDM completly?
So the members of this group just see the vbulletin message when trying to enter ldm.php ?
Thanks!
AndrewD
11-25-2007, 03:09 PM
Hi Andrew,
is there a possibility to ban a group from LDM completly?
So the members of this group just see the vbulletin message when trying to enter ldm.php ?
Thanks!
Easiest wasy is with a short plugin, see http://www.eirma.org/wikis/index.php/LDM_Permissions#Blocking_all_access_to_LDM
General_
11-25-2007, 04:18 PM
Easiest wasy is with a short plugin, see http://www.eirma.org/wikis/index.php/LDM_Permissions#Blocking_all_access_to_LDM
Great, Thank you!!
femsawyer
11-26-2007, 07:02 PM
I recently upgraded my forums from 3.07 to 3.6.8 and the ldm from version 1.6 to 2.2.8
I'm having a problems with being able to edit an entry - even entries that I've submitted. I'm getting 2 different results on 2 different computers both of which using Firefox, so I'm not sure where the problem lies.
On one computer, when I click on the edit icon, a box pops up wanting me to save local_links.php
On the other one, it takes me to a blank page
What could be the cause of this?
GrendelKhan{TSU
11-27-2007, 12:45 AM
hey hey long time over here. :)
ok weird problem/bug
1. no matter what I do I can't get the enlarged original pic to work. it worked once and used to work long time ago, but ever since the last few updates: LDM posts the thumbs, but no magnifying glass and no full size image (which is too bad as that was good seo for me :( )
I haven't made any template edits or extra mod (all via ldm admin)
any ideas what could be causing the problem?
2. also, found a bug.... once you choose "only for this category" for an upload... you can't get it back to "for all categories".
ps. that said, LDM is still add-on leet PWNAGE!! andrew still has best support and mod around :)
AndrewD
11-27-2007, 04:00 AM
I recently upgraded my forums from 3.07 to 3.6.8 and the ldm from version 1.6 to 2.2.8
I'm having a problems with being able to edit an entry - even entries that I've submitted. I'm getting 2 different results on 2 different computers both of which using Firefox, so I'm not sure where the problem lies.
On one computer, when I click on the edit icon, a box pops up wanting me to save local_links.php
On the other one, it takes me to a blank page
What could be the cause of this?
I haven't tried an upgrade across so large a range of vb/ldm for some time, so I don't know what is going wrong. I'll try to rebuild a vb3.0.7 database to investigate this.
Although this is almost certainly not the underlying problem, since you are getting different results on different pcs, have you tried flushing the browser cache and have you tried with different browsers.
AndrewD
11-27-2007, 04:19 AM
Welcome back!
hey hey long time over here. :)
ok weird problem/bug
1. no matter what I do I can't get the enlarged original pic to work. it worked once and used to work long time ago, but ever since the last few updates: LDM posts the thumbs, but no magnifying glass and no full size image (which is too bad as that was good seo for me :( )
I haven't made any template edits or extra mod (all via ldm admin)
any ideas what could be causing the problem?
Which linkbit are you using? If you are using the standard (Modern) linkbit, check that these lines appear about 20 lines into the links_linkbit template
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
Also check that the links_imgmag template exists and looks like this:
<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>
2. also, found a bug.... once you choose "only for this category" for an upload... you can't get it back to "for all categories".
You means the 'display order' setting? I can't reproduce this problem.
Alfa1
11-27-2007, 06:45 PM
I have successfully installed 2.2.8 on vb 3.6.8. After that I imported my database. (New server)
Now I get this error:
The following setting(s) are invalid
upload_dir : /forum/links/downloads/
Cannot access or create directory /forum/links/downloads/ [/var/www/html/forum/links/downloads/forum/links/downloads/]
The path to the download DIR is /domains/mydomain/public_html/forum/links
I tried entering the full path into upload_dir but that doesn't help. Please advise.
auddi
11-28-2007, 12:03 AM
when i enabled upload feature, and tried to create an entry using uploading file, i get:
Upload error - unable to move the uploaded file on server.
What could this problem be? The file upload dir has 777 perm. Where is LDM trying to move the file to? Thanks.
auddi
11-28-2007, 12:13 AM
I have successfully installed 2.2.8 on vb 3.6.8. After that I imported my database. (New server)
Now I get this error:
The path to the download DIR is /domains/mydomain/public_html/forum/links
I tried entering the full path into upload_dir but that doesn't help. Please advise.
you need to make the dir's perm 777.
femsawyer
11-28-2007, 12:18 AM
I haven't tried an upgrade across so large a range of vb/ldm for some time, so I don't know what is going wrong. I'll try to rebuild a vb3.0.7 database to investigate this.
Although this is almost certainly not the underlying problem, since you are getting different results on different pcs, have you tried flushing the browser cache and have you tried with different browsers.
I tried with IE which I haven't used in months, cleared the cache anyway and when I click on the edit button, I get a IE cannot display the webpage.
AndrewD
11-28-2007, 04:27 AM
when i enabled upload feature, and tried to create an entry using uploading file, i get:
Upload error - unable to move the uploaded file on server.
What could this problem be? The file upload dir has 777 perm. Where is LDM trying to move the file to? Thanks.
Uploads are placed in a temporary directory by the server/php system, then moved by LDM to the directory you have specified. The error message comes from the system function that is trying to do this file move.
I thought that I had coded all the necessary checks on this - but
- Is your server running php in safe mode.
- Does your server have restrictions on the php open_basedir
(You can check both of these on the left column of the main LDM admin pages)
AndrewD
11-28-2007, 04:32 AM
I tried with IE which I haven't used in months, cleared the cache anyway and when I click on the edit button, I get a IE cannot display the webpage.
OK. Sorry about this.
I cannot quickly check this upgrade from vb 3.0.x, as it requires me to reinstall sql 4. I can try this at the weekend.
Alternatively, you might let me check your site - in which case, send me a PM with details and an account with vb admin privs.
Alfa1
11-28-2007, 12:32 PM
Never mind. I found the problem and fixed it.
femsawyer
11-28-2007, 02:51 PM
OK. Sorry about this.
I cannot quickly check this upgrade from vb 3.0.x, as it requires me to reinstall sql 4. I can try this at the weekend.
Alternatively, you might let me check your site - in which case, send me a PM with details and an account with vb admin privs.
Actually, I just found this happening elsewhere in the new upgrade to 3.6.8 so I'm thinking that this might be an issue with my vb upgrade and not ldm. I'll get back to you as soon as I figure it out.
Thanks for being ready to jump right on it though!
auddi
11-28-2007, 02:51 PM
Uploads are placed in a temporary directory by the server/php system, then moved by LDM to the directory you have specified. The error message comes from the system function that is trying to do this file move.
I thought that I had coded all the necessary checks on this - but
- Is your server running php in safe mode.
- Does your server have restrictions on the php open_basedir
(You can check both of these on the left column of the main LDM admin pages)
Thanks a lot AndrewD.
> Is your server running php in safe mode.
Yes
> Does your server have restrictions on the php open_basedir
how to find this?
The LDM admin panel says:
local_file_root Website
local_file_root_prefix
not set
File uploads Enabled
upload_dir
/vbb_ldm_upload
thumbs_dir
not set
file_icons_dir
not set
PHP
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir /home/httpd/vhosts/bcsq.org/httpdocs: /tmp
post_max_size 8M
upload_max_filesize 2M
i just created a dir named tmp on the server root
/home/httpd/vhosts/bcsq.org/httpdocs
and set its perm to 777.
However, still getting the error.
our site is:
http://bcsq.org/vbb/
Part of our need is for the site to serve as a file pool, so any users can upload files into a pool and downlad with search titles, description, etc.
We'd appreciate any hint you can give. Thanks.
Alfa1
11-28-2007, 03:01 PM
My LDM works now, but somehow LDM can not find the files. It displays all categories and lists all files correctly. LDM displays thumbs. When I click a link that leads to a external file (like a movie on youtube for example), then that works perfectly. But when I click on a link that should lead to a file on my server, then that does not work. LDM gives the message: "Sorry - link is not currently available"
I have checked the download folder and it is correct. All files that should be in there, are in there.
What am I doing wrong?
AndrewD
11-28-2007, 04:19 PM
Actually, I just found this happening elsewhere in the new upgrade to 3.6.8 so I'm thinking that this might be an issue with my vb upgrade and not ldm. I'll get back to you as soon as I figure it out.
Thanks for being ready to jump right on it though!
Just to let you know - I rebuilt LDM 1.6 on vb 3.0.7/mysql4 and ran through a complete single step upgrade to vb 3.6.8/ldm 2.2.8. Everything works fine.
When you get blank screens with vb 3.6, you should go to the main vb/admicp/options/cookies and http headers and turn off gzip compression. That way, if there's a site error message, you'll get to see it.
AndrewD
11-28-2007, 04:21 PM
Thanks a lot AndrewD.
> Is your server running php in safe mode.
Yes
Part of our need is for the site to serve as a file pool, so any users can upload files into a pool and downlad with search titles, description, etc.
We'd appreciate any hint you can give. Thanks.
The problem is almost certainly that you are running in safe mode. Uploads are very hard to get working (not sure if it's even possible) with this in force.
AndrewD
11-28-2007, 04:22 PM
My LDM works now, but somehow LDM can not find the files. It displays all categories and lists all files correctly. LDM displays thumbs. When I click a link that leads to a external file (like a movie on youtube for example), then that works perfectly. But when I click on a link that should lead to a file on my server, then that does not work. LDM gives the message: "Sorry - link is not currently available"
I have checked the download folder and it is correct. All files that should be in there, are in there.
What am I doing wrong?
Did you have local_file_root and local_file_root prefix set on your old server, and have they been set to the same values on the new server?
For local files, the database stores the file location relative to these two settings.
Alfa1
11-28-2007, 05:20 PM
Did you have local_file_root and local_file_root prefix set on your old server, and have they been set to the same values on the new server?
For local files, the database stores the file location relative to these two settings.
Old server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/
New server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/
Both local_file_root_prefix are correct, though my new server does not have a normal url yet, but is using IP~mydomain.com/
http://35.125.65.123~mydomain.com/forum/links/downloads
Can this have an adverse effect?
I do not know if local_file_root website is correct for the new server, as I don't understand the meaning.
Andrew, I'd love to have a small window player that pull randomly, or manually choosing from categories that I like (youtube supported.) Right now the only way to do it, I guess, it pass directly the YouTube HTML code to LDM front page template.
I don't see the New and Most Popular column like previous version, may be you have made those features become Add-on?
AndrewD
11-28-2007, 08:25 PM
Old server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/
New server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/
Both local_file_root_prefix are correct, though my new server does not have a normal url yet, but is using IP~mydomain.com/
http://35.125.65.123~mydomain.com/forum/links/downloads
Can this have an adverse effect?
I do not know if local_file_root website is correct for the new server, as I don't understand the meaning.
The temporary IP based address is almost certainly your problem. LDM tries to find local files by concatenating a series of settings on the front of the file name you have specified. I suspect that it is getting the wrong result because it has probably missed out /~mydomain.com from the middle. You can try this by editing local_file_root_prefix and putting /~mydomain.com at the start.
If this doesn't work, as usual I'm happy to take a look.
JirQUEST
11-28-2007, 11:52 PM
I got this:
Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120
Latest LDM version with vB3.6.8 PL 2 :)
[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?
AndrewD
11-29-2007, 03:51 AM
I got this:
Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120
Latest LDM version with vB3.6.8 PL 2 :)
[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?
somebody else obviously had the same problem I had and found the same solution :)
edit includes/local_links_include.php. cache_styles appears three times - at about lines 1120, 1145 and 1157. Change each of them to, e.g., ldm_cache_styles. That should solve the problem. I'll fix this permanently in the next release.
JirQUEST
11-29-2007, 04:13 AM
Sweet as, dude. I love you! LOL.
GrendelKhan{TSU
11-30-2007, 04:22 AM
Welcome back!
Which linkbit are you using? If you are using the standard (Modern) linkbit, check that these lines appear about 20 lines into the links_linkbit template
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
Also check that the links_imgmag template exists and looks like this:
<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>
You means the 'display order' setting? I can't reproduce this problem.
THANKS!! glad to be kickin again. been delving back into LDM recently. still a great tool and even better (imo) with the flashsite integration (again: request others like megavideo or a way for us to help add them for you as with the AME embedded video player :))
Yes, modern linkbit. EG: http://www.unrealaddicts.com/forums/admincp/template.php?s=&do=add&dostyleid=9&title=links_imgmag&group=all&searchstring=links_imgmag&expandset=all
Checked and all those codes are there. :( +_+
here's the exact code from both templates:
link_linkbit:
<tr id="linkid$linkid">
<td colspan="2">
<fieldset class="fieldset">
<legend>
<strong>
<if condition="$linknew">$linknew</if>
$linktypebit
$linkurljump
</strong>
$linkurlextra
<if condition="$linksavebit">$linkurlsave</if>
<if condition="$linkraters"><img src="$stylevar[imgdir_rating]/rating_$linkrate.gif" border="0" alt="$linkrate *" /></if>
<if condition="$links_permissions['can_view_hidden']"><if condition="$linkexpired>0"><span class="highlight">$vbphrase[ll_expired] </span><else /><if condition="$linkexpired<0"><span class="highlight">$vbphrase[ll_notyetvisible] </span></if></if></if>
<if condition="$linkstatus==$LINK_HIDDEN"><span class="highlight">$vbphrase[ll_hidden_entry] </span></if>
</legend>
<div style="margin-top:3px">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]">
$linkimgjump
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
</td>
<td width="5"> </td>
</if>
<td valign="middle" align="$stylevar[left]">
<span class="smallfont">
$linkdesc
<if condition="$showcatname"><br /><br />$vbphrase[ll_cat] $linkothercatsbit<else />
<if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>
</if>
</span>
</td>
<td width="5"> </td>
<td width="30%">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<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&catid=$linkc atid&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&linkid=$linkid &catid=$viewcatid&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]">
<div class="smallfont">
<if condition="$links_defaults['enable_doi'] and $linkdoi">$vbphrase[ll_doi] $linkdoi<br /></if>
<if condition="$links_permissions['can_view_names']">$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a>
<a href="$SEARCH_SCRIPT.php?action=show&userid=$linkuserid& sort=d" title="$vbphrase[ll_find_others]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_find_others]" /><else />[?]</if>
</a>
<br /></if>
<if condition="$linkmoderate==$LINK_TO_MODERATE and ($links_permissions['can_moderate_links'] or $links_permissions['can_moderate_forums'])">[<a href="$ACTION_SCRIPT.php?action=domod&catid=$viewcatid" title="$vbphrase[ll_moderate]">$vbphrase[ll_moderate]</a>]<br /></if>
$linkdate <if condition="$expire and !$linkexpired"><phrase 1="$linkdateexp">$vbphrase[ll_expires_on]</phrase></if>
<if condition="$links_permissions['can_view_hits']"><br />
$vbphrase[ll_hits] $linkhits
<if condition="$links_permissions['can_admin_links'] and $linkhits"><a href="$ADMIN_SCRIPT.php?set=logjumps&todo=1&startint=0&l inkid=$linkid" title="$vbphrase[ll_viewhits]"><if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_viewhits]" /><else />[?]</if></a></if>
</if>
<if condition="$linksize"><br />$linksize</if>
<if condition="!$linkstatus"><br />[$vbphrase[ll_unknown_status]]</if>
<if condition="$links_permissions['can_set_display_order']"><br />$vbphrase[ll_displayorder] $thisorder</if>
<if condition="$links_permissions['can_edit_keyword']">
<br />
<div id="keys{$linkid}_1">
<a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 2, 2);">$vbphrase[ll_keywords]</a> $linkkeys
</div>
<div id="keys{$linkid}_2" style="display:none;" >
<form action="$ACTION_SCRIPT.php" method="post">
<table width="100%">
<tr><td align="$stylevar[right]">
<a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 1, 2);">$vbphrase[ll_keywords]</a>
</td><td align="center">
<div id="ldmkey$linkid">$linkkeysraw
<!-- <textarea id="ldmkey{$linkid}_txt" name="keywords" rows="1" cols="20">$linkkeysraw</textarea> -->
<input type="text" class="bginput" id="ldmkey{$linkid}_txt" name="keywords" value="$linkkeysraw" rows="1" size="20" />
</div>
<div class="vbmenu_popup" id="ldmkey{$linkid}_menu" style="display:none; z-index:50"></div>
<script type="text/javascript">
<!--
vbmenu_register('ldmkey{$linkid}', true);
recip_sugg{$linkid} = new ldm_AJAX_KeySuggest('recip_sugg{$linkid}', 'ldmkey{$linkid}_txt', 'ldmkey{$linkid}');
recip_sugg{$linkid}.allow_multiple = true;
//-->
</script>
</td><td align="$stylevar[left]">
<input type="hidden" name="action" value="doeditkeys" />
<input type="hidden" name="viewlinkid" value="$viewlinkid" />
<input type="hidden" name="linkid" value="$linkid" />
<input type="hidden" name="catid" value="$linkcatid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[ll_go]" />
</td></tr>
</table>
</form>
</div>
<else />
<if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>
</if>
</div>
</td>
<if condition="$links_permissions['can_view_names'] and $linkavatar"><td valign="top">$linkavatar</td></if>
</tr></table>
</fieldset>
</td>
</tr>
<if condition="$links_permissions['can_rate_link'] and $linkratebit">
<tr>
<td id="ratings$linkid" align="$stylevar[left]">
<if condition="$linkraters and $links_defaults['dropdown_comment_and_rate']"><script type="text/javascript"> vbmenu_register("ratings$linkid"); </script> </if>
<span class="smallfont">
$linkratebit
</span>
</td>
</tr>
<!--$linkid::rate-->
</if>
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
links_imgmag temp
<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>
its weird..dunno know why they don't work. it just stopped working one day. :( which sux as I was getting great SEO hits from the images (even with the mod_rewrite which I have yet to get to work grrrrr).
and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)
if you want I can get you admin access to check it out.
AndrewD
11-30-2007, 04:22 PM
and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)
See PM for remarks on your magnifying glass problem.
You can mass edit category and display order with LDM/admin/categories/mass edit
Kingster
12-02-2007, 03:02 AM
Also I'd quite like to see FTP upload with a Progress Bar. I've got people trying to upload 200mb sets but it just times out on them after an hour or so. So it'd be nice to see how long you have left to upload with a nice progress bar etc :)
Yes, I know what you mean... I gave this som ethought before - probably the easiest and most robust solution is to offer an optional addon to one of the Java uploader scripts
Any word on an FTP upload add-on, Andrew? I've got users that have some massive files UT/UT2K4/UT3 maps and map packs) that I want to be able to utilize your manager...
Ipuck
12-03-2007, 10:59 PM
Hello AndrewD
I'm trying to link an external .zip file, but is not accepting the link. If a copy the link address to the web browser address bar the link works, but when I added to the LDM doesn't work. I also have a .rar file in the same folder and that one works OK. The files name is the same, the only difference is that one is .rar and the other one .zip. Any ideas?
Thanks
Dear Andrew, I think there is a problem with visible link setup on 2.2.8 post 1.
I set up Category A with standard LDM link protection, and subcategory B under category A with setting 2 (link location visible, this is to avoid the double bandwidth load). However, when I play the file under category B, I can't see the real location of the remote server. The link is still hidden.
Did I do anything wrong?
derfelix
12-04-2007, 09:56 AM
I did a couple of searches.. and looked through 50 of the 181 pages.. but did not find an answer to my problem..
Setup as simple link directory.. everything works fine..
but if an image is added in the description for http://mysiteone.com , and the imageurl is http://mysiteone.com/image1.jpg
It seems to work fine... image shows up... i can also post a link only to that image...
But if you do a search.. for mysiteone then the url to that image gets completely broken.. because the word "mysiteone" is highlighted in the text..
so the sourcecode of the page is:
case image:
<img src="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" border="0" alt="" />
case link:
<a href="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" target="_blank">http://www.<span class="highlight">mysiteone</span>.com/image1.jpg</a>
Probably hapened to others also.. but i can find a fix nowhere....
Thanx for a reply
Felix
Vinyljunky
12-04-2007, 12:20 PM
Hello,
Im currently running LDM 2.2.7 on VB 3.6.7.PL1 with no issues. Im considering upgrading to LDM 2.2.8 as I dont want to fall behind too much.
My questions are:
a) Will my current attachments be imported (will I loose them?)
b) Do I need to update?
oh and Andrew Many Thanks for a great mod!
VinylJunky
AndrewD
12-04-2007, 03:22 PM
I did a couple of searches.. and looked through 50 of the 181 pages.. but did not find an answer to my problem..
Setup as simple link directory.. everything works fine..
but if an image is added in the description for http://mysiteone.com , and the imageurl is http://mysiteone.com/image1.jpg
It seems to work fine... image shows up... i can also post a link only to that image...
But if you do a search.. for mysiteone then the url to that image gets completely broken.. because the word "mysiteone" is highlighted in the text..
so the sourcecode of the page is:
case image:
<img src="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" border="0" alt="" />
case link:
<a href="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" target="_blank">http://www.<span class="highlight">mysiteone</span>.com/image1.jpg</a>
Probably hapened to others also.. but i can find a fix nowhere....
Thanx for a reply
Felix
Thanks for this report - actually it's always been there and noone has reported it before. I'll work out a fix.
AndrewD
12-04-2007, 03:26 PM
Dear Andrew, I think there is a problem with visible link setup on 2.2.8 post 1.
I set up Category A with standard LDM link protection, and subcategory B under category A with setting 2 (link location visible, this is to avoid the double bandwidth load). However, when I play the file under category B, I can't see the real location of the remote server. The link is still hidden.
Did I do anything wrong?
I can't reproduce this bug. I did what you described - put an entry in two categories, with force_redirect set to 0 in one category and 2 in the other. The link is cloaked in the first category and visible in the second.
Maybe I'm missing something in your explanation?
AndrewD
12-04-2007, 03:32 PM
Hello AndrewD
I'm trying to link an external .zip file, but is not accepting the link. If a copy the link address to the web browser address bar the link works, but when I added to the LDM doesn't work. I also have a .rar file in the same folder and that one works OK. The files name is the same, the only difference is that one is .rar and the other one .zip. Any ideas?
Thanks
I can't see any difference in the code's link checking for different file types. Can you send me a PM with examples of zip and rar file links?
Thanks
AndrewD
12-04-2007, 03:34 PM
Hello,
Im currently running LDM 2.2.7 on VB 3.6.7.PL1 with no issues. Im considering upgrading to LDM 2.2.8 as I dont want to fall behind too much.
My questions are:
a) Will my current attachments be imported (will I loose them?)
b) Do I need to update?
oh and Andrew Many Thanks for a great mod!
VinylJunky
There's no need to update, but there's also no problem in updating - you won't lose anything. But I always recommend a database backup when you make major changes.
AndrewD
12-04-2007, 03:35 PM
Any word on an FTP upload add-on, Andrew? I've got users that have some massive files UT/UT2K4/UT3 maps and map packs) that I want to be able to utilize your manager...
I'm taking a look at a flash based (i.e. java based) uploader. These can reliably handle large uploads with progress bars. The only point to bear in mind (assuming it proves possible to integrate) is that these uploaders are not free - you will have to buy a licence.
derfelix
12-04-2007, 04:01 PM
Thanks for this report - actually it's always been there and noone has reported it before. I'll work out a fix.
Wonderful.. :cool:
Thx a bunch
Felix
I can't reproduce this bug. I did what you described - put an entry in two categories, with force_redirect set to 0 in one category and 2 in the other. The link is cloaked in the first category and visible in the second.
Maybe I'm missing something in your explanation?
I've PMed you the link to take a look.
Kingster
12-04-2007, 07:54 PM
I'm taking a look at a flash based (i.e. java based) uploader. These can reliably handle large uploads with progress bars. The only point to bear in mind (assuming it proves possible to integrate) is that these uploaders are not free - you will have to buy a licence.
Which ones are you looking at, AndrewD? Less than say, $40? Anytime soon?
Here's a freebie for a Flash-based file uploader...
Alfa1
12-07-2007, 12:08 PM
I would like to display the latest video in LDM on my vbadvanced portal. There already is a flash sites addon for LDM and there is a LDM latest files add-on for vbadvanced.
Basically what I need is code to fetch the embed code of the latest entry added to a category of LDM.
To illustrate what I need, see Glorify's site (http://www.glorifythepast.com/). See the embedded video's on the right.
Glorify has used the embed code to display the videos in vbadvanced. I want to display the latest video from LDM on my portal in the same way.
This would be a great add on to supply in LDM's extra's IMHO.
solidlink
12-11-2007, 05:18 PM
Solved, thanks
solidlink
12-12-2007, 08:33 AM
Upload error - unable to create a user subdirectory on server
How do I rectify this error?
solidlink
12-12-2007, 08:45 AM
Can this be configured to tie a specific file to a user's account? Such that the play is not openly displayed but is held on the server... only when a user needs to show/send the link to another user then it is displayed?
AndrewD
12-12-2007, 09:49 AM
Upload error - unable to create a user subdirectory on server
How do I rectify this error?
LDM keeps each user's uploads in a separate subdirectory within the *upload_dir* you specified on the LDM admin settings page. It gives you this error if it cannot create the subdirectory. Either you haven't given the parent directory the right permissions (unix mode 777) or there is some other setting which prevents LDM for creating directories. As far as I know, the php settings *open_basedir* and *safe_mode* are the usual culprits, but problems with these would be flagged on the LDM/admin/settings page.
Get back to me if these suggestions don't help.
AndrewD
12-12-2007, 09:51 AM
Can this be configured to tie a specific file to a user's account? Such that the play is not openly displayed but is held on the server... only when a user needs to show/send the link to another user then it is displayed?
Take a look at the *hide_entry* setting on the edit entry page. Is this adequate?
dawn100
12-13-2007, 01:26 PM
Hi Andrew!
Thank you *so much* for this mod! It is so easy to use, even for newbies like me!
One question- can the favorites/featured sites be used with the regular VB, or do I need to have the enhanced version? I would prefer to integrate this feature on my home page, but could do it on my gallery page instead.
thanks!
AndrewD
12-13-2007, 04:14 PM
Hi Andrew!
Thank you *so much* for this mod! It is so easy to use, even for newbies like me!
One question- can the favorites/featured sites be used with the regular VB, or do I need to have the enhanced version? I would prefer to integrate this feature on my home page, but could do it on my gallery page instead.
thanks!
thanks - glad you found it easy to use.
I'm not sure what you mean by regular/enhanced vbulletin? Are you running vbadvanced? There isn't a vbadvanced module for handling favourites/featured sites, although it would not be hard to add this.
dawn100
12-13-2007, 04:21 PM
thanks - glad you found it easy to use.
I'm not sure what you mean by regular/enhanced vbulletin? Are you running vbadvanced? There isn't a vbadvanced module for handling favourites/featured sites, although it would not be hard to add this.
Sorry, I meant vbadvanced. :o I am not running it- just 3.6.8 patch lvl 2. If that handles the favorites/featured site, could you tell me how to install/manage it (or point me to a thread or where in wiki it is discussed)?
thanks!!
AndrewD
12-14-2007, 04:08 AM
Sorry, I meant vbadvanced. :o I am not running it- just 3.6.8 patch lvl 2. If that handles the favorites/featured site, could you tell me how to install/manage it (or point me to a thread or where in wiki it is discussed)?
thanks!!
If you can wait a few days until the Christmas break, I will gladly explain/help you get things running.
Rouzbeh1
12-14-2007, 01:17 PM
Hi Andrew,
i have a problem with cache_style redeclaration when i enable vb Ad Management 4.x
It's a conflict with the links and downloads manager modification. I don't know if the problem is with his modification or mine, but he did say he would solve the conflict in his next release.
just wanted to report it here too and ask howlong it would take to fix this....
btw. will LDM be available for vb3.7?
thanks in advance
dawn100
12-14-2007, 01:51 PM
If you can wait a few days until the Christmas break, I will gladly explain/help you get things running.
Whenever you have time, I will be ready!
thanks so much!!
AndrewD
12-14-2007, 02:27 PM
Hi Andrew,
i have a problem with cache_style redeclaration when i enable vb Ad Management 4.x
just wanted to report it here too and ask howlong it would take to fix this....
btw. will LDM be available for vb3.7?
thanks in advance
This was already reported - it's a trivial fix - edit includes/local_links_include.php and find three mentions of *cache_styles*
- line 1120
- line 1145
- line 1157
change *cache_styles* to *ldm_cache_styles*
I expect that any changes for vb 3.7 will be minor, and do plan to support this, but must wait to see the code.
Alfa1
12-14-2007, 09:25 PM
Some members are experiencing this error with ldm_new.php:
Fatal error: Call to undefined function fetch_unallowed_forums() in /home/mysite/domains/mydomain.com/public_html/forum/modules/ldm_new.php on line 15
I have checked the cat id's listed, but all catID's seem fine.
Here is line 15:
$limitfids = fetch_unallowed_forums(array($vbulletin->bf_ugp_forumpermissions['canview'], $vbulletin->bf_ugp_forumpermissions['canviewothers']));
I assume that this is a member group permissions problem.
How can I fix this?
pspcrazy
12-14-2007, 11:48 PM
Andrew is there any way we can get the actual downloads to be on their own page? Like for instance they click the link or picture and instead of downloading it sends them to the download's OWN page vs it being a instant download type thing.
Like for instance it only shows the first 50 characters on the category page of the description, and then it shows the full description in it's own page with possibly a larger image, and the download link is in it's own page vs on a page with all the downloads for it's category.
Rouzbeh1
12-15-2007, 01:03 AM
This was already reported - it's a trivial fix - edit includes/local_links_include.php and find three mentions of *cache_styles*
- line 1120
- line 1145
- line 1157
change *cache_styles* to *ldm_cache_styles*
I expect that any changes for vb 3.7 will be minor, and do plan to support this, but must wait to see the code.
thanks for the fix and also for good news about this product being supported on 3.7 ;)
AndrewD
12-15-2007, 05:16 AM
Andrew is there any way we can get the actual downloads to be on their own page? Like for instance they click the link or picture and instead of downloading it sends them to the download's OWN page vs it being a instant download type thing.
Like for instance it only shows the first 50 characters on the category page of the description, and then it shows the full description in it's own page with possibly a larger image, and the download link is in it's own page vs on a page with all the downloads for it's category.
You can set the category linkbit (-> category -> edit category -> control settings) to use, e.g. the photo or title plus thumb linkbit. Set the template altbit to be, e.g. the modern linkbit. Then, you will get a page layout of category entries and when you select one, you will be taken to a page with only that entry shown.
As far as I recall, there is not the possibility of having a trimmed version of the text on the first page - this is something that I had been asked to add in the next release.
AndrewD
12-15-2007, 05:21 AM
Some members are experiencing this error with ldm_new.php:
I have checked the cat id's listed, but all catID's seem fine.
Here is line 15:
$limitfids = fetch_unallowed_forums(array($vbulletin->bf_ugp_forumpermissions['canview'], $vbulletin->bf_ugp_forumpermissions['canviewothers']));
I assume that this is a member group permissions problem.
How can I fix this?
Which version of LDM are you using - 2.2.8? It looks as if you're still running the 2.2.7 version of the ldm_new vba module.
maroceve
12-15-2007, 11:46 AM
Yup applied the php changes....fixed hte problem.
Thanks
Alfa1
12-15-2007, 12:01 PM
Yes, I am using LDM 2.2.8
I just deleted the ldm_new.php and imported the module again. This worked. The error is now gone and modules are working for all member groups.
But what should be links is showing up as plain text (no link). And this differs per member group: Guests just only see text, while admins see on text line and the rest links.
I assume this has to do with permissions: guests can not access links to files, so links to entries and comments in LDM are not displayed either on LDM_new? The rest of LDM does show links to entries and comments to guests.
That admins can not see the first link, but text instead is strange, but i guess this is due to the permissions being overridden by the parent forum. What do I need to change in the permissions of the parent forum to fix this?
On another note: How do I display moderators of each section of LDM?
AndrewD
12-15-2007, 02:27 PM
Yes, I am using LDM 2.2.8
I just deleted the ldm_new.php and imported the module again. This worked. The error is now gone and modules are working for all member groups.
But what should be links is showing up as plain text (no link). And this differs per member group: Guests just only see text, while admins see on text line and the rest links.
I assume this has to do with permissions: guests can not access links to files, so links to entries and comments in LDM are not displayed either on LDM_new? The rest of LDM does show links to entries and comments to guests.
That admins can not see the first link, but text instead is strange, but i guess this is due to the permissions being overridden by the parent forum. What do I need to change in the permissions of the parent forum to fix this?
It's also related to whether the link is live or broken. If LDM thinks the url is broken, then the ldm_new module shows just the title text.
On another note: How do I display moderators of each section of LDM?
This would require a bit of coding. The permission can be picked up in two ways - from LDM's own *can_moderate_links* permission (which is set on a per-usergroup basis) and from the vbulletin forum moderators for the associated forum (if any). LDM already works out whether the current user is allowed to moderate in the category she's viewing, but doesn't keep a full list of all the users who have this permission.
Alfa1
12-15-2007, 02:53 PM
It's also related to whether the link is live or broken. If LDM thinks the url is broken, then the ldm_new module shows just the title text.
That explains quite a lot. Since i just moved servers, the most newest file was not moved along.
This would require a bit of coding. The permission can be picked up in two ways - from LDM's own *can_moderate_links* permission (which is set on a per-usergroup basis) and from the vbulletin forum moderators for the associated forum (if any). LDM already works out whether the current user is allowed to moderate in the category she's viewing, but doesn't keep a full list of all the users who have this permission.
My coding team is currently working on other add-ons for LDM. Could you please add this function to LDM?
How can I add a LDM column to showgroups.php (Show forum leaders) to display which LDM categories staff moderates?
nyunyu
12-15-2007, 05:37 PM
I just loved this hack.
Being using it since my first vb board 3.0.6
Im thinking if you could provide speed limiting or bandwidth limit for certain usergroup.
Im using this hack to server downloads to my members.
User with below X posts will not be able to download.
So far, it works..but im thinking to make a more robust rules.
example:
User below 30 post will not be able to download.
User below 100 post will have their download capped at 70kbps
User below 300 post will have their download capped at 150kbps
User who has more than 300 posts will have normal download speed.
Also, I want to be able to restrict the download for XX amount of connection for certain group
and for donators/paid members they can use unlimited connection.
Plus, why is it download manager cannot be used with downloads? is it because of server settings?
Is it possible to do this? If not, what can I implement to make this possible?
Do I need to tweak my server setting?
pspcrazy
12-15-2007, 09:27 PM
Thanks for that andrew d i tried some out and there good but no where near what i need. Like for instance if it can be the SAME at modern , but when you click on it it opens op another page kind of like (that's a gallery so ignore all that useless info lol):
http://forums.pspcrazy.com/forums/photoplog/index.php?n=209
So users can see comments about it on that page, the file, possibly the full out description and a larger thumb(if doable that's optional). Anyway I can pull that type of thing would be awesome.
Shanj
12-16-2007, 01:15 AM
Andrew
Am trying to contain impatience til I have time to install this and enjoy it! Not much longer. Just need to install the 3.7beta and try it out this week on a second site.
Meanwhile would it be possible to set visibility by usergroup?
That is have a section of my Library for usergroup1 another for usergroup2 - each group can see their own sector + the open areas for all members
usergroup mods can see all
some open area Library visible to all members?
Categories inside each of the restricted access areas.
In replying please speak slowly in a clear voice! I am not a coder.
nyunyu
12-16-2007, 04:16 AM
Thanks for that andrew d i tried some out and there good but no where near what i need. Like for instance if it can be the SAME at modern , but when you click on it it opens op another page kind of like (that's a gallery so ignore all that useless info lol):
http://forums.pspcrazy.com/forums/photoplog/index.php?n=209
So users can see comments about it on that page, the file, possibly the full out description and a larger thumb(if doable that's optional). Anyway I can pull that type of thing would be awesome.
pspcrazy, i just went to your site. looks like on your today's post, the link show me which forum are exempted
this is your link http://forums.pspcrazy.com/forums/search/get-todays-posts/&exclude=64,294,268,229,291,293,292,230,76,60,224,2 70,67,68
is it because vbseo? might want to check on it.
pspcrazy
12-16-2007, 05:04 AM
nope i just manually removed it lol. Theres a way to do it using some ?exclude or something you can search it up. I use it on my other site AnimeCrazy.net as well :)
Oh and andrew I found out that you have something like it atm, but not really emphasized:
http://forums.pspcrazy.com/forums/local_links.php?action=ratelink&linkid=314&catid=21&lpage=1
it covers all the features I want :) all we need now is someway to force the listing on the category page to now to not autodownload, instead to link to that page. The design on the thumb + short feels a bit too empty imo, that's why i prefer it this way. If you can in the next version odd a new way to have them show that would rock.
AndrewD
12-16-2007, 09:33 AM
I just loved this hack.
Being using it since my first vb board 3.0.6
Im thinking if you could provide speed limiting or bandwidth limit for certain usergroup.
Im using this hack to server downloads to my members.
User with below X posts will not be able to download.
So far, it works..but im thinking to make a more robust rules.
example:
User below 30 post will not be able to download.
User below 100 post will have their download capped at 70kbps
User below 300 post will have their download capped at 150kbps
User who has more than 300 posts will have normal download speed.
I don't think it is a good idea to implement this within LDM, but I will put it on the 'to think about list'. Most of the responsibility for transferring a file is actually handled by the web server. LDM passes the content to the server. To change this, I would end up rewriting a substantial part of the server code or makeing some big assumptions about the server modules installed on the site.
Also, I want to be able to restrict the download for XX amount of connection for certain group
and for donators/paid members they can use unlimited connection.
Have you tried LDM/admin/allowances?
Plus, why is it download manager cannot be used with downloads? is it because of server settings?
Is it possible to do this? If not, what can I implement to make this possible?
Do I need to tweak my server setting?
I don't understand your question - what downloads are not working? Have you got all the mimetypes set up correctly (see LDM wiki (http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager))
AndrewD
12-16-2007, 09:50 AM
Andrew
Am trying to contain impatience til I have time to install this and enjoy it! Not much longer. Just need to install the 3.7beta and try it out this week on a second site.
Meanwhile would it be possible to set visibility by usergroup?
That is have a section of my Library for usergroup1 another for usergroup2 - each group can see their own sector + the open areas for all members
usergroup mods can see all
some open area Library visible to all members?
Categories inside each of the restricted access areas.
In replying please speak slowly in a clear voice! I am not a coder.
Yes, this is possible and was built in from the start. Tries to speak slowly...
LDM 'piggy backs' on the vbulletin forums permissions system to decide who can see categories and entries. Each category and each entry can have an optional 'associated forum'.
If the category or entry has an associated forum, LDM will only show it to users who have 'can view forum' and 'can view others posts' permissions for that forum.
So, in order to make a section of your site available to usergroup 1, you must
- Choose (or create) a vbulletin forum and give the required permissions to usergroup 1 an dnot to other usergroups.
- Edit the LDM category/categories, and set the 'Parent Forum' to this category
This is explained in more detail in the LDM wiki.
katie hunter
12-16-2007, 10:04 AM
Hi AndrewD , nice hack but I am wondering is this hack like a link manger i mean some software can host upload on the server while other can be like a hack that holds a list of links of rapidshare , megaupload etc..
Ex:
Let say a member uploaded something on rapidshare.com, and he wants to submit that rapidshare link " url " to that hack. is this hack like that ?
AndrewD
12-16-2007, 10:22 AM
Hi AndrewD , nice hack but I am wondering is this hack like a link manger i mean some software can host upload on the server while other can be like a hack that holds a list of links of rapidshare , megaupload etc..
Ex:
Let say a member uploaded something on rapidshare.com, and he wants to submit that rapidshare link " url " to that hack. is this hack like that ?
This can do both - manage url links that you/your users submit, and manage downloads
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.