View Full Version : Links and Downloads Manager
Pages :
1
2
3
4
5
[
6]
7
8
9
10
CSS59
02-26-2006, 07:46 AM
I love you AndrewD! This is the best hack EVER upgrade took me 2 minutes!
MikeGK
02-27-2006, 01:12 AM
Oh My GOD! ..I love you AndrewD!!! This is like a dream come true. I've been waiting this HTTP 206 Partial Download controls for a long time. You are amazing!! two thumps up ..GREAT WORK ANDREWD!
Langly
02-27-2006, 01:30 AM
When you go to Statistics and the first section, Administration, that has the buttons "GO"; are they not supposed to do anything when clicked on? Mine just sit there and nothing happens.
AndrewD
02-27-2006, 03:59 AM
When you go to Statistics and the first section, Administration, that has the buttons "GO"; are they not supposed to do anything when clicked on? Mine just sit there and nothing happens.
Interesting :squareeyed: They work fine with Firefox and Opera, but you are right - they do not seem to work with Internet Explorer. Thanks.
AndrewD
02-27-2006, 04:02 AM
Oh My GOD! ..I love you AndrewD!!! This is like a dream come true. I've been waiting this HTTP 206 Partial Download controls for a long time. You are amazing!! two thumps up ..GREAT WORK ANDREWD!
Mike, just to be clear - the current implementation handles HTTP 206's when the file is being served off your own file system, i.e. when the link is identified using a local pathname rather than a full url. It does not (yet) work if the file is coming from another server - is this important?
testpig
02-27-2006, 06:51 AM
Interesting :squareeyed: They work fine with Firefox and Opera, but you are right - they do not seem to work with Internet Explorer. Thanks.
Hi Andrew.
Just upgraded and its another nice piece of work :) Seamlessly integrated with the original version. The thumbnail problem I had is gone....basically all is good other than the buttons which dont work (as mentioned above).
As always, an excellent upgrade to an excellent hack, Andrew :up:
One minor thing though - and it really is minor. I notice when you are linking specifically to a page on another site (somesite.com/product.html), LDM automatically assumes you are linking directly to a download file and inserts the little IE icon on the links index.
Would be a convenient little add-in to use a radio button set or something to denote whether the page you are linking to is an actual page rather than a file for download, and adjust that icon accordingly.
MikeGK
02-27-2006, 06:35 PM
Mike, just to be clear - the current implementation handles HTTP 206's when the file is being served off your own file system, i.e. when the link is identified using a local pathname rather than a full url. It does not (yet) work if the file is coming from another server - is this important?
yes AndrewD, it would be a bonus to have it support from another server..thank you
Mike
AndrewD
02-27-2006, 06:48 PM
As always, an excellent upgrade to an excellent hack, Andrew :up:
One minor thing though - and it really is minor. I notice when you are linking specifically to a page on another site (somesite.com/product.html), LDM automatically assumes you are linking directly to a download file and inserts the little IE icon on the links index.
Would be a convenient little add-in to use a radio button set or something to denote whether the page you are linking to is an actual page rather than a file for download, and adjust that icon accordingly.
The way it works is to compare the file type with the list of icons in the /icons directory. There's an html.gif and an htm.gif in that directory. Since these will never be downloads, you/I might just as well get rid of the two icons.
Ophelia
02-27-2006, 11:38 PM
Is there a way to add material to the page that requests them to accept/deny the terms? I want to include graphics buttons w/ code (like toplist code) on this page. Or is there a way to load the footer on this page? That would fix the issue as well.
AndrewD
02-28-2006, 04:07 AM
Is there a way to add material to the page that requests them to accept/deny the terms? I want to include graphics buttons w/ code (like toplist code) on this page. Or is there a way to load the footer on this page? That would fix the issue as well.
The accept/deny page currently loads the links_agreement template, which is a complete web page. It would be very easy for me to modify the code to use the usual header/content/footer structure (so that the links_agreement template would just be the material in the middle of the sandwich). Or you could modify the links_agreement template to include the items you want. Let me know what you think is best.
Ophelia
02-28-2006, 01:13 PM
The accept/deny page currently loads the links_agreement template, which is a complete web page. It would be very easy for me to modify the code to use the usual header/content/footer structure (so that the links_agreement template would just be the material in the middle of the sandwich). Or you could modify the links_agreement template to include the items you want. Let me know what you think is best.
I'm not sure everyone would want their header/footer included.. but for those who have adSense and such, it might be a good idea... but some might not want the additional bandwidth each time something is downloaded. I don't mind for our site though.
I have one more question, and I'm not sure if it's been posted yet or not.
We have our download manager set up to accept the permissions that we have set in download manager. However we have one download area that is not set up this way, it is set up to follow the permissions from a specific forum. We are doing this so our team have a private area to upload stuff to early, and then move over when it's due.
The problem we are running into is this. In the private area they do this:
1. Click on the parent category.
2. Click on one of the 4 sub-category areas that they want to upload to.
3. Press the ad-Link
When you scroll down and view the Parent Categories, it does not show that one is picked, nor does it show the private parent category nor the sub-categories. If you try to upload something, then it tells you that no category was picked and denies the upload. Have I done something wrong in setting this up do you suppose? I can send you a test account username/password as well if you would like to view.
AndrewD
02-28-2006, 03:12 PM
I'm not sure everyone would want their header/footer included.. but for those who have adSense and such, it might be a good idea... but some might not want the additional bandwidth each time something is downloaded. I don't mind for our site though.
I have one more question, and I'm not sure if it's been posted yet or not.
We have our download manager set up to accept the permissions that we have set in download manager. However we have one download area that is not set up this way, it is set up to follow the permissions from a specific forum. We are doing this so our team have a private area to upload stuff to early, and then move over when it's due.
The problem we are running into is this. In the private area they do this:
1. Click on the parent category.
2. Click on one of the 4 sub-category areas that they want to upload to.
3. Press the ad-Link
When you scroll down and view the Parent Categories, it does not show that one is picked, nor does it show the private parent category nor the sub-categories. If you try to upload something, then it tells you that no category was picked and denies the upload. Have I done something wrong in setting this up do you suppose? I can send you a test account username/password as well if you would like to view.
This may seem totally off the wall, but what version of php are you running on your server.
In any case, pls PM me a username so that I can take a look - ideally with admin privs, pls.
Marris
02-28-2006, 04:37 PM
I'm currently testing 2.1.3b2 for the first time.
Is there an option or a way force local site links to open in the current window, rather than opening a new window?
If possible, I would like external links to continue to open in new windows, while having all local links open within the current window.
I tried changing my link entry to a relative local path, but it still opened in a new window.
EDIT:
Well, I changed "_blank" to "_self" in a couple spots in local_links_include.php and that opens all links in the current window.
I am still interested in any tips to distinguish local links from external links to make the window target a conditional.
EDIT 2:
Well, I set up the following conditional, to check whether my site URL is contained within the link and change the target based on that. My settings are:
force_redirect: 0
protected_link: 0
find:
$atag = "<a href='".$vbulletin->options['bburl']."/".$LINKS_SCRIPT.
iif($links_defaults['seo_friendly'],"/jump/$linkid/$catid",".php?action=jump&id=$linkid&catid=$catid").
"' title='". $vbphrase['ll_visitdownload'] ."' target='_blank'>".
$linkname."</a>";
replace with:
if (substr_count($linkurl, 'localdomain.com') == 1) {
$atag = "<a href='".$vbulletin->options['bburl']."/".$LINKS_SCRIPT.
iif($links_defaults['seo_friendly'],"/jump/$linkid/$catid",".php?action=jump&id=$linkid&catid=$catid").
"' title='". $vbphrase['ll_visitdownload'] ."' target='_self'>".
$linkname."</a>";
} else {
$atag = "<a href='".$vbulletin->options['bburl']."/".$LINKS_SCRIPT.
iif($links_defaults['seo_friendly'],"/jump/$linkid/$catid",".php?action=jump&id=$linkid&catid=$catid").
"' title='". $vbphrase['ll_visitdownload'] ."' target='_blank'>".
$linkname."</a>";
}
I would still like to know if this option is already built into to Links and Downloads Manager, so I can achive the same result without editing the local_links_include.php file.
Thanks for you help.
AndrewD
02-28-2006, 06:11 PM
I'm currently testing 2.1.3b2 for the first time.
Is there an option or a way force local site links to open in the current window, rather than opening a new window?
Thanks for you help.
This is not built in - but it's an easy option to add, so let me include two options in the final version of 2.1.3 (local url=self/new window; remote url=self/new window)
Langly
02-28-2006, 07:39 PM
Has the "New entry credit" been enabled? I cannot see where to adjustments to the credits.
Marris
02-28-2006, 07:42 PM
This is not built in - but it's an easy option to add, so let me include two options in the final version of 2.1.3 (local url=self/new window; remote url=self/new window)
Thanks, I'm sure others will also find it useful.
I have another question. How can adapt the included vBAdvanced CMPS modules to display on a non-vBAdvanced page?
For example, with ldm_hot.php , I tried changing the following:
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_custom_ldm_hot') . '";');
to:
eval('$output .="' . fetch_template('adv_portal_custom_ldm_hot') . '";');
Then I tried adding print $output; or calling $output within adv_portal_custom_ldm_hot. I also changed the require_once paths to the absolute server paths, but I am getting the following error (with vB 3.5.4):
---
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.1.3 requires VBulletin version 3.5
---
Specifically, I'm am trying to pull LDM information into a module inside a Geek Article and Review System (GARS) LITE (https://vborg.vbsupport.ru/showthread.php?t=108514) page.
My goal is to include blocks with 5 or 10 links from each LDM category matching a specific keyword, into an Article page in the GARS system. So for example, the Article content would be a Review of XYZ, then the LDM block would show 5 offsite links from the LDM category Reviews matching the keyword XYZ.
I'm not looking for a complete solution, but I hope you can point me in the right direction to be able to display LDM information on a non-LDM, non-vBAdvanced page.
Thank you.
Marris
02-28-2006, 09:39 PM
If you haven't already, please look at my previous post and let me know if you can offer any advice.
Another feature suggestion:
Beside the Sort By selection menu, it would also be nice to have a Keyword Filter menu.
I'm working on a manually created menu, that looks something like this:
<span class="smallfont">
<FORM action="local_links_search.php" method="get">
<input name="action" value="show" type="hidden"><input name="literal" value="1" type="hidden"><input name="desc" value="1" type="hidden"><input name="keys" value="1" type="hidden">
<select class="select" name="search" onchange="this.form.submit();" size="1" style="width: 200px;">
<optgroup label="Filter">
<option value="" selected="selected">none</option>
<option value="keyword1">keyword1</option>
<option value="keyword2">keyword2</option>
<option value="keyword3">keyword3</option>
</optgroup>
</select>
</form>
</span>
Karri
02-28-2006, 11:24 PM
I have a small bug report. In the forumhome plugin you have this line
<img class="inlineimg" src="images/buttons/lastpost.gif" alt="'.$vbphrase['go_to_page'].'" border="0" /> which is fine if that is where your lastpost.gif image is. I have different sub folders for all of my different styles but I am stuck with the same booring blue image for all of them. I have tried different variations on $stylevar[imgdir_button]/lastpost.gif but can't quite get it to work. What would be the correct code if any to have the button match the rest of the images for that particular style?
Thanks for the great hack!!!
AndrewD
03-01-2006, 03:49 AM
Has the "New entry credit" been enabled? I cannot see where to adjustments to the credits.
It's been half added, if you understand. The first part of the code is ther but is invisible until I can get round to the second part.
AndrewD
03-01-2006, 04:09 AM
I have a small bug report. In the forumhome plugin you have this line
<img class="inlineimg" src="images/buttons/lastpost.gif" alt="'.$vbphrase['go_to_page'].'" border="0" /> which is fine if that is where your lastpost.gif image is. I have different sub folders for all of my different styles but I am stuck with the same booring blue image for all of them. I have tried different variations on $stylevar[imgdir_button]/lastpost.gif but can't quite get it to work. What would be the correct code if any to have the button match the rest of the images for that particular style?
Thanks for the great hack!!!
Thanks for the report. If you want a quick fix, there are two small changes in the Links and Downloads Manager - Patch forumhome plugin. First, you have to declare stylevar as global in function ldm_lastlinkinfo, i.e. find the line global $vbulletin, $vbphrase; and change to global $vbulletin, $vbphrase, $stylevar;
Second, change src="images/buttons/lastpost.gif" to src="'.$stylevar[imgdir_button].'/lastpost.gif" - don't foget the single quotes.
AndrewD
03-01-2006, 04:13 AM
Thanks, I'm sure others will also find it useful.
I have another question. How can adapt the included vBAdvanced CMPS modules to display on a non-vBAdvanced page?
For example, with ldm_hot.php , I tried changing the following:
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_custom_ldm_hot') . '";');
to:
eval('$output .="' . fetch_template('adv_portal_custom_ldm_hot') . '";');
Then I tried adding print $output; or calling $output within adv_portal_custom_ldm_hot. I also changed the require_once paths to the absolute server paths, but I am getting the following error (with vB 3.5.4):
---
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.1.3 requires VBulletin version 3.5
---
Specifically, I'm am trying to pull LDM information into a module inside a Geek Article and Review System (GARS) LITE (https://vborg.vbsupport.ru/showthread.php?t=108514) page.
My goal is to include blocks with 5 or 10 links from each LDM category matching a specific keyword, into an Article page in the GARS system. So for example, the Article content would be a Review of XYZ, then the LDM block would show 5 offsite links from the LDM category Reviews matching the keyword XYZ.
I'm not looking for a complete solution, but I hope you can point me in the right direction to be able to display LDM information on a non-LDM, non-vBAdvanced page.
Thank you.
The LDM code requires that the VBulletin 3.5 infrastructure is available and checks a particular vbulletin variable (vbulletin->options['templateversion']) to see if this exists. Unless the environment in which you try to place LDM has this infrastructure, it can't run. You'd have to see what GARS loads before running its modules.
AndrewD
03-01-2006, 04:14 AM
If you haven't already, please look at my previous post and let me know if you can offer any advice.
Another feature suggestion:
Beside the Sort By selection menu, it would also be nice to have a Keyword Filter menu.
I'm working on a manually created menu, that looks something like this:
<span class="smallfont">
<FORM action="local_links_search.php" method="get">
<input name="action" value="show" type="hidden"><input name="literal" value="1" type="hidden"><input name="desc" value="1" type="hidden"><input name="keys" value="1" type="hidden">
<select class="select" name="search" onchange="this.form.submit();" size="1" style="width: 200px;">
<optgroup label="Filter">
<option value="" selected="selected">none</option>
<option value="keyword1">keyword1</option>
<option value="keyword2">keyword2</option>
<option value="keyword3">keyword3</option>
</optgroup>
</select>
</form>
</span>
That's a nice idea, which I will add to the list.
Karri
03-01-2006, 02:18 PM
Thanks for the report. If you want a quick fix, there are two small changes in the Links and Downloads Manager - Patch forumhome plugin.
Awesome!!! Works great. Thanks for the quick fix just in time to upgrade to the latest beta. :)
AndrewD
03-01-2006, 05:19 PM
When you scroll down and view the Parent Categories, it does not show that one is picked, nor does it show the private parent category nor the sub-categories. If you try to upload something, then it tells you that no category was picked and denies the upload. Have I done something wrong in setting this up do you suppose? I can send you a test account username/password as well if you would like to view.
Ophelia, I have a fix for this - small bug in one file. Please upload the attached file into your <forum/includes> directory and try again.
forumthemes
03-01-2006, 06:07 PM
Thank you so much :) Runs off and installs
Ophelia
03-01-2006, 06:23 PM
Ophelia, I have a fix for this - small bug in one file. Please upload the attached file into your <forum/includes> directory and try again.
Andrew, I know of 10 ladies who would gladly marry you right now ;)
Thank you for getting this to work. We are able t upload perfectly now.
forumthemes
03-01-2006, 06:28 PM
Andrew, I know of 10 ladies who would gladly marry you right now ;)
Thank you for getting this to work. We are able t upload perfectly now.
LMAO
Marris
03-01-2006, 06:29 PM
The LDM code requires that the VBulletin 3.5 infrastructure is available and checks a particular vbulletin variable (vbulletin->options['templateversion']) to see if this exists. Unless the environment in which you try to place LDM has this infrastructure, it can't run. You'd have to see what GARS loads before running its modules.
That's a nice idea, which I will add to the list.
Thanks for your replies.
I'm taking another look at getting GARS and your vBAdvanced modules to work together with your advice in mind.
Karri
03-01-2006, 07:38 PM
Got another one for you. We were having troubles with the titles of the link forums that show up on the forumhome page. After going over it with my techie mod to see if it was another hack causing the trouble he says
line 2663 of local_links_include.php sets the title of the new forum. they should have added another line to set the title_clean. it would also be needed in other places in his code. one right above it where the title can be changed. the title_clean must also be changed
Thanks!!!
Joep11
03-01-2006, 08:50 PM
Hi Andrew!
This is a great hack! :smoke:
Is it possible to have featured sites per catagory? So that favourites are shown as featured only in the catagory/catagories that favourite is in....
That would be great because it does not make sense to have a featured dog in a cat catagory :lick:
Langly
03-02-2006, 03:15 AM
I logged in a test account that was a registered user and tried to upload a file. I have uploads enabled and permissions set to allow registered users to upload. The upload tried to complete but at the end it said "I did not have a catagory set for the upload" so it didn't accept it. The funny thing is that I tried uploading from the directory I was uploading to. When setting the info for the upload there was no option for a catagory. Is this normal? When logged in as Admin I have catagories to choose from but registered users don't.
Any clues?
AndrewD
03-02-2006, 03:17 AM
Got another one for you. We were having troubles with the titles of the link forums that show up on the forumhome page. After going over it with my techie mod to see if it was another hack causing the trouble he says
Thanks!!!
OK, will investigate. Thanks.
AndrewD
03-02-2006, 03:18 AM
Hi Andrew!
This is a great hack! :smoke:
Is it possible to have featured sites per catagory? So that favourites are shown as featured only in the catagory/catagories that favourite is in....
That would be great because it does not make sense to have a featured dog in a cat catagory :lick:
I'll add that as an option. Thanks.
AndrewD
03-02-2006, 03:20 AM
I logged in a test account that was a registered user and tried to upload a file. I have uploads enabled and permissions set to allow registered users to upload. The upload tried to complete but at the end it said "I did not have a catagory set for the upload" so it didn't accept it. The funny thing is that I tried uploading from the directory I was uploading to. When setting the info for the upload there was no option for a catagory. Is this normal? When logged in as Admin I have catagories to choose from but registered users don't.
Any clues?
Are you using forum-based permissions? If so, there's an annoying little bug that Ophelia discovered. See a few posts back for a modified version of local_links_include.php that fixes this bug. I have not yet had the chance to upload this as part of the full package.
Langly
03-02-2006, 03:31 AM
I know you have a lot on your plate; what are the chances of having a way for having files added to the downloads also having their descriptions and/or a link to them added to a specified forum. Like have LDM use a default "user" to post a new thread in a specified forum. The forum admin can preset certain ways it can be displayed and posted.
Langly
03-02-2006, 03:34 AM
Are you using forum-based permissions? If so, there's an annoying little bug that Ophelia discovered. See a few posts back for a modified version of local_links_include.php that fixes this bug. I have not yet had the chance to upload this as part of the full package.
DOH! Sorry about that, I must have missed it earlier.
AndrewD
03-02-2006, 03:40 AM
I know you have a lot on your plate; what are the chances of having a way for having files added to the downloads also having their descriptions and/or a link to them added to a specified forum. Like have LDM use a default "user" to post a new thread in a specified forum. The forum admin can preset certain ways it can be displayed and posted.
I can see the use of this - I'm beginning to think that the best way to handle suggestions like yours is to place a full set of 'hooks' to LDM (like in VB), so that people can easily create these sorts of patches without having to modify the central logical of LDM.
However, interplay between LDM and forums is potentially risky as I don't want to trigger the destruction of someone's bulletin board! Connecting LDM with the posts table might have side effects that I don't realise.
sinoeu
03-02-2006, 06:23 PM
I can see the use of this - I'm beginning to think that the best way to handle suggestions like yours is to place a full set of 'hooks' to LDM (like in VB), so that people can easily create these sorts of patches without having to modify the central logical of LDM.
Wonderful!!! That's what we are always waitting for! Please don't forget to add a hook for the point systems :rolleyes:
testpig
03-03-2006, 05:29 AM
Hi Andrew.
Is it still possible to do a mass import into LDM from the server? I cant find the option.
AndrewD
03-03-2006, 05:38 AM
Hi Andrew.
Is it still possible to do a mass import into LDM from the server? I cant find the option.
Yes, and there's a new option in 2.1.3.
The traditional csv export/import is still available on admin/import and export
That page also has an xml export option. The script to import xmls is in the extras directory in the zip.
Difference between the two - csv import/export will backup/restore the important data but misses out som eof the more recent entries. csv import will restore categories and links into an empty database and will restore links only into a database in which there already are some entries.
xml export is a complete dump. xml import clears your database before restoring.
I do plan at some stage to extend the xml import to allow partial imports and imports into an existing database, but that will have to wait.
Joep11
03-03-2006, 07:45 AM
Originally Posted by Joep11
Hi Andrew!
This is a great hack!
Is it possible to have featured sites per catagory? So that favourites are shown as featured only in the catagory/catagories that favourite is in....
That would be great because it does not make sense to have a featured dog in a cat catagory
I'll add that as an option. Thanks.
That would be REALLY great! It is what we are waiting for :D
I don't want to push it...when do you expect it to have it ready for download? :nervous: :rolleyes:
AndrewD
03-03-2006, 07:48 AM
That would be REALLY great! It is what we are waiting for :D
I don't want to push it...when do you expect it to have it ready for download? :nervous: :rolleyes:
In about one or two days time...
Hi AndrewD,
I have a question for you. I am planning to use your mod to make a collection of mailing addresses (clinics and hospitals actually) but the problem is that I either have to upload a file OR enter a URL to save the description (which will have the address) otherwise I get a error message.
Is there a way to make the mod accept description without uploading or adding a URL?
Please also not that I am also using your mod as a file and links database on the same website.
I would appreciate if you can reply and help me with this issue.
regards,
Vik
Ophelia
03-04-2006, 12:09 AM
Andrew, I'm back again. We are having this with a couple members.. not sure if it's the manager or the person.
First, thank you for bringing back the freebies. I love this site and it's the first place I go every morning.
When I go the download section (like the Daily Download), I see the different downloads available. I click the link above the picture (and also tried clicking the picture), and it brings me to an accept/decline screen. I click accept and it brings up my download manager. However, the file it brings up is always called the same thing, "local link.htm".
When I go to my folders to see if it downloaded, all it contains is the blue "e" Internet Explorer symbol, and when I hit that it just brings me back to your download section.
I use MSN with Windows Explorer. This is the first time I've had trouble with your site.
It doesn't matter which zip file I try to download, I always get the same thing, a file called Local_links.htm.
Any ideas?
Langly
03-04-2006, 12:26 AM
patch-showthread
patch-forumhome
Will either of these make a post in a certain forum?
Langly
03-04-2006, 02:53 AM
How can I change the button "Add Link" to "Upload a File"?
Slave
03-04-2006, 03:57 AM
Hi AndrewD,
I have a question for you. I am planning to use your mod to make a collection of mailing addresses (clinics and hospitals actually) but the problem is that I either have to upload a file OR enter a URL to save the description (which will have the address) otherwise I get a error message.
Is there a way to make the mod accept description without uploading or adding a URL?
Please also not that I am also using your mod as a file and links database on the same website.
AndrewD answered this a couple of pages back ..
"allow_null_links box on the admin settings page"
If you make it "1" this will allow you to make an entry without the need for a URL :)
Slave
03-04-2006, 04:12 AM
How can I change the button "Add Link" to "Upload a File"?
I take it you're talking about the Add Link menu item?
If so you need to go to your .. admincp -> Languages & Phrases -> Search in Phrases -> Search for Text "Add Link"
This will bring up that phrase with which you can replace with whatever wording you like :)
You can then do the same thing with any other phrase you need to change.
Langly
03-04-2006, 04:23 AM
Not sure if this is a bug or just my settings but it seems that if someone changes the site style then the LDM style still stays the same. How do I make it so that the style in LDM changes with the rest of the site?
AndrewD
03-04-2006, 04:28 AM
Andrew, I'm back again. We are having this with a couple members.. not sure if it's the manager or the person.
Any ideas?
Yes, it's probably the download manager. Some of these seem to insist on creating the filename from the hyperlink that was originally clicked, rather than obeying the header information that is being sent to them. Maybe there is a way round it - can you let me know which download manager?
AndrewD
03-04-2006, 04:30 AM
patch-showthread
patch-forumhome
Will either of these make a post in a certain forum?
No, neither of these creates posts. They just manipulate the display data before it gets sent to the user's browser
AndrewD
03-04-2006, 04:43 AM
Not sure if this is a bug or just my settings but it seems that if someone changes the site style then the LDM style still stays the same. How do I make it so that the style in LDM changes with the rest of the site?
Not sure I understand. By default LDM displays use the same style as the user sees, e.g. on the VB home page. If the admin changes the default site style, then both will change for users who have not made their own choice. If the user has made a choice (e.g by selecting a style a some stage), then I think that that choice is held in a cookie.
There are choices inside LDM admin/settings and category/edit/display settings that allow you override the style selection and to use a different default style for LDM and for individual categories than for the rest of the board.
Let me know if I'm missing something
Langly
03-04-2006, 04:47 AM
Good lord. I had it set to a certain site style in the settings and not set to default. Sorry for the waste of time on that one.
AndrewD answered this a couple of pages back ..
"allow_null_links box on the admin settings page"
If you make it "1" this will allow you to make an entry without the need for a URL :)
I did.
I get an error: UPLOAD Failed
Remember, im not uploading anything.. only adding TEXT in the description field which is adress of the clinic. :ermm:
AndrewD
03-04-2006, 11:42 AM
I did.
I get an error: UPLOAD Failed
Remember, im not uploading anything.. only adding TEXT in the description field which is adress of the clinic. :ermm:
I don't understand - I've just tried this and it works fine for me.
Which version of LDM are you running?
Slave
03-04-2006, 07:16 PM
Just found a small bug in 2.1.0 AndrewD .. worth checking in 2.1.3
When looking at who's online while someone is looking at LDM it comes up as "Viewing Links and Downloads Manager" even though I've changed the name to just "Links" .. so it's not picking up the name change.
Also .. I've noticed that when they are looking at a cat, the cat's name shows up as the link. That's fine. But when they are looking at the Home Cat it comes up as "Home Page" .. this is a little confusing, perhaps have the name of the LDM instead as per the settings?
kompakt
03-04-2006, 09:29 PM
Oh there is a bug I've discoverd as well. This applies to 2.1.2, I havent tested on 2.1.3. But when you create a new category, it doesn not assign it the new icon you give it. You'll have to edit the category after creating it to assign an icon.
Langly
03-04-2006, 09:59 PM
I thought 2.1.3b2 uploads retained the orginal file name instead of changing the upload name to a string of numbers.
Ophelia
03-05-2006, 03:52 AM
Yes, it's probably the download manager. Some of these seem to insist on creating the filename from the hyperlink that was originally clicked, rather than obeying the header information that is being sent to them. Maybe there is a way round it - can you let me know which download manager?
I'm assuming you are asking for the version we are using? We are using 2.1.3. If this isn't what you were asking for, let me know please :)
AndrewD
03-05-2006, 04:01 AM
I'm assuming you are asking for the version we are using? We are using 2.1.3. If this isn't what you were asking for, let me know please :)
No, I'm not asking that.
Your users may be using download managers on their PCs, e.g. products like FlashGet, which take over control of the download from their browser. That's what I was asking. If they are just using a browser, then which one? Can we pin down the problem.
AndrewD
03-05-2006, 04:02 AM
Just found a small bug in 2.1.0 AndrewD .. worth checking in 2.1.3
When looking at who's online while someone is looking at LDM it comes up as "Viewing Links and Downloads Manager" even though I've changed the name to just "Links" .. so it's not picking up the name change.
Also .. I've noticed that when they are looking at a cat, the cat's name shows up as the link. That's fine. But when they are looking at the Home Cat it comes up as "Home Page" .. this is a little confusing, perhaps have the name of the LDM instead as per the settings?
Thanks - this is probably still the case and I need to fix it. I am still working on consistent phrasing for the 'add ins'
AndrewD
03-05-2006, 04:03 AM
Oh there is a bug I've discoverd as well. This applies to 2.1.2, I havent tested on 2.1.3. But when you create a new category, it doesn not assign it the new icon you give it. You'll have to edit the category after creating it to assign an icon.
OK, thanks
AndrewD
03-05-2006, 04:05 AM
I thought 2.1.3b2 uploads retained the orginal file name instead of changing the upload name to a string of numbers.
They should. When an uploaded file is stored on your server, its name is just a sequence of digits- this is to stop people bypassing LDM - but the filename is restored when it is downloaded. Is this not working for you?
Langly
03-05-2006, 04:13 AM
Ahh, ok. I was just looking at the file directories.
AndrewD
03-05-2006, 10:45 AM
Oh there is a bug I've discoverd as well. This applies to 2.1.2, I havent tested on 2.1.3. But when you create a new category, it doesn not assign it the new icon you give it. You'll have to edit the category after creating it to assign an icon.
I am not able to reproduce this with 2.1.3. Have you set a value for cat_icon_new as well as cat_icon?
AndrewD
03-05-2006, 10:54 AM
Unfortunately the new beta killed Internet Explorer so has been withdrawn. As usual it works fine with Firefox and Opera and passes the validation tests at w3.org, so I wonder who is to blame...
I have uploaded a new beta into the first post. This fixes (I hope) the reported bugs in the first beta, and also adds some requested new features.
Please note - if you have already installed the first beta of 2.1.3, you will have to 'uninstall' before installing, to force the VBulletin product installer to run the installation code. This does not harm your database.
Ratings/comments
The main linkbit now offers a popup showing most recent comments and ratings
Keywords
When a category listing includes entries with associated keywords, a 'filter by keyword' dropdown is available
Administration
Settings added for open local/remote links in new or current window
Bugs fixed
- Category menu displays correctly with forum permissions in add link, etc
- vbAdvanced ldm_tot module fixed when *days_seen_on_portal*=0
- admin buttons work correctly with Internet Explorer
- forumhome plugin uses $stylevar settings for buttons directory
- forum title_clean set during create linked forum
- file sizes for remote urls provided curl library is available, means that http 206 handling works for these files
- 'Show Random Links' displays correct number of entries when keywords enabled
- 'Who's Online' text uses LDM database name if set
As always, backup before upgrading and let me know how it goes.
Slave
03-05-2006, 03:36 PM
Still getting that ..
forumid=-999 (Forum does not exist)
.. error when a cat doesn't have a parent forum on the Category Structure admin page .. by design or bug?
AndrewD
03-05-2006, 03:41 PM
Still getting that ..
forumid=-999 (Forum does not exist)
.. error when a cat doesn't have a parent forum on the Category Structure admin page .. by design or bug?
So which version of php are you on now?
Slave
03-05-2006, 03:47 PM
hmm .. this is with 2.1.3b3
As you know AndrewD I'm still on an old version of PHP but I still like to install the latest version on my test forum .. so not sure if this is just my server playing up or a bug ..
After I add a comment/rating to a link when I go to the cat page showing that link I get an IE error ..
Internet Explorer cannot open the Internet site http://test.test.com/local_links.php?catid=34
Operation abortedI'll PM you the URL so you can have a look ..
Slave
03-05-2006, 03:48 PM
So which version of php are you on now?
Still the old one .. so if that's the problem, fair enough .. :)
Although it happens on my 2.1.0 installation .. and my 1.60 installation come to that ..
Slave
03-05-2006, 04:06 PM
Oh, and another thing .. ;)
This is on 2.1.0, but maybe 2.1.3 too ..
When you've created a linked subforum .. when looking at the threads page you can see the subforum and the latest link details .. ok so far ..
But! .. if you only have cats in the cat that has the subforum the threads page doesn't show the latest link if the new link is in a subcat ..
Hmm .. does that make sense? I guess what I'm trying to say is that the subforum should show the latest link details even if the newest link is in a subcat ..
heh .. not sure if that's made it any clearer :)
AndrewD
03-05-2006, 04:17 PM
Oh, and another thing .. ;)
This is on 2.1.0, but maybe 2.1.3 too ..
When you've created a linked subforum .. when looking at the threads page you can see the subforum and the latest link details .. ok so far ..
But! .. if you only have cats in the cat that has the subforum the threads page doesn't show the latest link if the new link is in a subcat ..
Hmm .. does that make sense? I guess what I'm trying to say is that the subforum should show the latest link details even if the newest link is in a subcat ..
heh .. not sure if that's made it any clearer :)
That's clear, although whether it's easy to implement is another matter... I'll need a clear head.
AndrewD
03-05-2006, 04:25 PM
hmm .. this is with 2.1.3b3
As you know AndrewD I'm still on an old version of PHP but I still like to install the latest version on my test forum .. so not sure if this is just my server playing up or a bug ..
After I add a comment/rating to a link when I go to the cat page showing that link I get an IE error ..
Internet Explorer cannot open the Internet site http://test.test.com/local_links.php?catid=34
Operation abortedI'll PM you the URL so you can have a look ..
You know, I'm really getting tired of Internet Explorer. You're right, it kills the new code. Will have to withdraw it.
AndrewD
03-05-2006, 04:57 PM
You know, I'm really getting tired of Internet Explorer. You're right, it kills the new code. Will have to withdraw it.
Found the bug. D**n IE :squareeyed:
AndrewD
03-05-2006, 05:05 PM
Reuploaded. Apologies to anyone who had problems today - weird bug in Internet Explorer
Ophelia
03-06-2006, 03:14 AM
No, I'm not asking that.
Your users may be using download managers on their PCs, e.g. products like FlashGet, which take over control of the download from their browser. That's what I was asking. If they are just using a browser, then which one? Can we pin down the problem.
This is from one of the users:
I am using Netscape and Download Accelerator (DAP). This is the first time I ever have had a problem on this site and I have the same problem that has been described. Help.
From another:
The same things happens to me too...I tried in firefox and cant get anything to DL...tried it in IE and it fdownloads but the files have a huge long number...I hate IE so would rather not use it if I dont have to.
elsupremo
03-06-2006, 03:52 AM
Andrew, love the new version.
Question though: I just got into VBAdvanced. I have the "ldm_new" module in the center column of my homescreen. However, I really, really, really, would like to have the thumbnails (mine are rather small) to the left of the title of the entries.
I tried and tried for hours to get that little thumbnail to appear, but wasn't able to have any success.
I am hoping this is simple, and if so, please let me know how I can implement this.
Thank you!
AndrewD
03-06-2006, 04:17 AM
Andrew, love the new version.
Question though: I just got into VBAdvanced. I have the "ldm_new" module in the center column of my homescreen. However, I really, really, really, would like to have the thumbnails (mine are rather small) to the left of the title of the entries.
I tried and tried for hours to get that little thumbnail to appear, but wasn't able to have any success.
I am hoping this is simple, and if so, please let me know how I can implement this.
Thank you!
I think this will be straightforward - will get back to you.
elsupremo
03-06-2006, 04:21 AM
Awesome, thank you Andrew.
AndrewD
03-06-2006, 04:29 AM
This is from one of the users:
I am using Netscape and Download Accelerator (DAP). This is the first time I ever have had a problem on this site and I have the same problem that has been described. Help.
Ophelia, just to let you know - I tried using your site with Download Accelerator, and I can reproduce the problem that your community has experienced. I will try to see if there is a work around.
tamborinegal
03-06-2006, 04:39 AM
Thank you Andrew, this extension is just GREAT!! I only installed it yesterday on my testing server but it looks like it is just what I need. :) so thanks.
One thing I was wondering about is if it would be possible to have a users avatar showing somewhere near their username in the comment field? (much like it does in the postbit in a regular forum thread).
Thanks again,
Clancy
AndrewD
03-06-2006, 04:57 AM
Thank you Andrew, this extension is just GREAT!! I only installed it yesterday on my testing server but it looks like it is just what I need. :) so thanks.
One thing I was wondering about is if it would be possible to have a users avatar showing somewhere near their username in the comment field? (much like it does in the postbit in a regular forum thread).
Thanks again,
Clancy
Thanks - I'll take a look - my 'artistic sense is somewhat challenged' as they say, so I've been careful about filling the display with too many bits.
tamborinegal
03-06-2006, 05:41 AM
Thanks - I'll take a look - my 'artistic sense is somewhat challenged' as they say, so I've been careful about filling the display with too many bits.
Thanks Andrew.
I wouldn't say that your 'artistic sense is somewhat challenged' - I think your extension looks very nice. You've kept it clean and simple and it works great!
I actually tried to take a bit of code that shows the avatar from the postbit template and put it in the comments template but it didn't work. I guess there's a bit more to it than that. :)
Thanks again.
Clancy
Joep11
03-06-2006, 07:02 AM
In about one or two days time...
I guess you did not get to it yet? :rolleyes: Or I cannot find it :nervous: favs still show in every category. I cannot find an option to show them only in the category they are in :devious:
elsupremo
03-06-2006, 07:51 AM
And the requests never end...
Do you think you could add "Integration with Calendar" to possible things to do?
It would be nice to make use of that calendar that looks so nice, especially in VBAdvanced. The idea I have of it could be: everytime you use Add entry or Scan function, it creates a link to the entry in the Calendar.
Let me know what you think...It seems so natural to me.
Thanks Andrew!
AndrewD
03-06-2006, 08:50 AM
I guess you did not get to it yet? :rolleyes: Or I cannot find it :nervous: favs still show in every category. I cannot find an option to show them only in the category they are in :devious:
Yes, it's implemented - but you have to 'uninstall' then reinstall LDM for it to show up -this is because the VBulletin product installer has to be forced to rerun the installation code. Don't worry, this will not delete your database
Once you've done that, take a look on the admin settings page and you'll see the setting *featured_all_categories*
Joep11
03-06-2006, 10:49 AM
Yes, it's implemented - but you have to 'uninstall' then reinstall LDM for it to show up -this is because the VBulletin product installer has to be forced to rerun the installation code. Don't worry, this will not delete your database
Once you've done that, take a look on the admin settings page and you'll see the setting *featured_all_categories*
It works! Fantastic add-on and great support, keep it up! Do you accept paypal donations? :smoke:
AndrewD
03-06-2006, 06:44 PM
Thanks Andrew.
I wouldn't say that your 'artistic sense is somewhat challenged' - I think your extension looks very nice. You've kept it clean and simple and it works great!
I actually tried to take a bit of code that shows the avatar from the postbit template and put it in the comments template but it didn't work. I guess there's a bit more to it than that. :)
Thanks again.
Clancy
This turned out to be quite easy to implement, so it'll be in the next beta.
AndrewD
03-06-2006, 06:52 PM
Slave, can you give this a while with your ancient php. It's the modified code for 2.1.3 beta 3.
It should fix the two problems you mentioned, but I'm keen to know if there are other, similar problems.
Thanks.
Slave
03-06-2006, 08:59 PM
I've just tried it AndrewD ..
It seems to have fixed the cat creation problem, and the -999 problem has gone too :)
On the admin settings page, I can click the ok button and I don't get the error any more .. BUT! .. it doesn't save any of the changes :p
On the permission page something really funny happens .. it still doesn't save the change .. AND .. the permission setting I'm trying to change jumps out of the table and ends up at the top of the page .. (You'll have to see that one :))
Have you still got the details of my test forum?
Slave
03-06-2006, 09:14 PM
btw .. I've completely uninstalled and reinstalled 2.1.3b3 with the files in the post 2 posts up just to make sure .. same thing happens
tamborinegal
03-06-2006, 10:00 PM
This turned out to be quite easy to implement, so it'll be in the next beta.
Wow thanks Andrew! Any idea as to when you plan to release the next beta? :)
Clancy
I don't understand - I've just tried this and it works fine for me.
Which version of LDM are you running?
I am using 2.1.0
What I'm trying to say is that -
IF I do not upload a file and do not add a URL - can I still see the description and name in LDM?
Currently I have to either upload OR add a link in order for LDM to work.
I will appreciate if you could suggest me a fix or tell me how can I remedy the issue.
Thank you for helping me out..appreciated!
Vik
AndrewD
03-07-2006, 03:33 AM
I've just tried it AndrewD ..
It seems to have fixed the cat creation problem, and the -999 problem has gone too :)
On the admin settings page, I can click the ok button and I don't get the error any more .. BUT! .. it doesn't save any of the changes :p
On the permission page something really funny happens .. it still doesn't save the change .. AND .. the permission setting I'm trying to change jumps out of the table and ends up at the top of the page .. (You'll have to see that one :))
Have you still got the details of my test forum?
Ouch. I'm sure it's the same probem with the old version of php. When I have a chance, I'll dig a bit further.
AndrewD
03-07-2006, 03:35 AM
Wow thanks Andrew! Any idea as to when you plan to release the next beta? :)
Clancy
We'll give people a few days to track down bugs in the current beta - maybe next weekend or the following one - there's also a couple of tricky things to sort out for Slave and Ophelia.
AndrewD
03-07-2006, 03:39 AM
I am using 2.1.0
What I'm trying to say is that -
IF I do not upload a file and do not add a URL - can I still see the description and name in LDM?
Currently I have to either upload OR add a link in order for LDM to work.
I will appreciate if you could suggest me a fix or tell me how can I remedy the issue.
Thank you for helping me out..appreciated!
Vik
Let me try again with 2.1.0 to see if I can repeat the problem.
sinoeu
03-07-2006, 11:47 AM
We'll give people a few days to track down bugs in the current beta - maybe next weekend or the following one - there's also a couple of tricky things to sort out for Slave and Ophelia.
Will the hook system be added into the next beta?
Derekclarke
03-07-2006, 01:19 PM
I have installed 2.1.0 on one of my forums. I am going to test 2.1.3 on my other one.
2.1.0 works perfect
Thanks for the Hack
Ophelia
03-07-2006, 02:40 PM
Andrew,
We are having a huge issue right now.. hoping you can give some insight.
Whenever anyone tries to do something in the download manager, they are getting the following error:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO local_linksdebug (userid, settingtime, message, settings)
VALUES (
'2564',
'1141749185',
'local_filename:/forum/correctlink/980611410121089844.jpg:returns:/home/webattit/public_html/forum/teamuploads/imageuploads/980611410121089844.jpg:',
'a:78:{s:17:"title_data_access";s:26:"ll_settings_title_features";s:16:"title_data_entry";s:23:"ll_settings_title_entry";s:14:"title_controls";s:26:"ll_settings_title_controls";s:10:"allow_html";s:1:"0";s:12:"allow_images";s:1:"1";s:13:"allow_smilies";s:1:"0";s:12:"allow_bbcode";s:1:"1";s:16:"allow_null_links";s:1:"0";s:14:"title_moderate";s:26:"ll_settings_title_moderate";s:14:"moderate_links";s:1:"0";s:21:"moderate_email_accept";s:1:"0";s:21:"moderate_email_submit";s:1:"0";s:16:"title_displayopt";s:28:"ll_settings_title_displayopt";s:17:"cat_depth_display";s:1:"1";s:15:"cat_sub_display";s:1:"0";s:16:"cat_cols_display";s:1:"1";s:11:"count_depth";s:1:"1";s:8:"cat_icon";s:0:"";s:12:"cat_icon_new";s:0:"";s:16:"template_linkbit";s:13:"links_linkbit";s:17:"link_cols_display";s:0:"";s:14:"links_per_page";s:1:"0";s:20:"links_show_othercats";s:1:"1";s:18:"default_sort_order";s:1:"d";s:13:"default_style";s:2:"-1";s:13:"title_general";s:25:"ll_settings_title_general";s:25:"categories_seen_on_portal";s:0:"";s:18:"category_jump_menu";s:1:"1";s:13:"database_name";s:0:"";s:19:"days_seen_on_portal";s:2:"30";s:18:"featured_user_favs";s:0:"";s:14:"featured_sites";s:1:"0";s:20:"links_seen_on_portal";s:2:"10";s:11:"mod_rewrite";s:0:"";s:16:"monitor_template";s:14:"links_scantext";s:12:"seo_friendly";s:1:"0";s:15:"show_hit_parade";s:1:"1";s:27:"template_category_selection";s:26:"links_addnewlink_catselect";s:12:"title_images";s:24:"ll_settings_title_images";s:14:"file_icons_dir";s:17:"images/ldm_icons/";s:14:"link_imagesize";s:3:"100";s:10:"thumbs_dir";s:14:"/forum/thumbs/";s:12:"title_search";s:24:"ll_settings_title_search";s:18:"default_search_all";s:1:"1";s:19:"default_search_desc";s:1:"1";s:19:"default_search_keys";s:1:"1";s:16:"match_using_like";s:1:"0";s:19:"profile_searchfield";s:2:"-1";s:14:"title_security";s:26:"ll_settings_title_security";s:22:"allow_remote_downloads";s:1:"1";s:15:"default_forumid";s:4:"-999";s:16:"default_cat_dseq";s:1:"1";s:17:"default_link_dseq";s:1:"1";s:12:"force_accept";s:1:"0";s:14:"force_redirect";s:1:"0";s:15:"local_file_root";s:1:"0";s:22:"local_file_root_prefix";s:0:"";s:19:"profile_ldmactivity";s:1:"1";s:14:"protected_link";s:1:"0";s:15:"robots_meta_tag";s:15:"index, nofollow";s:17:"timeout_hit_allow";s:2:"30";s:21:"timeout_hit_recording";s:2:"60";s:17:"validate_on_entry";s:1:"1";s:11:"title_media";s:23:"ll_settings_title_media";s:18:"musicbox_filetypes";s:44:"mpg, mpeg, wmv, mp3, swf, asf, wma, avi, wav";s:28:"musicbox_filetypes_quicktime";s:3:"mov";s:29:"musicbox_filetypes_realplayer";s:34:"rm, ra, ram, rt, rp, rv, rmvb, rpm";s:12:"title_upload";s:24:"ll_settings_title_upload";s:10:"upload_dir";s:18:"/forum/teamuploads";s:14:"upload_enabled";s:1:"1";s:16:"upload_filetypes";s:0:"";s:15:"upload_maxspace";s:1:"0";s:11:"title_debug";s:14:"ll_perms_DEBUG";s:5:"DEBUG";s:1:"1";s:11:"LDMHomePage";s:41:"http://www.eirma.org/devel/LDM/index.html";s:12:"this_version";s:5:"2.1.3";s:17:"version_installed";s:1:"1";s:15:"bandwidth_limit";s:0:"";}'
);
MySQL Error : Duplicate entry '32767' for key 1
Error Number : 1062
Date : Tuesday, March 7th 2006 @ 11:33:05 AM
Script : http://www.oursite.com/forum/local_resize.php?pic=/forum/teamuploads/imageuploads/980611410121089844.jpg&size=600
Referrer : http://www.oursite.com/forum/local_links.php?catid=17
IP Address : 67.48.75.160
Username : Ophelia
Classname : vb_database
We get this when we are trying to view the image, trying to download... anything/everything. Any ideas?
**Updating
Andrew there were over 32,000 entries into the debug table in the database. I emptied this and the download manager works again. However, this might be something that needs looked into.
Derekclarke
03-07-2006, 02:44 PM
Installed 2.13 on my other forum.
When i click on one of the links i get the following error message.
Error - Cannot determine if you can access link: linkid,forumid= 4, 71
I have been through the permission settings in the links admin cp and set them up.
Derek
AndrewD
03-07-2006, 04:17 PM
Andrew,
We are having a huge issue right now.. hoping you can give some insight.
Whenever anyone tries to do something in the download manager, they are getting the following error:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO local_linksdebug (userid, settingtime, message, settings)
VALUES (
'2564',
'1141749185',
'local_filename:/forum/correctlink/980611410121089844.jpg:returns:/home/webattit/public_html/forum/teamuploads/imageuploads/980611410121089844.jpg:',
'a:78:{s:17:"title_data_access";s:26:"ll_settings_title_features";s:16:"title_data_entry";s:23:"ll_settings_title_entry";s:14:"title_controls";s:26:"ll_settings_title_controls";s:10:"allow_html";s:1:"0";s:12:"allow_images";s:1:"1";s:13:"allow_smilies";s:1:"0";s:12:"allow_bbcode";s:1:"1";s:16:"allow_null_links";s:1:"0";s:14:"title_moderate";s:26:"ll_settings_title_moderate";s:14:"moderate_links";s:1:"0";s:21:"moderate_email_accept";s:1:"0";s:21:"moderate_email_submit";s:1:"0";s:16:"title_displayopt";s:28:"ll_settings_title_displayopt";s:17:"cat_depth_display";s:1:"1";s:15:"cat_sub_display";s:1:"0";s:16:"cat_cols_display";s:1:"1";s:11:"count_depth";s:1:"1";s:8:"cat_icon";s:0:"";s:12:"cat_icon_new";s:0:"";s:16:"template_linkbit";s:13:"links_linkbit";s:17:"link_cols_display";s:0:"";s:14:"links_per_page";s:1:"0";s:20:"links_show_othercats";s:1:"1";s:18:"default_sort_order";s:1:"d";s:13:"default_style";s:2:"-1";s:13:"title_general";s:25:"ll_settings_title_general";s:25:"categories_seen_on_portal";s:0:"";s:18:"category_jump_menu";s:1:"1";s:13:"database_name";s:0:"";s:19:"days_seen_on_portal";s:2:"30";s:18:"featured_user_favs";s:0:"";s:14:"featured_sites";s:1:"0";s:20:"links_seen_on_portal";s:2:"10";s:11:"mod_rewrite";s:0:"";s:16:"monitor_template";s:14:"links_scantext";s:12:"seo_friendly";s:1:"0";s:15:"show_hit_parade";s:1:"1";s:27:"template_category_selection";s:26:"links_addnewlink_catselect";s:12:"title_images";s:24:"ll_settings_title_images";s:14:"file_icons_dir";s:17:"images/ldm_icons/";s:14:"link_imagesize";s:3:"100";s:10:"thumbs_dir";s:14:"/forum/thumbs/";s:12:"title_search";s:24:"ll_settings_title_search";s:18:"default_search_all";s:1:"1";s:19:"default_search_desc";s:1:"1";s:19:"default_search_keys";s:1:"1";s:16:"match_using_like";s:1:"0";s:19:"profile_searchfield";s:2:"-1";s:14:"title_security";s:26:"ll_settings_title_security";s:22:"allow_remote_downloads";s:1:"1";s:15:"default_forumid";s:4:"-999";s:16:"default_cat_dseq";s:1:"1";s:17:"default_link_dseq";s:1:"1";s:12:"force_accept";s:1:"0";s:14:"force_redirect";s:1:"0";s:15:"local_file_root";s:1:"0";s:22:"local_file_root_prefix";s:0:"";s:19:"profile_ldmactivity";s:1:"1";s:14:"protected_link";s:1:"0";s:15:"robots_meta_tag";s:15:"index, nofollow";s:17:"timeout_hit_allow";s:2:"30";s:21:"timeout_hit_recording";s:2:"60";s:17:"validate_on_entry";s:1:"1";s:11:"title_media";s:23:"ll_settings_title_media";s:18:"musicbox_filetypes";s:44:"mpg, mpeg, wmv, mp3, swf, asf, wma, avi, wav";s:28:"musicbox_filetypes_quicktime";s:3:"mov";s:29:"musicbox_filetypes_realplayer";s:34:"rm, ra, ram, rt, rp, rv, rmvb, rpm";s:12:"title_upload";s:24:"ll_settings_title_upload";s:10:"upload_dir";s:18:"/forum/teamuploads";s:14:"upload_enabled";s:1:"1";s:16:"upload_filetypes";s:0:"";s:15:"upload_maxspace";s:1:"0";s:11:"title_debug";s:14:"ll_perms_DEBUG";s:5:"DEBUG";s:1:"1";s:11:"LDMHomePage";s:41:"http://www.eirma.org/devel/LDM/index.html";s:12:"this_version";s:5:"2.1.3";s:17:"version_installed";s:1:"1";s:15:"bandwidth_limit";s:0:"";}'
);
MySQL Error : Duplicate entry '32767' for key 1
Error Number : 1062
Date : Tuesday, March 7th 2006 @ 11:33:05 AM
Script : http://www.oursite.com/forum/local_resize.php?pic=/forum/teamuploads/imageuploads/980611410121089844.jpg&size=600
Referrer : http://www.oursite.com/forum/local_links.php?catid=17
IP Address : 67.48.75.160
Username : Ophelia
Classname : vb_database
We get this when we are trying to view the image, trying to download... anything/everything. Any ideas?
**Updating
Andrew there were over 32,000 entries into the debug table in the database. I emptied this and the download manager works again. However, this might be something that needs looked into.
Has someone turned on the debug switch on the admin page?
AndrewD
03-07-2006, 04:18 PM
Will the hook system be added into the next beta?
Bits of it are already there, but we need to sort out just how many hooks are needed and where to put them. Any thoughts on the sorts of features you will wish to code via hooks?
AndrewD
03-07-2006, 04:21 PM
Installed 2.13 on my other forum.
When i click on one of the links i get the following error message.
Error - Cannot determine if you can access link: linkid,forumid= 4, 71
I have been through the permission settings in the links admin cp and set them up.
Derek
That error should only be produced if the specified forum doesn't exist, e.g if you have associated a link with a forum and then deleted the forum.
AndrewD
03-07-2006, 05:40 PM
I'd appreciate comments on the following...
Recent beta versions of LDM include the option to show an 'Accept these terms' page in between requesting a download and actually getting it. The user is taken through an extra form, to which they must answer 'yes'.
This approach breaks down if the user has a third party download manager installed on their PC. The download manager grabs the download request, gets presented with the 'accept me' form, and doesn't know what to do, so ends up delivering a file of html to the user, who is naturally bemused.
I understand the wish to place an agreement between the system and the user, to remind people that the material they are downloading has some value.
Is there another way to handle this, e.g. how about an agreement before entering the category, rather than before trying to download the link, or an agreement that sets a cookie that's valuable for a period of time, etc?
Appreciate your suggestions.
AndrewD
03-07-2006, 06:58 PM
I've just tried it AndrewD ..
It seems to have fixed the cat creation problem, and the -999 problem has gone too :)
On the admin settings page, I can click the ok button and I don't get the error any more .. BUT! .. it doesn't save any of the changes :p
On the permission page something really funny happens .. it still doesn't save the change .. AND .. the permission setting I'm trying to change jumps out of the table and ends up at the top of the page .. (You'll have to see that one :))
Have you still got the details of my test forum?
Slave, OK, I think I have fixed these two problems, code attached. You may have to uninstall then delete the test LDM database (local_links_kill.php), as there will be some corrupt records in your admin table.
BUT - here is the basic difficulty. If you run this code
$a[-1] = 10;
$a['-1'] = 20;
$a[1] = 50;
$a['1'] = 60;
print_r($a);
with versions of php before 4.3.3, it will print out 10, 20, 60. If you run it with later verisons it will print out 20,60. In other words, php's handling of negative array indices changed in 2003. I'm trying to find the places in the code where this crops up, but it's not easy. If we can't isolate this pretty quickly, I'll give up, as I am likely to introduce new bugs in the process.
Firestar.chkn
03-07-2006, 07:04 PM
AndrewD, awesome mod here.
Got one question, please. I make use of a non-standard (higher than admin) Core Admin group. As this is not group ID 6, I cannot access the admin page when I'm not also added to the Admin group.
Where can I find the "can_admin_links" variable. I've looked through all the files, and all the DB entries, and I cannot find it at all. Please direct me, so that I can add my Core Admin group into this variable?
Also, just one suggestion.
Consider adding some default values into the settings fields. They all can be quite daunting to fill in, and some of them, I cannot figure out what needs to go in there. For example, how do I specify only RAR and ZIP files to be added?
Anyways, great mod. Thanks a lot for all your work.
Cheers
Firestar
AndrewD
03-07-2006, 07:12 PM
AndrewD, awesome mod here.
Got one question, please. I make use of a non-standard (higher than admin) Core Admin group. As this is not group ID 6, I cannot access the admin page when I'm not also added to the Admin group.
Where can I find the "can_admin_links" variable. I've looked through all the files, and all the DB entries, and I cannot find it at all. Please direct me, so that I can add my Core Admin group into this variable?
local_links_include.php
Look for the statement around line 99 that assigns $is_admin. can_admin_links is set around line 221 using this value.
Also, just one suggestion.
Consider adding some default values into the settings fields. They all can be quite daunting to fill in, and some of them, I cannot figure out what needs to go in there. For example, how do I specify only RAR and ZIP files to be added?
Anyways, great mod. Thanks a lot for all your work.
Cheers
Firestar
I understand - really this has grown to a size that needs a wizard (software or human) :).
You say only zip and rar to be added. Do you mean uploaded or handled as downloads. In either case, zip and rar have to have mimetypes specified in the main vbulletin attachments table. Then you can limit uploads to this by setting the value upload_filetypes.
Firestar.chkn
03-07-2006, 07:56 PM
Thanks! seems I missed that one.
I do see the upload_filetypes field, but I do not know in which format to add the two values to. They are added to the attachments table.
Firestar.chkn
03-07-2006, 08:03 PM
Oh, and can I just re-upload the local_links_include.php file after I've changed it? Or do I need to re-import the product too?
Ophelia
03-07-2006, 08:33 PM
Has someone turned on the debug switch on the admin page?
Yes, it appears that it was turned on.. however, I'm 90% sure I didn't turn it on because it stated "do not change this unless told". I turned it off.. but thought you would like to know that this does happen if it's on for to long.
elsupremo
03-07-2006, 10:10 PM
I'd appreciate comments on the following...
Recent beta versions of LDM include the option to show an 'Accept these terms' page in between requesting a download and actually getting it. The user is taken through an extra form, to which they must answer 'yes'.
This approach breaks down if the user has a third party download manager installed on their PC. The download manager grabs the download request, gets presented with the 'accept me' form, and doesn't know what to do, so ends up delivering a file of html to the user, who is naturally bemused.
I understand the wish to place an agreement between the system and the user, to remind people that the material they are downloading has some value.
Is there another way to handle this, e.g. how about an agreement before entering the category, rather than before trying to download the link, or an agreement that sets a cookie that's valuable for a period of time, etc?
Appreciate your suggestions.
Andrew,
Is there any way of implementing a system where the first time a user visit local_links.php, the form pops up before they can gain access to the downloads area. It then does not ask them again unless they leave the downloads area. Maybe even some kind of cookie that makes it so they only have to accept the first time they enter the downloads area.
Remember I don't know what I am doing, but it's just a suggestion. I like it because I think having a form before every single download is repetitive and disruptive of a client's browsing. I am usually in favor of policies that do not hamper the flow of clients' browsing experience.
Just an idea.
AndrewD
03-08-2006, 03:35 AM
Thanks! seems I missed that one.
I do see the upload_filetypes field, but I do not know in which format to add the two values to. They are added to the attachments table.
Sorry about that - you've found a bug in 2.1.3b3. I'd lost the declaration of a variable in the code that handles the upload_filetypes field - happened while I was 'tidying up'. The field should accept a list of file suffixes separated by commas, e.g. zip, rar
If you want a quick fix, edit local_links_misc.php, find the line function update_settings($catid, $settings, &$errors) { and change the next line to global $db, $mimetype_cache;
You can just re-upload this file and (yes) the local_links_include.php - these changes do not require reinstallation.
AndrewD
03-08-2006, 03:36 AM
Yes, it appears that it was turned on.. however, I'm 90% sure I didn't turn it on because it stated "do not change this unless told". I turned it off.. but thought you would like to know that this does happen if it's on for to long.
Thanks, I'll see if there's an easy way to trap this.
Langly
03-08-2006, 03:47 AM
This is to help others that might want to use LDM to post on the portal like vbportal as a center block. It will display the latest uploads/links submitted. The code is 100% by Nitro at vbportal; I'm just copying it here so others might be able to use it as well.
Add a new php Center block in portalCP
Uses templates: Yes
Name: what you like
global $db, $vboptions, $vbulletin, $vbphrase, $vbpoptions;
$link_query = $db->query_read("SELECT *
FROM " . TABLE_PREFIX . "local_linkslink
WHERE linkmoderate = 0
ORDER BY linkdate DESC LIMIT 20");
while ($linkinfo = $db->fetch_array($link_query))
{
$linkname = $linkinfo['linkname'];
$linkdate = date("d-m-y", $linkinfo['linkdate']);
$linkuser = $linkinfo['linkusername'];
$linksize = $linkinfo['linksize']/1000/1000;
$linkid = $linkinfo['linkid'];
{
if ($link_cats = $db->query_read("SELECT local_linkscat.catid, local_linkscat.catname FROM " . TABLE_PREFIX . "local_linkscat
LEFT JOIN " . TABLE_PREFIX . "local_linksltoc AS local_linksltoc ON local_linksltoc.catid = local_linkscat.catid
WHERE local_linksltoc.linkid = " . $linkid . ""));
{
while ($catinfo = $db->fetch_array($link_cats))
{
$linkcatid = $catinfo['catid'];
$linkcatname = $catinfo['catname'];
eval('$latestldm_new .= "' . fetch_template('P_ldm_new') . '";');
}
}
}
}
return <<<EOT
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="thead"> </td><td class="thead">Name</td><td class="thead">Date</td><td class="thead">Submitter</td><td class="thead">Filesize</td><td class="thead">Categroy</td></tr>
<tr align="center">
$latestldm_new
</tr>
</table>
EOT;
$db->free_result($link_query, $link_cats);
PS ignore the "<?php BEGIN__VBULLETIN__CODE__SNIPPET " portion at the begining theres a bug in vb's php bbcode wrapper which does this its not supposed to be visible
Add a new template P_ldm_new
<tr><td width="20" class="alt1"><img src="$stylevar[imgdir_attach]/attach.gif" alt=""></td><td class="alt1">$linkname<br /><smallfont>Hits: $linkinfo[linkhits] Rating: $linkinfo[totrate]</smallfont></td><td class="alt2">$linkdate</td><td class="alt1">$linkuser</td><td class="alt2">$linksize MB</td><td class="alt1"><a href="$vbpoptions[bbdir]/local_links.php?catid=$linkcatid">$linkcatname</a></td></tr>
To change the amount listed first query "LIMIT 20" change the 20 to what you want
If you want to order by rating or hits first query again the "ORDER BY linkdate" change linkdate to linkhits for hit count or totrate for top rated.
I use it on my site and it works great. Thanks for working on that for me Nitro.
Langly
03-08-2006, 03:48 AM
Andrew, any word on having LDM "post" in a forum the latest uploads?
AndrewD
03-08-2006, 04:09 AM
This is to help others that might want to use LDM to post on the portal like vbportal as a center block. It will display the latest uploads/links submitted. The code is 100% by Nitro at vbportal; I'm just copying it here so others might be able to use it as well.
Thanks, I'll add this to the 'extras' directory with the next release (no support by me).
Be aware that this code does not deal with any of the LDM settings/permissions.
AndrewD
03-08-2006, 04:10 AM
Andrew, any word on having LDM "post" in a forum the latest uploads?
No, sorry, this has not been an early priority for me.
Slave
03-08-2006, 04:13 AM
Slave, OK, I think I have fixed these two problems, code attached. You may have to uninstall then delete the test LDM database (local_links_kill.php), as there will be some corrupt records in your admin table.
BUT - here is the basic difficulty. If you run this code
$a[-1] = 10;
$a['-1'] = 20;
$a[1] = 50;
$a['1'] = 60;
print_r($a);
with versions of php before 4.3.3, it will print out 10, 20, 60. If you run it with later verisons it will print out 20,60. In other words, php's handling of negative array indices changed in 2003. I'm trying to find the places in the code where this crops up, but it's not easy. If we can't isolate this pretty quickly, I'll give up, as I am likely to introduce new bugs in the process.
Thanks AndrewD :)
I'll have a play and let you know how I get on ..
Slave
03-08-2006, 04:57 AM
All reported bugs fixed - check! :)
So far the only thing I can see as a bug is when you go to change the display settings of a cat, the change works but when you go back to edit again it seems to pull the overall default settings and not the settings you have for that cat.
Apart from that I can't see anything else wrong ....... at the moment :)
I'll keep playing .. and I'd like to say I appreciate the work/time you're putting into this AndrewD .. You're a star!
:D
AndrewD
03-08-2006, 05:02 AM
All reported bugs fixed - check! :)
So far the only thing I can see as a bug is when you go to change the display settings of a cat, the change works but when you go back to edit again it seems to pull the overall default settings and not the settings you have for that cat.
This is almost certainly the same problem again. I'll take a look this evening.
sinoeu
03-08-2006, 01:05 PM
Bits of it are already there, but we need to sort out just how many hooks are needed and where to put them. Any thoughts on the sorts of features you will wish to code via hooks?
Just want to know whether the hook for the point systems is already in it :rolleyes:
AndrewD
03-08-2006, 05:32 PM
I am using 2.1.0
What I'm trying to say is that -
IF I do not upload a file and do not add a URL - can I still see the description and name in LDM?
Currently I have to either upload OR add a link in order for LDM to work.
I will appreciate if you could suggest me a fix or tell me how can I remedy the issue.
Thank you for helping me out..appreciated!
Vik
Vik, thanks for this report. You're correct - handling of null links is broken in 2.1.0, and broken in a different way in the current 2.1.3 beta. I'll fix it by the time of next beta.
EasyTarget
03-09-2006, 03:43 AM
I've updated to the newest beta with vbulletin 3.5.4 and its working great.
Also, for me the stats were not working before, but after the upgrade they all seem to be working fine. (before I couldn't find the links/files that other users had submitted, but now it lists them for each user)
thanks again for all the hard work andrew.
Are you still planning on doing more with the image hosting portion of this?
EasyTarget
03-09-2006, 03:48 AM
Andrew,
Is there any way of implementing a system where the first time a user visit local_links.php, the form pops up before they can gain access to the downloads area. It then does not ask them again unless they leave the downloads area. Maybe even some kind of cookie that makes it so they only have to accept the first time they enter the downloads area.
Remember I don't know what I am doing, but it's just a suggestion. I like it because I think having a form before every single download is repetitive and disruptive of a client's browsing. I am usually in favor of policies that do not hamper the flow of clients' browsing experience.
Just an idea.I don't use this feature/don't have a need for it, but maybe it'd be helpful if something like what supremo said was implemented, but on a per category basis for those sites which may need the flexibility.
EasyTarget
03-09-2006, 03:49 AM
sorry for yet another post.. but I just noticed the new settings layout/organization and just wanted to say nice job.
AndrewD
03-09-2006, 04:03 AM
Are you still planning on doing more with the image hosting portion of this?
I'm losing touch with all the suggestions :o What would you like to see? (if you forgive the pun)
AndrewD
03-09-2006, 04:13 AM
OK, this is what I propose to do. User agreements will be available in two ways:
a) Default - there is no need to 'accept' any terms and conditions before starting a download
b) 'Accept me' - it will be necessary to agree to the terms set in a site-editable form
and 'Accept me' will be available in two ways:
1) 'on category entry' (default). Users will need to 'agree' to the terms before entering categories.
2) 'on link access'. Users will need to agree before accessing a download
This second setting will be available as a global value and as an inheritable per-category value, so it can be tailored to only apply in certain categories if you wish.
NB: The combination (b) + (2) will not work for users who access LDM using third-party download managers like Download Accelerator Plus. It is simply too much work for me to sort this out. However, the combination (b) + (1) (and the other combinations) will work fine.
OK? (Ophelia?)
Slave
03-09-2006, 07:09 AM
Sounds the best of both worlds AndrewD ..
I don't think you can expect to fix all the worlds problems :p
SteveC
03-09-2006, 03:08 PM
How do I change the menu titles? All I want to do is change the option for "Add Link" to "Add File" which I think my users will understand more easily since I'm using this as a file library. I can't find it in any of the templates.
Thanks for all your work on this. It's a great enhancement to my site.
Langly
03-09-2006, 03:10 PM
Look for "Add Files" in your phrase/languages section of your admincp.
SteveC
03-09-2006, 03:25 PM
Thanks!
SteveC
03-09-2006, 11:46 PM
I can't get thumbnails to display. I notice the documentation makes reference to a linkbit_photos template and a selection for a thumbnails directory but I don't see these options. Are they in 2.1.0 or only in the new beta?
with 2.1.0 how to I get photos to display as in the screenshots here? http://www.eirma.org/devel/LDM/pictures.html
AndrewD
03-10-2006, 03:45 AM
I can't get thumbnails to display. I notice the documentation makes reference to a linkbit_photos template and a selection for a thumbnails directory but I don't see these options. Are they in 2.1.0 or only in the new beta?
with 2.1.0 how to I get photos to display as in the screenshots here? http://www.eirma.org/devel/LDM/pictures.html
Sorry, Steve - the documentation is racing ahead of us - it's for 2.1.3.
In order to get thumbnails to display with 2.1.0, this is what you must do:
a) check that your php installation includes the GD2 library. If you don't know, take a look at the box down the bottom left side of one of the LDM admin pages - this will tell you
b) set the LDM parameter link_imagesize to the size in pixels (largest dimension) that you want thumbs to be sized. If you leave this at zero, they won't show
c) Either provide a url in the image field on the add link form, or use a main url that is itself an image (i.e. jpg, gif, png)
Then it should work.
In the versions after 2.1.0, several improvements have been made, such as caching ther thumbnails (quicker), using a better algorithm to create them (nicer) and providing some other layout templates (more appropriate layouts for photos).
Joep11
03-10-2006, 06:35 AM
Hi Andrew,
Is it possible to set a maximum amount of characters when a user ads a link at the description field? At this moment a user can (and did) put a large text in the description field.
Regards,
Jeroen
EasyTarget
03-10-2006, 07:01 AM
OK, this is what I propose to do. User agreements will be available in two ways:
a) Default - there is no need to 'accept' any terms and conditions before starting a download
b) 'Accept me' - it will be necessary to agree to the terms set in a site-editable form
and 'Accept me' will be available in two ways:
1) 'on category entry' (default). Users will need to 'agree' to the terms before entering categories.
2) 'on link access'. Users will need to agree before accessing a downloadI didn't follow this enough to understand fully.. Will one of the options be to accept it once, globally, for all downloads? (and then if people want it to be by category or link they can do that as a either/or type system?)
As far as the images, I think an option to allow users to create/manage their own galleries would be beneficial. So like if I choose usergroup A and allow them to create/manage galleries then they could create their own personal gallery in the gallery category and only they could submit/edit the pics in their gallery. Maybe even give the option if they'd like their gallery to be just a private one.
Another option that I think would be beneficial would be the choice to display newest and/or random pictures from galleries that the admins select. Maybe on the local_links main page or on a new gallery main page or both. (eventually it'd be nice to even have an add-on for use on forumhome if this were made possible)
regarding the agreements, maybe you could extend that or make a unique version for galleries, whether it be for copyrighted content agreements or mature content, whatever.
AndrewD
03-10-2006, 08:22 AM
Hi Andrew,
Is it possible to set a maximum amount of characters when a user ads a link at the description field? At this moment a user can (and did) put a large text in the description field.
Regards,
Jeroen
Do you want this to be an adjustable parameter, or just a hard limit? Currently the database field is type TEXT, which makes it in principle quite large
Slave
03-10-2006, 09:57 AM
As far as the images, I think an option to allow users to create/manage their own galleries would be beneficial. So like if I choose usergroup A and allow them to create/manage galleries then they could create their own personal gallery in the gallery category and only they could submit/edit the pics in their gallery. Maybe even give the option if they'd like their gallery to be just a private one.
Another option that I think would be beneficial would be the choice to display newest and/or random pictures from galleries that the admins select. Maybe on the local_links main page or on a new gallery main page or both. (eventually it'd be nice to even have an add-on for use on forumhome if this were made possible)
Whoa! .. you sure you don't want to just get vB Gallery instead? :p
I'm all for adding features, but isn't this going that little bit too far away from what this hack is all about?
It's up to AndrewD in the end I agree, but personally I'd like AndrewD to have a life and not get so overworked that he gets pissed of with the hack and stops supporting it ..
(Sorry if I'm stepping on your toes AndrewD .. I'll get out of protective mode now :))
Slave
03-10-2006, 10:05 AM
Do you want this to be an adjustable parameter, or just a hard limit? Currently the database field is type TEXT, which makes it in principle quite large
I'd go with an adjustable parameter else you'll get requests to make it larger than the default .. :)
dilbert
03-10-2006, 01:42 PM
This is absolutely terrific!
I've read in other places that it was too easy to install, that just may be true. Even I did it. :rolleyes:
I have two questions.
How can I change the menu item under Show "My Favourites" to "My Favorites"?
Next, can this be used for just downloads? Is it possible to remove the "links" section? I already use vBadvanced's links directory and don't want to move at this time. I just want to use this as a document download tool.
Thanks
EasyTarget
03-10-2006, 03:50 PM
Whoa! .. you sure you don't want to just get vB Gallery instead? :p
I'm all for adding features, but isn't this going that little bit too far away from what this hack is all about?ahha, well I'm just giving suggestions. If Andrew is looking for stuff to add/change/improve then sometimes it helps to have some outside comments instead of trying to think of it all yourself.
I'm more than happy with what the hack is right now, he's done an excellent job. I have avoided installing other gallery hacks because I'd rather install or use one done by Andrew and I'd rather have it done in 1 hack instead of 3 or 4. (His hack is so versatile that instead of needing 1 hack for downloads, 1 for links, 1 for pictures, 1 for bandwidth, etc.. we can do it all with this)
btw, has this ever been on the hack of the month poll?
EasyTarget
03-10-2006, 03:52 PM
This is absolutely terrific!
I've read in other places that it was too easy to install, that just may be true. Even I did it. :rolleyes:
I have two questions.
How can I change the menu item under Show "My Favourites" to "My Favorites"?
Next, can this be used for just downloads? Is it possible to remove the "links" section? I already use vBadvanced's links directory and don't want to move at this time. I just want to use this as a document download tool.
ThanksI use this pretty much just for downloads, though I did add a catergory for links. It works in the same way and he's included different link bit styles to accomadate a wide range of users. I tried a few different hacks before I found this and this by far is the best one.
AndrewD
03-10-2006, 06:29 PM
I'd like AndrewD to have a life and not get so overworked ...
And I thought you had it in for me ;) Actually, I'm just a cyberbot, programmed to write code, endlessly.
AndrewD
03-10-2006, 06:32 PM
I have two questions.
How can I change the menu item under Show "My Favourites" to "My Favorites"?
LDM is (I hope) fully phrased, so you just look for the British spelling in the main VB admin/languages section and Yankify it
Next, can this be used for just downloads? Is it possible to remove the "links" section? I already use vBadvanced's links directory and don't want to move at this time. I just want to use this as a document download tool.
Thanks
The only distinction between links and downloads is whether or not LDM finds the file suffix in the main VBulletin attachments table. That's all. I don't think you need to turn anything off.
elsupremo
03-10-2006, 07:05 PM
Actually, I'm just a cyberbot, programmed to write code, endlessly.
Ah ha! I knew it! :cool:
Joep11
03-10-2006, 08:54 PM
Do you want this to be an adjustable parameter, or just a hard limit? Currently the database field is type TEXT, which makes it in principle quite large
Adjustable would be great in that way that admins can set it. Users should give a short description, not a large text :)
Ophelia
03-11-2006, 01:28 AM
OK, this is what I propose to do. User agreements will be available in two ways:
a) Default - there is no need to 'accept' any terms and conditions before starting a download
b) 'Accept me' - it will be necessary to agree to the terms set in a site-editable form
and 'Accept me' will be available in two ways:
1) 'on category entry' (default). Users will need to 'agree' to the terms before entering categories.
2) 'on link access'. Users will need to agree before accessing a download
This second setting will be available as a global value and as an inheritable per-category value, so it can be tailored to only apply in certain categories if you wish.
NB: The combination (b) + (2) will not work for users who access LDM using third-party download managers like Download Accelerator Plus. It is simply too much work for me to sort this out. However, the combination (b) + (1) (and the other combinations) will work fine.
OK? (Ophelia?)
This works just fine :)
Slave
03-11-2006, 03:44 AM
And I thought you had it in for me ;) Actually, I'm just a cyberbot, programmed to write code, endlessly.
heh .. I have your best interests at heart :)
dilbert
03-11-2006, 11:50 AM
LDM is (I hope) fully phrased, so you just look for the British spelling in the main VB admin/languages section and Yankify it
All Yankeed up,
thanks.:surprised:
EasyTarget
03-11-2006, 06:54 PM
I believe I found a small bug when trying to delete a link.
I got this message Please confirm your desire to delete this item by checking the "Delete" box. but then there was no delete box, there was a forum jump menu.
AndrewD
03-12-2006, 04:33 AM
I believe I found a small bug when trying to delete a link.
I got this message but then there was no delete box, there was a forum jump menu.
Not a bug, but a little confusing, I agree. The 'confirm' delete box was on the previous page.
EasyTarget
03-12-2006, 04:51 AM
ahha, that was a nice way for you to avoid calling me stupid.. thanks, I found it.
:p
AndrewD
03-12-2006, 11:01 AM
I think we're near the end of the road with the betas, so I've uploaded 2.1.5 RC1 in the first thread to this post. In addition to all the features/fixes seen so far, I've added these:
New features:
+ Avatars
Code and setting added to display user avatars in the linkbit
+ Digital Object Identification (see www.doi.org)
DOI handling added to link entry and search as an option - this one was for me!!
+ Download
'Agree to these terms' asked on entry to LDM/category rather than per link and answer held in cookie
+ Hooks
Hooks added at some strategic places - see section 8 of the LDM manual
+ Administration
Settings added to limit maximum text length of main link/category description fields
Bugs fixed:
- Repaired the handler code for the uploadfiletypes setting
- Repaired array handling for php 4.3.2 and earlier
- 'Add link' with null url defaults to 'allow' instead of 'disallow' duplicates
- Modified debug table handling to prevent overflow
- Improved the error message when user forgets to tick the 'confirm' boxes for delete entry/category
As always, backup before upgrading, and let me know what you discover. I would like to get this release final as soon as possible, as there are some other things I want to work on. Thanks for all your help.
Slave
03-12-2006, 01:52 PM
Nice AndrewD .. :)
I'll get on and install and let you know what I find ..
sinoeu
03-12-2006, 02:04 PM
ecDownloads has just released its 4.01 version today - new duel begins!
https://vborg.vbsupport.ru/showthread.php?threadid=110120
sinoeu
03-12-2006, 02:15 PM
AndrewD, i have check the section 8 of the LDM manual to know sth. about your hook system. As i am a noob, i can't tell whether your have set a hook for the point system to work with LDM. I am not a coder, but i know some coders want that, so please confirm that, thanks a lot!
AndrewD
03-12-2006, 02:29 PM
AndrewD, i have check the section 8 of the LDM manual to know sth. about your hook system. As i am a noob, i can't tell whether your have set a hook for the point system to work with LDM. I am not a coder, but i know some coders want that, so please confirm that, thanks a lot!
I've put in two hooks which I think coders will be able to work with to integrate with a points system, and can easily add more if need be.
One hook is called ldm_link_inserted, which is available immediately after a new entry is added to the database. The second is ldm_check_user_allowances which is called immediately before a download will begin, and after the system has checked the internal allowances that LDM provides.
sinoeu
03-12-2006, 04:15 PM
Thanks for the fast reply!
berayiwu5
03-13-2006, 06:33 PM
Please bear with this newbie. I want to put a limit on the number of times a video clip can be played. Exactly how should I go about doing this? I want to play using an embedded player. Does LDM automatically open an embedded player?
I have read the relevant instructions that come with the installation files, but I haven't made much headway.
I don't know anything about coding or programming. I only know how to follow precise instructions. Your help is greatly appreciated.
shadowdancer36
03-14-2006, 02:50 AM
Was html disabled in this update? I can't seem to get my html to work
AndrewD
03-14-2006, 03:24 AM
Was html disabled in this update? I can't seem to get my html to work
As far as I can see on my test site, this works fine. Let me have details.
AndrewD
03-14-2006, 03:29 AM
Please bear with this newbie. I want to put a limit on the number of times a video clip can be played. Exactly how should I go about doing this?
Do you mean the number of times each clip can be played in total? [Not yet possible to control] Or per day? [Ditto] Or by a single user? [Ditto] Or do you mean how many clips each user can play a day? [This is controlled on the admin download quotas page]
I want to play using an embedded player. Does LDM automatically open an embedded player?
Yes, provided the settings are properly enabled.
Tell me what sort of video clips you want to control this way, and I can explain. If you have difficulties, send me details of your board, with an admin userid and password, and I'm happy to take a look.
berayiwu5
03-14-2006, 03:46 AM
Do you mean the number of times each clip can be played in total? [Not yet possible to control] Or per day? [Ditto] Or by a single user? [Ditto] Or do you mean how many clips each user can play a day? [This is controlled on the admin download quotas page]
Yes, provided the settings are properly enabled.
Tell me what sort of video clips you want to control this way, and I can explain. If you have difficulties, send me details of your board, with an admin userid and password, and I'm happy to take a look.
Andrew, thanks so much for offering to help. Yes, eventually, I would like to be able to control the number of times a single user can play, but for now, it works fine if I can control how many clips each user can play per day--preferably also per week. I think you can easily implement the latter--how many times each user can play per week, right?
(The reason why I am asking is that I am setting up an online course with audio/video lectures. Bandwidth is always a concern here. If you have a better suggestion for controlling the playing of audio/viewing clips in that regard, I could definitely use it.)
Mostly for now, I would like to control mp3 audio recordings to be played by Windows Media Player (or Real Player) embedded in posts. What sort of changes should I make? If you can give me detailed instructions, I believe I am up to the task. I singlehandedly set up the vBulletin board myself and installed a number of plugins to date. The only thing I don't know is coding.
Is there a way I can donate in recognition of the effort you put into this? I really appreciate your help.
------------------------------------
Oh, by the way, one more question. MySQL has a limit on the size of attachment, correct? Does LDM works if I choose to put a link like the following into a post:
www.mysite.com/forum/media/file.mp3
instead of uploading it as an attachment, which might be prohibited by MySQL because of its large size?
That is to say, I FTP file.mp3 into the server, instead of uploading it as an attachment. Does LDM work just as well in terms of controlling how many times the file is to be played? If so, how do I go about doing that?
AndrewD
03-14-2006, 04:08 AM
Andrew, thanks so much for offering to help. Yes, eventually, I would like to be able to control the number of times a single user can play, but for now, it works fine if I can control how many clips each user can play per day--preferably also per week. I think you can easily implement the latter--how many times each user can play per week, right?
(The reason why I am asking is that I am setting up an online course with audio/video lectures. Bandwidth is always a concern here. If you have a better suggestion for controlling the playing of audio/viewing clips in that regard, I could definitely use it.)
Mostly for now, I would like to control mp3 audio recordings to be played by Windows Media Player (or Real Player) embedded in posts. What sort of changes should I make? If you can give me detailed instructions, I believe I am up to the task. I singlehandedly set up the vBulletin board myself and installed a number of plugins to date. The only thing I don't know is coding.
Is there a way I can donate in recognition of the effort you put into this? I really appreciate your help.
------------------------------------
Oh, by the way, one more question. MySQL has a limit on the size of attachment, correct? Does LDM works if I choose to put a link like the following into a post:
www.mysite.com/forum/media/file.mp3
instead of uploading it as an attachment, which might be prohibited by MySQL because of its large size?
That is to say, I FTP file.mp3 into the server, instead of uploading it as an attachment. Does LDM work just as well in terms of controlling how many times the file is to be played? If so, how do I go about doing that?
Yes, I can explain these points - bear with me until this evening
Slave
03-14-2006, 05:10 AM
heh, I'm having a hard time finding any bugs in 2.1.5rc1 AndrewD :)
In fact I've not found any yet, even on my old PHP .. :)
One thing that is weird .. I've got a couple of links that refuse to validate via the admin pages ..
http://www.swift-tools.net/Quake/QVM/
http://www.truecombat.com/intro.php
Normally in this situation I'd just click on the links in their normal listings and once LDM detected that I'd got through to the link it would then change the status to normal instead of "Status Unknown" .. this doesn't seem to happen now. Have I missed a setting, or has something changed?
Slave
03-14-2006, 05:14 AM
The only other thing that I can see is that "problem" with linked subforums not showing links in sub cats .. I'm guessing you've not looked at that yet :)
AndrewD
03-14-2006, 05:26 AM
The only other thing that I can see is that "problem" with linked subforums not showing links in sub cats .. I'm guessing you've not looked at that yet :)
I looked at it ;) The challenge is to find a way to solve it which does not make the plug in very expensive to run on large boards. It currently isn't straightforward SQL to locate the entries that are in a category and its children.
AndrewD
03-14-2006, 05:27 AM
heh, I'm having a hard time finding any bugs in 2.1.5rc1 AndrewD :)
In fact I've not found any yet, even on my old PHP .. :)
One thing that is weird .. I've got a couple of links that refuse to validate via the admin pages ..
http://www.swift-tools.net/Quake/QVM/
http://www.truecombat.com/intro.php
Normally in this situation I'd just click on the links in their normal listings and once LDM detected that I'd got through to the link it would then change the status to normal instead of "Status Unknown" .. this doesn't seem to happen now. Have I missed a setting, or has something changed?
I'll try to take a look at this tonight. Thanks. Where would a man be without his Slave.
Slave
03-14-2006, 05:35 AM
I'll try to take a look at this tonight. Thanks. Where would a man be without his Slave.
Well .. I could mention "Full AdminCP integration" .. heh .. but I think you'd have a heart attack ..
:D
Slave
03-14-2006, 05:48 AM
Oh .. one thing that's come to mind .. ;)
With the vBa modules .. at the moment it just shows the link and hits, would it be possible to also show the cat for each link?
link ? hits
cat
link ? hits
cat
sort of thing ..
Is it just the case of adding a $ to the links_vbalinks template, or is some editing of the php file required?
Langly
03-14-2006, 03:40 PM
Awesome work Andrew. I have v2.1.3b3 running atm. To do the upgrade to this, delete the "Product", overwrite the files on the server, reinstall the Product. Is this correct? I just want to be sure I don't lose the SQL database of the downloads listed in there.
AndrewD
03-14-2006, 03:50 PM
Awesome work Andrew. I have v2.1.3b3 running atm. To do the upgrade to this, delete the "Product", overwrite the files on the server, reinstall the Product. Is this correct? I just want to be sure I don't lose the SQL database of the downloads listed in there.
Not quite - just upload the files and reinstall. As long as the version number changes (which it does her), VBulletin will take take of everything. I always recommend that you take a backup before upgrading, just in case.
AndrewD
03-14-2006, 04:36 PM
One thing that is weird .. I've got a couple of links that refuse to validate via the admin pages ..
http://www.swift-tools.net/Quake/QVM/
http://www.truecombat.com/intro.php
Normally in this situation I'd just click on the links in their normal listings and once LDM detected that I'd got through to the link it would then change the status to normal instead of "Status Unknown" .. this doesn't seem to happen now. Have I missed a setting, or has something changed?
Well spotted. Variable not declared as global.
AndrewD
03-14-2006, 04:52 PM
Oh .. one thing that's come to mind .. ;)
With the vBa modules .. at the moment it just shows the link and hits, would it be possible to also show the cat for each link?
link ? hits
cat
link ? hits
cat
sort of thing ..
Is it just the case of adding a $ to the links_vbalinks template, or is some editing of the php file required?
It needs a minor change in the code and a reference to a new variable in the links_vbalinks template. I'll add the variable into the code, but leave the template change for you to patch locally. In the meantime, you can implement the change as follows:
- Edit local_links_include.php
- Line 1907 or thereabouts, in function get_links2, add $linkscat to the list of global variables.
- Towards the end of the *while* loop, before the eval() statement, add this statement :
$linkcatname = $linkscat[$catid]["catname_clean"];
Then patch the template so that it refers to $linkcatname
AndrewD
03-14-2006, 05:13 PM
Mostly for now, I would like to control mp3 audio recordings to be played by Windows Media Player (or Real Player) embedded in posts. What sort of changes should I make? If you can give me detailed instructions, I believe I am up to the task. I singlehandedly set up the vBulletin board myself and installed a number of plugins to date. The only thing I don't know is coding.
1) Install LDM
2) Visit your normal VBulletin admincp, attachments/extensions and sizes. If you have already got an entry for mp3 files, good, otherwise add one. The important setting is the mimetype, which should be Content-type: audio/mpeg
3) Visit the LDM admin settings page, and make sure that this setting is defined: file_iconsdir. This should point at the directory in which you have uploaded the icons that are provided in the LDM release, e.g. images/LDM
4) Visit the LDM admin permissions page and check that the desired usergroups have got can_play_musicbox permission
Oh, by the way, one more question. MySQL has a limit on the size of attachment, correct? Does LDM works if I choose to put a link like the following into a post:
www.mysite.com/forum/media/file.mp3
instead of uploading it as an attachment, which might be prohibited by MySQL because of its large size?
That is to say, I FTP file.mp3 into the server, instead of uploading it as an attachment. Does LDM work just as well in terms of controlling how many times the file is to be played? If so, how do I go about doing that?
LDM does not place the files into the MySQL database - it always uses files, even if these are uploaded. However, there are quite tight limits on what can be uploaded using normal web forms, so you are right, the best approach is to upload the files using FTP.
To continue...
- Put some entries in your LDM database. Create a category, then create entries in this category which point to the files you have FTP'd onto your server. It is better to refer to these using local filenames rather than full urls, i.e. create the entry as /dir1/dir2/file.mp3 rather than http://yoursite/dir1/dir2/file.mp3
- If you want people to access these via your posts/forums rather than via LDM itself, then you need to make note of the 'linkid' for each mp3. You can find this by hovering over the LDM entry. You need to paste urls of this form into your posts: http://yoursite/local_links.php?action=play&id=9 in order to get the media player to work
For now, it works fine if I can control how many clips each user can play per day--preferably also per week. I think you can easily implement the latter--how many times each user can play per week, right?
The control is 'per day', but there is also an option to let unused allowances accumulate for N days, so I think you can achieve what you want by giving a daily allowance of one seventh of the maximum weekly consumption, and a 'carry forward' of 7 days.
You set these limits on the LDM admin/download quotas page
berayiwu5
03-14-2006, 05:19 PM
Thanks, Andrew, for your detailed instructions. You must have put in a lot of time in responding to my questions. I really appreciate it. I don't have time to get to it just yet, but I'll return to bring you the results--which should be positive. :)
By the way, in your future releases, could you consider implementing an option that can control the number of times a particular user can play a video/audio clip or see an attachment? Is that feasible at all? I think that's very useful for someone like myself who is doing an online course with lectures in audio/video formats--because I want to give access only to the few of those who have signed up for my class. I can't find this kind of mod. anywhere on this vB.org forum, and I believe that other users would love to have this option as well.
AndrewD
03-14-2006, 06:04 PM
Thanks, Andrew, for your detailed instructions. You must have put in a lot of time in responding to my questions. I really appreciate it. I don't have time to get to it just yet, but I'll return to bring you the results--which should be positive. :)
By the way, in your future releases, could you consider implementing an option that can control the number of times a particular user can play a video/audio clip or see an attachment? Is that feasible at all? I think that's very useful for someone like myself who is doing an online course with lectures in audio/video formats--because I want to give access only to the few of those who have signed up for my class. I can't find this kind of mod. anywhere on this vB.org forum, and I believe that other users would love to have this option as well.
OK, I'll take note.
Slave
03-14-2006, 07:06 PM
It needs a minor change in the code and a reference to a new variable in the links_vbalinks template. I'll add the variable into the code, but leave the template change for you to patch locally. In the meantime, you can implement the change as follows:
- Edit local_links_include.php
- Line 1907 or thereabouts, in function get_links2, add $linkscat to the list of global variables.
- Towards the end of the *while* loop, before the eval() statement, add this statement :
$linkcatname = $linkscat[$catid]["catname_clean"];
Then patch the template so that it refers to $linkcatname
That's great .. thanks :)
elsupremo
03-14-2006, 07:29 PM
I have not installed the RC yet, as my install of VBA took the simplicity out of upgrading...I'm still on 2.1.3b3, and it's working very well.
The only wish I have is that the comments, or the ABILITY to add comments, was somehow more obvious or more inviting for users. I have had quite a few people download items from my site, and yet I have very few comments. The comments that are on there are generally from the same person. I don't know how it would be possible, but I wish the comments and the ability to rate/leave comments stood out more.
Still, this is one of the most amazing hacks I've seen. I recently turned on SEO links, and search engines have been loving it. :)
Thank you Andrew for all of your hard work. Very appreciated.
Slave
03-15-2006, 04:19 PM
A quick question ..
AndrewD, have you changed the style/colour of the background colour on some of the headings? .. on the default style it seems to be using the dark blue instead of the light blue which means the collapsible arrow image doesn't look right ..
Where would I need to go to change this back to the light blue colour?
AndrewD
03-15-2006, 06:29 PM
A quick question ..
AndrewD, have you changed the style/colour of the background colour on some of the headings? .. on the default style it seems to be using the dark blue instead of the light blue which means the collapsible arrow image doesn't look right ..
Where would I need to go to change this back to the light blue colour?
Take a look in the links_main template. I think I changed from tcat to thead style
Slave
03-15-2006, 06:31 PM
Take a look in the links_main template. I think I changed from tcat to thead style
Looks like there are a number of thead .. would I change them all?
AndrewD
03-15-2006, 06:35 PM
Looks like there are a number of thead .. would I change them all?
If you want it to be consistent, yes, each is at the start of a table
Slave
03-15-2006, 06:41 PM
Ok .. ta :)
Akagi
03-16-2006, 08:12 AM
hi Andrew, how do i change the template of LDM such that I can display the file extension allowed for upload and their respective upload limit on the front menu of LDM? this is because the current system doesnt really indicate or tell the user whether whats the exact reason why the files are not uploaded (whether if they have exceeded the filesize limit or not).
thanks in advance
Slave
03-16-2006, 10:33 AM
Bit of a head scratcher this ..
I'm trying to add the following link to LDM ..
http://www.peterboroughgreyhounds.com/
but when I do it shows [3 Kbytes] under the name within the links listings as if it's a file ..
I've added other links to LDM since upgrading to 2.1.5rc1 and not had this problem so not sure what's causing it. Any ideas?
elsupremo
03-17-2006, 03:57 AM
Heh, Andrew, you can pretty much go ahead and ignore my last post.
On my site, I have a lot of unregistered people that download the files. Because I had them set in the permissions to be able to can_rate_link, I assumed they would be able to. I tested it myself this evening and realized that unregistereds are NOT able to rate the downloads on my site. That is, of course, the reason why I have not gotten the comments that I was hoping for.
Here is where I need help though - the download categories are all "open access". I have can_rate_link set to allow unregistered users to rate the downloads. However, it still stops them and tries to make them register instead. Is this a bug, or is there another setting I need to change?
Thank you!
Slave
03-17-2006, 04:04 AM
btw AndrewD .. don't forget to change this threads Prefix to "Major Addition" :)
AndrewD
03-17-2006, 05:22 AM
Bit of a head scratcher this ..
I'm trying to add the following link to LDM ..
http://www.peterboroughgreyhounds.com/
but when I do it shows [3 Kbytes] under the name within the links listings as if it's a file ..
I've added other links to LDM since upgrading to 2.1.5rc1 and not had this problem so not sure what's causing it. Any ideas?
A simple and silly bug. Will be fixed - the 3k is the number of html characters on the site's homepage
AndrewD
03-17-2006, 05:24 AM
hi Andrew, how do i change the template of LDM such that I can display the file extension allowed for upload and their respective upload limit on the front menu of LDM? this is because the current system doesnt really indicate or tell the user whether whats the exact reason why the files are not uploaded (whether if they have exceeded the filesize limit or not).
thanks in advance
I'll take a look at this at the weekend and improve the display in the final release of 2.1.5
testpig
03-17-2006, 06:37 AM
Hi Andrew.
Bet your sick of the questions :)
I'll add a couple......I have uploaded the latest release but still have a couple of minor bugs. I can upload any size file, but if the physical size of an image goes over my forum settings the software goes to an error screen (white 404 page not found).
I have vB uploads set to 800 x 800 pixells so it doesnt blow the screen out......if I try to upload an image into the links manager thats larger than this it fails to a white default screen.
Any thoughts?
TundraSoul
03-17-2006, 07:56 PM
Andrew,
Is there a way I can delete all my keywords at once? I have multiple keywords from previous beta installs and I would like to start fresh.
Slave
03-18-2006, 05:36 AM
Andrew,
Is there a way I can delete all my keywords at once? I have multiple keywords from previous beta installs and I would like to start fresh.
Just go to "Edit keyword list" within the admin area and untick them all ..
AndrewD
03-18-2006, 05:41 AM
Andrew,
Is there a way I can delete all my keywords at once? I have multiple keywords from previous beta installs and I would like to start fresh.
There's no 'single switch' to do this at the moment. If unticking them on the admin page is too tedious, empty the linkskeys and linksltok tables
AndrewD
03-18-2006, 05:43 AM
btw AndrewD .. don't forget to change this threads Prefix to "Major Addition" :)
Have I missed something? Major Addition?
Slave
03-18-2006, 05:47 AM
Have I missed something? Major Addition?
It's something the admins of vb.org have added. It allows people to filter 3.5 hacks ..
I would think you need to edit the thread (as if you were adding a new version), and somewhere there you can pick what type of hack this is.
RS_Jelle
03-18-2006, 05:47 AM
Have I missed something? Major Addition?
Have a look at this thread (https://vborg.vbsupport.ru/showthread.php?t=110101) ;)
Edit: Slave was too fast for me.
AndrewD
03-18-2006, 05:56 AM
Have a look at this thread (https://vborg.vbsupport.ru/showthread.php?t=110101) ;)
Edit: Slave was too fast for me.
Thanks, folks. Done.
Slave
03-18-2006, 05:59 AM
Edit: Slave was too fast for me.Well, you had to go find the correct thread .. I just typed .. I'd call it a draw :)
shiva
03-18-2006, 07:01 AM
I just grabbed this, so I'm impressed so far, though I will say the online manual is rather complex, and very hard to use, as it has info scattered all over the place. I would suggest it follows the structure of the admin control panel, would make it a bit easier to use.
Just looking at it, wow. A bit overwhelming, but seeing the possible future features is more than can be suggested.
Only things I can add as a request are anchor links in admin to sections like VB Options does. Also, maybe a easy way for changing templates for the actual system, if that is possible. I really don't like that particular look if there's not a lot of text to a post, and I also think text should be aligned to the top instead of the middle. One more, have the menu bar at the bottom available as well. When you have a lot of links to add in, you have to keep scrolling up to the top to add a new link, because it refreshes to the bottom of the page when you put in a link.
Just minor stuff really, more annoying than anything.
AndrewD
03-18-2006, 08:26 AM
The online manual is rather complex, and very hard to use, as it has info scattered all over the place. I would suggest it follows the structure of the admin control panel, would make it a bit easier to use.
This is largely a a consequence of adding new features as people requested them, so that the original structure of the manual no longer works. Good document writing is very time consuming, and unfortunately I have only so much time to give to this project. But I think that your suggestion is a good one.
Only things I can add as a request are anchor links in admin to sections like VB Options does.
Yes.
Also, maybe a easy way for changing templates for the actual system, if that is possible. I really don't like that particular look if there's not a lot of text to a post, and I also think text should be aligned to the top instead of the middle.
Are you suggesting something other than the VB template editor? I've provided three or four model linkbit templates.
One more, have the menu bar at the bottom available as well. When you have a lot of links to add in, you have to keep scrolling up to the top to add a new link, because it refreshes to the bottom of the page when you put in a link.
It should refresh to the link that has just been added - this was in response to an earlier suggestion, rather than the original behaviour of refreshing to the top of the page.
Rather than doubling up on the menu, another approach would be to move the functions in the linkbit into a drop down menu - rather like the drop down on the username in VB posts - and to include 'add link' in this menu. What do others think?
AndrewD
03-18-2006, 08:41 AM
Hi Andrew.
Bet your sick of the questions :)
I'll add a couple......I have uploaded the latest release but still have a couple of minor bugs. I can upload any size file, but if the physical size of an image goes over my forum settings the software goes to an error screen (white 404 page not found).
I have vB uploads set to 800 x 800 pixells so it doesnt blow the screen out......if I try to upload an image into the links manager thats larger than this it fails to a white default screen.
Any thoughts?
I'm having a problem reproducing this. Can you be more specific - which browser, etc. LDM does not use the image dimensions settings in the VB attachments table.
AndrewD
03-18-2006, 08:48 AM
Heh, Andrew, you can pretty much go ahead and ignore my last post.
On my site, I have a lot of unregistered people that download the files. Because I had them set in the permissions to be able to can_rate_link, I assumed they would be able to. I tested it myself this evening and realized that unregistereds are NOT able to rate the downloads on my site. That is, of course, the reason why I have not gotten the comments that I was hoping for.
Here is where I need help though - the download categories are all "open access". I have can_rate_link set to allow unregistered users to rate the downloads. However, it still stops them and tries to make them register instead. Is this a bug, or is there another setting I need to change?
Thank you!
This is a 'feature' + 'bug fix' - requested/pointed out by another user. Since the ratings are tied to user names, it's necessary to have a registered user. We thought that the best approach was to take unregistered users via a 'please register' form.
EasyTarget
03-18-2006, 03:35 PM
Rather than doubling up on the menu, another approach would be to move the functions in the linkbit into a drop down menu - rather like the drop down on the username in VB posts - and to include 'add link' in this menu. What do others think?I prefer the current method if you mean to replace the links navbar with a new dropdown in the vbnavbar.
elsupremo
03-18-2006, 05:49 PM
I prefer the current method if you mean to replace the links navbar with a new dropdown in the vbnavbar.
I agree with EasyTarget. It's hard to envision what you are picturing, but it sounds like current method may be better. If the person is adding a lot of local downloads, perhaps "scan" is a better method than hitting add link over and over.
For multiple links, maybe add the capacity to add more than one link at a time (if it's only links).
Such as the user can press a button and request more input boxes for more links that will create new entries. Just an idea.
AndrewD
03-18-2006, 06:40 PM
I agree with EasyTarget. It's hard to envision what you are picturing, but it sounds like current method may be better. If the person is adding a lot of local downloads, perhaps "scan" is a better method than hitting add link over and over.
For multiple links, maybe add the capacity to add more than one link at a time (if it's only links).
Such as the user can press a button and request more input boxes for more links that will create new entries. Just an idea.
Sorry if I was unclear. Currently, the main linkbit has a set of icons over the right hand side of the screen to trigger the 'add to favourites', 'edit link', 'send to friend' frunctions. I was suggesting maybe taking all these into a drop down on the link title, with the first item being the 'jump to link' and including also an 'add link'. I don't really want to add more items into the linkbit template - it's already rather cluttered.
shadowdancer36
03-18-2006, 08:00 PM
Can someone tell me how I can change the index title from Links and Downloads Manager to something else?
EasyTarget
03-18-2006, 10:40 PM
Can someone tell me how I can change the index title from Links and Downloads Manager to something else?
http://www.eirma.org/devel/LDM/section3.html#3s4
and
http://www.eirma.org/devel/LDM/section2.html#2s2
If you're referring to something else though then I don't know.
EasyTarget
03-18-2006, 10:44 PM
hey andrew, there's some talk about integrating vbplaza with a downloads hack, here's the link:
https://vborg.vbsupport.ru/showthread.php?t=110542
midihead
03-18-2006, 10:46 PM
Anyone who can help me with this would save me from the horrors of the lame-ass default "license agreement" text. Please, I'm begging you.
For some reason, the agreement is reading:
"The material you wish to access is proprietary. Please confirm that you will not make copies or distribute it to others without permission."
I need to customize this AND the error message when someone hits the "decline" button:
"I'm sorry. You declined to accept our agreement so I cannot process your request. Please start again."
I've added my own custom "license agreement" to the "Use Policy" field in the "Add/Edit Category" control panel, but that doesn't seem to be used by this application. Instead, the aforementioned canned message is displayed. I very much need to be able to change this. Can anyone help me?
Thanks!
M
AndrewD
03-19-2006, 03:48 AM
For some reason, the agreement is reading:
"The material you wish to access is proprietary. Please confirm that you will not make copies or distribute it to others without permission."
I need to customize this AND the error message when someone hits the "decline" button:
"I'm sorry. You declined to accept our agreement so I cannot process your request. Please start again."
As with (I hope!) all the standard text displayed by LDM, these messages are held in phrases. Go to your VB admincp, languages and phrases, search phrases, and enter part of the text, or look for two phrases called ll_agreement and ll_agreement_delined
I've added my own custom "license agreement" to the "Use Policy" field in the "Add/Edit Category" control panel, but that doesn't seem to be used by this application.
Yes it is, but it serves a different purpose. The 'Use Policy' message is displayed at the top of the Add and Edit Link forms.
These are different ways of letting people know that they should respect the contents of your database. The 'Use Policy' is a softly-softly approach that was added to LDM quite early in its development to tell people what they can add. Nothing happens if the user ignores it (except that I imagine your moderators will delete the entries). The force_accept setting asks users to accept the terms before being able to download entries.
Like so many things that grow organically, there are inconsistencies in the interface to LDM, and I appreciate that you flag this one.
Slave
03-19-2006, 03:49 AM
Anyone who can help me with this would save me from the horrors of the lame-ass default "license agreement" text. Please, I'm begging you.
For some reason, the agreement is reading:
"The material you wish to access is proprietary. Please confirm that you will not make copies or distribute it to others without permission."
I need to customize this AND the error message when someone hits the "decline" button:
"I'm sorry. You declined to accept our agreement so I cannot process your request. Please start again."
I've added my own custom "license agreement" to the "Use Policy" field in the "Add/Edit Category" control panel, but that doesn't seem to be used by this application. Instead, the aforementioned canned message is displayed. I very much need to be able to change this. Can anyone help me?
Thanks!
M
To change this wording you need to edit the following 2 phrases ..
"ll_ agreement" and "ll_ agreement_ declined"
The "Use Policy" entry box is different, you use that to add text to the top of the "Add Link" page.
AndrewD
03-19-2006, 03:50 AM
Can someone tell me how I can change the index title from Links and Downloads Manager to something else?
LDM -> admin -> settings -> database_name You can call it what you want.
AndrewD
03-19-2006, 03:51 AM
To change this wording you need to change the following 2 phrases ..
"ll_ agreement" and "ll_ agreement_ declined"
The "Use Policy" entry box is different, you use that to add text to the top of the "Add Link" page.
Snap!
Slave
03-19-2006, 03:52 AM
Bah .. AndrewD beat me this time :)
(Only because I went to get a drink before answering ;)) heh
Slave
03-19-2006, 04:09 AM
Sorry if I was unclear. Currently, the main linkbit has a set of icons over the right hand side of the screen to trigger the 'add to favourites', 'edit link', 'send to friend' frunctions. I was suggesting maybe taking all these into a drop down on the link title, with the first item being the 'jump to link' and including also an 'add link'. I don't really want to add more items into the linkbit template - it's already rather cluttered.
I think I like this idea :) .. it would certainly clean up the linkbit ..
You could have in the drop down .. depending on the permissions ..
Goto Link
Rate Link
Add Comment
Add to My Favourites
Send to Friend
Report Bad Link
Edit Link
Delete Link
Add Link
:)
midihead
03-19-2006, 06:31 AM
Thanks for all the help, mates! I am not fully up to speed on all of V-Bulletin's hidden features. This mod is absolutely killer. A little help with the aesthetics of the download page template and it will look as nifty as it works.
Cheers,
M
shiva
03-19-2006, 07:03 AM
First off, I have to say thanks to Andrew for the answers, and the main reason I choose this system over the other was the amount of support, time, and williness to be flexible to improve his product that he has put in.
Really, it would be nice to be able to do this myself, so I sure appreicate the effort, and the huge changes to the system. Great job.
I'm still learning how to use this still, but I guess that's how good this actually is.
One thing I have noticed is the field for links. It's set to default or off to look for duplicate links, and as I am putting in a lot of links based off of one particular sites page (so I don't "hotlink" to a file download at that site) is there a way to set it so I can have the system ignore duplicate entries if the admin posts them?
I usually forget to check the box. :)
I also noticed that after it displays the error message from a duplicate link, and refreshes back to that link, that selection to ignore duplicate threads is missing. I can use the back buttons to repost it properly, but is it a error, or something I missed the proper information on?
I know all about the time to write stuff, just the stuff I am adding now has taken days, and will add weeks to my work load. :)
As I learn this system more, I will more than likely ask more questions, so sorry before hand. ;)
AndrewD
03-19-2006, 07:23 AM
First off, I have to say thanks to Andrew for the answers, and the main reason I choose this system over the other was the amount of support, time, and williness to be flexible to improve his product that he has put in.
Really, it would be nice to be able to do this myself, so I sure appreicate the effort, and the huge changes to the system. Great job.
I'm still learning how to use this still, but I guess that's how good this actually is.
One thing I have noticed is the field for links. It's set to default or off to look for duplicate links, and as I am putting in a lot of links based off of one particular sites page (so I don't "hotlink" to a file download at that site) is there a way to set it so I can have the system ignore duplicate entries if the admin posts them?
I usually forget to check the box. :)
I also noticed that after it displays the error message from a duplicate link, and refreshes back to that link, that selection to ignore duplicate threads is missing. I can use the back buttons to repost it properly, but is it a error, or something I missed the proper information on?
I know all about the time to write stuff, just the stuff I am adding now has taken days, and will add weeks to my work load. :)
As I learn this system more, I will more than likely ask more questions, so sorry before hand. ;)
Shiva, no need to apologise - I'm very happy to find ways to deal with constructive suggestions. I'll look at these points before we move to the official 2.1.5 version of LDM.
Langly
03-19-2006, 01:35 PM
Is there any way to add this (https://vborg.vbsupport.ru/showthread.php?t=102551&highlight=signature+thread)into LDM? I've been trying to make a sig out of this but can't for some reason. I just keep getting table errors.
AndrewD
03-19-2006, 02:53 PM
Is there any way to add this (https://vborg.vbsupport.ru/showthread.php?t=102551&highlight=signature+thread)into LDM? I've been trying to make a sig out of this but can't for some reason. I just keep getting table errors.
I think you'll need sql looking like this. Let us know how it goes.
//get total LDM downloads downloaded
$queryd="SELECT COUNT(*) AS downloaded FROM local_linksdownloads";
$downloadeda = mysql_query_eval($queryd,$link);
$downloadedb = mysql_fetch_array($downloadeda);
$totaldownloadeds=number_format($downloadedb['downloaded']);
mysql_free_result($downloadeda);
//get total LDM links available
$querye="SELECT COUNT(*) AS download FROM local_linkslink";
$downloada = mysql_query_eval($querye,$link);
$downloadb = mysql_fetch_array($downloada);
$totaldownloads=number_format($downloadb['download']);
mysql_free_result($downloada);
//get latest LDM download
$queryf= "SELECT linkname AS newdownload FROM local_linkslink ORDER BY linkdate DESC LIMIT 1";
$latestdownloada = mysql_query_eval($queryf,$link);
$latestdownloadb = mysql_fetch_array($latestdownloada);
$latestdownload= $latestdownloadb['newdownload'];
mysql_free_result($latestdownloada);
shiva
03-19-2006, 08:29 PM
Shiva, no need to apologise - I'm very happy to find ways to deal with constructive suggestions. I'll look at these points before we move to the official 2.1.5 version of LDM.
Okay then, I will be happy to stop. :)
I did a quick search about a quick editor feature, as I think it would be a very good thing to have, especially to people who submit and don't know or use a different version of BBcode.
I see you are looking into it already, but I would suggest just use the standard quick editor template.
I have a couple hacks in mine already (spell checker, which I should use a lot more often) but it will give a consistant appearance with the rest of the VB system, so it will be easy to use for everyone, as they are familar with it.
I would like to see a autolinker feature to a URL if there's a http link in the main text, just like VB does. Sometimes, you need to add a reference link or a off site link to a update thread on another board.
I'm having problems with the search feature here with this thread (way to many posts) I wish to change the listings so things align to the top instead of too the center, as it just doesn't look that good with the side bit if you have a larger text area. Can you point me to the proper template?
Thanks
Alfa1
03-19-2006, 11:41 PM
Andrew, love the new version.
Question though: I just got into VBAdvanced. I have the "ldm_new" module in the center column of my homescreen. However, I really, really, really, would like to have the thumbnails (mine are rather small) to the left of the title of the entries.
I tried and tried for hours to get that little thumbnail to appear, but wasn't able to have any success.
I am hoping this is simple, and if so, please let me know how I can implement this.
Thank you!I think this will be straightforward - will get back to you.
Is this module available somewhere?
AndrewD
03-20-2006, 03:24 AM
I did a quick search about a quick editor feature, as I think it would be a very good thing to have, especially to people who submit and don't know or use a different version of BBcode. I see you are looking into it already, but I would suggest just use the standard quick editor template.
It's on the list - probably will not make it into 2.1.5 but soon after.
I would like to see a autolinker feature to a URL if there's a http link in the main text, just like VB does. Sometimes, you need to add a reference link or a off site link to a update thread on another board.
should be straightforward to add.
I wish to change the listings so things align to the top instead of too the center, as it just doesn't look that good with the side bit if you have a larger text area. Can you point me to the proper template?
Take a look at the links_linkbit template if you are using the standard layout, or the link_linkbit_table template if you using the table layout. (Actually, I found that I was being inconsistent in the link_linkbit template - in the current 2.1.5 RC if there's a thumbnail it aligns to the top, otherwise to the middle - personally, I prefer the middle alignment, but each to their own.)
Thanks[/QUOTE]
AndrewD
03-20-2006, 03:28 AM
Is this module available somewhere?
If you are using the 2.1.5RC1 version, then edit the links_vbalinks template and include a reference to $linkimgshow somewhere in the table cell.
shiva
03-20-2006, 04:29 AM
Thank you, just need the template. I used the standard install, so for people who also want to do this, it's line 12 to change.
<tr>
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]">
change to
<tr valign="top">
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]">
Seems to work perfectly fine, though haven't checked thumbs, as I have a GD problem with that server
Edit: Sorry, another suggestion. :)
I noticed that using the Use Policy field and adding a message does not include the child folders, so I have to include the same message for each cat within that parent folder. Maybe a option checkbox to include that message to the child folders? Would be nice, especially if you need to update the Use Policy afterwards
shiva
03-20-2006, 05:27 AM
sorry, double post. You would think vborg would install the double post hack. :)
AndrewD
03-20-2006, 05:31 AM
Edit: Sorry, another suggestion. :)
I noticed that using the Use Policy field and adding a message does not include the child folders, so I have to include the same message for each cat within that parent folder. Maybe a option checkbox to include that message to the child folders? Would be nice, especially if you need to update the Use Policy afterwards
When editing and adding this for each category and child folder, once I add it, it automatically displays that page, even in admin, so it's a longer process, because I have to reselect the settings link in options every time, when it would be easier to have the screen refresh back to the admin page. I kind of prefere that it does this as well when using the edit button right at the folder listings, as I usually edit each category the same way one after another, so I have to select back to it.
Yes, I think I shall move the Use Policy into the inheritable display settings, so that it is consistent with the 'force_accept' policy. This will deal with your suggestion and also make it clearer to people. Use Policy was added quite early on, before I introduced the inheritance system.
testpig
03-20-2006, 08:05 AM
I'm having a problem reproducing this. Can you be more specific - which browser, etc. LDM does not use the image dimensions settings in the VB attachments table.
Hi Andrew.
I'm using IE. site is http://www.hemi6pack.com/forum.local_links.php
I have my image settings at apporx 800 x 800 pixels. If I try to upload anything larger it errors to a white 404 screen. The images I was trying to load were 1000x1200. Once I resized them they uploaded immediately so I assumed it was the vB settings. Otherwise not sure.
shiva
03-20-2006, 08:11 PM
here's another one... :)
I would like the ability to hide certain listings untill I can make sure they are valid, or is a trustworthy source, as my community likes exe files, and is very high end. I found such a link, and tried to set a cat so only I, as a admin can see it.
I thought it would be by pointing to the admin only board that I have in my forum, but that board does not show at all when I try and add the new admin only category.
It is restricted at least, but is still viewable on the listing to a regular member, or even a guest.
I think having a admin only setting would be nice, so that it's not viewable by anyone else. I read the manual, I may have missed it, but just having the system reconise a admin board on your forum, and transfereing over the permissions as set in that board would be a good idea
Slave
03-20-2006, 08:23 PM
Following on from what shiva has said .. as a test I went to edit one of my links so I could add my mods forum, which can only be seen by mods and admin, as the links parent forum. It doesn't show up in the list of forums to which I can parent my link to .. so if this is a bug, I can confirm.
Expected behaviour would be to be able to pick the mod forum and then the link to act in the same way as the forum, ie only mods and admin to see and be able to click the link.
AndrewD
03-21-2006, 03:37 AM
here's another one... :)
I would like the ability to hide certain listings untill I can make sure they are valid, or is a trustworthy source, as my community likes exe files, and is very high end. I found such a link, and tried to set a cat so only I, as a admin can see it.
I thought it would be by pointing to the admin only board that I have in my forum, but that board does not show at all when I try and add the new admin only category.
It is restricted at least, but is still viewable on the listing to a regular member, or even a guest.
I think having a admin only setting would be nice, so that it's not viewable by anyone else. I read the manual, I may have missed it, but just having the system reconise a admin board on your forum, and transfereing over the permissions as set in that board would be a good idea
I've just tried this and it seems to work the way I expected:
a) Normally, when you set forum-based permissions for a category or a link, it is only visible to/accessible by users in groups that have both *Can View Forum* and *Can View Others Threads* permission. Otherwise the category/link is invisible and inaccessible.
b) When you edit a category to set forum-based permissions to it, the permissions also become the default permissions for new links added in the category. (If you want them to cascade them also to the existing links within the category, then there's a check box to do so).
c) If you have given LDM's can_see_protected_links_on_portal permission to any usergroups, these groups can *see* protected links and catgeories, but can't actually access the links.
If one of your forums doesn't show up in the list of forums on the add/edit category/link page, this may be a bug. It seems to work ok for me. Again, LDM presents a list of forums for which the current user has both Can_view_forum and Can_view_others_threads permissions. Does this apply in your case?
Slave
03-21-2006, 03:52 AM
I have both "Can View Forum" and "Can View Others' Threads" as yes for admin (ie me) within Forum permissions, but can't see the forum in the list on the add/edit link/cat pages ..
Slave
03-21-2006, 04:06 AM
I have both "Can View Forum" and "Can View Others' Threads" as yes for admin (ie me) within Forum permissions, but can't see the forum in the list on the add/edit link/cat pages ..
It looks like the forum setting "Show this Forum and Child Forums on the Forum Jump Menu" makes the difference ..
If you have this set as no, the forum in question wont show in the parent forum list no matter the permissions ..
(Which works on forums that are just links too .. so please leave it as it is :))
AndrewD
03-21-2006, 04:11 AM
It looks like the forum setting "Show this Forum and Child Forums on the Forum Jump Menu" makes the difference ..
If you have this set as no, the forum in question wont show in the parent forum list no matter the permissions ..
That figures - I'm using standard VB routines to build the forum menu.
Is this a big issue?
Concerning forums that are themselves links (in the VB sense), again, if the main VB code thinks these are forums, then they appear on the list.
The alternative is that I shall have to write another forum menu builder, with all the complications of handling users in multiple user groups, etc.
shiva
03-21-2006, 04:20 AM
I reset my forum permissions as Slave did, and my admin forum shows up as well.
I think you have enough on your plate as it is, especially for such a minor bug. If worse comes to worse, I can always just delete the admin cat, and change one setting in my forum admin permissions to restore it back, and use another method
Slave
03-21-2006, 04:21 AM
Nah .. I'd leave it as is .. it's handy being able to leave linked forums off the list and that's the perfect way of dealing with it ..
All I'd do is add this behaviour somewhere in the manual so people know about it. I've got to admit I set this as no for my mod forum thinking non admin/mods would see the forum in the list, but it seems they don't anyway .. so I guess there might be others who have done the same. As long as the manual has this info it should be fine :)
MikeGK
03-21-2006, 06:29 PM
Hi Andrew, which part should I change to have the login error prompt for vbulletin start msg?? right now I see something such as this ..
"Unfortunately, you do not have sufficient permission to access this entry, as it is reserved for another usergroup. Please contact us for more information if necessary"
how do I fix it to use the vbulletin msg instead? thank u
AndrewD
03-21-2006, 07:01 PM
Hi Andrew, which part should I change to have the login error prompt for vbulletin start msg?? right now I see something such as this ..
"Unfortunately, you do not have sufficient permission to access this entry, as it is reserved for another usergroup. Please contact us for more information if necessary"
how do I fix it to use the vbulletin msg instead? thank u
Go to VB/admincp/languages and phrases and do a search for the ll_access_error_loggedin phrase - you can modify this how you like.
AndrewD
03-21-2006, 07:10 PM
Hi Andrew.
I'm using IE. site is http://www.hemi6pack.com/forum.local_links.php
I have my image settings at apporx 800 x 800 pixels. If I try to upload anything larger it errors to a white 404 screen. The images I was trying to load were 1000x1200. Once I resized them they uploaded immediately so I assumed it was the vB settings. Otherwise not sure.
I'm a bit stuck with this - I can't get it to go wrong on my site or on yours. If I allow unlimited size uploads, the picture upload works correctly, and if I set a lower limit and try to upload an image that is bigger than the limit, it gives me the correct error message. I tried the same thing on your site, and it also gave me the correct error message.
So I must be missing something.
elsupremo
03-22-2006, 04:32 AM
I just want to restate my wishful request that someday we be allowed to have an "alternate" link or two within each entry box. Perhaps underneath the name of the download and indented to the right. Or, underneath the magnifying glass for the thumbnail.
This could be useful for: people hosting images or videos where different quality (resolution) versions of the content are being offered.
Also, it could be useful as a file mirror.
Anyway, just another bit of input. One particular reason why I personally would love this, is I have the most recent downloads being displayed through vba CMPS on my index. However, because the content I offer has different quality versions, each new entry is duplicated (or triplicated, depending on how many versions I have). I thought perhaps to request having the links on the portal system selectable by category. But instead, I think what I have proposed above is a better solution, because it would not only fix the portal problem, but it would clean up the categories for those who have multiple categories for different quality versions.
Amazing hack as always, just my wishful thinking. :)
AndrewD
03-22-2006, 05:06 AM
I just want to restate my wishful request that someday we be allowed to have an "alternate" link or two within each entry box. Perhaps underneath the name of the download and indented to the right. Or, underneath the magnifying glass for the thumbnail.
This could be useful for: people hosting images or videos where different quality (resolution) versions of the content are being offered.
Also, it could be useful as a file mirror.
Anyway, just another bit of input. One particular reason why I personally would love this, is I have the most recent downloads being displayed through vba CMPS on my index. However, because the content I offer has different quality versions, each new entry is duplicated (or triplicated, depending on how many versions I have). I thought perhaps to request having the links on the portal system selectable by category. But instead, I think what I have proposed above is a better solution, because it would not only fix the portal problem, but it would clean up the categories for those who have multiple categories for different quality versions.
Amazing hack as always, just my wishful thinking. :)
Thanks - I will keep this on the list, but it won't make 2.1.5 (which may end up being called 2.1.6 or even 2.2.0 :)) - it needs a rethink of the logic to be able to handle this clearly. What will happen in the official 2.1.5 (6,2.0,,) is that I have dealt with Shiva's request to autoparse urls, so if you drop a url into the description of the entry, this will be selectable. Unfortunately, this doesnt hide/manage the link, but it's a first step.
elsupremo
03-22-2006, 05:18 AM
Awesome, thanks Andrew.
Quick question: do you know any easy solution off-hand that would solve my problem with the portal? "One particular reason why I personally would love this, is I have the most recent downloads being displayed through vba CMPS on my index. However, because the content I offer has different quality versions, each new entry is duplicated (or triplicated, depending on how many versions I have)."
It's not urgent at all, but it would be nice to figure out a way around this issue.
AndrewD
03-22-2006, 05:22 AM
Awesome, thanks Andrew.
Quick question: do you know any easy solution off-hand that would solve my problem with the portal? "One particular reason why I personally would love this, is I have the most recent downloads being displayed through vba CMPS on my index. However, because the content I offer has different quality versions, each new entry is duplicated (or triplicated, depending on how many versions I have)."
It's not urgent at all, but it would be nice to figure out a way around this issue.
Off hand, I'd say that this can be handled by changing the SQL query that's used to drive the portal. That would depend on you being sufficiently consistent in at least some aspect of your naming conventions, so that the query can differentiate between the different copies of the entry and select the one you want. For example, always put a text which says "Choose me" in the required entries. (being flippant, but you get the point)
shiva
03-22-2006, 07:20 AM
Actually Andrew, I was thinking about small images with the descriptions with main categories (I think I saw a request here somewhere, but this thread is getting h-u-g-e) and that's easy enough to do with bbcode so you have a nice look to the listings. But then, after doing it, it's a not so nice look.
Are there any plans for new templates in the future? I looked at the code for it, but it's a bit more advanced coding than I am capable of, but might be nice later on, it's not too bad now, but maybe some rearrangement of things would make it better. Still, a lot of fun playing with this. :)
Have a example here at my little temp site if anyone is interested in how thumbnail images look in the cat boxes.
http://shivasite.roxr.com/forums/local_links.php
You can't right align though, but left align looks great.
AndrewD
03-22-2006, 07:23 AM
Actually Andrew, I was thinking about small images with the descriptions with main categories (I think I saw a request here somewhere, but this thread is getting h-u-g-e) and that's easy enough to do with bbcode so you have a nice look to the listings. But then, after doing it, it's a not so nice look.
Are there any plans for new templates in the future? I looked at the code for it, but it's a bit more advanced coding than I am capable of, but might be nice later on, it's not too bad now, but maybe some rearrangement of things would make it better. Still, a lot of fun playing with this. :)
Have a example here at my little temp site if anyone is interested in how thumbnail images look in the cat boxes.
http://shivasite.roxr.com/forums/local_links.php
You can't right align though, but left align looks great.
Sure, will think about this
AndrewD
03-23-2006, 04:00 PM
Actually Andrew, I was thinking about small images with the descriptions with main categories (I think I saw a request here somewhere, but this thread is getting h-u-g-e) and that's easy enough to do with bbcode so you have a nice look to the listings. But then, after doing it, it's a not so nice look.
Are there any plans for new templates in the future? I looked at the code for it, but it's a bit more advanced coding than I am capable of, but might be nice later on, it's not too bad now, but maybe some rearrangement of things would make it better. Still, a lot of fun playing with this. :)
Have a example here at my little temp site if anyone is interested in how thumbnail images look in the cat boxes.
http://shivasite.roxr.com/forums/local_links.php
You can't right align though, but left align looks great.
Shiva, is this anything like what you want? If so, this is an easy edit to the links_catbit template, attached. Rather than putting the icon into a bbcode, you use it at the cat_icon and cat_icon_new settings for the category.
Tyegurl
03-23-2006, 04:34 PM
got this working perfectly on my 3.5.4 not a problem after i read the directions again...
did have to change my php.ini file to allow bigger uploads and post sizes. but works like a charm.!!
MikeGK
03-24-2006, 02:21 AM
Hi Andrew, can this script limit download speed and limit connection per ip? thnx..
AndrewD
03-24-2006, 04:09 AM
Hi Andrew, can this script limit download speed and limit connection per ip? thnx..
No, these are currently not options.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.