View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
12
13
Also, I'm running the VB links 2.0. hack on a 2.2.9 site. I'm upgrading to 3.6.4 and would like to upgrade to LDM as well. Is there a way to import or otherwise keep my links and categories while moving to LDM?
Looks like a great mod! Thanks.
Jake
AndrewD
01-08-2007, 03:41 AM
is it possible to have local_links.php and other files in its own directory?
i wish to have it like this: http://forum.com/forum/directory
so it is in its own directory subdirectory....
This is not something I have tested/set up. It's certainly possible but the code would need a bit of modification - I don't think it would be a lot.
AndrewD
01-08-2007, 03:43 AM
Don't know how I missed them.....Oh wait, yeah I do....Im an Idiot! :D
Anyway, I was also wondering if the file upload and download can be turned off? I only need a simple links manager at the moment. Is this the right plug-in for me? Thanks.
Jake
Upload is off by default and has to be switched on.
Difference between *links* and *downloads* management is purely the filetype of the link you are managing. If it has a filetype that appears in your main VB attachment table, it's a download. Otherwise it's a link. Simple as that. Do you don't really need to turn off downloads.
AndrewD
01-08-2007, 03:44 AM
Is it possible to make a mirror link for for any links added, which will show for certain member groups.
Or possibly making it so different usergroups get a different link for example. registered user clicks on music.wmv and downloads from a public server where as a premimum member clicks it and downloads from a private server.
Not currently. It's been on the list for a long time (multiple urls per entry), but requires a basic change in the database structure.
AndrewD
01-08-2007, 03:46 AM
Also, I'm running the VB links 2.0. hack on a 2.2.9 site. I'm upgrading to 3.6.4 and would like to upgrade to LDM as well. Is there a way to import or otherwise keep my links and categories while moving to LDM?
Looks like a great mod! Thanks.
Jake
LDM can certainly import entries - there are two forms - a simple csv file format, which brings in the main material, and an xml format which imports everything that matters. So the question is whether you can export easily from your 2.2.x site. I've forgotten all my vb2 coding...
rolandogomez
01-08-2007, 07:50 AM
Andrew,
Nice hack, finally figured how to install it. Question though, it comes with all those nice extra plugins, but none say what "hook" to select from the drop down menu. Being a non-coder, could you clarify the proper hooks for
add-this-link
autocreate-threads
force-mp3-to-m3u
jukebox-enhancements
kill-LDM
lightbox
limit-uploads
limit-useraccess
patch-forumhome
patch-forumhome-newlinks
patch-forumhome-thumbs
patch-showthread
readme.txt
rss2
sample-avi-image
stream-mms-videos
versionist
wimpy-player
xml-import
Also, where can we get this plugin, "To add new filetypes, use VB->Admincp->Attachments->Attachment Manager->Add New Extension. (NB: With effect from version 2.2.7 of LDM, there is an 'add-mimetypes-plugin' extra in the release .zip file, which will 'auto-install' all the common media file extensions into your vb tables.)"
Thanks a bunch! Looking forward to the update. Rolando.
AndrewD
01-08-2007, 09:31 AM
Andrew,
Nice hack, finally figured how to install it. Question though, it comes with all those nice extra plugins, but none say what "hook" to select from the drop down menu. Being a non-coder, could you clarify the proper hooks for
add-this-link
autocreate-threads
force-mp3-to-m3u
jukebox-enhancements
kill-LDM
lightbox
limit-uploads
limit-useraccess
patch-forumhome
patch-forumhome-newlinks
patch-forumhome-thumbs
patch-showthread
readme.txt
rss2
sample-avi-image
stream-mms-videos
versionist
wimpy-player
xml-import
Also, where can we get this plugin, "To add new filetypes, use VB->Admincp->Attachments->Attachment Manager->Add New Extension. (NB: With effect from version 2.2.7 of LDM, there is an 'add-mimetypes-plugin' extra in the release .zip file, which will 'auto-install' all the common media file extensions into your vb tables.)"
Thanks a bunch! Looking forward to the update. Rolando.
There's two ways of installing plugins - either by selecting a hook ("Add Plugin") or by Uploading a plugin xml file. The extras you mention are usually designed to be uploaded - go to your vb admincp/products and plugins/download and upload and simply upload the relevant xml file. It knows where to hook itself. (If you want, take a look inside the various xml files - you'll see how they are laid out.)
Your question 2) - again, you currently go to the vb admincp/attachments/attachment manager, and you add the new extension. As I noted, with 2.2.7, I'll provide an add on that will do this automatically, but I recommend that you try to understand how to do it manually - because you are fundamentally changing what types of file people can place on your board.
butty
01-08-2007, 09:38 AM
have ya got any further with this one at all mate?.
ps i thought id logged onto the wrong site a min ago lol. this is gonna take a bit of getting used to
many thanks for the reply andrew and for looking into this for us. i have tried the wimpy jukebox already but i was hitting problems with that too. il explain these problems to you as it may be something you will be able to help me with as its more to do with ldm rather than wimpy
basically i have my vbadvanced set so that it shows my left vbadvanced column to the left of the ldm. i have done this by adding this to the top of local_links.php as instructed by vbadvanced
<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');
and then i added the page in vbadvanced named tunearchive and specified it to show the left navigation column - this is something i need to have on my forum or i can see people getting awfulley confused while navigating the link directory
and so this brings with it its own problem. when you click a link to play it in the jukebox it opens another window. when it opens this new window it also adds the navigation panel and so opens pretty much a full size screen. ive changed it over now so you can see for yourself what its doing.
http://www.oldskoolanthemz.com/forum/local_links.php?catid=13
if i could get it going so that it opened another small window with the player in it then that would be great.
the other problem with this way of having the links is that i would like the jukebox to open up when the mp3 is clicked on from the list of mp3's in the archive. the way the ldm system currently works in this state is that you click the link then go to another page and click the link again to open in the jukebox. i would rather it have a play button (like the wimpy button system) from the main list of mp3's in that category that would then open the jukebox and play the file.
i hope this makes sense as its hard to explain lol. many thanks once again andrew for your time its greatly appreciated :)
AndrewD
01-08-2007, 05:47 PM
have ya got any further with this one at all mate?.
ps i thought id logged onto the wrong site a min ago lol. this is gonna take a bit of getting used to
I just took a look at your site - nice.
I think part of your problem is that you've wrapped LDM in the vbadvanced code without including all the key bits from the links_header template. Others have made that mistake too. You've lost the LDM javascript, so (for example) popup windows don't work.
You need these two lis in your hearer:
<script type="text/javascript" src="clientscript/ldm_global.js"></script>
<script type="text/javascript" src="clientscript/ldm_ajax_keysugg.js"></script>
rolandogomez
01-08-2007, 08:46 PM
Thanks, I goofed, I was looking at "add new plug-in" instead of "upload plug-in." That's what happens when you run on fumes for lack of sleep. (grin). Thanks a bunch, looking forward to your new product updates. Thanks, rg.
butty
01-08-2007, 10:23 PM
I just took a look at your site - nice.
I think part of your problem is that you've wrapped LDM in the vbadvanced code without including all the key bits from the links_header template. Others have made that mistake too. You've lost the LDM javascript, so (for example) popup windows don't work.
You need these two lis in your hearer:
<script type="text/javascript" src="clientscript/ldm_global.js"></script>
<script type="text/javascript" src="clientscript/ldm_ajax_keysugg.js"></script>
ive done this now. i presume you mean the header template under style manager?
it seems to have made a difference but hasnt fixed it. it opens the rest of the page with it still when it opens up the wimpy player popup. it does though now open up a smaller box rather than full window
many thanks for your time and glad ya like the site :)
rolandogomez
01-09-2007, 03:41 AM
Andrew,
1. I've got it all working, plays wmv & mov play perfect, but when I try mp3, wav, doesn't play, those were files I had so not able to test any more.
2. I've uploaded a thumbnail with all files, see nothing displayed though they uploaded.
3. When I hit the download arrow, I get a new window open with this garble (whole page)
I'm running my own Unix server, fyi, VB 3.6.4 with Vbadvanced latest version. This is a brand new site I'm working on, so not a lot on it right now as we haven't broadcast it. Thanks, rg.
AndrewD
01-09-2007, 03:47 AM
1. I've got it all working, plays wmv file perfect, but when I try mp3, wav, wma, mov, doesn't play, those were files I had so not able to test any more.
Have you set up entres for wmv, mp3, wav, wma, mov in your vbulletin attachments table (vb/admincp/attachments/attachmemnt manager)? You need definitions for each of these filetypes plus mimetype info. Choose from the following:
"asf" => "Content-type: video/x-ms-asf"
"avi" => "Content-type: video/avi"
"bmp" => "Content-type: image/bmp"
"divx" => "Content-type: video/divx"
"doc" => "Content-type: application/vnd.msword"
"flv" => "Content-type: application/x-shockwave-flash"
"gif" => "Content-type: image/gif"
"jpe" => "Content-type: image/jpeg"
"jpeg" => "Content-type: image/jpeg"
"jpg" => "Content-type: image/jpeg"
"m3u" => "Content-type: application/m3u"
"mov" => "Content-type: video/quicktime"
"mpg" => "Content-type: video/mpeg"
"mpeg" => "Content-type: video/mpeg"
"mp3" => "Content-type: audio/mpeg"
"pdf" => "Content-type: application/pdf"
"png" => "Content-type: image/png"
"pps" => "Content-type: application/vnd.ms-pps"
"ppt" => "Content-type: application/vnd.ms-ppt"
"qt" => "Content-type: video/quicktime"
"ram" => "Content-type: audio/x-pn-realaudio"
"ra" => "Content-type: audio/vnd.rn-realaudio"
"rm" => "Content-type: audio/x-realaudio"
"rv" => "Content-type: video/vnd.rn-realvideo"
"rmvb" => "Content-type: video/x-realaudio"
"rpm" => "Content-type: audio/x-pn-realaudio-plugin"
"swf" => "Content-type: application/x-shockwave-flash"
"txt" => "Content-type: plain/text"
"wav" => "Content-type: audio/wave"
"wma" => "Content-type: video/x-ms-wma"
"wmv" => "Content-type: video/x-ms-wmv"
"xls" => "Content-type: application/vnd.msexcel"
"zip" => "Content-type: application/zip"
2. I've uploaded a thumbnail with all files, see nothing displayed though they uploaded.
set ldm/settings/link_imagesize
3. What template can we modify to remove the "jukeboxes" if we want or replace them with another image?
the jukebox.gif file in the icons directory
4. When I hit the download arrow, I get a new window open with this garble (whole page)
??
AndrewD
01-09-2007, 04:07 AM
it seems to have made a difference but hasnt fixed it. it opens the rest of the page with it still when it opens up the wimpy player popup. it does though now open up a smaller box rather than full window
Yes, my difficulty is that I don't know exactly what changes you've made. The standard vb release opens a correctly sized jukebox window with none of the extra material you've added.
rolandogomez
01-09-2007, 04:16 AM
Andrew,
Thanks for your help. I double checked 1, 2, & 3, all done. Though on one you say "definitions." I basically put the file extension in the box, i.e., mp3 (with no period) then in the mime box, audio/mpeg if that's what you mean?
On #4, not sure. I've sent you a pm with info to check if you have time. Thanks, rg.
AndrewD
01-09-2007, 04:26 AM
Andrew,
Thanks for your help. I double checked 1, 2, & 3, all done. Though on one you say "definitions." I basically put the file extension in the box, i.e., mp3 (with no period) then in the mime box, audio/mpeg if that's what you mean?
On #4, not sure. I've sent you a pm with info to check if you have time. Thanks, rg.
Not quite: in the mime box, you put "Content-type: audio/mpeg" etc
rolandogomez
01-09-2007, 04:44 AM
Working now, on images, thumbs, etc., can get them on any browser type, will check file paths, etc., though they uploaded fine. Did get this error message when I try and open up image link in another window:
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php:1575) in /local_resize.php on line 167
Thanks, rg.
AndrewD
01-09-2007, 05:18 AM
Working now, on images, thumbs, etc., can get them on any browser type, will check file paths, etc., though they uploaded fine. Did get this error message when I try and open up image link in another window:
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php:1575) in /local_resize.php on line 167
Thanks, rg.
Rolando, I think you missed out the url in the pm you sent me.
AndrewD
01-09-2007, 05:43 AM
Working now, on images, thumbs, etc., can get them on any browser type, will check file paths, etc., though they uploaded fine. Did get this error message when I try and open up image link in another window:
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Notice: Undefined index: HTTPS in /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php on line 1575
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domainremoved.com/htdocs/forums/includes/class_core.php:1575) in /local_resize.php on line 167
Thanks, rg.
Sorry about that, can you upload the attached modified file into your forums directory
rolandogomez
01-09-2007, 05:47 AM
Darn you're good! Works like a charm! Thanks, rg.
butty
01-09-2007, 11:54 AM
Yes, my difficulty is that I don't know exactly what changes you've made. The standard vb release opens a correctly sized jukebox window with none of the extra material you've added.
the changes i made were to the local_links.php page so that it adds the vbadvanced navigation menu to the left of the page. this is what i did:
basically i have my vbadvanced set so that it shows my left vbadvanced column to the left of the ldm. i have done this by adding this to the top of local_links.php as instructed by vbadvanced
<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');
it is because it is opening the page with the navigation menu to the left on still on the popup media player box that is causing the problems. is there anyways that the popupplayer can be not called from that local_links.php page at all as thats what is causing the problems
AndrewD
01-09-2007, 12:45 PM
the changes i made were to the local_links.php page so that it adds the vbadvanced navigation menu to the left of the page. this is what i did:
it is because it is opening the page with the navigation menu to the left on still on the popup media player box that is causing the problems. is there anyways that the popupplayer can be not called from that local_links.php page at all as thats what is causing the problems
Try the following:
<?php
if ($_GET['action']=="" or $_GET['action']=="links")) {
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');
}
butty
01-09-2007, 03:49 PM
Try the following:
<?php
if ($_GET['action']=="" or $_GET['action']=="links")) {
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');
}
i do believe i want to have your babies!
:D lol
top man. respect for ya help its not bringing up the rest of the page now when its opening the pop up box.
can you think of a easy way to get the popup media box to stay on top all the time? as when you load up a song. then click back on the page and play another it disapears to the back of that page if u get me. i can live with that though if it isnt something simple ya could point out. you have done enough work for one day go n put ya feet up :D
Ophelia
01-10-2007, 02:34 AM
Hi Andrew.. tis me again.
How would it be possible for those who are downloading to figure out the full path of a download via the download manager.
We noticed that files that are hidden and scheduled for a later date were being downloaded. Not mass, just 2 or 3 hits. I took a look and it's the same 2 individuals doing the download.
How are they doing this, but still triggering hits on the files via the download manager? If they know the direct path and are just changing the date of the download (example file one is 010107.zip and the second one is 010207.zip) then it wouldn't logically show up in the download manager as they are going directly to the file and totally bypassing the download manager.
AndrewD
01-10-2007, 03:36 AM
Hi Andrew.. tis me again.
How would it be possible for those who are downloading to figure out the full path of a download via the download manager.
We noticed that files that are hidden and scheduled for a later date were being downloaded. Not mass, just 2 or 3 hits. I took a look and it's the same 2 individuals doing the download.
How are they doing this, but still triggering hits on the files via the download manager? If they know the direct path and are just changing the date of the download (example file one is 010107.zip and the second one is 010207.zip) then it wouldn't logically show up in the download manager as they are going directly to the file and totally bypassing the download manager.
If the problem is as described in my PM to you, then it is fixed in the forthcoming 2.2.7.
rolandogomez
01-10-2007, 04:34 AM
What would be cool if we could take uploaded video files and incorporate transcoding on the downloads into flash like YouTube, some great articles out there, http://blog.go4teams.com/?p=56 and http://willy.boerland.com/myblog/youtube_your_drupal_site (drupal) with other software doing this. It would save a bunch on bandwidth. Here is a great wiki entry, http://videotranscoding.wikispaces.com/
I've installed your program which I think rocks, but I'd consider paying someone to modify it so videos can be converted on the down load like Youtube and where we can use the Amazon.com S3 for storage and bandwidth, very inexpensive.
Edit--I have found a great encoder for under $40 that will encode just about any video or audio file into .flv format like YouTube. I actually took a 299MB video and encoded it to 1.2MB flash file, works beautiful in a flash player with the encoder from http://www.on2.com/ You can also download 30-day trial versions for free at http://www.on2.com/downloads/flix-demo-software/ for windows and mac.
I then added the mime type of flv Content-type: application/x-shockwave-flash to VB attachments parameters and it would not do anything, when I changed it to Content-type: video/x-shockwave-flash it allowed me to download the file on my desktop. However your player would not launch it. Anyone? I would love to be able to use LDM where members could take practically any video or audio type, transcode it on the upload and then when downloaded it would play via flash like YouTube. With on2 they also sell over 130 skins for the players for under $30. Any ideas how LDM could go one step further? Thanks, rg.
AndrewD
01-10-2007, 06:10 AM
What would be cool if we could take uploaded video files and incorporate transcoding on the downloads into flash like YouTube, some great articles out there, http://blog.go4teams.com/?p=56 and http://willy.boerland.com/myblog/youtube_your_drupal_site (drupal) with other software doing this. It would save a bunch on bandwidth. Here is a great wiki entry, http://videotranscoding.wikispaces.com/
I've installed your program which I think rocks, but I'd consider paying someone to modify it so videos can be converted on the down load like Youtube and where we can use the Amazon.com S3 for storage and bandwidth, very inexpensive.
Edit--I have found a great encoder for under $40 that will encode just about any video or audio file into .flv format like YouTube. I actually took a 299MB video and encoded it to 1.2MB flash file, works beautiful in a flash player with the encoder from http://www.on2.com/ You can also download 30-day trial versions for free at http://www.on2.com/downloads/flix-demo-software/ for windows and mac.
I then added the mime type of flv Content-type: application/x-shockwave-flash to VB attachments parameters and it would not do anything, when I changed it to Content-type: video/x-shockwave-flash it allowed me to download the file on my desktop. However your player would not launch it. Anyone? I would love to be able to use LDM where members could take practically any video or audio type, transcode it on the upload and then when downloaded it would play via flash like YouTube. With on2 they also sell over 130 skins for the players for under $30. Any ideas how LDM could go one step further? Thanks, rg.
The flash player will be integrated in version 2.2.7. There is already a 'Wimpy addon' in 2.2.6.
I'd spotted on2.
Ideally, this is going to need server-side transcoding, and java-based uploading. Otherwise, it will be an excellent tool for the site administrator. Let's think about options.
rolandogomez
01-10-2007, 06:23 AM
Andrew, I'm open for ideas, wish I was a coder and I'd help you the best I could. I'm more of a visionary (grin). I'll check "Wimpy" but I love the idea we could have a VB "YouTube" capability without being a "YouTube" clone that are out there.
If you need server testing, let me know, I have that site which you are now familiar with that we can play with. Thanks, rg.
|oR|Greg
01-10-2007, 01:04 PM
I used the free FLVPLAYER.swf to play my FLV's inline, the problem of course is the transcoding. Users just want to upload stuff and be done, they don't care, and don't want to bother with saving the site space, or re-encoding their files. For my uploads I used the Riva encoder for mine.
This site does the online conversion, and you DL the output, it would be excellent to get a hold of the technololgy they're using http://media-convert.com/
|oR|Greg
01-10-2007, 01:10 PM
This is also a great read. In the beginning it states that those with shared hosting need not bother because the transcoding is too cpu intensive.
http://gallery.menalto.com/node/41056
Ignicoccus
01-10-2007, 02:13 PM
Thanks for this great mod !
I installed it yesterday and it ist working like a charm, except ...
Users with special characters in their username (e.g. 'A&J') get a "Unknown username" message when submitting a new link. I use the german translation.
How do I solve this ?
AndrewD
01-10-2007, 02:46 PM
Thanks for this great mod !
I installed it yesterday and it ist working like a charm, except ...
Users with special characters in their username (e.g. 'A&J') get a "Unknown username" message when submitting a new link. I use the german translation.
How do I solve this ?
Thanks for reporting this - I'll check and give you a fix.
updated...
if you are comfortable editing the code, I think this should do the trick..
take a copy of includes/local_links_include.php and edit.
go to line 1670
function lookup_userids($usernames) {
global $vbulletin;
$ids = array();
foreach ($usernames as $k=>$v) {
$usernames[$k] = trim($vbulletin->db->escape_string($v));
$ids[$k] = 0;
}
change to
function lookup_userids($usernames) {
global $vbulletin;
$ids = array();
foreach ($usernames as $k=>$v) {
$usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
$ids[$k] = 0;
}
obmob
01-10-2007, 04:21 PM
So much info @.@
HAHA, greetings everyone ^^,
WebmasterSimds
01-10-2007, 07:22 PM
Andrew,
I know your a busy person, but I have a question for you, when i went to upgrade to the last version, I didnt realize till someone pointed it out to me, that when someone makes a "download" that it is not posting it into the forum topics anymore.
I looked all over your site to find out how to make it all happen again, but for some reason when I do as it says in your site manual. it will not work correctly, I pulled out all other mod's because this one is the major I need. bt cant figure out what I may be doing wrong.
Can you help me in this. I did follow the direction on your site to try to make it work.
Thanks In Advance
Ignicoccus
01-10-2007, 07:23 PM
Thanks for reporting this - I'll check and give you a fix.
updated...
if you are comfortable editing the code, I think this should do the trick..
take a copy of includes/local_links_include.php and edit.
go to line 1670
function lookup_userids($usernames) {
global $vbulletin;
$ids = array();
foreach ($usernames as $k=>$v) {
$usernames[$k] = trim($vbulletin->db->escape_string($v));
$ids[$k] = 0;
}
change to
function lookup_userids($usernames) {
global $vbulletin;
$ids = array();
foreach ($usernames as $k=>$v) {
$usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
$ids[$k] = 0;
}
Hi Andrew,
thank you very much for your quick reply. Your code change did the trick, everything ist working fine now !!!!
AndrewD
01-11-2007, 04:15 AM
Andrew,
I know your a busy person, but I have a question for you, when i went to upgrade to the last version, I didnt realize till someone pointed it out to me, that when someone makes a "download" that it is not posting it into the forum topics anymore.
I looked all over your site to find out how to make it all happen again, but for some reason when I do as it says in your site manual. it will not work correctly, I pulled out all other mod's because this one is the major I need. bt cant figure out what I may be doing wrong.
Can you help me in this. I did follow the direction on your site to try to make it work.
Thanks In Advance
Am not clear which feature you are using. Are you talking about the autocreate-plugin.xml? You say "when someone makes a download, it's not posting into the forum topics" - the autocreate doesn't post a thread in this situation - it creates the thread, when someone adds a new entry (upload or link).
Happy to help get this working
WebmasterSimds
01-11-2007, 01:15 PM
Andrew,
Sorry about me not posting it fully last night, was tired as all get out and forgot to give the full info. ok
The autocreate-plugin.xml, autocreate-2way-plugin.xml, are not working corectly I have tried them both, followed your directions on our site, and somehow it just semd to stop working. one of my forums managers spoke to me about it. , this is how i noticed it.
Now if I am not mistaken, when a catagor is made, and you set the settings up for the catagory, in there you specify that it should go to a certian topic area. not permissions. I understand that part. but the other one. Again it was working perfectly till the last release of your LDM system, then for some reason it stopped.
I did go back into it, after the upgrade, and re loaded all the xml files again, let it overwrite it, because I know sometimes when you do a upgrade you have to re load the extras that were set when you set it up the first time. but it didnt correct this problem. I also thought that maybe with the actual forums upgrade itself to 3.6.4 that maybe someting may have gotten messed up as well. Unfortunatly I can not un install it then re install it because of the thousands of downloads that are in there already. is there someting that maybe I missed ? or didnt do a correct configuration somewhere? I am pretty good at coding. but to a point. so if there is someting that you wish for me to try I will be happy to try it to resolve this. I would not use any other mod for downloads because yours is the best there is for VB.
Thanks In Advance
AndrewD
01-11-2007, 01:34 PM
Andrew,
Sorry about me not posting it fully last night, was tired as all get out and forgot to give the full info. ok
The autocreate-plugin.xml, autocreate-2way-plugin.xml, are not working corectly I have tried them both, followed your directions on our site, and somehow it just semd to stop working. one of my forums managers spoke to me about it. , this is how i noticed it.
Now if I am not mistaken, when a catagor is made, and you set the settings up for the catagory, in there you specify that it should go to a certian topic area. not permissions. I understand that part. but the other one. Again it was working perfectly till the last release of your LDM system, then for some reason it stopped.
I did go back into it, after the upgrade, and re loaded all the xml files again, let it overwrite it, because I know sometimes when you do a upgrade you have to re load the extras that were set when you set it up the first time. but it didnt correct this problem. I also thought that maybe with the actual forums upgrade itself to 3.6.4 that maybe someting may have gotten messed up as well. Unfortunatly I can not un install it then re install it because of the thousands of downloads that are in there already. is there someting that maybe I missed ? or didnt do a correct configuration somewhere? I am pretty good at coding. but to a point. so if there is someting that you wish for me to try I will be happy to try it to resolve this. I would not use any other mod for downloads because yours is the best there is for VB.
Thanks In Advance
Hi. Basically, the autocreate plugin creates threads when *new* items are added to LDM, not when there's a download (which is what confused me in your first message). However, it *only* creates the thread if the new entry is given an *associated forum* on the *add entry* page. (This may happen by default if the category into which it's put has an associated forum.)
You should not need to uninstall/reinstall anything.
I'm very happy to take a look myself, if you want - just send me a PM with your site details and an admin account.
obmob
01-11-2007, 04:28 PM
Awesome Andrew... i'll test it this week, thanks!
Demon fox
01-11-2007, 08:06 PM
Excellent hack deserves a nomination for hack of the month.
zahrani
01-12-2007, 06:05 PM
I just installed 2.2.7, when I tried to upload a file, I got this eeror:
Upload error - unable to create a user subdirectory on server. Return
VB : 3.6.4
AndrewD
01-12-2007, 06:20 PM
I just installed 2.2.7, when I tried to upload a file, I got this eeror:
Upload error - unable to create a user subdirectory on server. Return
VB : 3.6.4
Was this working with 2.2.6?
The section of code that gives that error is trying to create a subdirectory in the directory you have told LDM to use for uploads (LDM/admin settings).
Depending on the server operating system, if you give an invalid upload directory name or if you specify a directory which does not have write permission (mode 777 on unix systems, I think), you'll have problems.
So - check your settings on ldm/admin/uploads
- check the read/write permissions on the directory you've told it to use
let me know if you still have problems.
zahrani
01-12-2007, 06:28 PM
I didn't try it with 2.2.6
the folder has 777, and I found created folde with the UserId (name).
I was trying trying to make the upload folder inside VB, so I created folder called (up) and under (Controls on File Uploads ) in the filed (upload_dir) I wrote :
/vb/up
after submitting I got this error:
The following setting(s) are invalid
upload_dir : /vb/up
I can't create a subdirectory test file in /vb/up (trying /home/aldeerah/public_html/vb/up/2) - check permissions
Thanks
AndrewD
01-12-2007, 07:00 PM
I didn't try it with 2.2.6
the folder has 777, and I found created folde with the UserId (name).
I was trying trying to make the upload folder inside VB, so I created folder called (up) and under (Controls on File Uploads ) in the filed (upload_dir) I wrote :
/vb/up
after submitting I got this error:
The following setting(s) are invalid
upload_dir : /vb/up
I can't create a subdirectory test file in /vb/up (trying /home/aldeerah/public_html/vb/up/2) - check permissions
Thanks
Both errors you've reported happen when the LDM code is not allowed to create a file or directory within the upload directory structure. Is the php control setting "upload_dir" set? (see LDM/admin pages down the bottom) - this sometimes prevents uploads from working.
Spermy
01-12-2007, 10:53 PM
Is there a way to add the rep scales under the user info?
Or would that be impossible to work with it?
Ophelia
01-13-2007, 01:31 AM
You can have it now, if you want something that silently destroys your database :alien:
:paranoid :cry
Uhoh!
Slave
01-13-2007, 01:36 AM
Cool Andrew, thanks :)
I'll have a play once I finish playing this game of Poker .. :D
AndrewD
01-13-2007, 04:09 AM
Is there a way to add the rep scales under the user info?
Or would that be impossible to work with it?
The VB reputation system is tied into the threads and posts system - in other words, you give rep points for a particular post. When I last checked this, I couldn't see how to make it work with 'non-posts', e.g. entries in LDM.
Alfa1
01-14-2007, 08:35 PM
I hope anyone else has idea's on this. I think it would greatly enhance LDM even more.
bigdaddyforums
01-17-2007, 12:25 AM
Any timeline on when we can expect to see a new version of this andrew? :)
|oR|Greg
01-17-2007, 01:14 AM
Andrew has been quiet... so it must be real soon.
AndrewD
01-17-2007, 05:31 AM
Any timeline on when we can expect to see a new version of this andrew? :)
Have you tried the alpha 2.2.7 release - see this post? I'm looking forward to reports. The second alpha is being tested by one of my happy users.
It will be a few weeks before 2.2.7 is absolutely complete, but I hope that the main code will be stable very soon.
sunnycher
01-17-2007, 12:35 PM
When I click on the sub categories, it takes me to an error site.
404 Not Found
The requested URL /forum/local_links/links/21 does not exist.
Not sure why this is happening, anyone know how to fix it?
AndrewD
01-17-2007, 02:44 PM
When I click on the sub categories, it takes me to an error site.
404 Not Found
The requested URL /forum/local_links/links/21 does not exist.
Not sure why this is happening, anyone know how to fix it?
I think you have enabled the LDM 'seo_friendly' option (LDM/admin/settings) without configuring your web server (Apache?) accordingly.
It's explained in the manual:
http://www.eirma.org/wikis/index.php/Hacking_LDM#Search_Engine_Optimisation
sunnycher
01-17-2007, 03:41 PM
Andrew! Thank you! That's EXACTLY what I did!!
Fixed all up!
WebmasterSimds
01-17-2007, 06:10 PM
Andrew,
I found someting interesting that I dont know if you knew about. but if you set say a special section in the regular forums that is hidden, say for special downloads, that normally not everyone can see. and you try to set the permissions in LDM to that topic, you can't, because you can;t see the forum topic to set permissions, Also even if you went and set permissions in LDM, to try to do a overide itself with LDM, everyone can still get to that area of the hidden stuff in LDM.
I don't know if you knew about it or not, just thought that maybe you can look into that. because you know my site, and there are files that we wish to keep hidden from others. and only persons with special permission can access them.
zahrani
01-17-2007, 08:58 PM
Both errors you've reported happen when the LDM code is not allowed to create a file or directory within the upload directory structure. Is the php control setting "upload_dir" set? (see LDM/admin pages down the bottom) - this sometimes prevents uploads from working.
again it's not working,
Now when I put the upload directory I got this error
Network Error (tcp_error)
===========
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
==============
and here's the info I have
local_file_root------------------> Enabled
local_file_root_prefix----------> (not set)
File uploads---------------------> Enabled
upload_dir-----------------------> (not set)
Is there something related to safe mode? ( as it's off here)
Ipuck
01-18-2007, 12:14 AM
Hello AndrewD
Thank you again for this mod.
Lately I been having some problems with LDM. The problem is that the files I have link to are very large and when the user are trying to download, with a slow computer or connection, it will time out and stop the transfer. I read, in previous post, that the problem is MySql. Is there any way to by pass that? you mention that it is possible but you get some other problems?
Also, I just upgrade to 2.2.7 and I notice that there is no longer a "seo_friendly" option, I never got it to work when I had 2.2.6 and I was wonder if I may be able to make it work with 2.2.7.
Thanks
AndrewD
01-19-2007, 04:08 PM
Hello AndrewD
Thank you again for this mod.
Lately I been having some problems with LDM. The problem is that the files I have link to are very large and when the user are trying to download, with a slow computer or connection, it will time out and stop the transfer. I read, in previous post, that the problem is MySql. Is there any way to by pass that? you mention that it is possible but you get some other problems?
Also, I just upgrade to 2.2.7 and I notice that there is no longer a "seo_friendly" option, I never got it to work when I had 2.2.6 and I was wonder if I may be able to make it work with 2.2.7.
Thanks
Hi, I hope my PMs have helped you sort out your problem with downloads timing out.
The seo_friendly option is still there - it may have moved to somewhere else on the settings page but it hasn't changed. However, in order to get this feature to work, you must also configure your web server, as described in the online manual.
AndrewD
01-19-2007, 04:09 PM
again it's not working,
Now when I put the upload directory I got this error
Network Error (tcp_error)
===========
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
==============
and here's the info I have
local_file_root------------------> Enabled
local_file_root_prefix----------> (not set)
File uploads---------------------> Enabled
upload_dir-----------------------> (not set)
Is there something related to safe mode? ( as it's off here)
HI, I'm sure that these problems are related to the way your web server is configured. Unfortunately, this is not something I can help you with 'from a distance'
AndrewD
01-20-2007, 08:05 AM
Andrew,
I found someting interesting that I dont know if you knew about. but if you set say a special section in the regular forums that is hidden, say for special downloads, that normally not everyone can see. and you try to set the permissions in LDM to that topic, you can't, because you can;t see the forum topic to set permissions, Also even if you went and set permissions in LDM, to try to do a overide itself with LDM, everyone can still get to that area of the hidden stuff in LDM.
I don't know if you knew about it or not, just thought that maybe you can look into that. because you know my site, and there are files that we wish to keep hidden from others. and only persons with special permission can access them.
Just to be sure I understand:
- If you define a forum as 'not active' in the VB admincp, then it does not appear in the drop-down list of forums which you use in LDM to protect categories/entries.
This seems to me to be correct? Do you think LDM should display all forums, regardless of whether they are active or not?
mauro1947
01-20-2007, 11:51 PM
HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!
AndrewD
01-21-2007, 05:04 AM
HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!
Happy to help if I can. Send me a PM with site details and an account with VB admin privs.
ombossman
01-21-2007, 09:53 AM
Andrew, i need your help
check please pm
wbr
dholt
01-21-2007, 11:59 AM
I keep getting this as the folders are chked at 777
The following setting(s) are invalid
file_icons_dir : http://www.mysite.com/forum/images/ldm_icons/
Cannot find http://www.mysite.com/forum/images/ldm_icons/
They are there;)
OK I fixed that as all you have to do is add /images/ldm_icons/ and not the full URL
sorry about the noob Questions but not sure if it is installed right as I followed everything to the T
Question One
Can you look at this and tell me what you think here and what should I do next
LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir http://www.mysite.com/ldm_upload
thumbs_dir http://www.mysite.com/forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Can I change this or is this Normal in red
Question 2
In Controls on File Uploads under upload_dir I created a folder in the root of my site called ldm_upload and made it writable 777. I then added in the space there http://www.mysite.com/ldm_upload
should there be a trailing slash with it
Uploads enabled.........YES
Upload filetype ........left blank (if blank, all types in VB attachments table are allowed)
Upload MAX space left 0 for no limit unless you have or some has a sujestion limit.
local_file_root No
local_file_root_prefix (not set)
what do I set these too as there is no documentation for it in red.
Question 3
in the root of my site I created a folder called idm_upload, but my server created a file called http: .......In it there is another file called www.mysite.com open ldm_upload and in that there is (1)
Can I delete the one I created and keep the one my server created is the Question
Thanks in advance here is my site if you want to look and you have some time.
My site (http://bigdogsurf.com)
Thanks Andrew
stwilson
01-21-2007, 02:54 PM
Something like this?
This is exactly what I am trying to do. See my pic below. I have figured out the column setting but cannot get the subcategories to show BELOW the category title. What am I missing? I have tried everything in the "How Categories & Entries Are Displayed" section. Do I need to edit a template to accomplish this? Thanks for your reply and great product. I am sending over some "support" for your work!
ST
AndrewD
01-21-2007, 03:09 PM
Can you look at this and tell me what you think here and what should I do next
LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir http://www.mysite.com/ldm_upload
thumbs_dir http://www.mysite.com/forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Can I change this or is this Normal in red
You normally don't need to change the wait_timeout setting, and it requires system admin privileges on your server to make the change in any case. It's highlighed because under certain circumstances people have found that large downloads were failing. The connection to the sql database was being dropped before the download had finished. (Basically, when you download a very large file over a slow line, it's possible for the MySQL server to think you've gone away before vbulletin has a chance to close down properly.)
However, your uploads_dir and thumbs_dir settings don't need the full url, see below.
In Controls on File Uploads under upload_dir I created a folder in the root of my site called ldm_upload and made it writable 777. I then added in the space there http://www.mysite.com/ldm_upload
should there be a trailing slash with it
Uploads enabled.........YES
Upload filetype ........left blank (if blank, all types in VB attachments table are allowed)
Upload MAX space left 0 for no limit unless you have or some has a sujestion limit.
local_file_root No
local_file_root_prefix (not set)
what do I set these too as there is no documentation for it in red.
Trailing slashes should be optional ;)
local_file_root and local_file_root_prefix are described quite fully in the online manual at http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load. Basically, these settings give you the means to store files out of the way of prying eyes. By default, LDM treats a local filename (e.g. /mydir/myfile.pdf and without the http://yoursite bit at the front) as being relate to the base directory of your web site (i.e. http://yoursite/mydir/myfile.pdf).
If you set local_file_root, it will treat the same file as being held in a top level directory /mydir/myfile.pdf relative to your web server, rather than just your web site on that server.
If you set local_file_prefix, this gets stuck on the front of all local filenames, including the upload directory. It's a shorthand way of preventing people being able to link to files on your server which are held in other parts of the filesystem.
In essence:
- local_file_root allows you to *totally prevent* people from accessing LDM entries except through LDM
- local_file_root_prefix allows you to *block off completely* access to parts of your server except those that you really want to be accessed.
These are specialised settings.
In the root of my site I created a folder called idm_upload, but my server created a file called http: .......In it there is another file called www.mysite.com open ldm_upload and in that there is (1)
Can I delete the one I created and keep the one my server created is the Question
Thanks in advance here is my site if you want to look and you have some time.
My site (http://bigdogsurf.com)
Thanks Andrew
I think this is because you have set upload_dir as what you thought was a full url. However, LDM thinks you've told it to use a subdirectory called http: then a subdirectory called www.mysite.com, and so on. These are perfectly valid directory names on some systems. The solution is to set upload_dir without the url part. (I suppose LDM should have caught that, so I need to check.) Reset upload _dir to the local directory name.
stwilson
01-21-2007, 03:27 PM
One other small question (I hope), is there a way to add a custom field for the Links area? I like to show the Phone Number of the local businesses in my links directory. How hard would it be to add a phone number field to the link entry point?
ST
AndrewD
01-21-2007, 03:54 PM
HI!!!
Please, Andrew, i need your help
For a moment to other, my website (with more than 2500 links to files) saids that ALL the links are broken (and the links works perfect)!!!!!
Please, contact me, i really need your help!!!!
I will give you all the information you may need!!!!
PLEASE, HELP ME!!!
Thanks a lot!!!!!!
Hi, I can't be sure but I guess that the site you are linking to (www.se-tool.net) is refusing access from your site. This seems to have begun at around 18:00 yesterday.
When I downloadedand installed your database on my server, all the "broken links" validated correctly and work properly. On your server, they all fail to validate.
I took a look at your downloads table - you have had a quarter of a million hits since mid November, all directed at www.se-tool.net - so it wouldn't surprise me if they've put a block on you.
AndrewD
01-21-2007, 04:03 PM
This is exactly what I am trying to do. See my pic below. I have figured out the column setting but cannot get the subcategories to show BELOW the category title. What am I missing? I have tried everything in the "How Categories & Entries Are Displayed" section. Do I need to edit a template to accomplish this? Thanks for your reply and great product. I am sending over some "support" for your work!
ST
If you're still using version 2.2.6, you've not missed anything. I added the code for the alternate layout in version 2.2.7, which is still in alpha testing but available on this board.
You set it by going LDM/admin/settings/how categories are displayed, then template_catbit=>brief; cat_sub_display=>1; cat_cols_display=>2
AndrewD
01-21-2007, 04:05 PM
One other small question (I hope), is there a way to add a custom field for the Links area? I like to show the Phone Number of the local businesses in my links directory. How hard would it be to add a phone number field to the link entry point?
ST
I've been meaning to do this for a couple of years, but never got round to it. Let me think about it some more.
stwilson
01-21-2007, 05:08 PM
Extras
- use of webthumbs to autogenerate site thumbnails as entry image
- use of snap to autogenerate a site image thumbnail as entry dropdown
How do I enable these features. I have upgraded to the alpha version but do not see a place to enable these features???
Maybe I should ask another question first, does this feature allow for an automatically created thumbnail of a website link that is submitted, meaning does it go out and capture a snapshot of the homepage and create a thumbnail upon submission?
ST
AndrewD
01-21-2007, 05:46 PM
How do I enable these features. I have upgraded to the alpha version but do not see a place to enable these features???
Maybe I should ask another question first, does this feature allow for an automatically created thumbnail of a website link that is submitted, meaning does it go out and capture a snapshot of the homepage and create a thumbnail upon submission?
ST
They are supplied in the 'release/extras' subdirectory in the zip file you downloaded. There's a whole set of extras, each with a 'readme.txt' file which briefly explains how to use it.
The webthumbs extra uses Joshua Eichorn's web thumbnail service (http://bluga.net/webthumb/), which autocreates images of web sitesfor entries in LDM.
You need an account, which is free for less than 250 webthumbs a month, and very cheap for more than that, and you (currently) have to edit the account details into the 'extra'. When enabled, it does precisely what you say - goes out, grabs a thumbnail image of the site, and displays that in the LDM linkbit.
The snap plugin hooks into the www.snap.com search engine. It works in a slightly different way, replacing the LDM entry url with a new url which displays a pop up image over the url, usually with the thumbnail.
The two approaches have their strengths and weaknesses. I added them over Christmas in response to a request, and I'm looking for feedback to see if they work as people expect.
Demon fox
01-21-2007, 06:50 PM
Hey Andrew I have a Low value for MySQL wait_timeout in red. Now I can't change this unfortantly due to the host will this cause problems to my downloaders? I have up to 64mb files on a different server which I link to will my users get disconnected?
If so is there anything I can do to stop my users from get disconnected?
Cheers
Martyh
01-22-2007, 02:25 AM
installed ,, thank you,,, works fine.
If you have time could you tell me how I would make it upload an excel or a visio file
Thanks, I see an area where I can enter this but it sounds like I might be overriding all the other ones that it uploads,,, sorry to be a pain, I am a novice here
AndrewD
01-22-2007, 05:07 AM
Hey Andrew I have a Low value for MySQL wait_timeout in red. Now I can't change this unfortantly due to the host will this cause problems to my downloaders? I have up to 64mb files on a different server which I link to will my users get disconnected?
If so is there anything I can do to stop my users from get disconnected?
Cheers
You just have to try it and see. When the files are on a different server *and* are large, you will quite likely run in to problems.
If you do not mind that inquisitive users can find out the location of the files, you can overcome the problem entirely by setting the LDM setting *force_redirect* to 1.
AndrewD
01-22-2007, 05:08 AM
installed ,, thank you,,, works fine.
If you have time could you tell me how I would make it upload an excel or a visio file
Thanks, I see an area where I can enter this but it sounds like I might be overriding all the other ones that it uploads,,, sorry to be a pain, I am a novice here
See my answer to your question in the vb35 forum
SherryG
01-22-2007, 10:01 AM
Hi there,
I am getting the following error message while trying to add a thumbnail. Would someone be able to help me out?
Warning: fopen(/home/stamkcom/public_html/images/thumbs/37971169467226.jpg) [function.fopen]: failed to open stream: Permission denied in /includes/local_links_resize.php on line 166
Thanks so much!
AndrewD
01-22-2007, 10:08 AM
Hi there,
I am getting the following error message while trying to add a thumbnail. Would someone be able to help me out?
Warning: fopen(/home/stamkcom/public_html/images/thumbs/37971169467226.jpg) [function.fopen]: failed to open stream: Permission denied in /includes/local_links_resize.php on line 166
Thanks so much!
Sherry, hi there. This was the reply I posted in the VB35 forum:
Two things to check:
a) Maybe you need to give your web server write access to the /images/thumbs directory (mode 777)
b) Maybe your web server is running php with a restriction on the 'open_basedir' setting. You can check this by going to any of the LDM admin pages and taking a look at the box down the bottom left of the screen. If this parameter is set, you are only allowed to access files in the part of the web server's directory tree that are explicitly authorised in the setting of open_basedir.
Get back to me if you need more help.
SherryG
01-22-2007, 10:18 AM
Sherry, hi there. This was the reply I posted in the VB35 forum:
Two things to check:
a) Maybe you need to give your web server write access to the /images/thumbs directory (mode 777)
b) Maybe your web server is running php with a restriction on the 'open_basedir' setting. You can check this by going to any of the LDM admin pages and taking a look at the box down the bottom left of the screen. If this parameter is set, you are only allowed to access files in the part of the web server's directory tree that are explicitly authorised in the setting of open_basedir.
Get back to me if you need more help.
Thanks Andrew!
I thought I had performed the chmod operation already yesterday but when I went back in to check after your suggestion, it had somehow reverted back to mode 755.
I think I need some sleep. All is well again. Thanks for helping me out! :up:
dholt
01-22-2007, 11:16 AM
Hi Andrew Thanks for all your Support.
Question
I have Music that is 2.43M MY PHP.INI file says 2M Max UPLOAD I changed it to 3 but IDM Does not notice it. and I get the over 2M Message.
What to do so I can Upload Music File that are more then 2M.
INFO
LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir ldm_upload
thumbs_dir forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Highlighted in red you see the 2M
This is the line of code in my PHP.INI I changed to 3M
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 3M ; Maximum allowed size for uploaded files
My Question is that most Music files are more then 2M or should they be uploaded in a zip format but then they will not play in that format.
I wanted to let users upload Music, but Most Music files are like 2.34M
What to do and How could I fix this in IDM
Thanks;)
I Inclosed a zip of my PHP.INI if needed
AndrewD
01-22-2007, 12:05 PM
I have Music that is 2.43M MY PHP.INI file says 2M Max UPLOAD I changed it to 3 but IDM Does not notice it. and I get the over 2M Message.
What to do so I can Upload Music File that are more then 2M.
INFO
LDM (admin settings) 2.2.6
file_icons_dir images/ldm_icons/
local_file_root No
local_file_root_prefix (not set)
File uploads Enabled
upload_dir ldm_upload
thumbs_dir forum/images/ldm_thumbs
PHP (php.ini) 4.4.4
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M
MySQL (my.ini) 4.1.21-standard-log
wait_timeout 100
Low value for MySQL wait_timeout
Highlighted in red you see the 2M
This is the line of code in my PHP.INI I changed to 3M
My Question is that most Music files are more then 2M or should they be uploaded in a zip format but then they will not play in that format.
I wanted to let users upload Music, but Most Music files are like 2.34M
What to do and How could I fix this in IDM
Thanks;)
I Inclosed a zip of my PHP.INI if needed
LDM is picking up the values reported to it by your web server. If you edit php.ini, you generally have to restart the server before anything will pick up the new values. I imagine that's the problem.
You can also check these settings by going to the main VB/admincp page or VB/admincp/maintenance/phpinfo page which gives you a full summary of the environment settings. ou should see the same values as are being reported by LDM.
Also make sure that the maximum file sizes set in your vb/admin/attachments/attachment manager is sufficient. LDM will not allow general users to upload files bigger than these settings - it allows admins to upload up to the lesser of post_max_size and upload_max_filesize
obmob
01-22-2007, 01:13 PM
Oh, so many questions Oo
Hmm... Andrew, will there be new phrases for 2.2.7?
If so, to schedule translation ^^
Demon fox
01-22-2007, 06:56 PM
Hey Andrew just a little question the downlaods manager seems to pick up the file size of zip files fine. But when it comes to .rar files it doesnt show how large the file is.
Is there a setting I have to change to show the file size?
AndrewD
01-22-2007, 07:03 PM
Hey Andrew just a little question the downlaods manager seems to pick up the file size of zip files fine. But when it comes to .rar files it doesnt show how large the file is.
Is there a setting I have to change to show the file size?
Yes, you have to add rar to the vbulletin attachments table, so that LDM knows that these are 'downloads'.
VB/admincp/attachments/attachments manager/add new extension
extension: rar
mimetype: Content-type: application/rar
Demon fox
01-22-2007, 07:12 PM
Ok kool thanks for the quicl response now ive done that do I have to wait a while for my current rar downloads to show the size because at the moment there still the same.
AndrewD
01-22-2007, 07:28 PM
Ok kool thanks for the quicl response now ive done that do I have to wait a while for my current rar downloads to show the size because at the moment there still the same.
as far as I can recall, you need to do one of the following:
- visit them,
- edit them,
- or use the ldm/admin/statistics/validate
ombossman
01-22-2007, 08:46 PM
thank you very much for every they mr AndrewD
mauro1947
01-22-2007, 09:11 PM
Hi!
AndrewD i have a problem:
Now, our database display bad the numbers of link inside any folder (or directory).
Can you help me to recount?
Is there any way to the script recount and change the values?
Thanks a lot
Bye!
kylek
01-22-2007, 10:12 PM
Well I installed this on another site two years ago but just cant get it right this time, is there anyone who can get it going for a small fee? Have uploaded files and ran product xml. Need to have it linked to forums.
Please let me know as this is something we really want to use mainly for music.
Mainy two main categories, audio with 15 sub cats, and video later on.
Demon fox
01-23-2007, 01:44 AM
Hey Andrew Ive just found out that when using local_file_root_prefix for downloads and setting force_redirect to 1 prefix doesnt work.
For example i have my files located in directory /downloads (being my prefix) but when I click the link it goes into mysite.com/forums/myfile.zip instead of mysite.com/downloads/myfile.zip
But if I set it back to 0 then it does work normally. Ive only just changed force redirect to 1 because like I said before I have a low mysql wait timeout (20)
Any ideas?
AndrewD
01-23-2007, 03:57 AM
Hey Andrew Ive just found out that when using local_file_root_prefix for downloads and setting force_redirect to 1 prefix doesnt work.
For example i have my files located in directory /downloads (being my prefix) but when I click the link it goes into mysite.com/forums/myfile.zip instead of mysite.com/downloads/myfile.zip
But if I set it back to 0 then it does work normally. Ive only just changed force redirect to 1 because like I said before I have a low mysql wait timeout (20)
Any ideas?
Thanks for the report - am surprised that this hasn't been picked up before. It looks like a straightforward bug to fix.
AndrewD
01-23-2007, 04:02 AM
Well I installed this on another site two years ago but just cant get it right this time, is there anyone who can get it going for a small fee? Have uploaded files and ran product xml. Need to have it linked to forums.
Please let me know as this is something we really want to use mainly for music.
Mainy two main categories, audio with 15 sub cats, and video later on.
Send me a PM with an admin username and password for your board and FTP details for your site, plus brief details of what you are wanting. Am happy to spend a few minutes on this.
As far as I can see, you've done the initial installation (version 2.2.5) correctly.
AndrewD
01-23-2007, 04:06 AM
Hi!
AndrewD i have a problem:
Now, our database display bad the numbers of link inside any folder (or directory).
Can you help me to recount?
Is there any way to the script recount and change the values?
Thanks a lot
Bye!
I'll take a look at your site. Currently, it's not responding.
Dear Andrew,
I've been using LDM when you first released a year ago, it was one of the best mod for vb IMHO, and still is. I've been away for a while and just come back, and it's so great to see you're still offering your consistent support after all this time.
Quick question, my vb is 3.5.2 so I plan to upgrade to 3.6.4 tonight. I believe the LDM would messed up as well. Should I upgrade the forum first, then upload your LDM for vb3.6 later? Or because there's major changes from vb3.5.2 and vb6, I should do fresh install? I have about 300 links in LDM right now.
Thanks and great to see you again,
obmob
01-23-2007, 11:41 PM
Andrew, Andrew!!! :D
Is it possible to add this in 2.2.7? You told me it wouldn't be that complicated.
https://vborg.vbsupport.ru/showpost.php?p=1113104&postcount=598
Thank, thanks! :)
AndrewD
01-24-2007, 03:55 AM
Dear Andrew,
I've been using LDM when you first released a year ago, it was one of the best mod for vb IMHO, and still is. I've been away for a while and just come back, and it's so great to see you're still offering your consistent support after all this time.
Quick question, my vb is 3.5.2 so I plan to upgrade to 3.6.4 tonight. I believe the LDM would messed up as well. Should I upgrade the forum first, then upload your LDM for vb3.6 later? Or because there's major changes from vb3.5.2 and vb6, I should do fresh install? I have about 300 links in LDM right now.
Thanks and great to see you again,
Nice to see you back :)
Actually, the upgrade will work either way round, but I'd suggest
Step 1 - *Backup your database* - nothing should go wrong, but...
Step 2 - Upgrade your forums first to vb 3.6.
Step 3 - Then simply install LDM version 2.2.6
As far as LDM's concerned, there's no difference between an installation and an upgrade. The installer works out what needs to be done.
AndrewD
01-24-2007, 04:07 AM
Andrew, Andrew!!! :D
Is it possible to add this in 2.2.7? You told me it wouldn't be that complicated.
https://vborg.vbsupport.ru/showpost.php?p=1113104&postcount=598
Thank, thanks! :)
Hey, I already did this in 2.2.6. There's an icon download.gif in the icons directory - if it's present, then it's displayed for downloads.
I didn't produce a linkbit that looks exactly the same as yours, but that would be easy to change the layout - do you want this added as a new linkbit?
Images show your suggestion and the main linkbit ("modern")
kylek
01-24-2007, 06:20 AM
Another one that would be nice to add to the collection if possible is putfile.com
They have decent amount of on line storage for videos and pictures for free (private or shared) and download limits are great.
AndrewD
01-24-2007, 04:11 PM
Another one that would be nice to add to the collection if possible is putfile.com
They have decent amount of on line storage for videos and pictures for free (private or shared) and download limits are great.
Thanks for the suggestion. This looks straightforward to include.
Ophelia
01-25-2007, 11:51 PM
Hello Andrew!
This is for 2.2.7.
Here is the issue that I'm seeing (I'm using just a regular registered member to do this, not admin).
1. Add Entry
2. Input all the information.
3. In the field where I want to schedule the download to be visible, it is showing my correct time; CST. I input the time and press submit.
4. I look and see that the download is not scheduled (it doesn't have the red "Expired or scheduled" message. When I go in and edit, it is showing one hour earlier (ET) for the scheduled, and not the CST.
Example: I type in 7:40 CST and press submit, it changes it to 6:40 my time instead and doesn't schedule it for later.
I know that this worked in 2.2.6, as we haven't had any issues with it at all.
Second issue:
How do we tell it we want it to expire and move? Once it is expired and moved, will it still be visible to the members who have permission to the forum that it was moved to?
stwilson
01-26-2007, 03:39 AM
They are supplied in the 'release/extras' subdirectory in the zip file you downloaded. There's a whole set of extras, each with a 'readme.txt' file which briefly explains how to use it.
The webthumbs extra uses Joshua Eichorn's web thumbnail service (http://bluga.net/webthumb/), which autocreates images of web sitesfor entries in LDM.
You need an account, which is free for less than 250 webthumbs a month, and very cheap for more than that, and you (currently) have to edit the account details into the 'extra'. When enabled, it does precisely what you say - goes out, grabs a thumbnail image of the site, and displays that in the LDM linkbit.
The snap plugin hooks into the www.snap.com search engine. It works in a slightly different way, replacing the LDM entry url with a new url which displays a pop up image over the url, usually with the thumbnail.
The two approaches have their strengths and weaknesses. I added them over Christmas in response to a request, and I'm looking for feedback to see if they work as people expect.
Andrew,
I have tried everything under the sun to get Webthumbs to work with no success. I have followed the directions to the letter. I am on PHP 5.2.0 and MySQL 5.0.16. I have uploaded the PHP file to the forums directory. I have installed the plug-in with my key in it. With all this said I cannot get it to do the thumbs. Can you point me in the right direction?
AndrewD
01-26-2007, 05:29 AM
Andrew,
I have tried everything under the sun to get Webthumbs to work with no success. I have followed the directions to the letter. I am on PHP 5.2.0 and MySQL 5.0.16. I have uploaded the PHP file to the forums directory. I have installed the plug-in with my key in it. With all this said I cannot get it to do the thumbs. Can you point me in the right direction?
I have a horrible feeling I should never have provided this 'add on' ;) Sorry if you've had some wasted time. I'm busy in a conference today, but perhaps we can discuss via PMs during the weekend?
AndrewD
01-26-2007, 05:39 AM
Hello Andrew!
This is for 2.2.7.
Here is the issue that I'm seeing (I'm using just a regular registered member to do this, not admin).
1. Add Entry
2. Input all the information.
3. In the field where I want to schedule the download to be visible, it is showing my correct time; CST. I input the time and press submit.
4. I look and see that the download is not scheduled (it doesn't have the red "Expired or scheduled" message. When I go in and edit, it is showing one hour earlier (ET) for the scheduled, and not the CST.
Example: I type in 7:40 CST and press submit, it changes it to 6:40 my time instead and doesn't schedule it for later.
I know that this worked in 2.2.6, as we haven't had any issues with it at all.
Have you set up the timezone/daylight saving settings for your 'registered user'? THe LDM code uses (I think!) standard vb routines for dates/times, but I'll check again.
Second issue:
How do we tell it we want it to expire and move? Once it is expired and moved, will it still be visible to the members who have permission to the forum that it was moved to?
I'll give you a full answer over the weekend. I'm still working on the interface for this.
stwilson
01-26-2007, 12:35 PM
I have a horrible feeling I should never have provided this 'add on' ;) Sorry if you've had some wasted time. I'm busy in a conference today, but perhaps we can discuss via PMs during the weekend?
Andrew,
Are you kidding? :) No worries. No "wasted" time either. I consider this an investment and I like tinkering around with the MODS. I just can't seem to get this one to work. I see no errors and I know the upload directory is present and working (tested another file upload). Again, I love your MOD and could still sleep at night if I never get this piece working but I thought it would be a cool differentiator. Thanks for your time and I look forward to your PM. ;)
sNator
01-26-2007, 12:35 PM
Not all files are getting streamed and I have to wait for some files to be fully downloaded before I can start to look at it.
Is this the cause of the filetype or webserver setting or what?
AndrewD
01-26-2007, 01:34 PM
Not all files are getting streamed and I have to wait for some files to be fully downloaded before I can start to look at it.
Is this the cause of the filetype or webserver setting or what?
As far as I can understand, the main factor is the program that plays the media. Some programs are able to start handling streams as they are delivered. Others are not, or only do so with some filetypes.
For example, I think that Winamp is perfectly happy to start to play an mp3 stream when it's delivered via an m3u file, but not when the mp3 comes directly. On the other hand, Windows Media Player starts playing mp3s immediately.
Similarly, the Flash media player will start playing before the transfer completes - it just buffers enough material to prevent jerkiness.
*But* there's an important consideration. You must tell VBulletin/LDM about the filetype, by setting up the correct mimetype information in the VB/admin/attachments table. This information is sent to the user before the file transfer starts, and tells the PC what to do. If you give the wrong mimetype information (or give none at all), then the PC is likely to do the wrong thing, or simply wait for the whole file to be transferred.
There's a further point - by getting the mimetype information right, the media player can recognise the possibility to selectively download parts of the file. LDM handles this (so-called HTTP 206 transfers) correctly. For example, it allows people who are playing videos to scroll to another part of the video without waiting for everything to be transferred.
Maybe a media buff can explain more?
berayiwu5
01-27-2007, 05:19 PM
I can't say enough good things about LDM. Amongst the very many powerful features, the best one for me is its sophisticated capability to control bandwidth for each user group.
I hope I'm not missing something here. Does LDM have a function to control the amount of disk space that each user group can use for uploads? I'm looking at Photopost as well: they have this function. But if LDM is going to implement a similar kind of function in a future release, then I may have no need for Photopost. After all, I don't want my vB board to be loaded up with enhancements that have duplicate functionalities.
AndrewD, are you looking to implement this kind of feature in a future release? Thanks for a great product. I just clicked to nominate LDM as MOTM.
Deathspank
01-28-2007, 03:10 AM
Is there any way we can add a countdown for when users download files? (i.e. RapidShare)
civil78
01-28-2007, 07:42 AM
I know that this is a question that have asked a lot of times. Did you plan in the future to add custom fields.
Thanks
AndrewD
01-28-2007, 08:43 AM
Does LDM have a function to control the amount of disk space that each user group can use for uploads?
Not yet (quite)
AndrewD, are you looking to implement this kind of feature in a future release?
It will be in version 2.2.7, as of the next beta (just added it)
Thanks for a great product. I just clicked to nominate LDM as MOTM.
Thanks - maybe we get to win this time - LDM's been nominated twice, I think, but got outvoted both times.
AndrewD
01-28-2007, 08:44 AM
I know that this is a question that have asked a lot of times. Did you plan in the future to add custom fields.
Thanks
I've kept meaning to do this, but never got round to it. I still do plan... Maybe soon
AndrewD
01-28-2007, 08:45 AM
Is there any way we can add a countdown for when users download files? (i.e. RapidShare)
I'm not familiar with how that works? Do you mean a progress bar during the download?
AndrewD
01-28-2007, 09:16 AM
Second issue:
How do we tell it we want it to expire and move? Once it is expired and moved, will it still be visible to the members who have permission to the forum that it was moved to?
This is how I propose that it will work in the final 2.2.7:
(already implemented in the version you have)
- The main admin settings gives two options (currently in the "How Entries are Displayed" section, but they move to their own section). These are links_expiry_days and links_expired_catid. These options are also available on a per-category basis, in the edit category/display settings.
- When links_expiry_days has a non-zero value, then entries only become visible on their submission date (which, as you know, can be forward-dated), and then remain visible for links_expiry_days. Otherwise entries become visible immediately submitted/moderated and remain visible until explicitly deleted.
- When links_expired_category is set (either globally or per-category), expired links are moved to that category the first time their current category is viewed *after* the expiry date.
(in the final 2.2.7)
- there is also an option on the add/edit entry form to immediately expire the entry. This is probably more useful during 'edit entry' than 'add entry'. It gives you a way to force expire certain entries early.
- when an expire entry is moved to a different category, it is automatically given the forum viewing privileges that apply to that new category. Otherwise it keeps its current forum permissions
- the LDM group permission can_view_hidden (up to 2.2.7 alpha, can_view_expired) defines which users can still see expired entries. Other users cannot see these.
So, this gives you the freedom to set up a range of possible behaviours, for example:
- set link_expiry_days but not link_expired_catid: expired entry remains in current category and is visible only to users who have can_view_hidden permission
- set link_expiry_days and link_expired_catid on the global admin page: expired entry is moved to new category, stays expired, and is visible only to users who have both can_view_hidden permission and the relevant forum permissions for the new category
- set link_expiry_days and link_expired_catid for one category only: entries only expire in that category, are then moved to new category, are no longer considered to be expired but are only visible to users who have the relevant forum permissions for the new category
And so on.
Does this cover all your needs?
irishblue
01-28-2007, 12:03 PM
Hi I'm a new LDM user. Just installed it to my vBulletin 3.6.4. First of all, big thanks to AndrewD for creating such a wonderful mod! I managed to get it up and running smoothly.
I'm now trying to get the vBa modules to work. I tried importing ldm_new and ldm_hot. It prompted that there are already existing modules with those names. I suppose its referring to the modules that came with the default LDM install. So I renamed them to vba_ldm_new and vba_ldm_hot. Confirmed that they are checked within my one and only VBadvanced page. Also included the following in the portal header:
<script type="text/javascript" src="clientscript/ldm_global.js"></script>
<script type="text/javascript" src="clientscript/ldm_ajax_keysugg.js"></script>
However, my "What's new" and What's Hot" box on the portal appear empty. It currently only shows the headers. Any idea what could be wrong? Or what else I can check?
any help would be greatly appreciated. :)
AndrewD
01-28-2007, 12:41 PM
Hi I'm a new LDM user. Just installed it to my vBulletin 3.6.4. First of all, big thanks to AndrewD for creating such a wonderful mod! I managed to get it up and running smoothly.
I'm now trying to get the vBa modules to work. I tried importing ldm_new and ldm_hot. It prompted that there are already existing modules with those names. I suppose its referring to the modules that came with the default LDM install. So I renamed them to vba_ldm_new and vba_ldm_hot. Confirmed that they are checked within my one and only VBadvanced page. Also included the following in the portal header:
<script type="text/javascript" src="clientscript/ldm_global.js"></script>
<script type="text/javascript" src="clientscript/ldm_ajax_keysugg.js"></script>
However, my "What's new" and What's Hot" box on the portal appear empty. It currently only shows the headers. Any idea what could be wrong? Or what else I can check?
any help would be greatly appreciated. :)
The pre-module version has an incompatible version of the adv_portal_custom_ldm_hot, adv_portal_custom_ldm_new, etc templates.
Try uninstalling and reinstalling the module, being sure to select the 'overwrite the templates' option.
If this doesn't work, I'm happy to take a look.
You're right about the php code. Pre constructing these modules, the php files were provided in the modules directory.
berayiwu5
01-28-2007, 03:53 PM
Does LDM have a function to control the amount of disk space that each user group can use for uploads? I'm looking at Photopost as well: they have this function. But if LDM is going to implement a similar kind of function in a future release, then I may have no need for Photopost. After all, I don't want my vB board to be loaded up with enhancements that have duplicate functionalities.
AndrewD, are you looking to implement this kind of feature in a future release? Thanks for a great product. I just clicked to nominate LDM as MOTM.
Not yet (quite)
It will be in version 2.2.7, as of the next beta (just added it)
Andrew, I've noticed that you have something named "limit-uploads-byuploads," which comes as a plug-in with the latest official release. If I use this plug-in now, will all the settings be retained if this functionality is implemented in version 2.2.7. That is to say, if I use this plug-in, and if users upload images and files according to these settings, will I lose these settings and will they have to do it all over again if I upgrade to 2.2.7 in the future?
AndrewD
01-28-2007, 03:58 PM
Beta code for 2.2.7 has been uploaded - see main post of this thread.
Please backup your database before upgrading.
Reports please!!!
AndrewD
01-28-2007, 03:59 PM
Andrew, I've noticed that you have something named "limit-uploads-byuploads," which comes as a plug-in with the latest official release. If I use this plug-in now, will all the settings be retained if this functionality is implemented in version 2.2.7. That is to say, if I use this plug-in, and if users upload images and files according to these settings, will I lose these settings and will they have to do it all over again if I upgrade to 2.2.7 in the future?
No, you will not lose track of user's uploads by changing from the plugin to the new code.
The beta 2.2.7 has just been made available, which includes the new code for upload checking.
Deathspank
01-29-2007, 12:50 AM
I'm not familiar with how that works? Do you mean a progress bar during the download?
Like, the user chooses the file to download, then they get sent to a redirect page which says something along the line "Your download will automatically start in 5 seconds", it counts down until the 5 seconds are up, then the file downloads. Oh, also, is there any way we can choose permissions for categories rather than the entire LDM manager and forum permissions? Like, say in one category, I have a bunch of WMV videos that people can stream in the jukebox and save, and in another category they can only stream the WMV files in the jukebox, not save them.
EDIT: I just installed beta 2.2.7 and I'm now getting this error when I try to go into the admin panel for LDM (I took out the IP and script variables):
Database error in vBulletin 3.6.4:
Invalid SQL:
SHOW VARIABLES
WHERE variable_name='wait_timeout';
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE variable_name='wait_timeout'' at line 2
Error Number : 1064
Date : Sunday, January 28th 2007 @ 08:32:03 PM
Script : removed
Referrer :
IP Address : removed
Username : Deathspank
Classname : vb_database
berayiwu5
01-29-2007, 02:03 AM
Yes, I got the same error message as the previous poster when attempting to install 2.2.7beta:
------------------------------------------------------------------------------------------
Database error in vBulletin 3.6.4:
Invalid SQL:
SHOW VARIABLES
WHERE variable_name='wait_timeout';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE variable_name='wait_timeout'' at line 2
Error Number : 1064
Date : Sunday, January 28th 2007 @ 10:00:14 PM
Script : http://mysite.com/forum/local_links_admin.php?set=settings
Referrer : http://mysite.com/forum/admincp/index.php?do=nav
IP Address : removed
AndrewD
01-29-2007, 04:01 AM
Yes, I got the same error message as the previous poster when attempting to install 2.2.7beta:
Database error in vBulletin 3.6.4:
Invalid SQL:
SHOW VARIABLES
WHERE variable_name='wait_timeout';
Apologies for that. Different versions of MySQL use different syntax for this command.
Please download the updated zip file.
AndrewD
01-29-2007, 04:32 AM
I've found a bug in the upload code for 2.2.7, which will be straightforward to fix, but I'm heading off to work now.
Beta has been withdrawn until this evening.
SemperFideles
01-29-2007, 11:14 AM
I've tried searching for this issue within this Mod and cannot find it. I just did a brand new install of 2.2.6. I added a category and was successfully able to add a link using the LDM.
I've added a single category that gives all usergroups the ability to see and click on the links therein. I also gave all Registered Users permission to add a link but I did not give them permission to upload files.
Registered users cannot add a link. I've gone over my settings about 10 times and can_add_link is authorized for the Registered Users Usergroup. When they try to add a link for that category they are told they do not have the permissions to do so.
What am I missing here?
AndrewD
01-29-2007, 03:47 PM
I've tried searching for this issue within this Mod and cannot find it. I just did a brand new install of 2.2.6. I added a category and was successfully able to add a link using the LDM.
I've added a single category that gives all usergroups the ability to see and click on the links therein. I also gave all Registered Users permission to add a link but I did not give them permission to upload files.
Registered users cannot add a link. I've gone over my settings about 10 times and can_add_link is authorized for the Registered Users Usergroup. When they try to add a link for that category they are told they do not have the permissions to do so.
What am I missing here?
From what you say, I assume that the registered users are actually seeing an "Add Entry" command on the tool bar and when they click on this, they receive a *you do not have permission to access this page* form.
New entries come in two forms:
- Links to existing files [*can_link_files* permission]
- Uploads [*can_upload_files* permission]
The situation I described happens if you give a usergroup *can_add_link* permission but take away both *can_link_files* and *can_upload_files*.
If I've misunderstood, let me know. Sorry if this was confusing - maybe I need to tighten up this error message as you are not the first person to be confused.
AndrewD
01-29-2007, 04:25 PM
available again. sorry...
obmob
01-29-2007, 10:00 PM
Hey, I already did this in 2.2.6. There's an icon download.gif in the icons directory - if it's present, then it's displayed for downloads.
I didn't produce a linkbit that looks exactly the same as yours, but that would be easy to change the layout - do you want this added as a new linkbit?
Images show your suggestion and the main linkbit ("modern")Sorry for the delay on my answer.
Oh, it really was on 2.2.6? I didn't read anything about this before :eek:
I'll take a look, thank you Andrew! :D
Firen
01-29-2007, 10:41 PM
I have recently installed this awesome mod. Is there any way to password protect zips? :)
Thanks.
berayiwu5
01-30-2007, 12:22 AM
available again. sorry...
The 2.2.7beta is working without a hitch--as far as I can tell. Thanks, Andrew. I really like the upload quota feature that now comes standard with LDM.
By the way, I've got a couple of questions. First, how do I lay out all the photos inside a single box: http://www.eirma.org/wikis/images/f/fb/Photolib.jpg?
Second, is there a way to display all the images that a user has ever uploaded using LDM all in one place?
You have packed so many powerful features into LDM that I'm still in awe after using it for two months!
Ophelia
01-30-2007, 12:53 AM
Does this cover all your needs?
My head is swimming!
I think this covers everything that we were needing :)
going to do some testing now :)
Ophelia
01-30-2007, 01:09 AM
Okay, some side questions.
I have the download manager now installed on another site that I'm admining for. On Friday, they send out a newsletter to roughly 12,000 subscribed members advertising the download for that day. They will typically have roughly 2-3,000 hits on it by the end of the day.
We are seeing a huge strain on the main database, which is on the main server. A new server, dedicated to the downloads, has been purchased. Now the question is.. can we have a seperate database just for the link manager, or does it have to be inside the forum database? Right now, when that newsletter goes out, it overloads the database and shuts down the site, which is bad because the store is also there.
Second issue:
Older install... those who are allowed to upload can do so, but it's putting all their files into "moderate". I've looked everywhere to see if it's really set to moderate them, but can't find anything. It's driving me batty. Ideas?
Ophelia
01-30-2007, 01:32 AM
Here is the issue that I'm seeing (I'm using just a regular registered member to do this, not admin).
1. Add Entry
2. Input all the information.
3. In the field where I want to schedule the download to be visible, it is showing my correct time; CST. I input the time and press submit.
4. I look and see that the download is not scheduled (it doesn't have the red "Expired or scheduled" message. When I go in and edit, it is showing one hour earlier (ET) for the scheduled, and not the CST.
Example: I type in 7:40 CST and press submit, it changes it to 6:40 my time instead and doesn't schedule it for later.
I know that this worked in 2.2.6, as we haven't had any issues with it at all.
Have you set up the timezone/daylight saving settings for your 'registered user'? THe LDM code uses (I think!) standard vb routines for dates/times, but I'll check again.
I have the forum itself set up for ET (-5)
I have the user set up for CST (-6)
I just installed the newest version, and it's still doing this.
Here are some screen shots.
When I first go in to enter a new entry. This shows the current time for CST (the user).
https://vborg.vbsupport.ru/
I change the time to 9:30 AM on January 30th and press submit.
I go back in and edit, and now it shows this:
https://vborg.vbsupport.ru/
So it took my CST 9:30 and changed it to ET, which would be 8:30 a.m.
It didn't work this way in 2.2.6. When you go in to add in 2.2.6, it would show the ET even if your member was set to CST.
AndrewD
01-30-2007, 04:07 AM
How do I lay out all the photos inside a single box: http://www.eirma.org/wikis/images/f/fb/Photolib.jpg?
Edit the category; go to the Control Settings tab; choose Photo Album for template_linkbit; and set link_cols_display to whatever number of columns you want.
Second, is there a way to display all the images that a user has ever uploaded using LDM all in one place?
You can do it directly with the urls
local_links_search.php?action=show&user=username
local_links_search.php?action=show&userid=userid
or you can go to search/advanced search and enter the username
or (with the standard linkbit) you can find an extry by the user of interest and click on the magnifying glass just to the right of the username
AndrewD
01-30-2007, 04:09 AM
I have recently installed this awesome mod. Is there any way to password protect zips? :)
Thanks.
Do you mean that you want LDM to modify the zip file to insert a password into it?
Or do you mean that you want the user to be prompted for a password before being able to download the zip?
The first can be done with a tool like winzip. Currently, LDM has no password features built into it - I've not tested, but I imagine that you could route access via a password protected VB forum.
AndrewD
01-30-2007, 04:20 AM
Okay, some side questions.
I have the download manager now installed on another site that I'm admining for. On Friday, they send out a newsletter to roughly 12,000 subscribed members advertising the download for that day. They will typically have roughly 2-3,000 hits on it by the end of the day.
We are seeing a huge strain on the main database, which is on the main server. A new server, dedicated to the downloads, has been purchased. Now the question is.. can we have a seperate database just for the link manager, or does it have to be inside the forum database? Right now, when that newsletter goes out, it overloads the database and shuts down the site, which is bad because the store is also there.
I never dreamed that this would end up being a heavyweight....
First thing to work out is whether it is the load on the database that is killing your server, or the physical effort of transferring the files which are being downloaded. I would be inclined to suspect the second - recall that the files themselves are not stored in the database.
Second, how are the urls being specified for the downloads? If they are being entered as full urls (even if this is the same server), this is a sure fire recipe for hammering the server. Far better to have the files specified using a local filename (or uploaded, which amounts to the same thing).
I really don't know about being able to run LDM in its own VB database - but one way that should work is to have two installations of VB on the same server, and use one of them for LDM. Might need some clever work to keep the usernames in sync.
Older install... those who are allowed to upload can do so, but it's putting all their files into "moderate". I've looked everywhere to see if it's really set to moderate them, but can't find anything. It's driving me batty. Ideas?
Take a look at the Control Settings tab for the category into which they are uploading (or its parents), as well as the Admin/Settings page. Moderation can be set on a per-category basis and globally.
AndrewD
01-30-2007, 04:21 AM
I have the forum itself set up for ET (-5)
I have the user set up for CST (-6)
I just installed the newest version, and it's still doing this.
Here are some screen shots.
When I first go in to enter a new entry. This shows the current time for CST (the user).
http://www.gottapixel.net/images/LD_01.jpg
I change the time to 9:30 AM on January 30th and press submit.
I go back in and edit, and now it shows this:
http://www.gottapixel.net/images/LD_02.jpg
So it took my CST 9:30 and changed it to ET, which would be 8:30 a.m.
It didn't work this way in 2.2.6. When you go in to add in 2.2.6, it would show the ET even if your member was set to CST.
OK, will dig into this. I spend my life zipping between time zones :confused: so I'm surprised that I never tried this myself.
Ophelia
01-30-2007, 04:51 AM
I never dreamed that this would end up being a heavyweight....
First thing to work out is whether it is the load on the database that is killing your server, or the physical effort of transferring the files which are being downloaded. I would be inclined to suspect the second - recall that the files themselves are not stored in the database.
Second, how are the urls being specified for the downloads? If they are being entered as full urls (even if this is the same server), this is a sure fire recipe for hammering the server. Far better to have the files specified using a local filename (or uploaded, which amounts to the same thing)..
Hey, if you would stop providing such wonderful customer support.. we would stop using the program ;) Okay really, please don't!! We're about to create a gold shrine in your honor.
We'll go ahead and start with storing the files on the server that is solely dedicated to downloads... and see how that works. I do know that we get SQL errors when this happens, so that's why I'm assuming it's to much work on the database instead of the server itself.
The problem that I have had w/ the full urls/local filename is that we've never been able to get it working on our server. Anything over 5MB fails, so we have to do the full URL. We upped our PHP Maximum Upload Size to 50.00 MB.. still didn't help.. but I'm guessing I didn't do something right somewhere. I'll do some more reading about this because I think I did see you had posted something about this situation in this thread.
Ophelia
01-30-2007, 04:54 AM
OK, will dig into this. I spend my life zipping between time zones :confused: so I'm surprised that I never tried this myself.
I double checked and this isn't an issue w/ 2.2.6, which we have installed on the main site...
I'm wondering though if maybe I did something wrong in the configuration of vBulletin though... can anyone else confirm that it's doing this in 2.2.7? When I go into vB's options to set time and set it to ET, it reads -4 instead of -5, even though I picked -5. Maybe that is the issue and it's all my side :( I don't want to send you on a wild goose chase!
Deathspank
01-30-2007, 08:29 AM
Andrew, I still haven't heard a response from you about my question... is there any way we can choose permissions for categories rather than the entire LDM manager and forum permissions? Like, say in one category, I have a bunch of WMV videos that people can stream in the jukebox and save, and in another category they can only stream the WMV files in the jukebox, not save them. I've noted that you could do this with usergroups, but I need it to be done with categories.
Firen
01-30-2007, 09:05 AM
Do you mean that you want LDM to modify the zip file to insert a password into it?
Or do you mean that you want the user to be prompted for a password before being able to download the zip?
The first can be done with a tool like winzip. Currently, LDM has no password features built into it - I've not tested, but I imagine that you could route access via a password protected VB forum.
I was actually after an answer to the latter. But thanks for answering both. I'll try routing the access to a protected forum like you suggested. :)
AndrewD
01-30-2007, 03:31 PM
I double checked and this isn't an issue w/ 2.2.6, which we have installed on the main site...
I'm wondering though if maybe I did something wrong in the configuration of vBulletin though... can anyone else confirm that it's doing this in 2.2.7? When I go into vB's options to set time and set it to ET, it reads -4 instead of -5, even though I picked -5. Maybe that is the issue and it's all my side :( I don't want to send you on a wild goose chase!
I've confirmed the problem - I changed some code to consistently (??!!??) use the user's time zone, but have clearly messed something up. I'll try to post a fix as soon as posisble - it's very easy to go back to the old behaviour, but I would prefer to find an approach that gives the user the option of seeing dates/times on the server and on a local basis.
AndrewD
01-30-2007, 03:36 PM
Andrew, I still haven't heard a response from you about my question... is there any way we can choose permissions for categories rather than the entire LDM manager and forum permissions? Like, say in one category, I have a bunch of WMV videos that people can stream in the jukebox and save, and in another category they can only stream the WMV files in the jukebox, not save them. I've noted that you could do this with usergroups, but I need it to be done with categories.
The relevant permissions can be set on a per-category basis. Go to 'Edit Catgeory' then the 'User Permissions' tab, and give/take can_play_musicbox and can_save_musicbox, etc
Renada
01-30-2007, 05:55 PM
Hi Andrew,
Thank you so much for this mod, it's incredible. :)
Could you tell me if its possible, and if so how I do it, to set this as a "read only" mod instead of a download?
For example, if someone clicks on a text file could it "open" as opposed to them downloading it?
Thanks for your help.
Regards,
Renada
Edit: Unfortunately for some reason the code to stop right clicking also prevents me from editing any settings - i.e. I couldn't change the above setting from 600 to something else. Any ideas?
AndrewD
01-30-2007, 07:26 PM
Hi Andrew,
Thank you so much for this mod, it's incredible. :)
Could you tell me if its possible, and if so how I do it, to set this as a "read only" mod instead of a download?
For example, if someone clicks on a text file could it "open" as opposed to them downloading it?
Thanks for your help.
Regards,
Renada
If you set the mimetype information (VB/admin/attachments) for text files to "Content-type: text/plain", then a simple left click on an entry which is a text file opens automatically in the browser window. This works correctly, as far as I can tell, with IE, Firefox and Opera.
However, the user can still force a "save as" using right click with the mouse, or by doing a "view source" and then save. You can disable the 'right click' menu by adding a bit of javascript to the page.
For example, if you edit clientscript/ldm_global.js and add these lines to the end:
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
then I think you'll disable the right click menu throughout LDM.
AndrewD
01-30-2007, 07:29 PM
I double checked and this isn't an issue w/ 2.2.6, which we have installed on the main site...
I'm wondering though if maybe I did something wrong in the configuration of vBulletin though... can anyone else confirm that it's doing this in 2.2.7? When I go into vB's options to set time and set it to ET, it reads -4 instead of -5, even though I picked -5. Maybe that is the issue and it's all my side :( I don't want to send you on a wild goose chase!
Ophelia, I think I've got a fix which always correctly presents the user with times in their own time zone. I can let you have this, or I can let you have the old (server times) behaviour back.
Am going on vacation tomorrow for a couple of weeks - not sure if I'll have an internet connection or not (or even if I should be working on this on holiday...).
If you can let me know by the morning, I'll post the code.
COBRAws
01-31-2007, 03:10 AM
Some bug reporting for 2.2.7 b1
in template links_admin;
Report #01: Apply CSS to this button.
Find: $vbphrase[ll_admin_expire]
<input type="hidden" name="action" value="massedit" />
<input type="submit" name="expire" value="$vbphrase[ll_go]" />
Replace with: $vbphrase[ll_admin_expire]
<input type="hidden" name="action" value="massedit" />
<input type="submit" class="bginput" name="expire" value="$vbphrase[ll_go]" />
Report #02: Add a space after each Usage stats. At the moment it will only show "0 Visits 0bytes". This fix will show "0 Visits 0 bytes"
Find: <td class="alt2" align="center"><span class="smallfont"><if
condition="$totusage['fileshit']">$totusage[fileshit]<else />0</if> $vbphrase[ll_band_files]
$vbphrase[ll_band_usage_24]</span></td>
<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit]<else />0</if>$vbphrase[ll_bytes]
$vbphrase[ll_band_usage_24]</span></td>
Replace With: <td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['fileshit']">$totusage[fileshit] <else />0 </if> $vbphrase[ll_band_files] $vbphrase[ll_band_usage_24]</span></td>
<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit] <else />0 </if>$vbphrase[ll_bytes] $vbphrase[ll_band_usage_24]</span></td>
ITs not much, but hope it helps. Keep up the good work!
obmob
01-31-2007, 03:22 AM
Have a nice vacation Andrew!!! :D
AndrewD
01-31-2007, 04:37 AM
Some bug reporting for 2.2.7 b1
in template links_admin;
Report #01: Apply CSS to this button.
Find: $vbphrase[ll_admin_expire]
<input type="hidden" name="action" value="massedit" />
<input type="submit" name="expire" value="$vbphrase[ll_go]" />
Replace with: $vbphrase[ll_admin_expire]
<input type="hidden" name="action" value="massedit" />
<input type="submit" class="bginput" name="expire" value="$vbphrase[ll_go]" />
Report #02: Add a space after each Usage stats. At the moment it will only show "0 Visits 0bytes". This fix will show "0 Visits 0 bytes"
Find: <td class="alt2" align="center"><span class="smallfont"><if
condition="$totusage['fileshit']">$totusage[fileshit]<else />0</if> $vbphrase[ll_band_files]
$vbphrase[ll_band_usage_24]</span></td>
<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit]<else />0</if>$vbphrase[ll_bytes]
$vbphrase[ll_band_usage_24]</span></td>
Replace With: <td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['fileshit']">$totusage[fileshit] <else />0 </if> $vbphrase[ll_band_files] $vbphrase[ll_band_usage_24]</span></td>
<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit] <else />0 </if>$vbphrase[ll_bytes] $vbphrase[ll_band_usage_24]</span></td>
ITs not much, but hope it helps. Keep up the good work!
Thanks - appreciated.
The underlying thing I have to fix is the code I use to turn number like 123456 into 123K, etc, so that the spacing continues to look right in that situation, i.e. whether or not the space comes before the K or before the bytes. It's one of those tiny but annoying things that I had not dealt with.
berayiwu5
01-31-2007, 05:08 AM
Am going on vacation tomorrow for a couple of weeks - not sure if I'll have an internet connection or not (or even if I should be working on this on holiday...).
Well deserved. Enjoy your vacation! I'll ask you about integrating a user profile for easy access to photos (the user has uploaded) when you come back.
AndrewD
01-31-2007, 05:47 AM
Just to avoid wasting your time...
The most irritating/significant bug in the 2.2.7 code is that users living in a different timezone from your board will see inconsistent information on the add and edit entry forms. As of 2.2.7, the date/time that the user enters is given in her local timezone and correctly entered into the database according to the board's timezone. But when the user edits the entry, they will see the server time, not the time they had entered. Irritating, but not a killer. Fix is written, but I wait for Ophelia's views on how to proceed.
Ophelia - I've sent you the fixed code by email.
Deathspank
01-31-2007, 09:02 AM
Andrew, I feel so stupid for not noticing those tabs earlier. Thanks a ton for the help!
Glynn58
01-31-2007, 12:55 PM
Hi Andrew,
Installed LDM 2.2.7 last night and I'm impressed Great Mod.
Just having a couple of minor issues.
The links pages are look different in IE & Firefox. I have attached a couple of screen shots for you to see.
I would like them to display the way they do in IE. I know it's possible because I have seen other sites using the same look when viewed in Firefox.
Also I would like to add the link separator between each link but I can't figure out how to do it.
Any help would be appreciated.
Thanks
AndrewD
01-31-2007, 07:04 PM
Hi Andrew,
Installed LDM 2.2.7 last night and I'm impressed Great Mod.
Just having a couple of minor issues.
The links pages are look different in IE & Firefox. I have attached a couple of screen shots for you to see.
I would like them to display the way they do in IE. I know it's possible because I have seen other sites using the same look when viewed in Firefox.
Also I would like to add the link separator between each link but I can't figure out how to do it.
Any help would be appreciated.
Thanks
Are you sure you haven't changed the template_linkbit setting between viewing on IE and Firefox? There's no difference in the LDM code between browsers (except for deep down stuff to do with media players). One of your images is displaying the default ("Modern") linkbit, and the other is using one of the alternatives - see either ldm/admin/settings for the global setting or category/edit category/control settings for a per-category setting.
Concerning a separator bar between each item, the way to force this is by giving each entry a different "display_order" on the add/edit entry form. When you do this, you also over-ride *all* the sorting options - groups with the same display order are grouped together according to whatever sort order you want, and each display order group is displayed in sequence.
If you wanted to include a bar without messing up the possibility for your users to sort items, the way to do it is to edit the relevant links_linkbit_** template (e.g. links_linkbit for the modern display). Each link bit is in fact a table row with two cells, so if you add the following at the end of the template, you'll get the effect you want:
<tr>
<td colspan="2" class="tcat">
</td>
</tr>
If you do this, beware when you install upgraded versions of LDM, in case the template needs reverting because I've made some changes.
Glynn58
01-31-2007, 09:05 PM
Thanks Andrew.
I have figured out the firefox thing. Turned out to be a stuborn cookie.
Cleared the cookies out and all is fine. I was concerned because I had firefox and ie open at the same time and refreshed both windows with each change I made.
The addition at the end of the links_linkbit template has done exactly what I wanted.
Many thanks
Renada
01-31-2007, 10:52 PM
If you set the mimetype information (VB/admin/attachments) for text files to "Content-type: text/plain", then a simple left click on an entry which is a text file opens automatically in the browser window. This works correctly, as far as I can tell, with IE, Firefox and Opera.
However, the user can still force a "save as" using right click with the mouse, or by doing a "view source" and then save. You can disable the 'right click' menu by adding a bit of javascript to the page.
For example, if you edit clientscript/ldm_global.js and add these lines to the end:
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
then I think you'll disable the right click menu throughout LDM.
Andrew,
Thank you for that code, it works a treat :)
One more thing - could you please tell me where to set the thumbnail size for pictures? I *thought* I'd done it but it doesn't appear to work.
In my AdminCP I clicked Categories > Edit > Control Settings >
Template Linkbit is set to Photo Album
link_imagesize is set at 0
link_imagemagsize is set at 600
Could you please tell me what I need to change?
Thanks very much and have a wonderful holiday :)
Regards,
Renada
butty
02-01-2007, 12:00 AM
andrew jus a quickie if possible (oo err) lol
as you can see from the attached file when i place the ldm in vbadvanced with modules to the left and right the ldm block makes the ones either side narrow. can you tell me where to change the width setting if possible
many thanks
AndrewD
02-01-2007, 06:44 AM
Could you please tell me what I need to change?
It's link_imagesize = size of the thumbnail in the main links display - by default set to 0=no thumbs
The 'gotcha' is that the code currently does not automatically re-generate thumbnails when you change the thumbsize - I suppose it should really. If you've already got some thumbs displayed and cached, it continues to display these. So if you change link_imagesize, then go to admin/statistics and select Reset Thumbs
AndrewD
02-01-2007, 06:46 AM
andrew jus a quickie if possible (oo err) lol
as you can see from the attached file when i place the ldm in vbadvanced with modules to the left and right the ldm block makes the ones either side narrow. can you tell me where to change the width setting if possible
many thanks
Sorry, I can't give you a quick answer to this - am sitting in a hotel room with just my laptop.
Please can a VBadvanced expert help Butty?
Slave
02-01-2007, 10:07 AM
Sorry, I can't give you a quick answer to this - am sitting in a hotel room with just my laptop.
Please can a VBadvanced expert help Butty?
Unfortuantly I don't use that module .. so I don't think I can help ..
Saying that .. I take it butty that the sizes for the left and right hand columns have been set up correctly in vBa .. therefore it's the LDM module that causing the right hand column to shrink in size?
If so .. Andrew is there a way of giving the LDM module a fixed width?
ubblite
02-02-2007, 08:56 AM
Hello
I have tried many times to used the Mod_Rewrite and use the seo_friendly links, but I can't get it to work.
1. I have an .htaccess file and I added the 5 lines noted in the LDM manual.
2. Then I turn to YES the seo_friendly.
but is not working, when I click one of the categories it takes me back to LDM index page.
What am doing wrong?
My forum has vBSEO, do you think that is interfering with the mod?
Did anyone come across a working solution for this yet? I also have vbSEO installed and have followed the steps above. I've edited my .htaccess file in the forum root & entered the code, then switched seo_friendly to yes. After that, page not found messages come up.
Great mod btw, thanks.
Artificial_Alex
02-02-2007, 10:43 AM
Does this work with 3.6.4 too?
butty
02-02-2007, 12:41 PM
Unfortuantly I don't use that module .. so I don't think I can help ..
Saying that .. I take it butty that the sizes for the left and right hand columns have been set up correctly in vBa .. therefore it's the LDM module that causing the right hand column to shrink in size?
If so .. Andrew is there a way of giving the LDM module a fixed width?
i have wrapped vba around the ldm php page mate but yeah as you can see its squishing in the left and right columns because of its width, it doesnt do this on other pages that i have the 3 columns
so i jus need to find out how to change the width of the ldm tables etc
Deathspank
02-04-2007, 04:13 PM
Andrew,
On my site currently, I have it setup so a user can choose to either stream the video on the site via YouTube integration, or to download the file off of websites such as FileFront for each file. I'm not using LDM to do this. My question was, would it be possible to do something like this in LDM, where in the entry clicking "Play Me" would lead to an embedded video in the jukebox, and "Visit Link" would lead to an offsite download area such as FileFront. Essentially, basically two linkouts in one entry. Is this possible?
obmob
02-04-2007, 05:34 PM
Does this work with 3.6.4 too?Yup, 2.2.6 works awesome.... 2.2.7, well, it's beta :D
T_Richardson
02-06-2007, 06:48 PM
I must add my 2 cents also.
:up: Fantastic! Did a test run on my test site and went live with no problems whatsoever.
Using vBulletin version 3.6.4
josiespencer
02-07-2007, 12:14 AM
Can you not create a csv file with this format:
link,"Netweaver.bmp","http://www.abc.com/Files/Wallpapers/Netweaver.bmp","Netweaver.bmp",156
and use it as an import file for the initial load of my LDM entries? All the categories already exist, so why won't this work?
amnesia623
02-07-2007, 07:59 AM
Just curious - is there a way to get an upload status indicator? like bytes or percentage uploaded?
Thanks
Gwendolin
02-08-2007, 07:49 PM
Hi, very good modification, I like it very much :)
But I miss one or I just don't see it.
At the setting of a download limit under local_links_admin.php?set=bandwidth I can just add a limit by usergroup.
It is possible to set a limit on categories, I don't want add a limit for usergroups, just a download limit for 2 categories, all other categories should be unlimited.
Is that anywhere possible or could add?
zajako
02-09-2007, 01:56 AM
I have set up my forums to include this but I get this error:
here (http://www.synergames.com/screenshots/images/jeznyt0a2nitzjummfxj.png)
Alfa1
02-13-2007, 12:34 AM
I want my entire LDM as a module in vbadvanced. So that even as you click on a category, there will still be vba blocks around LDM. Is there a module for this?
I have tried to apply vba to LDM, but that does only work for the main page of LDM. (Unless I apply it to every possible page of LDM, which is not feasable) And on top of that, this gets lost with LDM upgrades, so I gather it needs to be done the other way around: a vbadvanced module for the entire LDM.
Regenerate
02-13-2007, 09:57 PM
Hi,
I have a (imho bizarre) problem with the downloads:
On http://forum.dutchjoomla.org/local_links.php?catid=3 you can see 5 different downloads. Administrators can download all files, but registered users can only download 'Taalbestanden backend' but are restricted to the download of all other files (while the should be able to download them all).
When I try to download the files directly (putting the adress of the files in the browser instead of trying it through the above page), there's no problem en the download goes as usual. I checked the permissions on the files and tried to find any difference between the file that c?n be downloaded by users and the others, but I cannot find any difference. The "can_access_link" option is enabled for all registered users, for all files (I use the same permission settings for the whole download section).
All files on the server are CHMOD 0644
I tried deleting te files and adding the same ones again, but that has failed as well...
I then searched the database table 'local_linkslink' and in the column 'linkforum' I found that all files have the number -999, except for the 4 files that cannot be downloaded bij normal users. To me, this seems to be causing the problem. Can anyone explain to me how to fix this (exept for just changing it in the database which is just a fix, no solution).
Thanks in advance!
AndrewD
02-14-2007, 10:54 AM
Hi,
I have a (imho bizarre) problem with the downloads:
On http://forum.dutchjoomla.org/local_links.php?catid=3 you can see 5 different downloads. Administrators can download all files, but registered users can only download 'Taalbestanden backend' but are restricted to the download of all other files (while the should be able to download them all).
When I try to download the files directly (putting the adress of the files in the browser instead of trying it through the above page), there's no problem en the download goes as usual. I checked the permissions on the files and tried to find any difference between the file that c?n be downloaded by users and the others, but I cannot find any difference. The "can_access_link" option is enabled for all registered users, for all files (I use the same permission settings for the whole download section).
All files on the server are CHMOD 0644
I tried deleting te files and adding the same ones again, but that has failed as well...
I then searched the database table 'local_linkslink' and in the column 'linkforum' I found that all files have the number -999, except for the 4 files that cannot be downloaded bij normal users. To me, this seems to be causing the problem. Can anyone explain to me how to fix this (exept for just changing it in the database which is just a fix, no solution).
Thanks in advance!
LDM has a VB forum-based permissions system built into it, and your problem is related to this.
Every entry and category has an 'associated forum' held in linkforum column (and catforum columns in the linkscat table). Users are only allowed access to an LDM entry/category when they have *both* can view forum and can view other's threads permission to the corresponding forum.
Values of -999 tell LDM that these entries are 'open', i.e. only LDM's own permissions are used, not the forum-based method.
When there is another value, LDM checks the access permissions for your corresponding VB forum.
The forum association is set explicitly on the 'add/edit entry/category' form by users who have LDM's *can_set_permissions* permission. These users see a drop-down list of your VB forums, and can accept the default associated forum, select another forum of choice, or assign the 'open access' value. New entries from other users always take the default value. The default value for categories is set on the main LDM admin settings page (default_forumid); the default value for entries is the value for the category in which they are being placed.
So, I think you have created four entries which are associated with a forum that has restricted user access. You can correct it by editing these entries and changing the associated forum to 'Open Access'.
Let me know if this does not solve the problem.
AndrewD
02-14-2007, 10:55 AM
I want my entire LDM as a module in vbadvanced. So that even as you click on a category, there will still be vba blocks around LDM. Is there a module for this?
I have tried to apply vba to LDM, but that does only work for the main page of LDM. (Unless I apply it to every possible page of LDM, which is not feasable) And on top of that, this gets lost with LDM upgrades, so I gather it needs to be done the other way around: a vbadvanced module for the entire LDM.
This is not a small task...
mauro1947
02-14-2007, 10:56 AM
Hi!
@AndrewD: Any news about release 2.2.7?
Thanks
PD: Did you read my PM? Thanks!
AndrewD
02-14-2007, 11:03 AM
Hi, very good modification, I like it very much :)
But I miss one or I just don't see it.
At the setting of a download limit under local_links_admin.php?set=bandwidth I can just add a limit by usergroup.
It is possible to set a limit on categories, I don't want add a limit for usergroups, just a download limit for 2 categories, all other categories should be unlimited.
Is that anywhere possible or could add?
Thanks for the suggestion - this was not possible before, but it is easy to add, and will be available in the next upload of version 2.2.7 (the release candidate).
Basically, there will be a new per-usergroup, per-category permission, called *can_bypass_bandwidth_limits*. So you will be able to set overall limits on bandwidth use, and then turn it off for all but your two categories of interest.
Note that the calculation will be based on the *total* consumption from those two categories. It is not straightforward to change the code to allow different bandwidth usage per category.
AndrewD
02-14-2007, 11:10 AM
Just curious - is there a way to get an upload status indicator? like bytes or percentage uploaded?
Thanks
I've looked into this several times.
It is not possible to provide an upload status indicator with php versions earlier than 5.2.0. You can do this with a mixed php/perl approach, but I'm not sure I want to start learning all the consequences.
Php 5.2.0, released late in 2006, has hooks built in to enable monitoring of uploads. I've tested this using a stand-alone program, and it works. However, the hooks are only accessible if you also install and use the APC (advanced cache) system for php on your server. I've found that this works fine on production boards but creates problems if any code is unstable.
So my advice for the time being is 'lets not rush this'. When the basic php software becomes more robust, I'll be happy to add an upload meter.
AndrewD
02-14-2007, 11:13 AM
Hi!
@AndrewD: Any news about release 2.2.7?
Thanks
PD: Did you read my PM? Thanks!
The 2.2.7 RC will be uploaded in a day or so - I've just got back home. New in that code will be a 'suggest other entries I might like', which uses the downloads/favourites/keywords tables - it will need testing, but I hope it might work like Amazon's 'other users bought this' recommendation system.
Just read your PM and will reply soon.
Regenerate
02-14-2007, 02:05 PM
...
Let me know if this does not solve the problem.Thanks, that clears up some things, I do think that was the problem, thx!
AndrewD
02-14-2007, 02:27 PM
Can you not create a csv file with this format:
link,"Netweaver.bmp","http://www.abc.com/Files/Wallpapers/Netweaver.bmp","Netweaver.bmp",156
and use it as an import file for the initial load of my LDM entries? All the categories already exist, so why won't this work?
That looks ok to me. Are you sure that you've got the correct category ids (the 156)?
obmob
02-14-2007, 07:55 PM
Welcome back Andrew! :)
Did u have a nice vacation? :D
Alfa1
02-14-2007, 10:55 PM
This is not a small task...
I was afraid so. I hope someone can find the time for it, as I am sure many would use this. Sorry for asking, as you have already done so much. :up:
Dr.NoTime
02-15-2007, 02:10 AM
HI, I have everything loaded and working except the jukebox. The window opens but there is no way to play the file. I can download the file fine. I am running 2.2.7 on a Linux server.
Thanks in advance for any help.
AndrewD
02-15-2007, 05:48 AM
Welcome back Andrew! :)
Did u have a nice vacation? :D
It was wonderful, thanks. I want to go straight back...
AndrewD
02-15-2007, 05:51 AM
HI, I have everything loaded and working except the jukebox. The window opens but there is no way to play the file. I can download the file fine. I am running 2.2.7 on a Linux server.
Thanks in advance for any help.
Are you running your web browser on a Windows PC, a Linux box or a Mac? The Jukebox should now work on all three. Am happy to take a look if you send me a PM with your site details.
butty
02-15-2007, 05:10 PM
i have a request for help and a offer of help! :D
firstly my request. andrew. as you can see from my first screen grab i have vba wrapped around ldm
what im trying to do is remove the navbar as i dont have it on other cms pages ya see.
so what im doing is removing '$navbar' out of my adv_portal template.
as seen in the second screen capture this gets rid of the navbar but i get a error (as you can see)
if i remove the $navbar out of my link_header template it still stays there
can you tell me how i can get rid of the navbar pls on ldm pages?
many thanks for your time
also onto my offer of help Alfa 1 if you look at my first screengrab i can show you how to wrap vba around ldm like that. when i click on a category it opens that category with my vba site nav to the left etc is that what your after?
AndrewD
02-15-2007, 05:32 PM
i have a request for help and a offer of help! :D
firstly my request. andrew. as you can see from my first screen grab i have vba wrapped around ldm
what im trying to do is remove the navbar as i dont have it on other cms pages ya see.
so what im doing is removing '$navbar' out of my adv_portal template.
as seen in the second screen capture this gets rid of the navbar but i get a error (as you can see)
if i remove the $navbar out of my link_header template it still stays there
can you tell me how i can get rid of the navbar pls on ldm pages?
many thanks for your time
I just took a look at your site, but I'm not getting the error you've posted - it's a Javascript error, by the way, and from the look of the line number, it's probably in the Javascript you've added at at the bottom of the page. So I wonder if the navbar removal is a bit of a red herring - the problem may be somewhere else.
butty
02-15-2007, 06:58 PM
cheers for the reply andrew. when i remove the following code out of my footer then it works with no errors but im not sure what this code is what it does or if its needed or not lol any ideas?
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
AndrewD
02-15-2007, 07:12 PM
cheers for the reply andrew. when i remove the following code out of my footer then it works with no errors but im not sure what this code is what it does or if its needed or not lol any ideas?
Yes, this is the standard VB page initialisation.
The first bit is used by VB to auto-reset your users' times when daylight saving time/summer time begins.
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
The next bit carries out a whole load of vb initialisation, to make sure that your pop-up menus, etc, work properly. I'll bet that the error is coming from here - you might try just removing these lines. Am not sure how this is interacting with vbadvanced/LDM, though.
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
For those of you having the vBSEO/rewrite 'Page Not Found' error put this in your custom rewrite rules in your vbseocp.
// Links and Downloads Manager
'local_links\.php\?catid=(\d+)&linkid=(\d+)' => 'local_links/links/$1/$2'
'local_links\.php\?catid=(\d+)' => 'local_links/links/$1'
'local_links\.php\?action=jump&id=(\d+)&catid=(\d+)' => 'local_links/jump/$1/$2'
'local_links\.php\?action=jump&id=(\d+)' => 'local_links/jump/$1'
zajako
02-15-2007, 07:28 PM
I'm not sure if you saw my problem so I'll repost it here.
When trying to access the page via IE I get this error:
https://vborg.vbsupport.ru/
butty
02-15-2007, 08:01 PM
tried that mate and your right. but now the drop down boxes on ldm. category, show searc etc dont work. any ideas?
Yes, this is the standard VB page initialisation.
The first bit is used by VB to auto-reset your users' times when daylight saving time/summer time begins.
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
The next bit carries out a whole load of vb initialisation, to make sure that your pop-up menus, etc, work properly. I'll bet that the error is coming from here - you might try just removing these lines. Am not sure how this is interacting with vbadvanced/LDM, though.
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
AndrewD
02-16-2007, 04:39 AM
I'm not sure if you saw my problem so I'll repost it here.
When trying to access the page via IE I get this error:
http://www.synergames.com/screenshots/images/jeznyt0a2nitzjummfxj.png
Sorry, I missed this one.
I tried to access your site, as per your screenshot, and everything seems to work ok - see my screenshot. You may have a problem with the cache in your browser - try clearing it (IE: Tools/Internet Options/Delete, or Mozilla: Tools/Clear Private Data)
civil78
02-16-2007, 08:17 AM
I was searching the extras and I see that.
If i put this on the URL of my browser.
http://www.yoursite.com/local_links.php?action=addlink&url=URLINK&name=NAMETEXT&description=DESCRIPTIONTEXT
It will fill all the fields. I am wondering if you have a guide or a list of all the supported URL actions somewhere.
And finaly if I can create and submit a new link from URL (not from button in the form)
Thank's
AndrewD
02-16-2007, 08:55 AM
To keep everyone up to date.
I plan to upload the release candidate of version 2.2.7 sometime this weekend. In the meantime, thanks to everyone who has tested out the beta. As far as I can tell, the main significant bug is that the Jukebox media player does not work correctly with Firefox for filetypes handled via Windows Media Player. (This worked fine with 2.2.6, and I know why the problem exists.)
The main new element in the 2.2.7 RC will be a "suggest other entries like this one" feature.
If there are any further bug reports, please can you let me know as soon as possible, so that we can finalise 2.2.7.
PitchouneN64ngc
02-16-2007, 08:59 AM
I plan to upload the release candidate of version 2.2.7 sometime this weekend.
I'm ready to translate it in french when it will be finalized ;)
Mupetz
02-16-2007, 09:05 AM
Hello,
First of all, thank You for this hack.
Second, i have a rewrite problem.
I made a text file with the rewrite commands :
RewriteEngine on
RewriteRule local_links/links/(.+)/(.+) local_links.php?catid=$1&linkid=$2 [R]
RewriteRule local_links/links/(.+) local_links.php?catid=$1 [R]
RewriteRule local_links/jump/(.+)/(.+) local_links.php?action=jump&id=$1&catid=$2 [R]
RewriteRule local_links/jump/(.+) local_links.php?action=jump&id=$1 [R]
Added /htlinks.txt path to mod_rewrite administration field.
seo_friendly to YES.
All this getting "No input file specified." when surfing the local_links categories.
What i'm doing wrong ? I have read and re-read the wiki.
I have also tried to add the rewrite commands to the .htaccess file , got the same error.
I'm using vbSEO
Thank you very much
Dr.NoTime
02-16-2007, 11:16 AM
Thanks for the work and the support. Top notch all the way!
butty
02-16-2007, 08:26 PM
tried that mate and your right. but now the drop down boxes on ldm. category, show searc etc dont work. any ideas?
i sussed it out i think andrew. what i did was copied all of my navbar template and put that in the adv_portal template in place of $navbar
what i did then was remove all the code apart from the bit below (out of the adv_portal template) and it now seems to work. no errors and i can click the menus fine. lol. from a quick glance does it look like this fix will do good for me or can you forsee errors along my path lol
you can see it working here
http://www.oldskoolanthemz.com/forum/local_links.php?catid=10
note the navbar is gone but im errorless and all menus seem to be working fine
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
AndrewD
02-17-2007, 02:55 PM
I've uploaded the release candidate of 2.2.7 in the first post in this thread.
Reports please.
I'd very much appeciate it if the translators can now start work - there are some new phrases that need attention. Thanks.
AndrewD
02-17-2007, 02:58 PM
Hello,
First of all, thank You for this hack.
Second, i have a rewrite problem.
I made a text file with the rewrite commands :
RewriteEngine on
RewriteRule local_links/links/(.+)/(.+) local_links.php?catid=$1&linkid=$2 [R]
RewriteRule local_links/links/(.+) local_links.php?catid=$1 [R]
RewriteRule local_links/jump/(.+)/(.+) local_links.php?action=jump&id=$1&catid=$2 [R]
RewriteRule local_links/jump/(.+) local_links.php?action=jump&id=$1 [R]
Added /htlinks.txt path to mod_rewrite administration field.
seo_friendly to YES.
All this getting "No input file specified." when surfing the local_links categories.
What i'm doing wrong ? I have read and re-read the wiki.
I have also tried to add the rewrite commands to the .htaccess file , got the same error.
I'm using vbSEO
Thank you very much
I don't use VBSEO, but I imagine that this is interfering with the LDM mod_rewrites? See a few posts up - message by Bold refers to this situation.
AndrewD
02-17-2007, 03:02 PM
I was searching the extras and I see that.
If i put this on the URL of my browser.
http://www.yoursite.com/local_links.php?action=addlink&url=URLINK&name=NAMETEXT&description=DESCRIPTIONTEXT
It will fill all the fields. I am wondering if you have a guide or a list of all the supported URL actions somewhere.
And finaly if I can create and submit a new link from URL (not from button in the form)
Thank's
I'll try to document these in the wiki - I haven't given much time to that.
Currently, it isn't possible to process full submissions/edits/etc from the url - I think this would be a security risk?
obmob
02-17-2007, 03:30 PM
I've uploaded the release candidate of 2.2.7 in the first post in this thread.
Reports please.
I'd very much appeciate it if the translators can now start work - there are some new phrases that need attention. Thanks.Downloaded :D
I''l take a look at phrases a little later. :cool:
Slave
02-18-2007, 07:46 AM
Hi Andrew :)
I've just updated my install to 2.2.7 RC and I get the following error when I click on the "Suggest other entries" link ..
Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 303
Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 306
Warning: implode(): Bad arguments. in /local_links_search.php on line 306
Database error
The Yaxley Village database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.yaxleyvillage.com home page, then try to open another page.
Click the Back button to try another link.
The www.yaxleyvillage.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin 3.6.0:
Invalid SQL:
SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, ltoc2.catid AS linkcatid2
FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN local_linksltoc AS ltoc2
ON link.linkid = ltoc2.linkid
WHERE link.linkid IN ();
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 23
Error Number : 1064
Date : Sunday, February 18th 2007 @ 09:41:04 AM
Script : http://www.yaxleyvillage.com/local_links_search.php?action=like&linkid=167&catid=10
Referrer : http://www.yaxleyvillage.com/local_links.php?catid=10
Classname : vb_database
Any ideas? :)
AndrewD
02-18-2007, 09:19 AM
Hi Andrew :)
I've just updated my install to 2.2.7 RC and I get the following error when I click on the "Suggest other entries" link ..
Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 303
Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 306
Warning: implode(): Bad arguments. in /local_links_search.php on line 306
Any ideas? :)
I can see where this happens - it is a bug which is easy to fix - but I'm surprised - it seems to suggest an unexpected mixture of access permissions (basically, LDM seems to be discovering that all its suggested entries are blocked from the current user). Is this happening with all the 'suggest similar' buttons?
Slave
02-18-2007, 10:23 AM
Seems to be .. yes.
I only get the big mysql error as admin, with my test users I just get the standard vb "A database error" page.
NiteRidah
02-18-2007, 02:24 PM
Hey,
LDM always creates a directory named 2 into specified upload directory and stores all files there. Is this the way it's supposed to be, or am I missing something here? :)
AndrewD
02-18-2007, 02:57 PM
Hey,
LDM always creates a directory named 2 into specified upload directory and stores all files there. Is this the way it's supposed to be, or am I missing something here? :)
Yes, this is correct.
It creates subdirectories in the upload directory, of the form /each/digit/of/your/user/id, and then places the uploaded files there
This is the same behaviour as vbulletin, and is done to try to avoid having directories with vast numbers of files in them.
NiteRidah
02-18-2007, 03:03 PM
Ah, ofcourse. Thank you for the quick reply :)
Slave
02-18-2007, 10:07 PM
Can you try the attached file in your main forums directory.
Sorry for the delay Andrew .. been out for the day ..
Just tried the new file and got the following error ..
Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 311
Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 314
Warning: implode(): Bad arguments. in /local_links_search.php on line 314
obmob
02-18-2007, 10:48 PM
Hmm... i must remake all my templates and test the new features... here, 2.2.7 spanish translations... ;)
AndrewD
02-19-2007, 04:51 AM
Sorry for the delay Andrew .. been out for the day ..
Just tried the new file and got the following error ..
Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 311
Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 314
Warning: implode(): Bad arguments. in /local_links_search.php on line 314
How irritating... PHP goes and changes function calls... I guess you are using a version of php below 5.0.2?
Will post the fix this evening. Sorry for this.
AndrewD
02-19-2007, 04:53 AM
Hmm... i must remake all my templates and test the new features... here, 2.2.7 spanish translations... ;)
Thanks, Obmob.
Everyone - please beware - the new "suggest entries like this one" feature (it's a mirror icon in the linkbit) is broken in the RC release and can generate database warning errors. I imagine I will fix it this evening
Slave
02-19-2007, 07:14 AM
How irritating... PHP goes and changes function calls... I guess you are using a version of php below 5.0.2?
Will post the fix this evening. Sorry for this.
Yep .. I've got PHP 4.3.2 at the moment.
Oh .. and I'm using the Tabular linkbit at the mo and I'm not seeing the mirror icon .. how would I add this?
AndrewD
02-19-2007, 09:55 AM
Oh .. and I'm using the Tabular linkbit at the mo and I'm not seeing the mirror icon .. how would I add this?
It should look like the attachment (third icon along). If you only seeing a text message, then resync your icons directory with the release zip.
AndrewD
02-19-2007, 04:16 PM
Yep .. I've got PHP 4.3.2 at the moment.
Oh .. and I'm using the Tabular linkbit at the mo and I'm not seeing the mirror icon .. how would I add this?
Here's another attempt at the local_link_search code. I haven't got a server running php 4 any longer, so can't test - grateful for assistance.
berayiwu5
02-19-2007, 05:14 PM
Second, is there a way to display all the images that a user has ever uploaded using LDM all in one place?
You can do it directly with the urls
local_links_search.php?action=show&user=username
local_links_search.php?action=show&userid=userid
or you can go to search/advanced search and enter the username
or (with the standard linkbit) you can find an extry by the user of interest and click on the magnifying glass just to the right of the username
Andrew, I hope you got a relaxing break. I was going to ask you about this but decided to put the question off until after your vacation. I am wondering if you could implement a user profile integrated with vB, so that the user can easily view and manage his or her files and images all in one place--instead of having to do a search? It also makes it more convenient for other vB users to see what images or files a user has uploaded.
The reason why I request this enhancement is because I'm debating whether to buy Photopost Pro instead. For Photopost, the downside is that it lacks the kind of sophisticated bandwidth control that LDM has. Even though they claim to support video files, the absence of bandwidth restriction features makes multimedia broadcast infeasible. Moroever, Photopost seems to be an overkill for my site at this point with about 300 members. I would greatly appreciate it if you could implement a user profile integrated with vB. :)
AndrewD
02-19-2007, 07:31 PM
Andrew, I hope you got a relaxing break. I was going to ask you about this but decided to put the question off until after your vacation. I am wondering if you could implement a user profile integrated with vB, so that the user can easily view and manage his or her files and images all in one place--instead of having to do a search? It also makes it more convenient for other vB users to see what images or files a user has uploaded.
The reason why I request this enhancement is because I'm debating whether to buy Photopost Pro instead. For Photopost, the downside is that it lacks the kind of sophisticated bandwidth control that LDM has. Even though they claim to support video files, the absence of bandwidth restriction features makes multimedia broadcast infeasible. Moroever, Photopost seems to be an overkill for my site at this point with about 300 members. I would greatly appreciate it if you could implement a user profile integrated with vB. :)
Send me a PM with more exact details of what you want/how you want things to function - if it's easy, I'll do it.
obmob
02-19-2007, 08:27 PM
Oh i guess he means something similar to the hack made for vbgallery, you can put a line that counts the user entries, it displays a number and a link to the user's uploads or links. :)
A pic, this shows the link to gallery items for this user inside postbit template.
mauro1947
02-19-2007, 09:05 PM
I'm installing version 2.2.7...
I will tell you how it works later.
Thanks a lot AndrewD
Bye!
Slave
02-19-2007, 11:32 PM
It should look like the attachment (third icon along). If you only seeing a text message, then resync your icons directory with the release zip.
Sussed it .. thanks. I don't remember the icons being there :p
Slave
02-19-2007, 11:37 PM
Here's another attempt at the local_link_search code. I haven't got a server running php 4 any longer, so can't test - grateful for assistance.
That seems to have worked .. thanks :)
Although I have noticed another problem .. whenever I click on a link that is using the "Short (Title + Thumb)" linkbit which then goes to the "Modern" linkbit it comes up with the following error ..
Fatal error: Call to undefined function: vbphrase() in /home/virtual/site101/fst/var/www/html/local_links.php on line 526
This is an override of the normal linkbit as it's the bit that I'm using as a contact directory.
berayiwu5
02-20-2007, 02:03 AM
Send me a PM with more exact details of what you want/how you want things to function - if it's easy, I'll do it.
Oh i guess he means something similar to the hack made for vbgallery, you can put a line that counts the user entries, it displays a number and a link to the user's uploads or links. :)
A pic, this shows the link to gallery items for this user inside postbit template.
Andrew, I hope I'm not missing something here. When I click on the user name link in "Submitted by XYZ" for any given entry, it only leads to the vB stock "View Profile" page. I was hoping to see all the images or files (or at least a thumbnail of all the images or files) that XYZ has submitted. Now instead, I have to do a search to get a list of all the files XYZ has uploaded.
I guess what I want is that by clicking the username link in "Submitted by XYZ," I want to go to the local_links page of XYZ to see what images and files he/she has uploaded. If you could also implement what obmob has suggested, that'd be great too.
Oh. One more thing. Please correct me if I am wrong. I suppose I can't do multiple file or image upload at one time with LDM, correct? Many users, especially webmasters like myself, would like to upload multiple images or files all at once. If you have photos taken on a trip for instance, you don't want to upload them one by one. It would come in as very handy if users are allowed to upload multiple files all at once.
Thanks again Andrew for considering to incorporate these features into LDM.
AndrewD
02-20-2007, 04:23 AM
That seems to have worked .. thanks :)
Although I have noticed another problem .. whenever I click on a link that is using the "Short (Title + Thumb)" linkbit which then goes to the "Modern" linkbit it comes up with the following error ..
Fatal error: Call to undefined function: vbphrase() in /home/virtual/site101/fst/var/www/html/local_links.php on line 526
This is an override of the normal linkbit as it's the bit that I'm using as a contact directory.
Sorry about that. Edit local_links.php, go to line 526 and put a dollar sign in front of vbphrase and change the parentheses
$hit = record_hit($vbulletin->GPC['linkid'], construct_phrase(vbphrase('ll_null_link', $viewlinkname)), $LINK_OK);
should be
$hit = record_hit($vbulletin->GPC['linkid'], construct_phrase($vbphrase['ll_null_link'], $viewlinkname), $LINK_OK);
If only I had such Slaves in the office :)
AndrewD
02-20-2007, 04:37 AM
Andrew, I hope I'm not missing something here. When I click on the user name link in "Submitted by XYZ" for any given entry, it only leads to the vB stock "View Profile" page. I was hoping to see all the images or files (or at least a thumbnail of all the images or files) that XYZ has submitted. Now instead, I have to do a search to get a list of all the files XYZ has uploaded.
I guess what I want is that by clicking the username link in "Submitted by XYZ," I want to go to the local_links page of XYZ to see what images and files he/she has uploaded. If you could also implement what obmob has suggested, that'd be great too.
In the 2.2.7 releases, there is a little magnifying glass just to the right of the username link in the main linkbits (see image). Clicking this takes you directly to a full list of all the entries submitted by that user.
Clicking on the username link itself in the linkbit does (as you say) go to the profile. However, if you enable *profile_ldmactivity* in the LDM settings, then the user's profile will include a list of recent hits and uploads (see second image).
So I guess all that's missing is to add another item as ObMob suggests in the postbits, and this would be a simple icon + url. The required url is "local_links_search.php?action=show&userid=N&sort=desc"
Oh. One more thing. Please correct me if I am wrong. I suppose I can't do multiple file or image upload at one time with LDM, correct? Many users, especially webmasters like myself, would like to upload multiple images or files all at once. If you have photos taken on a trip for instance, you don't want to upload them one by one. It would come in as very handy if users are allowed to upload multiple files all at once.
Thanks again Andrew for considering to incorporate these features into LDM.
The standard add entry form only allows one upload at a time. I haven't added the possibility to upload multiple entries, partly because it's not clear what that should do - create one entry associated with several files (which some people have asked for) or create multiple entries that have the same description and other information.
By far the easiest way to handle regular multiple uploads is as follows:
- use an FTP client to upload the files into a subdirectory on your server
- set up an LDM category to autosynchronise with that directory
- turn on synchronisation on the LDM admin settings page
You can, by the way, set things up to synchronise a whole directory tree with categories and subcategories.
TheWhite
02-20-2007, 10:15 AM
Urgent help needed
I've installed Version 2.2.6 a couple of months ago but only tested it now because i had to upload all the files first anyway i have just 1 problem and here it is:
I have set the download limit to 1 file, I have set the download limit at 100mbs but whichever one the two limits that i use the users continue to have unlimited download capabilities meaning the bandwidth and/or file limit are not being considered at all, can someone please help me?
Best Regards
mauro1947
02-20-2007, 11:37 AM
Hi!
We are working with limits and have no problem.
Do you tick the checkboxes near the limits?
Thanks
Bye!
TheWhite
02-20-2007, 02:51 PM
yes sir, i wrote it above.
TheWhite
02-20-2007, 02:56 PM
Urgent help needed
I've installed Version 2.2.6 a couple of months ago but only tested it now because i had to upload all the files first anyway i have just 1 problem and here it is:
I have set the download limit to 1 file, I have set the download limit at 100mbs but whichever one the two limits that i use the users continue to have unlimited download capabilities meaning the bandwidth and/or file limit are not being considered at all, can someone please help me?
Best Regards
https://vborg.vbsupport.ru/
AndrewD
02-20-2007, 03:25 PM
Urgent help needed
I've installed Version 2.2.6 a couple of months ago but only tested it now because i had to upload all the files first anyway i have just 1 problem and here it is:
I have set the download limit to 1 file, I have set the download limit at 100mbs but whichever one the two limits that i use the users continue to have unlimited download capabilities meaning the bandwidth and/or file limit are not being considered at all, can someone please help me?
Best Regards
http://img250.imageshack.us/img250/8278/testyoc6.jpg
Am happy to take a look at your site if you wish - send me a PM with details - I will need an admin account that has permission to add new plugins, so that if necessary I can install a debugger.
Mupetz
02-20-2007, 03:32 PM
Can anybody make a short tutorial on HOW TO set the mod_rewrite to the script ?
The steps you made to make it work.
Please
Following the wiki instructions doesn't give me any positive results.
Yes, again, i'm using vbseo but the vbseo has nothing to do with this.
Andrew, the Bold quote didn't helped me at all.
AndrewD
02-20-2007, 03:53 PM
Can anybody make a short tutorial on HOW TO set the mod_rewrite to the script ?
The steps you made to make it work.
Please
Following the wiki instructions doesn't give me any positive results.
Yes, again, i'm using vbseo but the vbseo has nothing to do with this.
Andrew, the Bold quote didn't helped me at all.
Sorry you are having problems.
This is what I do:
- ensure that mod_rewrite is loaded and enabled in Apache (see Apache documentation)
- include a set of lines like the following in the Apache httpd.conf file (I'm using Virtual servers, so if you are not, you'd move these lines into the main body of the apache config, also ignore the 'server name' and document root lines)
<VirtualHost *>
ServerName vb36
DocumentRoot "r:/websites/vb36"
RewriteEngine on
RewriteRule local_links/links/(.+)/(.+) local_links.php?catid=$1&linkid=$2 [R]
RewriteRule local_links/links/(.+) local_links.php?catid=$1 [R]
RewriteRule local_links/jump/(.+)/(.+) local_links.php?action=jump&id=$1&catid=$2 [R]
RewriteRule local_links/jump/(.+) local_links.php?action=jump&id=$1 [R]
RewriteRule local_stream/(.+) local_stream.php?action=stream&id=$1 [R]
</VirtualHost>
Once this is done, LDM will accept urls like yoursite/local_links/link/2/1 to go to category 2, id 1
- Go into LDM admin/settings and turn on seo_friendly. ow LDM will also generate these urls.
OK?
TheWhite
02-20-2007, 04:49 PM
Am happy to take a look at your site if you wish - send me a PM with details - I will need an admin account that has permission to add new plugins, so that if necessary I can install a debugger.
You have a PM
Regards
AndrewD
02-20-2007, 05:44 PM
I think you meed to add mimetype info for rars to your vb filetype table
AndrewD
02-20-2007, 06:12 PM
Apologies to anyone who has experienced problems with the "suggest entries like" feature in the 2.2.7 RC.
To fix these, replace local_links_search.php in your main forums directory.
akulion
02-20-2007, 07:11 PM
i tried using this
but its just too complicated :p for a simpleton like me
AndrewD
02-20-2007, 07:54 PM
i tried using this
but its just too complicated :p for a simpleton like me
What's the problem? How can we help?
Slave
02-21-2007, 01:38 AM
Sorry about that. Edit local_links.php, go to line 526 and put a dollar sign in front of vbphrase and change the parentheses
$hit = record_hit($vbulletin->GPC['linkid'], construct_phrase(vbphrase('ll_null_link', $viewlinkname)), $LINK_OK);
should be
$hit = record_hit($vbulletin->GPC['linkid'], construct_phrase($vbphrase['ll_null_link'], $viewlinkname), $LINK_OK);
If only I had such Slaves in the office :)
Sorted .. thanks :)
Slave
02-21-2007, 01:39 AM
Apologies to anyone who has experienced problems with the "suggest entries like" feature in the 2.2.7 RC.
To fix these, replace local_links_search.php in your main forums directory.
Any difference to the one before that worked for me Andrew?
AndrewD
02-21-2007, 04:10 AM
Any difference to the one before that worked for me Andrew?
No - they are the same. Currently, the final 2.2.7 will include this fix and also minor changes on the admin page/mass edit
Mupetz
02-21-2007, 08:13 AM
Your support is way to kind Andrew, thank you.
I don't have access to the apache configuration, i'm running on normal godaddy hosting plan.
I can assure You that the mod_rewrite is activated, vbseo and vblogetin seo are working good with .htaccess commands ; i don't see why LDM shouldn't.
Normally, the mod_rewrite commands you quoted should work with the .htaccess file, but it doesn't. When i'm clicking some LDM category shown as /local_links/jump/1/1 , i'm getting "No input file specified".
Inside the LDM admin settings there is an option :
mod_rewrite
File containing LDM mod_rewrite definitions. See manual: this is not a general-purpose replacement for the apache mod_rewrite facility.
I'm thinking this may be the problem if the error is "No input file specified"
I also made a text file with the mod_rewrite rules and added the path to this mod_rewrite setting, getting the same error.
I had this problem with 2.2.6 , update to 2.2.7 didn't do any good :)
The script is running well, i'm not complaining, but if i could make the seo links it would be better.
Thanks again.
Vinyljunky
02-21-2007, 01:14 PM
Hello All,
Firstly I'll introduce myself by saying that Im new to VBulletin, I installed it 5 days ago. Im in the process of learning so that I can migrate from PHPBB.
I have installed LDM and have it working in a basic fashion here http://www.siliconhell.com/forum/index.php
I have configured it so that anybody can see the QUIZZES
I have configured the ANSWERS so that only registered users have access.
My question is:
Can it be configured so that anybody can see the ANSWERS section and read the descriptions, but only registered users can download the files?
This way the user are enticed into joining, and the spiders crawl and list the answer page.
I have done a quick RTFM but I have to admit that I got a little lost :confused:
Thanks for your patience :)
VinylJunky
AndrewD
02-21-2007, 04:59 PM
Hello All,
Firstly I'll introduce myself by saying that Im new to VBulletin, I installed it 5 days ago. Im in the process of learning so that I can migrate from PHPBB.
I have installed LDM and have it working in a basic fashion here http://www.siliconhell.com/forum/index.php
I have configured it so that anybody can see the QUIZZES
I have configured the ANSWERS so that only registered users have access.
My question is:
Can it be configured so that anybody can see the ANSWERS section and read the descriptions, but only registered users can download the files?
This way the user are enticed into joining, and the spiders crawl and list the answer page.
I have done a quick RTFM but I have to admit that I got a little lost :confused:
Thanks for your patience :)
VinylJunky
Hello All,
Firstly I'll introduce myself by saying that Im new to VBulletin, I installed it 5 days ago. Im in the process of learning so that I can migrate from PHPBB.
I have installed LDM and have it working in a basic fashion here http://www.siliconhell.com/forum/index.php
I have configured it so that anybody can see the QUIZZES
I have configured the ANSWERS so that only registered users have access.
My question is:
Can it be configured so that anybody can see the ANSWERS section and read the descriptions, but only registered users can download the files?
This way the user are enticed into joining, and the spiders crawl and list the answer page.
I have done a quick RTFM but I have to admit that I got a little lost :confused:
Thanks for your patience :)
VinylJunky
Welcome!
Two possible solutions, with an option on the first.
1) Go to the LDM admin/permissions page. Give "Can Access Entry" permission to the usergroups that you want to be able to download the files. Take the permission away from the other groups.
By default, this will produce pages without clickable urls for the usergroups who don't have access.
Option: go to LDM/admin/settings page and find the protected_link setting. If you set it to 1, people will see a url but be given a 'no permission' message if they try to access. If you set it to 2, it will take them to a 'register me' page.
2) Alternatively (in my view not as good) go to LDM admin/bandwidth settings (wording depends on the version you're running), and give the groups who you don't want accessing the files a zero allowance of files per day.
That way, they'll see the url but when they click it they'll be told 'no'
AndrewD
02-21-2007, 07:06 PM
Your support is way to kind Andrew, thank you.
I don't have access to the apache configuration, i'm running on normal godaddy hosting plan.
I can assure You that the mod_rewrite is activated, vbseo and vblogetin seo are working good with .htaccess commands ; i don't see why LDM shouldn't.
Normally, the mod_rewrite commands you quoted should work with the .htaccess file, but it doesn't. When i'm clicking some LDM category shown as /local_links/jump/1/1 , i'm getting "No input file specified".
Inside the LDM admin settings there is an option :
I'm thinking this may be the problem if the error is "No input file specified"
I also made a text file with the mod_rewrite rules and added the path to this mod_rewrite setting, getting the same error.
I had this problem with 2.2.6 , update to 2.2.7 didn't do any good :)
The script is running well, i'm not complaining, but if i could make the seo links it would be better.
Thanks again.
Yes, I've just tested my mod_rewrite rules within an htaccess file, and something strange happens - I don't know why, and I believe those guys who describe mod_rewrite as voodoo. I'll try to find out what's going wrong and post a reply.
In the meantime, I suggest you switch off the LDM seo_friendly. Also, you *must* turn off LDM's mod_rewrite (i.e. have a blank file) - this has nothing at all to do with seo.
Sorry for the problems. We'll get there.
Mupetz
02-22-2007, 06:17 AM
Thank you so much Andrew
Vinyljunky
02-22-2007, 09:40 AM
Welcome!
Two possible solutions, with an option on the first.
1) Go to the LDM admin/permissions page. Give "Can Access Entry" permission to the usergroups that you want to be able to download the files. Take the permission away from the other groups.
By default, this will produce pages without clickable urls for the usergroups who don't have access.
Option: go to LDM/admin/settings page and find the protected_link setting. If you set it to 1, people will see a url but be given a 'no permission' message if they try to access. If you set it to 2, it will take them to a 'register me' page.
That is just what I needed to know and it does exactly what I need.
Thank You for a great MOD and brilliant support :)
VinylJunky
AndrewD
02-23-2007, 04:23 PM
Thank you so much Andrew
I've played around with mod_rewrite in an .htaccess file, and this seems to work correctly:
RewriteEngine on
RewriteRule (.*)local_links/links/([^0-9]+)$ /$1$2 [L]
RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [L]
RewriteRule (.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [L]
RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [L]
RewriteRule (.*)local_links/jump/([0-9]+)$ /$1local_links.php?action=jump&id=$2 [L]
RewriteRule (.*)local_stream/([0-9]+)$ /$1local_stream.php?action=stream&id=$2 [L]
Will welcome your experience.
TheWhite
02-24-2007, 03:31 AM
I would like to thank Mr AndrewD for resolving my problems, he's a very kind person indeed, thanks a million!!!
Regards
Mupetz
02-24-2007, 05:32 PM
Will welcome your experience.
I'm sorry, it doesn't work. Same "No input file specified" error.
Do i need to add something to the mod_rewrite settings field too ?
Read your PM please, i attached my .htaccess file.
AndrewD
02-24-2007, 06:31 PM
I'm sorry, it doesn't work. Same "No input file specified" error.
Do i need to add something to the mod_rewrite settings field too ?
Read your PM please, i attached my .htaccess file.
I'll take a look.
SteveC
02-24-2007, 06:52 PM
some of my members are saying they get disconnected from board when they enter the links manager for the first time
something like this is happening to me too. For most users it works fine but for at least one, he can view the files but when he clicks on one, he gets sent to a login screen for vbulletin or gets an error that he doesn't have persmission to access the files. But his settings are the same as all my other vb members.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.