View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
2
3
4
5
6
7
8
9
10
11
[
12]
13
nyunyu
12-16-2007, 05:40 PM
I don't think it is a good idea to implement this within LDM, but I will put it on the 'to think about list'. Most of the responsibility for transferring a file is actually handled by the web server. LDM passes the content to the server. To change this, I would end up rewriting a substantial part of the server code or makeing some big assumptions about the server modules installed on the site.
Have you tried LDM/admin/allowances?
I tried to use this but it only allowed me to cap the size of download, not bandwidth. im looking for a function where I can limit like 100kbps for certain usergroup.
I don't understand your question - what downloads are not working? Have you got all the mimetypes set up correctly (see LDM wiki (http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager))
I mean, when a user download something off my site, they cannot use their download manager. I wonder if this hack prevent that.
So, below are my suggestion for you to add in your next release.
1- have the ability to set bandwidth for certain usergroup.
2- have the ability to set how many connection/slot for certain usergroup
3- have a ticket system where user need to have a ticket for download.
Why I need a download ticket system.
Because, my forum serves download. So, instead to have user posting to get 30 posts to download and stay idle thereafter, I need of a system that require people to post to download.
The ticket will based on how many post they have, let's say 1 ticket for 5 posts.
The ticket system should allow admin to set how many files is worth 1 ticket.
The ticket will reset its counter after awarding ticket. I mean, user who has been awarded a ticket will post 5 more to get another one.
The ticket system can exclude some of the forum id.
Is all this possible? I have seen a similar system being used but can't get the admin to response.
AndrewD
12-16-2007, 06:11 PM
Thanks
I tried to use this but it only allowed me to cap the size of download, not bandwidth. im looking for a function where I can limit like 100kbps for certain usergroup.
As I said, I think this requires tight coupling with the web server, and I don't imagine I will have the time to do this
I mean, when a user download something off my site, they cannot use their download manager. I wonder if this hack prevent that.
I have tested LDM with two download managers and it works fine with them. Basically, you have to select a download manager that transfers cookies to vbulletin, otherwise LDM doesn't know who is trying to make the download.
So, below are my suggestion for you to add in your next release.
1- have the ability to set bandwidth for certain usergroup.
2- have the ability to set how many connection/slot for certain usergroup
thanks for the suggestion, but not in the next release.
3- have a ticket system where user need to have a ticket for download.
Why I need a download ticket system.
Because, my forum serves download. So, instead to have user posting to get 30 posts to download and stay idle thereafter, I need of a system that require people to post to download.
The ticket will based on how many post they have, let's say 1 ticket for 5 posts.
The ticket system should allow admin to set how many files is worth 1 ticket.
The ticket will reset its counter after awarding ticket. I mean, user who has been awarded a ticket will post 5 more to get another one.
The ticket system can exclude some of the forum id.
Is all this possible? I have seen a similar system being used but can't get the admin to response.
Something close to this is already available in the extras directory. It doesn't handle the counter reset though.
dawn100
12-16-2007, 08:46 PM
Hi Andrew!
Hate to ask another question, but this one is driving me crazy. I want the unregistered users to see LDM on the navbar, but not be able to access the files. I have tried setting "can_access_link" as no, but visitors can still get in. Is my problem that I am trying to restirct access to a download? (I know I can take the link off the navbar, but I really want guests to be able to see it, since it is a major selling point for joining my site).
thanks!
obmob
12-17-2007, 03:04 AM
Hi AndrewD , nice hack but I am wondering is this hack like a link manger i mean some software can host upload on the server while other can be like a hack that holds a list of links of rapidshare , megaupload etc..
Ex:
Let say a member uploaded something on rapidshare.com, and he wants to submit that rapidshare link " url " to that hack. is this hack like that ?It does, it does!!! :D
AndrewD
12-17-2007, 03:29 AM
Hi Andrew!
Hate to ask another question, but this one is driving me crazy. I want the unregistered users to see LDM on the navbar, but not be able to access the files. I have tried setting "can_access_link" as no, but visitors can still get in. Is my problem that I am trying to restirct access to a download? (I know I can take the link off the navbar, but I really want guests to be able to see it, since it is a major selling point for joining my site).
thanks!
Yes, this really should be available directly within LDM. It requires a small plugin.
Go to vbulletin/admincp/products and plugins/add plugin
Create a new plugin called (e.g.) Block Unregistered Users, select the Links and Downloads Manager product, and the ldm_start hook
Enter the following code:
if ($vbulletin->userinfo['usergroupid'] <= 1) {
print_no_permission();
exit;
}
Make sure you tick the 'is active' box.
See also http://www.eirma.org/wikis/index.php/LDM_Permissions
dawn100
12-17-2007, 02:33 PM
Perfect! That's *exactly* what I wanted! Thanks so much (again)! :)
nyunyu
12-17-2007, 03:44 PM
Something close to this is already available in the extras directory. It doesn't handle the counter reset though.
Andrew, by this you mean block_by_post in extra folder?
i dont know how to make the ticket system works..xcan you explain?
Thanks.
AndrewD
12-17-2007, 04:09 PM
Andrew, by this you mean block_by_post in extra folder?
i dont know how to make the ticket system works..xcan you explain?
Thanks.
yes, the blockhit-bypost-plugin allows you to place download restrictions on certain usergroups according to the number of posts they have made, optionally within a given number of hours.
the only difference with your requirement is that it does not reset when somebody downloads an entry.
go to vbulletin/admincp/products and plugins/download and upload plugins
in the import plugin definitions box (bottom of page), browse to extras/block-user-access subdirectory, then select the blockhit-bypost-plugin.xml file
either
go to ldm/admin/settings (to apply the controls to your entire ldm database)
or
go to category/edit category/control settings (to apply the controls to only part of the the database, i.e. this category and any subcategories)
scroll down to the bottom of the page and choose the parameters of interest
Shanj
12-17-2007, 04:18 PM
Thank you for the quick and careful answer. I understood!
I missed it in the flurry of 3.7beta notifications I was getting!
I am testing the beta on a new site so will tell you if the mod fits or not.
AndrewD
12-17-2007, 05:40 PM
If you want to test LDM 2.2.8 with vb3.7, you will need the attached includes/local_links_init.php
Grateful for reports - first impression is that the main functions still work.
LDM's options for adding information to the member profile no longer works - the vb 3.7 code has been largely rewritten - so this will need to be redone.
Ipuck
12-18-2007, 02:27 AM
If you want to test LDM 2.2.8 with vb3.7, you will need the attached includes/local_links_init.php
Grateful for reports - first impression is that it still works.
I was about to post the problem here.
Thank you AndrewD you are the best!!!
Ron1213
12-18-2007, 08:18 AM
First of all, great hack.
I have problem adding some news in the main LDM page, which template should make a change to add some news about files (above categories, under LDM title). I saw link_main and I wasn't sure if it's a right one.
tekguru
12-18-2007, 09:39 AM
Cheers I was looking for a solution to this too!
AndrewD
12-18-2007, 11:20 AM
First of all, great hack.
I have problem adding some news in the main LDM page, which template should make a change to add some news about files (above categories, under LDM title). I saw link_main and I wasn't sure if it's a right one.
links_main is the right template.
You can either make the change in the template itself, or you can do it using a plugin which assigns the extra material to an entry in the '$includeinmain' array.
The template includes several 'placeholders', each of these refers to a specific entry in this array. You will find patterns like the following in the template:
<if condition="$includeinmain[precat]">
$includeinmain[precat]
</if>
The other entries in the array are called postcat, prefeat, postfeat, prelink, postlink, prestats and poststats
They appear in the logical order through the template.
derfelix
12-19-2007, 12:29 PM
First.. it works great.. with 3.7 beta..
Second, i searched for multilanguage support.. for titles and descriptions.. and found somewhere in FAQ that it is not going to be supported..
So I came up with a very personal solution.. inspired by a very old hack by Joerg Z from the times where vbulletin 3.5 did not have the user profile fields phrased.. https://vborg.vbsupport.ru/showthread.php?t=98904
So i did some testing.. and it seems to work fine... but:
I only use l&d manager as a links database.. AND will never have more than 100 categories.. so i dont know what happens if it is used differently
What i'd be interested in.. is if someone knows if there is a drawback..
The principle:
When you create a cat, you enter a dummy name.. a placeholder with a dollar sign in front..
example for the category "Vbullentin Sites" you enter the name $vbull_sites_ll_name
- you do the same with description, and long description, paying attention that you have descriptive names.. example in our case: $vbull_sites_ll_desc and $vbull_sites_ll_long_desc
No special characters and no spaces in those names.. and a $ (dollar sign in front)
Now you create phrases for each entry name, description and long description..
They have to have the same varname as you entered for your category BUT without the $ dollar sign!!! .. .. in those phrases you enter the real text you want to have.. (you add those phrases in phrasemanager to group: local_links...
For this to work you need 2 file modifications..
1st..
open: local_links_include.php
and find:
foreach ($linkscat as $catid => $thiscat) {
below add:// language cats hack -------- start
$catname_multi = trim($linkscat[$catid]['catname']);
$catdesc_multi = trim($linkscat[$catid]['catdesc']);
$cattext_multi = trim($linkscat[$catid]['cattext']);
if(substr($catname_multi,0,1) == '$' AND ($this_action != "addcat" OR $this_action != "editcat"))
{
// we remove the '$'
$catname_multi = substr($catname_multi,1);
// we get the phrase
$linkscat[$catid]['catname'] = (!empty($vbphrase[$catname_multi])) ? $vbphrase[$catname_multi] : $catname_multi;
}
if(substr($catdesc_multi,0,1) == '$' AND ($this_action != "addcat" OR $this_action != "editcat"))
{
// we remove the '$'
$catdesc_multi = substr($catdesc_multi,1);
// we get the phrase
$linkscat[$catid]['catdesc'] = (!empty($vbphrase[$catdesc_multi])) ? $vbphrase[$catdesc_multi] : $catdesc_multi;
}
if(substr($cattext_multi,0,1) == '$' AND ($this_action != "addcat" OR $this_action != "editcat"))
{
// we remove the '$'
$cattext_multi = substr($cattext_multi,1);
// we get the phrase
$linkscat[$catid]['cattext'] = (!empty($vbphrase[$cattext_multi])) ? $vbphrase[$cattext_multi] : $cattext_multi;
}
// language cats hack -------- end
then in the file local_links.php find: $catname = htmlspecialchars_uni($linkscat[$viewcatid]["catname"]);
$catdesc = htmlspecialchars_uni($linkscat[$viewcatid]["catdesc"]);
$cattext = htmlspecialchars_uni($linkscat[$viewcatid]["cattext"]);
and replace these 3 lines with:
// start multilang hack
$multilangcat = $vbulletin->db->query_first("
SELECT catname, catdesc, cattext
FROM ".THIS_TABLE."linkscat
WHERE catid = '".$vbulletin->GPC['catid']."'
");
//$catname = htmlspecialchars_uni($linkscat[$viewcatid]["catname"]);
$catname = $multilangcat['catname'];
//$catdesc = htmlspecialchars_uni($linkscat[$viewcatid]["catdesc"]);
$catdesc = $multilangcat['catdesc'];
//$cattext = htmlspecialchars_uni($linkscat[$viewcatid]["cattext"]);
$cattext = $multilangcat['cattext'];
// end multilang hack
thats it...
as I said.. it seems to work.. and I will continue testing on my localhost as long as vb3.7 is still in beta...
What I'd be interested in... is if someone sees an obvious drawback...
Ok.. the cat editing is a pain.. but you do it only very seldomly.. (the extra query is only at catedit.. and only done by admin ==> me.. )
I forgot.. if the name or desc or long description do NOT start with a $ sign.. it works as designed for that cat.. so multilanguage is Not active for this cat..
I think its only a starting idea.. but surely needs to be overworked before usage..
Maybe there are better solutions.. but i didnt find any..
(more sophisticated would be to use the system vbull uses for user profile fields.. but that would require much more rewriting!!!) it basically does the same.. but creates the phrases when you enter the name.. and does the replacements in the background..
Felix
PS: this is just an idea i had while playing around.. it seems to work in my config.. but i would not use it in a production environment..
chickadee
12-19-2007, 08:27 PM
Fantastic mod, just had a question:
What settings must I change if I want to create thumbnails of videos/images automatically?
Thanks so much Andrew, this mod is truly brilliant.
AndrewD
12-20-2007, 03:38 AM
Fantastic mod, just had a question:
What settings must I change if I want to create thumbnails of videos/images automatically?
Thanks so much Andrew, this mod is truly brilliant.
Currently it doesn't handle thumbnails of videos automatically, so you have to give the entry an associated image if you want something to appear.
For thumbnails of images, this is automatic - go to LDM/admin/settings/Controls on Images and Icons
Set link_imagesize to a non-zero value, and LDM will then automatically create thumbnails that size. You can use the other settings in this section to control whether the thumbs are cached, etc.
Do you know of a reliable tool for extracting the first frame/other frame from video files that works across servers? Does the imageimagic package do this?
Joep11
12-20-2007, 03:51 PM
Hi Andrew,
How can I get the font size of the links larger? Tried some things but it did not work. See http://www.wereldwijzer.nl/local_links.php?catid=164
Still a great mod, thanks!
AndrewD
12-20-2007, 08:00 PM
Hi Andrew,
How can I get the font size of the links larger? Tried some things but it did not work. See http://www.wereldwijzer.nl/local_links.php?catid=164
Still a great mod, thanks!
The links in the standard linkbit are styled with the legend style. You could either modify that style on the vb/admincp/styles or edit the links_linkbit template and apply another style.
coolgus
12-20-2007, 08:32 PM
Andrew I'm facing a strange problem. It seems that many thumbnails from my entries are not showing. I can't find a pattern which causes this
AndrewD
12-21-2007, 04:06 AM
Andrew I'm facing a strange problem. It seems that many thumbnails from my entries are not showing. I can't find a pattern which causes this
We need to track gown whether these are never being created or failing to appear. Am happy to take a look at your site if you PM an admin username/password.
If you prefer to investigate yourself, start by checking that the generated html actually includes code to display the thumbs, in which case the problem may be a mismatch between actual and believed file locations. Also check the filetypes of the enties for which the images are missing, and use a database checking tool to see if the linkimg column in the linkslink table contains valid enties.
Joep11
12-21-2007, 11:13 AM
The links in the standard linkbit are styled with the legend style. You could either modify that style on the vb/admincp/styles or edit the links_linkbit template and apply another style.
Tried to change the linkbit template but couldn't do it. Now changed the legend style. Thanks a lot!
Dear Andrew, I've been using LDM for a long time and still have this silly question.
I tried to hide the LDM category, I'm doing it by making it belong to a Forum A, make make the forum A hidden to unregistered. However, the category is still visible in LDM main home, except that when clicking on it, it asks to register.
How do I make that category hidden from the guests' view? Just like the forum A?
AndrewD
12-22-2007, 04:29 AM
Dear Andrew, I've been using LDM for a long time and still have this silly question.
I tried to hide the LDM category, I'm doing it by making it belong to a Forum A, make make the forum A hidden to unregistered. However, the category is still visible in LDM main home, except that when clicking on it, it asks to register.
How do I make that category hidden from the guests' view? Just like the forum A?
Take a look at ldm/admin/permissions. I suspect that you have given unregistered users (etc) *can_see_protected_links_on_portal * permission. This means that they get to see the protected forums, but then get blocked/asked to register/etc when they try to access entries, depending on ldm/admin/settings *protected link*.
I am adding a new ldm permission in the next release (*can_view_category*) which will provide an easier method than forums-permissions to hide/block individual categories.
Omranic
12-22-2007, 03:18 PM
Hello,
Thanks for this fantastic mod, it's a great mod really.
I have a question:
I need to: Create a main category called "Backup" & create sub-categories inside it for each customer, each sub-cat for one customer & is synchronized with a directory on the server, each sub-cat also is specified to a specific customer & so he can't (see/access) any (sub-cats/cat's content) except the one specified for him (Customers can't see others sub-cats / Like: users can't see others threads).
Is there any way doing this using LDM or extras supplied with it?
If no, so how can I do it as a custom work, if you can help with some code snippets or as least the coding principal, I would appreciate your effort.
Thanks
bugriders
12-22-2007, 06:07 PM
I get his page
http://www.bugriders.be/forum/local_links/links/1
What is the problem please???
Ophelia
12-22-2007, 11:40 PM
Hello Andrew,
We finally have this installed. Let me start off with a great big THANK YOU and GREAT JOB!
As always, we always want more :)
The multiple uploads are excellent. How hard would it be to also include a date to have them scheduled? We have downloads that become visible on a daily basis, and it would be excellent if we could set all of this up in one screen. I know that there is a general schedule at the top, but that only allows us one date.. for us, we need a different date for each file.
Thank you again!!
AndrewD
12-23-2007, 04:54 AM
I get his page
http://www.bugriders.be/forum/local_links/links/1
What is the problem please???
I imagine that you have enabled the 'search engine friendly' option on the LDM admin settings page, without configuring your web server to handle these. See http://www.eirma.org/wikis/index.php/Search_Engine_Optimisation
AndrewD
12-23-2007, 06:20 AM
Hello,
Thanks for this fantastic mod, it's a great mod really.
I have a question:
I need to: Create a main category called "Backup" & create sub-categories inside it for each customer, each sub-cat for one customer & is synchronized with a directory on the server, each sub-cat also is specified to a specific customer & so he can't (see/access) any (sub-cats/cat's content) except the one specified for him (Customers can't see others sub-cats / Like: users can't see others threads).
Is there any way doing this using LDM or extras supplied with it?
If no, so how can I do it as a custom work, if you can help with some code snippets or as least the coding principal, I would appreciate your effort.
Thanks
The synchronising is straightforward and already built in.
The other part, visibility/access to given user only, is not currently available (I don't think :) - this is getting a bit complex), but not hard to add. I will include it in the next release, which should be available (at least in beta form) quite soon, depending on how much food I eat this week.
AndrewD
12-23-2007, 06:22 AM
Hello Andrew,
We finally have this installed. Let me start off with a great big THANK YOU and GREAT JOB!
As always, we always want more :)
The multiple uploads are excellent. How hard would it be to also include a date to have them scheduled? We have downloads that become visible on a daily basis, and it would be excellent if we could set all of this up in one screen. I know that there is a general schedule at the top, but that only allows us one date.. for us, we need a different date for each file.
Thank you again!!
It's not hard to add. I'd limited the number of items that are set per-entry in order to keep the form reasonably clean. In the next release...
bugriders
12-23-2007, 10:37 AM
I imagine that you have enabled the 'search engine friendly' option on the LDM admin settings page, without configuring your web server to handle these. See http://www.eirma.org/wikis/index.php/Search_Engine_Optimisation
Exactly. Its working!
bugriders
12-23-2007, 11:15 AM
i have same problem , Can u Help me plz? :)
I have the same problem.
Using a Dutch language board.
I don't understand the the explaination very well of AndrewD.
Is there a simple way fix it please?:o
I'm using 2.2.8 version
Gostemilov
12-23-2007, 12:37 PM
OK, I thikk it was a good idea (I mean forum-based rights), but it's not working.
I tried to set the rights in PhpMyAdmin, but there is another problem.
For examle, I have 61 categories. I dont know, why You create new records for each category in local_linksadmin, but I can see
https://vborg.vbsupport.ru/
As You can see, there are no category_id 60 and 61, but there are 67, 76, 77, 78, etc.
I need to change some permisson for category_id 60 and 61.
How can I do it? Thanks.
P.S. Sorry for my English
AndrewD
12-23-2007, 01:25 PM
OK, I thikk it was a good idea (I mean forum-based rights), but it's not working.
I tried to set the rights in PhpMyAdmin, but there is another problem.
For examle, I have 61 categories. I dont know, why You create new records for each category in local_linksadmin, but I can see
http://photoshopia.ru/8831/ldm1.jpg
As You can see, there are no category_id 60 and 61, but there are 67, 76, 77, 78, etc.
I need to change some permisson for category_id 60 and 61.
How can I do it? Thanks.
P.S. Sorry for my English
LDM permissions can be set globally (using LDM/admin/permission) or per-category (Edit Category/permissions). You do not need to use phpmyadmin.
If you want to set the permission for category 60, go to the category with this id, edit the category, and set the required permission using the permissions tab.
Now, about the links_admin table. For each permission, there is always a row in this table for the global permission. There is also a row for each category in which you have edited the value using Edit Category.
So why not a row for each category? This is because permissions are inherited. When LDM displays a category, it looks up the nearest permission - in this category if available, in its parent category if not, and so on, until it finds the global value.
Gostemilov
12-23-2007, 01:26 PM
I tried to import ldm_cats.module
Ошибка базы данных в vBulletin 3.6.7:
Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `modcol`, `displayorder`, `active`, `userperms`)
VALUES
('', '1', '8', '0', '1,2,3,4,5,6,7,8,9,11');
Ошибка MySQL : Unknown column '0' in 'field list'
Номер ошибки : 1054
Дата : Sunday, December 23rd 2007 @ 06:23:31 PM
Скрипт : http://***/forum/***/vba_cmps_admin.php?do=uploadmodule
Реферрер : http://***/forum/***/vba_cmps_admin.php?do=download
IP адрес : 91.***.246.56
Имя пользователя : Gostemilov
Имя класса : vb_database
What's the problem? Thanks
AndrewD
12-23-2007, 01:31 PM
I have the same problem.
Using a Dutch language board.
I don't understand the the explaination very well of AndrewD.
Is there a simple way fix it please?:o
I'm using 2.2.8 version
Not sure which problem you are referring to?
Happy to take a look at your board if you send me a PM with details (url + an admin account)
bugriders
12-23-2007, 01:34 PM
Sorry I made wrong quote...
I have the same problem.
Using a Dutch language board.
I don't understand the the explaination very well of AndrewD.
Is there a simple way fix it please?:o
I'm using 2.2.8 version
its about...
LDM has to be able to read and write files on your server, and it can be prevented from doing this by security settings on your server. One of these is the php.ini setting open_basedir. This prevents php scripts from reading and writing files except in directories specified in its setting or in their subdirectories.
It looks to me as if the setting of open_basedir on your server does not allow scripts to read/write files that are actually within your web site directories (which DOC_ROOT points to).
The message
web server DocRoot /servers/httpd/htdocs seems to point to a non-existent directory
actually means "I can't find out if the directory exists or not", and the reason is that your php.ini setting of open_basedir is forbidding this to happen.
If there is a good reason for excluding your web site from the open_basedir setting, you can still get LDM to work, but you have to make sure that uploads and and files that you provide to your community are stored in directories that are authorised by open_basedir. LDM will not be able to store thumbnails of images, because these have to be placed within the web site itself.
You achieve this using the LDM settings local_file_root and local_file_root_prefix. This is explained in the wiki, see url in the first post.
If you don't understand what I'm saying, you will need to speak to your site admin
AndrewD
12-23-2007, 01:37 PM
I tried to import ldm_cats.module
What's the problem? Thanks
I'm sorry, I have no idea. I have just run a test to import this module and it works fine for me.
Which version of vbadvanced are you using?
AndrewD
12-23-2007, 01:40 PM
Sorry I made wrong quote...
its about...
Do you mean that you are getting warning/error messages about uploads?
This usually happens when the site's server is configured to prevent uploads. I can't be more helpful without seeing the exact information.
Gostemilov
12-23-2007, 01:47 PM
Which version of vbadvanced are you using? - vBadvanced CMPS 2.2.1
I've upgrade to v.3.0Rc1 and there was no problem with uploading module. But I can't see this module on the main page. The module is placed in the center column and is active.
bugriders
12-23-2007, 02:08 PM
Sorry Andrew. Bit confussing here. My fould!
It's about the thumbs_dir
My root is forum directory. In forum directory I have already the subdirectory images. There I made a subdirectory ldimages (as told in the instructions).
So in admin of LDM I tell him to put the thumbs in images/ldmimages/
Then I get error message:
web server DocRoot /htdocs subdirectory is not existing (translation from Dutch).
I use vbulletin 3.6.4 and LDM 2.2.8
ldmimages is CHMOD to 777
All other functions in LMD working fine till now.
Gostemilov
12-23-2007, 02:25 PM
If you want to set the permission for category 60, go to the category with this id, edit the category, and set the required permission using the permissions tab.
Thanks a lot. I forgot about this tab. It's very useful.
AndrewD
12-23-2007, 02:41 PM
Sorry Andrew. Bit confussing here. My fould!
It's about the thumbs_dir
My root is forum directory. In forum directory I have already the subdirectory images. There I made a subdirectory ldimages (as told in the instructions).
So in admin of LDM I tell him to put the thumbs in images/ldmimages/
Then I get error message:
web server DocRoot /htdocs subdirectory is not existing (translation from Dutch).
I use vbulletin 3.6.4 and LDM 2.2.8
ldmimages is CHMOD to 777
All other functions in LMD working fine till now.
I think I've seen this problem on another site - it's all to do with how the server administrator has set up things. Unfortunately, it's not easy for me to explain how to fix it, unless you are familiar with how the server is configured. I am willing to take a look at your site if you want me to, but it will have to be as an admin.
Dear Andrew, thanks the great hack, to me personally, it's possibly the best hack for vb ever. Enjoy and great Christmas and New Year with your family. I hope LDM will continue to improve and update for the years to come.
Best wishes and thank you,
bugriders
12-24-2007, 09:53 PM
I think I've seen this problem on another site - it's all to do with how the server administrator has set up things. Unfortunately, it's not easy for me to explain how to fix it, unless you are familiar with how the server is configured. I am willing to take a look at your site if you want me to, but it will have to be as an admin.
What do you need?
FTP login or admin login from vbulletin software?
Is the problem and solution explainedin the tutorial (help) of LDM?
Do you know how to fix it?
Remember that my admin admin panel is also in Dutch language...
obmob
12-24-2007, 10:06 PM
Hmm... i tried to update my test forum to 3.7 beta 3, i get this when entering LDM.
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6
=======================================
Now... i'm using 2.2.8, any ideas? :p
Andrew, will you make a new thread under the new 3.7 folder? :D
HAPPY HOLIDAYS!
AndrewD
12-25-2007, 04:43 AM
Hmm... i tried to update my test forum to 3.7 beta 3, i get this when entering LDM.
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6
=======================================
Now... i'm using 2.2.8, any ideas? :p
Andrew, will you make a new thread under the new 3.7 folder? :D
HAPPY HOLIDAYS!
See https://vborg.vbsupport.ru/showpost.php?p=1402950&postcount=2760 for the immediate fix.
Most of LDM works fine with vb 3.7 once the the includes/local_links_init file is replaced.
There are problems with the member profile integration, but the fix is changing with the various betas that vb.com release.
I've now created a VB 3.7 thread and hope to be able to maintain full compatibility for a while.
And *Happy Christmas*
AndrewD
12-25-2007, 04:54 AM
What do you need?
FTP login or admin login from vbulletin software?
Is the problem and solution explainedin the tutorial (help) of LDM?
Do you know how to fix it?
Remember that my admin admin panel is also in Dutch language...
If the problem is what I think, then I need full access to your vb admincp. (Basically, I need to install a debugging plugin and then have access to your LDM admin pages. I don't need ftp access.)
LDM needs to work out the full directory path to your forum thumbs directory. Normally it gets this right by itself by checking the DOCUMENT_ROOT setting that your web server software provides, but occasionally it needs a bit of help. This has only happened once before, so I haven't discovered the rule yet.
obmob
12-26-2007, 03:14 AM
Thanks Andrew!
Will take a look to the new thread! :D
benjaminkramer
12-29-2007, 06:41 PM
Hi,
I moved my site to a Dedicated Server, but now I get an error by clicking on Links and Downloads Manager.
The VBulletin administrator has disabled the Links and Downloads Manager. Unable to continue.
How can I activate Links and Downloads Manager?
Thx
Benjamin Kramer
AndrewD
12-29-2007, 07:22 PM
Hi,
I moved my site to a Dedicated Server, but now I get an error by clicking on Links and Downloads Manager.
How can I activate Links and Downloads Manager?
Thx
Benjamin Kramer
vbulletin/admincp/products and plugins/enable LDM
benjaminkramer
12-29-2007, 08:02 PM
It shows that LDM is enabled :-( but it shows the same message that
The VBulletin administrator has disabled the Links and Downloads Manager. Unable to continue.
AndrewD
12-30-2007, 04:25 AM
It shows that LDM is enabled :-( but it shows the same message that
The VBulletin administrator has disabled the Links and Downloads Manager. Unable to continue.
Strange. The message is generated when LDM believes that it has not been enabled.
Check that you have uploaded a consistent set of files onto your new server, and reinstall the LDM product .xml file - this will not damage your database.
benjaminkramer
12-30-2007, 08:32 AM
It works now...I forgot to aktivate the Plugin System in the config.php
And how does the work go on for a next version of LDM? (new icons...)
I would like to have upload progress status...so that I can see how many percent is the date uploaded and when is it finished....
THx :-)
AndrewD
12-30-2007, 08:50 AM
It works now...I forgot to aktivate the Plugin System in the config.php
And how does the work go on for a next version of LDM? (new icons...)
I would like to have upload progress status...so that I can see how many percent is the date uploaded and when is it finished....
THx :-)
Good!
I'm working through the suggestions during this vacation week. I'll see how far I can get. There are quite a few requests :)
It's not possible to write a reliable upload progress meter in PHP that will work with all the versions of PHP that vBulletin supports. (They only work with very recent versions of PHP 5.x.) As far as I can tell, the only reliable approach is to bolt on a Java-based progress meter. These generally require a licence fee. I've got one to try out, and will let everyone know how well it works, once tested.
UltraFanatics
12-30-2007, 11:50 AM
Can this be used as just a links page to swap links?
AndrewD
12-30-2007, 12:46 PM
Can this be used as just a links page to swap links?
Yes, that was the original function.
yahoooh
12-31-2007, 07:23 AM
another suggestion:
u use iframe in jukebox play
i want this be as part of page not as iframed
this make an easy indexed and back links for each link in LDM
thanks
AndrewD
12-31-2007, 09:15 AM
another suggestion:
u use iframe in jukebox play
i want this be as part of page not as iframed
this make an easy indexed and back links for each link in LDM
thanks
There's actually two forms of the jukbox - one launches in a separate window, the other creates the iframed page, as you say. In the second form, the reason for using the (two) iframes is to ensure that the current media continues to play as the user browses the category.
In the next release, there will be an option to use media players for mp3 and flash that appear inline within the linkbits, so getting rid of the iframes.
nerofix
12-31-2007, 03:55 PM
Admin CP --> LDM --> Settings
I'll get this error:
Fatal error: Cannot redeclare update_settings() (previously declared in forum/admincp/vcharset/functions_vcharset.php:16) in forum/includes/local_links_misc.php on line 399
AndrewD
12-31-2007, 04:20 PM
Admin CP --> LDM --> Settings
I'll get this error:
Fatal error: Cannot redeclare update_settings() (previously declared in forum/admincp/vcharset/functions_vcharset.php:16) in forum/includes/local_links_misc.php on line 399
There's a clash of function name with the code in whichever hack provides vcharset.
This will be fixed in the next release of LDM. In the meantime, you can (if you want) edit the code to get rid of this problem.
Replace 'update_settings' by 'update_ldm_settings' five time, as follows:
local_links_actions.php
(line 2508): if (!update_settings($catid, $_REQUEST, $errors)) {
(line 2712): if (!update_settings($catid, $_REQUEST, $errors)) {
local_links_admin.php
(line 1171): update_settings(-1, $_REQUEST, $errors);
includes\local_links_misc.php
(line 399): function update_settings($catid, $settings, &$errors) {
(line 797): ldm_general_failure("update_settings/$name");
Andrew, another suggestion on the next release is that it would be nice to see an index file, or some kind of page that organize the links. You already helped me with organize the links.
Say if I have 20 download link under 1 category, it would be nice to see the short version of link1, link2 instead of the standard view. I don't know, just a suggestion. I'm sure you might think a better format of link listing than me.
darfil
01-02-2008, 09:04 AM
Hi,
I have this error messagge:
Parameter upload_dir points to a non-existent or inaccessible directory /uploads (maybe check open_basedir?)
How can I resolve it?
open_basedir is set with "no value" to either master and local.
AndrewD
01-02-2008, 09:21 AM
Hi,
I have this error messagge:
Parameter upload_dir points to a non-existent or inaccessible directory /uploads (maybe check open_basedir?)
How can I resolve it?
open_basedir is set with "no value" to either master and local.
The directory has to exist and have write-access (on a unix server, this means mode 777). If this doesn't mean anything to you, send me a PM and I can try to help you directly.
Spinball
01-03-2008, 12:21 PM
Thanks for the continued support and development on this mod.
Can I please request that for multiple pages of links, we have an alphabetic index at the top?
I.e. 0-9 A B C D E etc each linking to the first entry beginning with that letter?
calumn
01-03-2008, 01:37 PM
Hello.
First of all I have to say this is an amazing plugin, but I am having trouble with the permissions.
I want to add a links directory to my forum so that registered users can add their links but guests can only browse and view the directory.
I tried setting this but at first no-one could submit links so I changed the permissions and now the right people can but they can also submit downloads.
How can I make it so that they can only submit links but not downloads?
Thanks
Calum
AndrewD
01-03-2008, 02:51 PM
Hello.
First of all I have to say this is an amazing plugin, but I am having trouble with the permissions.
I want to add a links directory to my forum so that registered users can add their links but guests can only browse and view the directory.
I tried setting this but at first no-one could submit links so I changed the permissions and now the right people can but they can also submit downloads.
How can I make it so that they can only submit links but not downloads?
Thanks
Calum
You can turn off submission of urls that point to remote downloads using the LDM admin setting *allow_remote_downloads*. This is a general setting, not a per-usergroup permission, so you will block this feature for everyone.
Bear in mind that, for LDM, 'download' = something with a filetype that appears in the vbulletin attachment table. LDM manages the transfer of these downloads to keep the location hidden. If the url ends with a filetype that is not in the table, then LDM doesn't care, because it doesn't handle the transfer - it just triggers a browser redirect to get the url.
pspcrazy
01-03-2008, 07:45 PM
Andrewd after a recent server change, it seems that for my staff they can't upload new files. When they add a new entry it auto redirects them back to the home of the downloads and links, and the file is never added. But when an admin adds it, it adds perfectly fine :|. Any ideas?
AndrewD
01-04-2008, 03:49 AM
Andrewd after a recent server change, it seems that for my staff they can't upload new files. When they add a new entry it auto redirects them back to the home of the downloads and links, and the file is never added. But when an admin adds it, it adds perfectly fine :|. Any ideas?
Not sure, but have you tried turning off the vb admin option, Remove Redirection Message Pages, so that you get to see the status messages?
pspcrazy
01-05-2008, 03:41 AM
Well oddly enough now it's giving me this error: Error - The filetype used in the "Rename" field should be the same as the original filetype.
and if the files larger then a few mb it just redirects.
In fact i even upped my post limit and upload limit on php so that's not the issue. Any clues?
AndrewD
01-05-2008, 08:34 AM
Well oddly enough now it's giving me this error: Error - The filetype used in the "Rename" field should be the same as the original filetype.
and if the files larger then a few mb it just redirects.
In fact i even upped my post limit and upload limit on php so that's not the issue. Any clues?
The error message is saying that you are uploading one filetype but asking that it gets redownloaded with a different filetype. Are you entering something into the rename field? This should always end with the same filetype as the file being uploaded.
With the 'just redirecting' for large files, check the maximum file sizes in the vbulletin admin/attachments table for the filetypes of interest. For your regular users, the maximum upload size is limited to these values. Admins can upload files of any size up to the php limits. You can check the maximum size allowed by selecting the down arrow on the 'uploadable filetypes' message on the add entry form.
AndrewD
01-06-2008, 04:41 PM
The first alpha release of LDM 2.2.9 is available in the vb 3.7 forum in this thread
AndrewD
01-06-2008, 05:46 PM
Thanks for the continued support and development on this mod.
Can I please request that for multiple pages of links, we have an alphabetic index at the top?
I.e. 0-9 A B C D E etc each linking to the first entry beginning with that letter?
This is in the 2.2.9 alpha, just released in the 3.7 forum (works on 3.6 also).
Yay, finally. Been waiting it for so long, great work Andrew.
I have a quick question, the A | B | C | D is able to support the specific category? or it works on all categories?
AndrewD
01-07-2008, 03:36 AM
Yay, finally. Been waiting it for so long, great work Andrew.
I have a quick question, the A | B | C | D is able to support the specific category? or it works on all categories?
The ABC bar applies to the current category, and simply acts as a filter on the current list. Searches for everything starting 'A' would still be done using the Search page.
civil78
01-12-2008, 09:08 AM
When I set the Display Order to Links between the links that have the same display order appears a separate.
But when I set the display order to Categories It doesn’t. Is there a setting to make it appears or categories don’t support separate.
I use LDM 2.2.7
Thanks
AndrewD
01-12-2008, 09:38 AM
When I set the Display Order to Links between the links that have the same display order appears a separate.
But when I set the display order to Categories It doesn?t. Is there a setting to make it appears or categories don?t support separate.
I use LDM 2.2.7
Thanks
Yes, you're right. This is an omission, which I will correct.
yahoooh
01-14-2008, 06:04 PM
some security site avice to disable this function in php.ini :
dl, exec, shell_exec, system, passthru, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, hypot, pg_host, pos, posix_access, posix_getcwd, posix_getgid, posix_getpid, posix_getsid, posix_getuid, posix_isatty, posix_kill, posi
if i disabled them , could this make some errors in ldm ?
AndrewD
01-15-2008, 03:21 AM
some security site avice to disable this function in php.ini :
dl, exec, shell_exec, system, passthru, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, hypot, pg_host, pos, posix_access, posix_getcwd, posix_getgid, posix_getpid, posix_getsid, posix_getuid, posix_isatty, posix_kill, posi
if i disabled them , could this make some errors in ldm ?
I don't think I'm using any of these. I've not checked whether the main vb code uses them.
Your list is truncated - not sure if there were other functions at the end.
I don't know why, but my Link Manager has just stopped working. The initial page is there listing all the links, but when you choose one the links, a new window opens but it stays at my site. In the new window it sort of looks like the initial page but messed up and all the graphics on the page, such as my logo, are red x's, so I know it is some type of directory issue. Andrew, can you look at it here www.vmaxforum.net , to see if you can see any obvious problem? I'm not sure when this started as one the forum users pointed it out, but I haven't added or changed anything on the site for months.
Thanks!
AndrewD
01-17-2008, 03:41 AM
I don't know why, but my Link Manager has just stopped working. The initial page is there listing all the links, but when you choose one the links, a new window opens but it stays at my site. In the new window it sort of looks like the initial page but messed up and all the graphics on the page, such as my logo, are red x's, so I know it is some type of directory issue. Andrew, can you look at it here www.vmaxforum.net , to see if you can see any obvious problem? I'm not sure when this started as one the forum users pointed it out, but I haven't added or changed anything on the site for months.
Thanks!
You've turned on the SEO friendly option in LDM, and I imagine that whatever back end you are using has changed.
LDM itself only modifiies the format of its displayed urls (from local_links.php?catid=xx to local_links.php/links/XX), and expects that Apache has been set up to deal with these.
You've turned on the SEO friendly option in LDM, and I imagine that whatever back end you are using has changed.
LDM itself only modifiies the format of its displayed urls (from local_links.php?catid=xx to local_links.php/links/XX), and expects that Apache has been set up to deal with these.
OK, thank you, will turning off the SEO friendly option fix this problem or is there something else I'll need to do?
edit: never mind turning it off fixed the problem!:D Thanks again Andrew!:up:
Mighty.Karen
01-17-2008, 07:19 PM
I apologize if this has been covered, but I've read through several hundred responses and just can't go on.
I didn't download and install this, but a co-worker who is a bit less computer savvy did. There is an issue I'm SURE is simple to fix, but it ain't a-happenin' at the moment.
We have our vBulletin secured. The file libraries accessed through the main navigation would always present the user with the standard IE "This page contains secure and nonsecure information....". I figured out that if I went into the admin (vBulletin Options/Site Name\URL\Contact Details) and tacked an "s" onto http of our forum URL, everything was lovely. Well, almost. Go into the Libraries and its fine, select a category, fine, but once you select an actual link: "Internet Explorer cannot download...."
If I make the url http, its fine. https, it throws up. What am I doing wrong here??
AndrewD
01-18-2008, 03:46 AM
I apologize if this has been covered, but I've read through several hundred responses and just can't go on.
I didn't download and install this, but a co-worker who is a bit less computer savvy did. There is an issue I'm SURE is simple to fix, but it ain't a-happenin' at the moment.
We have our vBulletin secured. The file libraries accessed through the main navigation would always present the user with the standard IE "This page contains secure and nonsecure information....". I figured out that if I went into the admin (vBulletin Options/Site Name\URL\Contact Details) and tacked an "s" onto http of our forum URL, everything was lovely. Well, almost. Go into the Libraries and its fine, select a category, fine, but once you select an actual link: "Internet Explorer cannot download...."
If I make the url http, its fine. https, it throws up. What am I doing wrong here??
How are you entering the actual filenames that LDM is controlling, and in what mode are you using LDM?
I assume that you are trying to use LDM to control access to files which are actually stored on your own server, lets say (for exaple) file.pdf in directory /abc on server https: // yoursite /
Are you setting up the entry URLs in the form a) /abc/file.pdf or in the form (perhaps) b) https: //yoursite /abc/file.pdf or (I assume not) c) http: //yoursite /abc/file.pdf
Internally, the first form is handled using standard file access routines (fopen, fread, etc). The second and third forms are handled *either* using the cURL library or using fopen, etc, via php's inbuilt protocol handlers. cURL is used automatically if is installed.
The recommended approach for local files would be format (a) and I can't see why there would be any problem. Format (b) should also work on a secure site - although it is some time since I tested this - but will certainly be significantly less efficient. Format (c) would be wrong on a secure site.
So, I recommend:
1) check the format of your LDM entry URLs (LDM/edit entry)
2) try using format (a) or (b)
3) if you really want to use format (b), try turning off cURL if necessary (LDM/admin/settings/force_fopen
If this doesn't help, get back to me
Mighty.Karen
01-18-2008, 11:20 AM
We are using format (a) and cURL is turned off. I've fiddled with every setting and loaded several bogus files and still have the same issue. Fortunately, the original problem is just an annoyance, not a major problem. Right now, my plan is to poke around in the code and see if something isn't getting set properly (as we are also getting an error in IE "Unexpected call to method or property access" when the forum url is set to http, doesn't do it when its set to https). If I discover something else, I'll be back. Thanks for the suggestions.
AndrewD
01-18-2008, 04:41 PM
We are using format (a) and cURL is turned off. I've fiddled with every setting and loaded several bogus files and still have the same issue. Fortunately, the original problem is just an annoyance, not a major problem. Right now, my plan is to poke around in the code and see if something isn't getting set properly (as we are also getting an error in IE "Unexpected call to method or property access" when the forum url is set to http, doesn't do it when its set to https). If I discover something else, I'll be back. Thanks for the suggestions.
Just to confirm, my https test site handles local LDM dowloads just fine.
There are some interesting reports on the web about "Unexpected call to method or property access", which is a Javascript error.
Vinyljunky
01-21-2008, 01:47 PM
Hello,
Is it possible to add an LDM search function under the default VB Navbar Search?
Or indeed a function that searches both :)
Andrew, I apologise if this has already been answered, I did search, honest!
I'm runnng 2.2.7
Thanks
VinylJunky
AndrewD
01-21-2008, 03:19 PM
Hello,
Is it possible to add an LDM search function under the default VB Navbar Search?
Or indeed a function that searches both :)
Andrew, I apologise if this has already been answered, I did search, honest!
I'm runnng 2.2.7
Thanks
VinylJunky
I'll give this some thought - I'm working on the search integration into vb 3.7 at the moment.
Ipuck
01-22-2008, 03:51 AM
Hello AndrewD
In my forum I have three administrators and all receives the bad link reports. Is there any way to have only one user to receive the bad link reports? Many of my users don't know how to download or open the files and they keep sending bad link reports.
Vinyljunky
01-22-2008, 12:18 PM
I'll give this some thought - I'm working on the search integration into vb 3.7 at the moment.
Andrew,
I'd really appreciate that thank you. I suspect that many others would like the search function integrated within vb3.6.x
I cant see that I will be moving to vb3.7 for at least 6 months.
Have a good day :up:
VinylJunky
hotwheels
01-25-2008, 07:50 PM
Really frustrated right now, but i uploaded the flv player and the jukebox, and i can't find out how to force them to play. When i try to upload an flv, there is nowhere to place the flv file. I imported the radio stations the came with the file and when i click on a station, all i get is "page can't be displayed'...........would you have any idea what i am missing here.......I have uploaded every file you have in the extras, and it almost acts like the getid3 isn't locating itself.
hotwheels
01-25-2008, 11:16 PM
I keep getting this error with the radio stations: Fatal error: Call to undefined function: strripos() in /home/******/public_html/forums/includes/local_links_players.php(296) : eval()'d code on line 20
hotwheels
01-26-2008, 03:52 AM
well, after 16hrs straight of trying to get this to function, i ended up deleting it..........thanks anyways..
AndrewD
01-26-2008, 04:10 AM
I keep getting this error with the radio stations: Fatal error: Call to undefined function: strripos() in /home/******/public_html/forums/includes/local_links_players.php(296) : eval()'d code on line 20
Sorry about that - I imagine your site is using php4 - I must have omitted a check for that version. But I'm somewhat confused about the error message because I can't find the line in the code that it's referring to.
The easiest for me to solve this report and your previous one is to take a look at your site - do you mind? - If that's ok, pm the details and an account that has vb admin privs.
AndrewD
01-26-2008, 05:15 AM
well, after 16hrs straight of trying to get this to function, i ended up deleting it..........thanks anyways..
As I said, my apologies. Am willing to help to sort out the problem.
hotwheels
01-26-2008, 08:40 PM
No need to apologize andrewD, you do a great job with support for this mod.........One of these day's i may try it again and see what happens. I am not sure on that code either, I searched and searched and just couldnt' get it to work correctly.
AndrewD
01-27-2008, 05:07 AM
Andrew,
I'd really appreciate that thank you. I suspect that many others would like the search function integrated within vb3.6.x
I cant see that I will be moving to vb3.7 for at least 6 months.
Have a good day :up:
VinylJunky
The attached plugin will patch your board to add an LDM quick search box as part of the main vb search dropdown. Install it in the usual way (vb/products and plugins/upload plugin)
It's nothing fancy - English only.
Let me know if this suits you ok/works as you want.
Phalynx
01-29-2008, 06:28 AM
There is a bug regarding the permission system. A user pointed me to that.
- Content deleted due to request of author
I'm using 2.2.8 Post 1 with vBulletin 3.7 and updated local_init.php - I didn't tested 2.2.9 yet.
AndrewD
01-29-2008, 09:03 AM
There is a bug regarding the permission system. A user pointed me to that.
I'm using 2.2.8 Post 1 with vBulletin 3.7 and updated local_init.php - I didn't tested 2.2.9 yet.
Noted, will fix as soon as possible.
Please will you delete your post, so that this bug is not made very visible.
Vinyljunky
01-29-2008, 09:50 AM
The attached plugin will patch your board to add an LDM quick search box as part of the main vb search dropdown. Install it in the usual way (vb/products and plugins/upload plugin)
It's nothing fancy - English only.
Let me know if this suits you ok/works as you want.
Andrew,
That is just what I needed :up:
I havent made a donation to you in a while, so I'll donate $10 I really appreciate your code and all the hours you spenfd supporting it. I must admit that I wouldnt have the patience, I'd keep saying RTFM :o
I appeal to those of you who havent yet donate to do so. If we all donate a few dollars it will make a big difference to Andrews beer fund :D
Thanks / Merci
VinylJunky
civil78
02-03-2008, 03:36 PM
One quick question, Where I can find the file for 2.2.7 Version?
AndrewD
02-03-2008, 04:12 PM
One quick question, Where I can find the file for 2.2.7 Version?
Here
civil78
02-03-2008, 04:48 PM
Here
Thank you.
InoffLine
02-04-2008, 04:30 AM
I am transfering ,y forum to a new server.
But I forgot to export ldm, but I have a full sql backup.
Can you tell me what tables, I need to restore?
AndrewD
02-04-2008, 04:41 AM
I am transfering ,y forum to a new server.
But I forgot to export ldm, but I have a full sql backup.
Can you tell me what tables, I need to restore?
Assuming that you kept the default table names, it is all the tables with names starting local_links - there are eleven in version 2.2.8
AndrewD
02-04-2008, 03:47 PM
I have made available a patch in the patch-cat.xml file supplied at the start of this thread. This protects against a bug which can give unauthorised access to protected files in your LDM database.
This fix is *only* required if you use LDM's *can_access_category* permission to limit access to certain categories. It is *not* needed if you use this permission to restrict your entire database, by denying this permission at the admin level, or if you use the LDM forums-based permissions system.
Install as a normal VB plugin.
Phalynx
02-04-2008, 07:42 PM
Thanks.
Noxious
02-06-2008, 11:19 PM
how can i get this working for 3.7 beta 4??
i currently get the message
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.8 requires VBulletin version 3.5/3.6
obmob
02-07-2008, 01:40 AM
You should try 2.2.9 alpha :D
https://vborg.vbsupport.ru/showthread.php?t=166094
UKDarkstar
02-07-2008, 07:48 AM
I need to be able to upload gaming maps/patches/mods etc to my forum for Members and have them be able to upload too.
Would this perhaps be suitable for this (some files can be v large e.g. 100Mb) ?
We've tried Downloads II but seem to have probs with it uploading the files.
Thanks
SteveC
02-08-2008, 04:15 AM
I'm moving servers and trying to set up LDM on my new site so I can test it before I go live. For some reason, it won't recognize my upload directory. the directory is forum/downloads but it won't accept it. Could this be because my domain isn't moved yet? And all the existing files point back to my OLD server. So somewhere my old server's URL must be entered as a default but I can't find where
EeeZee
02-08-2008, 08:31 PM
Thank you for this -- just what I was looking for. Not too much and not too little. Being very new to vB I need all the help I can get! :)
AndrewD
02-09-2008, 12:34 PM
I'm moving servers and trying to set up LDM on my new site so I can test it before I go live. For some reason, it won't recognize my upload directory. the directory is forum/downloads but it won't accept it. Could this be because my domain isn't moved yet? And all the existing files point back to my OLD server. So somewhere my old server's URL must be entered as a default but I can't find where
I'd normally offer to help by taking a look at your site, but I'm on vacation at the moment, with only occasional internet access.
When you created the original entries, did you use the full url or a local filename?
Best way to check is to go to ldm/admin/categories and try the mass edit features there.
UKDarkstar
02-10-2008, 05:55 AM
I need to be able to upload gaming maps/patches/mods etc to my forum for Members and have them be able to upload too.
Would this perhaps be suitable for this (some files can be v large e.g. 100Mb) ?
We've tried Downloads II but seem to have probs with it uploading the files.
Thanks
*bump*
Anyone ?
oz_moses
02-10-2008, 10:17 AM
UKDarkstar, I'm by no means an expert on this, however you could upload the 100Mb files via ftp then use LDM to provide a pointer to the ftp'd uplaod
skrazydogz
02-10-2008, 10:24 AM
I have a question. Has this Hack a function like "thread create Addon for DownloadsII" ?
thanks for response
UKDarkstar
02-10-2008, 06:20 PM
UKDarkstar, I'm by no means an expert on this, however you could upload the 100Mb files via ftp then use LDM to provide a pointer to the ftp'd uplaod
yeh, tried that with Downloads II and it didn't work. Also don't want to give members ftp access.
Hence asking about this :)
AndrewD
02-11-2008, 01:00 PM
I have a question. Has this Hack a function like "thread create Addon for DownloadsII" ?
thanks for response
I don't know what DownloadsII does.
But it sounds like the 'autocreate thread on new LDM entry' feature, which is available here.
AndrewD
02-11-2008, 01:03 PM
yeh, tried that with Downloads II and it didn't work. Also don't want to give members ftp access.
Hence asking about this :)
100mb uploads are problematic at all times. The standard upload feature built into LDM relies on http forms, which do not have error checking built in. If I can get it working reliably, the next release (for vb 3.6 and 3.7) will have a flash-based uploader, which I believe is more reliable and gives progress indication. But I need to get it working.
mri_mohammad
02-11-2008, 03:50 PM
hi this is great hack but some body do something like that
see screenshot attached
how i can do something like that?
Alfa1
02-11-2008, 04:26 PM
That indeed looks very nice. Especially the way to display part one and two.
versionist7
02-12-2008, 12:36 AM
Hi. Could use a little help here-
In Links and Downloads in Admin panel-
for: can_edit_link
Usergroups that can edit existing links. (Users can always edit their own links.)
Well, that's not true for my forum- Users cannot seem to delete their music tracks.
And if I go to:
can_edit_link
Usergroups that can edit links.
And, I enable Users- well, that's global, so anyone can delete anyone else's tracks. What do you think is wrong here?
Thanks,
Steve
dodjer42
02-18-2008, 08:37 AM
I've been using LDM for ages and love it. I just moved my forum from one site to another and some of the links come up with this error:
"Sorry - link is not currently available"
Any ideas?
AndrewD
02-18-2008, 09:55 AM
I've been using LDM for ages and love it. I just moved my forum from one site to another and some of the links come up with this error:
"Sorry - link is not currently available"
Any ideas?
Are the broken links pointing to documents on your own server or somewhere else? Check if the local documents use urls that are relative to the local server or full urls. Also check the admin settings local_file_root and local_file_root_prefix. If you are using a reasonably recent version, the easiest way to check these is with admin/categories/mass edit.
cillianok
02-18-2008, 12:04 PM
<i>
2. If your web site runs on Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), a key php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files on your server. LDM detects this problem and issues a fatal error if necessary. If this occurs, edit includes/local_links_init.php and define the constant LDM_DOCUMENT_ROOT. The code highlights where to make the edit. Alternatively, you can patch your web server to define DOCUMENT_ROOT correctly.
</i>
I'm getting this error:
=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================
I'm assuming this is the error you mentioned?
How/where do I "define the constant LDM_DOCUMENT_ROOT"
or How do I patch the server?
thanks..
AndrewD
02-18-2008, 12:30 PM
2. If your web site runs on Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), a key php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files on your server. LDM detects this problem and issues a fatal error if necessary. If this occurs, edit includes/local_links_init.php and define the constant LDM_DOCUMENT_ROOT. The code highlights where to make the edit. Alternatively, you can patch your web server to define DOCUMENT_ROOT correctly.
I'm getting this error:
=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================
I'm assuming this is the error you mentioned?
How/where do I "define the constant LDM_DOCUMENT_ROOT"
or How do I patch the server?
thanks..
The file local_links_init.php is contained in the includes/ subdirectory of the release zipfile and uploaded into the forums/includes/ subdirectory.
Open the file using a text editor and find these lines:
if ($_SERVER["DOCUMENT_ROOT"]) {
define('LDM_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);
}
else {
// If you are running the IIS web server in CGI mode on Windows or if otherwise warned, uncomment and edit this line
// define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
}
You need to replace the line
// define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
by the correct directory path to your web site, e.g.:
define('LDM_DOCUMENT_ROOT', '/data/www-root/mysite');
You can generally figure out what is your '/data/www-root/mysite' by going to your vbulletin/admincp/maintenance/php info page, and taking a look at the listing. I can't easily tell you what line to look for, as I do not have a windows-based IIS server available.
If you have problems with this, send me a PM with site details and a username/password for an account with admin privs on your board, and I'll take a look myself.
dodjer42
02-18-2008, 09:05 PM
Check if the local documents use urls that are relative to the local server or full urls. Also check the admin settings local_file_root and local_file_root_prefix.
Yes local_file_root_prefix was incorrect. However whenever I try to change it to the correct page, I hit the update button and I get an error message that:
<path>/local_links_admin.php
Is unavailable.
Thanks for the quick support btw :P
Should I try editing the init file manually?
AndrewD
02-19-2008, 02:59 AM
Yes local_file_root_prefix was incorrect. However whenever I try to change it to the correct page, I hit the update button and I get an error message that:
<path>/local_links_admin.php
Is unavailable.
Thanks for the quick support btw :P
Should I try editing the init file manually?
I don't really understand this, as you are already on the admin page? You haven't renamed the scripts, have you? The define statements at the start of the local_links_init.php file should point to the various mail ldm script files, in particule ADMIN_SCRIPT.
dodjer42
02-19-2008, 06:52 AM
I don't really understand this, as you are already on the admin page?
Under admin/categories/LDM settings I go to the local_file_root_prefix setting and input the full path on the new server. I then click the update button and I get page not found. So the change never gets made. Yes I am already on that page - so it does exist.
I havent renamed anything.
AndrewD
02-19-2008, 07:20 AM
Under admin/categories/LDM settings I go to the local_file_root_prefix setting and input the full path on the new server. I then click the update button and I get page not found. So the change never gets made. Yes I am already on that page - so it does exist.
I havent renamed anything.
Just to rule out the obvious, have you a) tried clearing the browser cache and b) tried a different browser?
cillianok
02-19-2008, 10:34 AM
The file local_links_init.php is contained in the includes/ subdirectory of the release zipfile and uploaded into the forums/includes/ subdirectory.
Open the file using a text editor and find these lines:
if ($_SERVER["DOCUMENT_ROOT"]) {
define('LDM_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);
}
else {
// If you are running the IIS web server in CGI mode on Windows or if otherwise warned, uncomment and edit this line
// define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
}
You need to replace the line
// define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
by the correct directory path to your web site, e.g.:
define('LDM_DOCUMENT_ROOT', '/data/www-root/mysite');
You can generally figure out what is your '/data/www-root/mysite' by going to your vbulletin/admincp/maintenance/php info page, and taking a look at the listing. I can't easily tell you what line to look for, as I do not have a windows-based IIS server available.
If you have problems with this, send me a PM with site details and a username/password for an account with admin privs on your board, and I'll take a look myself.
as in, it lists this there:
PATH_TRANSLATED:
D:\hshome\liamdunne1\jacksiesbnb.com\forums\adminc p\index.php
so...?:
D:\hshome\liamdunne1\jacksiesbnb.com\forums
I hate being a noob at things again......
:D
AndrewD
02-19-2008, 10:58 AM
as in, it lists this there:
PATH_TRANSLATED:
D:\hshome\liamdunne1\jacksiesbnb.com\forums\adminc p\index.php
so...?:
D:\hshome\liamdunne1\jacksiesbnb.com\forums
I hate being a noob at things again......
:D
D:\hshome\liamdunne1\jacksiesbnb.com should do it
cillianok
02-19-2008, 11:15 AM
good to go, thanks Andrew
dodjer42
02-19-2008, 08:31 PM
Yes tried with IE as well. Same result.
Very bizarre.
local_links_admin.php?set=settings <--- acess works fine
But when I hit update in IE or Opera
local_links_admin.php <--- page not found
::erm:
AndrewD
02-20-2008, 02:41 AM
Yes tried with IE as well. Same result.
Very bizarre.
local_links_admin.php?set=settings <--- acess works fine
But when I hit update in IE or Opera
local_links_admin.php <--- page not found
::erm:
Would you like me to take a look at your site? If so, I will need *full* access to your vb admincp. Send me a PM if so.
totoy4
02-20-2008, 01:48 PM
Hello everybody,
I've installed this great hack but I have a problem with downloading files.
I have set local_file_root to yes and local_file_root_prefix to a folder outside the location of my website Let's say for example: /home/mysite/mysite_upload
I have set recursively chmod 777 to this folder.
Then I have set upload_dir=/uploadsdir
So in theory, when I upload a file, for example story.doc in the site, I should have a new file on the server here (I have set force_redirect=1):
/home/mysite/mysite_upload/uploadsdir/1/871312035211987207.doc
And it's basically what happens. Everything is working fine for the upload. But when I try to download this file from the site, I get this error:
Not Found
The requested URL /uploadsdir/1/871312035211987207.doc was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have read this thread, I can't find the explanation for this problem. I have checked that seo_friendly is set to no. I have checked the read rights on uploadsdir, everything is looking fine.
Does someone have an idea on this ?
Cheers.
AndrewD
02-20-2008, 04:24 PM
Hello everybody,
I've installed this great hack but I have a problem with downloading files.
I have set local_file_root to yes and local_file_root_prefix to a folder outside the location of my website Let's say for example: /home/mysite/mysite_upload
I have set recursively chmod 777 to this folder.
Then I have set upload_dir=/uploadsdir
So in theory, when I upload a file, for example story.doc in the site, I should have a new file on the server here (I have set force_redirect=1):
/home/mysite/mysite_upload/uploadsdir/1/871312035211987207.doc
And it's basically what happens. Everything is working fine for the upload. But when I try to download this file from the site, I get this error:
Not Found
The requested URL /uploadsdir/1/871312035211987207.doc was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have read this thread, I can't find the explanation for this problem. I have checked that seo_friendly is set to no. I have checked the read rights on uploadsdir, everything is looking fine.
Does someone have an idea on this ?
Cheers.
The problem is (I think) that you have set force_redirect to 1, which is telling LDM to do a browser redirect to access the file. However, because you are storing the files *outside* the web server directory tree, this is impossible. You either need to set force_redirect to 0 or store the files within the web server tree by having local_file_root set to 'no'.
totoy4
02-21-2008, 07:57 AM
Thank you very much Andrew. That would explain. I'll try your second solution.
mri_mohammad
02-22-2008, 04:14 PM
hi this is great hack but some body do something like that
see screenshot attached
how i can do something like that?
thanks for answer lol
AndrewD
02-22-2008, 04:25 PM
thanks for answer lol
I did see your post, but it was not clear to me what you were asking. Are you wanting someone to design your website?
mri_mohammad
02-22-2008, 05:28 PM
no i don't want to someone design my website but i want to know how they do that?
and i have problem
you can see it at below picture
obmob
02-22-2008, 05:53 PM
hi this is great hack but some body do something like that
see screenshot attached
how i can do something like that?
thanks for answer lol
Well, you need to edit those linkbit templates, depending on the ones you have set on your configuration.
The first pic looks interesting :p
AndrewD
02-22-2008, 06:39 PM
no i don't want to someone design my website but i want to know how they do that?
and i have problem
you can see it at below picture
OK, it's about the extra urls associated with entries. I imagine that this is something that they have added themselves. But the new release of LDM, version 2.2.9, adds this facility as a standard feature. Possibly, you will staill have to do some template modifactions.
mri_mohammad
02-22-2008, 10:18 PM
ok thank you i will waiting for it but how about my problem can you help me?
AndrewD
02-23-2008, 01:58 AM
how about my problem can you help me?
Sorry, I missed that - was too quick with the reply.
Your attachment shows that broken thumbnail images associated with these entries. There are a number of possible reasons and I can't say which is correct without taking a look at your site. If you would like me to do this, send me a PM with site details and a username which has full access to the vbulletin admincp.
RikiB
02-23-2008, 05:04 AM
I noticed the byte limit but is there a way to limit how many times each file is downloaded? I just want users to be able to download certain files a maximum of 3 times. There are many files at different sizes so limited based off bytes is not the best option for me.
Thanks!!
AndrewD
02-23-2008, 05:16 AM
I noticed the byte limit but is there a way to limit how many times each file is downloaded? I just want users to be able to download certain files a maximum of 3 times. There are many files at different sizes so limited based off bytes is not the best option for me.
Thanks!!
This is easy to add as a plugin, althought it is not currently available. I will write it for you if you want. Let me know.
Only point to consider - users' hits are stored in the 'hits' table. Popular sites can attract many hits, so this table can become quite large. Consequently, LDM will normally 'prune' the table to get rid of old hits. It is not possible to keep track of individual hits that are older than the 'prune' period, so if you really want to limit your users to 3 hits per file *forever* then you have to keep the hits table populated forever.
RikiB
02-23-2008, 05:21 AM
Ahh I see your point.
My situation is I give a particular user 5 days to download particular files after they paid using the built in payment subscription. During that 5 days I would just like them to be able to download each file 3 times or so. After the 5 days the data can be pruned no problem.
If you could write this I would be very greatful, and thank you for such an amazing plugin and support! :)
AndrewD
02-24-2008, 02:39 AM
Ahh I see your point.
My situation is I give a particular user 5 days to download particular files after they paid using the built in payment subscription. During that 5 days I would just like them to be able to download each file 3 times or so. After the 5 days the data can be pruned no problem.
If you could write this I would be very greatful, and thank you for such an amazing plugin and support! :)
I realise that I am losing my mind. I have already written this facility for someone else and it is available as a vb plugin in the 'extras' directory -> release/extras/limit-useraccess/limitaccess-byhits-plugin.xml. Just install via the vb admincp/plugins page.
Once installed, you get another group of options on the ldm admin/settings and edit category/control pages. You can apply the limits to one or several usergroups, and you can apply different controls in different ldm categories.
Let me know if this serves your requirement.
RikiB
02-24-2008, 03:23 AM
nice! Looks like it will work perfectly, Thanks!
RikiB
02-24-2008, 04:10 AM
I am currently trying to use the JW flv player. Here are a few problems I am having, maybe someone can give me some tips:
1. Why are the settings not changeable through the admin control? I have to edit the .xml plugin to change the size and other settings?
2. The player seems to play mp3 files fine outside the webroot but is having troubles with flv files? ( i installed the mime plugin but it didnt help, I also edited to plugin to "stream")
3. Is there a way to point to a playlist xml instead of a single flv file?
4. Can I customize the jukebox page to only play the player and no jukebox icons or anything?
Thanks!
RikiB
02-24-2008, 04:27 AM
also:
5. When I enter the video player it resizes the browser window, can this be disabled.
6. Ive read the earlier posts about having the player play inside the links view instead of opening in another window, having this open in lightbox, or greybox, or even right there would be a great addition.
Thanks again.
AndrewD
02-24-2008, 04:41 AM
I am currently trying to use the JW flv player. Here are a few problems I am having, maybe someone can give me some tips:
1. Why are the settings not changeable through the admin control? I have to edit the .xml plugin to change the size and other settings?
2. The player seems to play mp3 files fine outside the webroot but is having troubles with flv files? ( i installed the mime plugin but it didnt help, I also edited to plugin to "stream")
3. Is there a way to point to a playlist xml instead of a single flv file?
4. Can I customize the jukebox page to only play the player and no jukebox icons or anything?
Thanks!
Point 1 - fixed in 2.2.9.
Point 2 - fixed in 2.2.9 (I hope) - I think I'd made a mistake with urlencoding
Point 3 - not currently - I think this may get done for the final release of 2.2.9
Point 4 - edit the links_playbit template
AndrewD
02-24-2008, 04:45 AM
also:
5. When I enter the video player it resizes the browser window, can this be disabled.
6. Ive read the earlier posts about having the player play inside the links view instead of opening in another window, having this open in lightbox, or greybox, or even right there would be a great addition.
Thanks again.
5 - edit the links_play_standalone template and kill the Javascript self.resizeTo
6 - I agree. there is an addon in the 2.2.9 extras directory (inline-JW-player) which puts the player in the linkbit. It would be much cooler to put videos in the lightbox, and I'll see if I can work out how.
RikiB
02-24-2008, 04:51 AM
Thank you very much!, let me know if you need a 2.29 beta tester :).
Ophelia
02-24-2008, 10:06 PM
We ran into an issue tonight. I have checked the permissions, and this gal should be able to upload, however, we get the following error
Username Rachel's Stuff not recognised
Her username is Rachel's Stuff (just like that).
She's in the correct usergroup, she has permissions, but it's deny her the right to upload. Any ideas (I am thinking it's because of her username).
Ophelia
02-24-2008, 11:18 PM
One more thing.
We now require them to comment before they can download, the problem with this is that once the first person makes a comment the (Rate/Comment) link changes to [1 comments/ratings]. There is no obvious visual indicator on how to comment. A button that would bring up the comment box, without forcing them to view the other comments would be wonderful, or even just a button that does.. just a button all together ;)
Christian96
02-25-2008, 12:42 PM
Hi AndrewD !
Congratulations for your LDM, works great !
I have two questions:
- How can i add the LDM seach to the navigation bar of the vBulletin main page ?
- I also want that new posts in the LDM are shown up in the New Posts of the vBulletin main page ?
Many thanks,
Christian
AndrewD
02-25-2008, 04:51 PM
We ran into an issue tonight. I have checked the permissions, and this gal should be able to upload, however, we get the following error
Her username is Rachel's Stuff (just like that).
She's in the correct usergroup, she has permissions, but it's deny her the right to upload. Any ideas (I am thinking it's because of her username).
Yes, this is a username problem.
I can't recall which version of LDM you are running - if it is 2.2.8, you can fix the problem (I hope) as follows:
edit includes/local_links_include.php
find function lookup_userids (around line 1843)
replace the following sequence of lines:
$ids = array();
foreach ($usernames as $k=>$v) {
$usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
$ids[$k] = 0;
}
$userlist = implode("' ,'", $usernames);
if (!trim($userlist)) return $ids;
$query = "
SELECT userid, username
FROM " . TABLE_PREFIX . "user AS user
WHERE username IN ('" . $userlist . "')
";
$asb = $vbulletin->db->query_read($query);
while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
if ($v==$rec['username']) {
$ids[$k] = $rec['userid'];
continue;
}
}
}
$vbulletin->db->free_result($asb);
return $ids;
by
$ids = array();
$safe_usernames = array();
foreach ($usernames as $k=>$v) {
$safe_usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
$ids[$k] = 0;
}
$safe_userlist = implode("' ,'", $safe_usernames);
if (!trim($safe_userlist)) return $ids;
$query = "
SELECT userid, username
FROM " . TABLE_PREFIX . "user AS user
WHERE username IN ('" . $safe_userlist . "')
";
$asb = $vbulletin->db->query_read($query);
while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
if ($v==$rec['username']) {
$ids[$k] = $rec['userid'];
continue;
}
}
}
$vbulletin->db->free_result($asb);
return $ids;
Basically, replace most of the references to usernames with safe_usernames.
This will be fixed in the next version of 2.2.9.
AndrewD
02-25-2008, 04:54 PM
One more thing.
We now require them to comment before they can download, the problem with this is that once the first person makes a comment the (Rate/Comment) link changes to [1 comments/ratings]. There is no obvious visual indicator on how to comment. A button that would bring up the comment box, without forcing them to view the other comments would be wonderful, or even just a button that does.. just a button all together ;)
Noted.
AndrewD
02-25-2008, 05:12 PM
I have two questions:
- How can i add the LDM seach to the navigation bar of the vBulletin main page ?
see https://vborg.vbsupport.ru/showpost.php?p=1429822
- I also want that new posts in the LDM are shown up in the New Posts of the vBulletin main page ?
see the extras directory in the release zip - patch-forumhome-newlinks should do the job
Ophelia
02-26-2008, 12:25 AM
That fixed it Andrew (the Rachel's Stuff). Thank you!
Ophelia
02-26-2008, 02:58 PM
Andrew,
Is there a quick and easy way to just turn off the ability to Rate?
We have one download area on our site that they have to comment before they download. We don't care about the rating (and it's actually causing more headache then good), so I would like to just be able to remove the ability to rate all together and just have the ability to comment. I noticed that the only way you can comment is to rate first (the submit button is grayed out until then).
indie2industry
02-27-2008, 08:00 PM
Is there a way to vocaltag the audio? I have a music forum with producers & engineers and it'll just be too easy to just record the audio from the media player.
AndrewD
02-28-2008, 03:48 AM
Is there a way to vocaltag the audio? I have a music forum with producers & engineers and it'll just be too easy to just record the audio from the media player.
I've no idea - can you point at somewhere which explains vocaltags? A google search took me to an Israeli company that works on animal health.
Christian96
02-28-2008, 05:59 AM
see https://vborg.vbsupport.ru/showpost.php?p=1429822
Hi AndrewD !
Many thanks for your help !
The search patch:
We have 2 forums, one test forum (v3.6.8 Patch Level 2) and our 'real' forum (v3.6.5). The search patch only work on the test forum, not on the real one. Do we have to update our version of the real forum ? Is there an other reason, why this wouldn't work ? How can I narrow down that ?
Thanks again,
Christian
AndrewD
02-28-2008, 06:41 AM
Hi AndrewD !
Many thanks for your help !
The search patch:
We have 2 forums, one test forum (v3.6.8 Patch Level 2) and our 'real' forum (v3.6.5). The search patch only work on the test forum, not on the real one. Do we have to update our version of the real forum ? Is there an other reason, why this wouldn't work ? How can I narrow down that ?
Thanks again,
Christian
I only wrote this patch recently. It uses the global_setup_complete hook in vbulletin and works the same way as the plugin that the vbulletin people use themselves for their blog software. I've no idea whether that hook was already available in vbulletin 3.6.5, or if the functions in that version of vbulletin are compatible.
RikiB
03-02-2008, 06:29 AM
Is there a way to hide categories based off usergroup (without creating a special forum).
This plugin blocks based off usergroup: blockaccess-byusergroup-plugin.xml
Would it be hard to make a similar plugin: hideaccess-byusergroup-plugin.xml
I may end up with many categories all set with special usergroup permissions, and hiding the categories would eliminate confusion.
Many thanks!
Riki
AndrewD
03-02-2008, 06:37 AM
Is there a way to hide categories based off usergroup (without creating a special forum).
This plugin blocks based off usergroup: blockaccess-byusergroup-plugin.xml
Would it be hard to make a similar plugin: hideaccess-byusergroup-plugin.xml
I may end up with many categories all set with special usergroup permissions, and hiding the categories would eliminate confusion.
Many thanks!
Riki
I wish that I had not used forum-based permissions inside LDM when I started with this hack (now 4 years ago!). I've gradually been adding LDM-based permissions, while trying to keep everything clean and consistent.
The LDM permission *can_view_category* is added in version 2.2.9, and will allow you to make individual categories/category trees visible or invisible to selected usergroups without having to use forum-based permissions.
In 2.2.8, you still have to use forum-based permissions.
RikiB
03-03-2008, 12:39 AM
wow, 4 years! That must be why it is so powerful, this is by far my favorite hack! Is 2.2.9 download-able anywhere, or is it still wip? I assume it is still wip, I will remain patient :)
Thanks again!
AndrewD
03-03-2008, 04:08 AM
wow, 4 years! That must be why it is so powerful, this is by far my favorite hack! Is 2.2.9 download-able anywhere, or is it still wip? I assume it is still wip, I will remain patient :)
Thanks again!
Thanks.
2.2.9 is available on the vb37 forum https://vborg.vbsupport.ru/showthread.php?t=166094 - there are in fact two versions there plus a patch to make 2.2.8 work with vb3.7. alpha 3 is the latest, and it works fine on both vb3.6 and 3.7 although there are two or three bugs (nothing fatal) which I have since found.
RikiB
03-03-2008, 05:17 AM
wow thanks, I had no idea! Ill jump on this now :)
glowinggal
03-05-2008, 05:02 PM
just wanted to post that I'm running 2.2.8 on VB 3.6.8 and works wonderful. I just peformed and upgrade to 2.2.8 from 2.2.7 flawlessly. We also used the VBA add on for our home page and that as well had no problems at all with the upgrading :)
I do, however have one question... how do I change the "layout" of the forum post. I'd like the image to come after the text that is placed in the initial post.
AndrewD
03-06-2008, 02:46 AM
just wanted to post that I'm running 2.2.8 on VB 3.6.8 and works wonderful. I just peformed and upgrade to 2.2.8 from 2.2.7 flawlessly. We also used the VBA add on for our home page and that as well had no problems at all with the upgrading :)
Very glad to hear this, thanks
I do, however have one question... how do I change the "layout" of the forum post. I'd like the image to come after the text that is placed in the initial post.
You are referring to the 'autothread' creation, where LDM entries are announced in a forum? The structure of these is defined in the VB phrases ldm_thread_create_title and ldm_thread_create_body. The code that actually constructs the announcement is function ldm_announce_in_forum() in the file includes/local_links_foruminterface.php.
Let me know if this is not what you meant.
glowinggal
03-06-2008, 10:41 AM
Yep, you got it - that was exactly it!
One more question... how do I change how the first page of the downloads appear (for example show the thumbnail previews instead of just the category listing)?
Here is our page:
http://www.scrapbook-bytes.com/chat/local_links.php
glowinggal
03-06-2008, 10:48 AM
hmmm ok; I see it here; but from what I'm seeing (and maybe I'm wrong) it's showing the image should be underneath all the link and description, etc. or what do I need to change?
($vbphrase['ldm_thread_create_body'], $linkname, $linkdesc, $gotolink, $master_title, $imglink
=============
I've attached an image of what it's posting to the forums as - which is SUCH A GREAT FEATURED BTW!!!! but we just want the image to post UNDER the text that is posted in teh description.
dutchjoomla
03-06-2008, 02:50 PM
Hello,
I've installed this mod but i got 1 problem.
I put the link in the "navbar" this works fine with al users but not by unregistred guests.
When a unregistred guest hit de link (http://forum.domain.ext/local_links.php) he got a VB Database error message.
Please can someone help me?
//edit
Problem solved with this fix: https://vborg.vbsupport.ru/showpost.php?p=1454579&postcount=165
AndrewD
03-06-2008, 06:10 PM
hmmm ok; I see it here; but from what I'm seeing (and maybe I'm wrong) it's showing the image should be underneath all the link and description, etc. or what do I need to change?
($vbphrase['ldm_thread_create_body'], $linkname, $linkdesc, $gotolink, $master_title, $imglink
=============
I've attached an image of what it's posting to the forums as - which is SUCH A GREAT FEATURED BTW!!!! but we just want the image to post UNDER the text that is posted in teh description.
Take a look at the phrase *ldm_thread_create_body* (vb/admincp/languages/search in phrases). It looks like this:
{5}
A new entry has been added to {4}
Description: {2}
To check it out, rate it or add comments, visit [ url={3}]{1}[/url]
The comments you make there will appear in the posts below.
The numbers inside the curly brackets are the parameters from the line of code you referred to:
1 = linkname
2 = link description
3 = link to jump into LDM
4 = name of your LDM database
5 = an image tag
So, if you want to put the image underneath the description, edit the phrase and move the {5} to the end rather than the beginning, e.g:
A new entry has been added to {4}
Description: {2}
To check it out, rate it or add comments, visit [ url={3}]{1}[/url]
The comments you make there will appear in the posts below.
{5}
glowinggal
03-06-2008, 09:52 PM
thanks so much! Another issue seems to have been reported to us today; while I can see the home page just fine other are reporting an issue (apparently with VBA module more than likey.
they get this:
>> Fatal error: Call to undefined function fetch_unallowed_forums()
>> in /home/scrapboo/public_html/chat/modules/ldm_new_thumbs.php on
>> line 15
Enclosed is a screenshot they also sent over as well.
AndrewD
03-07-2008, 02:57 AM
thanks so much! Another issue seems to have been reported to us today; while I can see the home page just fine other are reporting an issue (apparently with VBA module more than likey.
they get this:
>> Fatal error: Call to undefined function fetch_unallowed_forums()
>> in /home/scrapboo/public_html/chat/modules/ldm_new_thumbs.php on
>> line 15
Enclosed is a screenshot they also sent over as well.
I think you've got the 2.2.7 version of the vba module installed alongside the 2.2.8 version of LDM
glowinggal
03-07-2008, 01:36 PM
oh... i'll check into that shortly. I was sure I had overridden those files but will recheck and post back. though it's hard for me to tell since I wasn't the one with issues - lol.
glowinggal
03-08-2008, 12:45 PM
ok - i did double check and reupload ALL 2.2.8 file and what I'm finding is that the vba module is trying to find the ldm_ .php files that were there from 2.2.* bc when i remove those (bc they weren't in the 2.2.8 zip file) it creates a new error. But when I put them back then it goes back to the error originally noted and as you see it's looking for that .php file but there wasnt a new one included in the 2.2.8 zip file in this post :(
AndrewD
03-08-2008, 01:22 PM
ok - i did double check and reupload ALL 2.2.8 file and what I'm finding is that the vba module is trying to find the ldm_ .php files that were there from 2.2.* bc when i remove those (bc they weren't in the 2.2.8 zip file) it creates a new error. But when I put them back then it goes back to the error originally noted and as you see it's looking for that .php file but there wasnt a new one included in the 2.2.8 zip file in this post :(
I can't recall which verson of LDM, but I made a change in the way the vba modules are installed. Previously, this was done by adding the php files. Now it's done by uploading vba format .module files (admincp/vba/download upload modules). The .module files are in the release/vba_modules directories.
In fact, the php and template files are still there - you'll find them in the development subdirectory of the zip, so if you want to use that approach, it will probably still work.
glowinggal
03-08-2008, 01:35 PM
ok now i went into the modules setting and selected "ldm_new_thumbnail.php" from the drop down and still no go.
AndrewD
03-08-2008, 02:12 PM
ok now i went into the modules setting and selected "ldm_new_thumbnail.php" from the drop down and still no go.
We're talking at cross purposes, I think. Which version of vba are you using (3.x?). Have you completely reinstalled the LDM modules using the .module files, or are you trying to stick with your existing installation and change the php files?
Magnum164
03-09-2008, 06:16 PM
This looks like something I can use. I have vblinks but not completely satisfied with it. Is this integrated enough where I can list a set of liks/downloads in my forums listings?
In other words I want a links directory that lists new links in my forums pages.
And if it can, can I convert my vbalinks over:) Lots of post in this thread and haven't read thru them all yet. Do I have to uninstall vbalinks?
AndrewD
03-09-2008, 06:47 PM
This looks like something I can use. I have vblinks but not completely satisfied with it. Is this integrated enough where I can list a set of liks/downloads in my forums listings?
In other words I want a links directory that lists new links in my forums pages.
And if it can, can I convert my vbalinks over:) Lots of post in this thread and haven't read thru them all yet. Do I have to uninstall vbalinks?
There are several levels of (optional) integration with your forums.
- there is the facility to auto-announce new entries as threads in your forum
- there is an 'extra' that will include a list of new/hot/random entries in your forum displays
and so on, and so on.
You don't need to do anything with vblinks, but I have not spent time writing a converter
Magnum164
03-09-2008, 07:33 PM
Thanks for the quick reply. Looks like something I need to install on my test board and check out.
Thanks.
glowinggal
03-09-2008, 08:13 PM
We're talking at cross purposes, I think. Which version of vba are you using (3.x?). Have you completely reinstalled the LDM modules using the .module files, or are you trying to stick with your existing installation and change the php files?
ok - I didnt do that - will try that in just a bit :)
I want to upgrade from 2.2.7.
I'm worried about loosing template changes. Will upgrading overwrite all existing tables?
Thanks
AndrewD
03-10-2008, 04:31 AM
I want to upgrade from 2.2.7.
I'm worried about loosing template changes. Will upgrading overwrite all existing tables?
Thanks
Upgrading does not delete your template modifications. I can't recall if there are any important template changes between LDM 2.2.7 and 2.2.8 - if so and you have modified any of these, you may need to check on the vb admincp for suggested template reversions.
Always a good idea to take a backup before upgrades - you can also download your templates while you are at it.
Thanks. Upgraded.
I have a weird problem.
I have a web farm (2 IIS servers) and the rewrite to SEO links work fine on one sever and not on the other. I know there must be something differn't but what.
Here's he code on both servers:
'^local_links\.php$' => 'downloads.html',
'^local_links\.php?' => 'downloads.html',
'^downloads\.php$' => 'downloads.html',
'^downloads\.php?' => 'downloads.html',
On one server this works great on the other no matter what I click it keeps returning to downloads.html main page.
Any ideas?
Christian96
03-11-2008, 08:22 AM
I only wrote this patch recently. It uses the global_setup_complete hook in vbulletin and works the same way as the plugin that the vbulletin people use themselves for their blog software. I've no idea whether that hook was already available in vbulletin 3.6.5, or if the functions in that version of vbulletin are compatible.
Updating to 3.6.8L2 solved the problem with the search. So everything is working allright now.
Thanks !
Christian
Ophelia
03-11-2008, 03:42 PM
Andrew,
It seems that our hits are being deleted on their own. Is this something you added? We need to keep at least the last 30 days, but when I look at today, it's only keeping back to the 26th of February.
AndrewD
03-11-2008, 04:45 PM
Andrew,
It seems that our hits are being deleted on their own. Is this something you added? We need to keep at least the last 30 days, but when I look at today, it's only keeping back to the 26th of February.
Take a look on the ldm admin/settings. There's a prune_downloadtable setting which sets the number of dayshits are stored, and defaults to forever. If it's not workng correctly, let me know.
Magnum164
03-12-2008, 02:23 AM
There are several levels of (optional) integration with your forums.
- there is the facility to auto-announce new entries as threads in your forum
- there is an 'extra' that will include a list of new/hot/random entries in your forum displays
and so on, and so on.
You don't need to do anything with vblinks, but I have not spent time writing a converter
Rats.. Waiting for the 3.7 release:D
Deadly Assassin
03-16-2008, 01:37 PM
Installed this and it works a treat.
Thanks.
Just one thing. The posting block for putting the description in is overhanging the side of the board.
If possible, i would like to make the left hand table smaller, as there is loads of space.
I have had to disable my smilies to stop it overhanging.
apart from that, brilliant hack mate.
:up:
AndrewD
03-16-2008, 04:38 PM
Installed this and it works a treat.
Thanks.
Just one thing. The posting block for putting the description in is overhanging the side of the board.
If possible, i would like to make the left hand table smaller, as there is loads of space.
I have had to disable my smilies to stop it overhanging.
apart from that, brilliant hack mate.
:up:
Thanks.
The size of the description box is taken from the formwidth_usercp and messagebox_usercp style variables, which are set on vb/admin/styles/main style vars.
maroceve
03-16-2008, 09:51 PM
hmm ..tried to delete an entry : running latest versoin on 3.7.
Database error in vBulletin 3.7.0 Beta 6:
Invalid SQL:
SELECT entityid, entityvalue
FROM local_linksentities
WHERE entitytype IN (ENTITY_TYPE_UPLOAD,ENTITY_TYPE_MEDIAUPLOAD,ENTITY _TYPE_IMAGEUPLOAD)
AND linkid IN (590);
MySQL Error : Unknown column 'ENTITY_TYPE_UPLOAD' in 'where clause'
Error Number : 1054
Date : Sunday, March 16th 2008 @ 06:48:44 PM
Script : http://www.maroceve.com/forums/local_links_actions.php
Referrer : http://www.maroceve.com/forums/local_links.php?action=editlink&linkid=590&catid=12&page=1
IP Address : 196.217.203.29
Username : Ez
Classname : vb_database
MySQL Version : 4.1.22-standard
AndrewD
03-17-2008, 04:04 AM
hmm ..tried to delete an entry : running latest versoin on 3.7.
Database error in vBulletin 3.7.0 Beta 6:
Invalid SQL:
SELECT entityid, entityvalue
FROM local_linksentities
WHERE entitytype IN (ENTITY_TYPE_UPLOAD,ENTITY_TYPE_MEDIAUPLOAD,ENTITY _TYPE_IMAGEUPLOAD)
AND linkid IN (590);
MySQL Error : Unknown column 'ENTITY_TYPE_UPLOAD' in 'where clause'
Error Number : 1054
Date : Sunday, March 16th 2008 @ 06:48:44 PM
Script : http://www.maroceve.com/forums/local_links_actions.php
Referrer : http://www.maroceve.com/forums/local_links.php?action=editlink&linkid=590&catid=12&page=1
IP Address : 196.217.203.29
Username : Ez
Classname : vb_database
MySQL Version : 4.1.22-standard
Check that you have correctly uploaded all the files for the latest version, in particular *includes/local_links_init.php* file.
RebeccaK
03-20-2008, 08:36 PM
I think I got everything uploaded correctly but I can't find LDM in my control panel and the url does not work.
I also cannot tell how users locate from the site.
I have created a temp admin user access
I pm'd it to you.
could you please take a quick peek for me?
Thanks!
AndrewD
03-21-2008, 12:07 AM
I think I got everything uploaded correctly but I can't find LDM in my control panel and the url does not work.
I also cannot tell how users locate from the site.
I have created a temp admin user access
I pm'd it to you.
could you please take a quick peek for me?
Thanks!
I took a look - not sure what is your problem? See PM for full details of what I did.
RebeccaK
03-21-2008, 12:15 AM
I took a look - not sure what is your problem? See PM for full details of what I did.
You really are fabulous!
I see the tests uploads you placed!
I think we will love your program!
RebeccaK
03-21-2008, 01:47 AM
I would like to use the flash sites extra.
I cannot find a "getid3" file to upload the contents into. Can you tell me where that might be? Should I be creating one? If so where?
AndrewD
03-21-2008, 04:56 AM
I would like to use the flash sites extra.
I cannot find a "getid3" file to upload the contents into. Can you tell me where that might be? Should I be creating one? If so where?
You are correct - the standard vb installation does not have a getid3 directory. You need to create it as a subdirectory in your forums directory, and upload the contents (one file) of the extra flashsite/getid3 subdirectory into it. A couple of the other extras also place files into this directory.
murdoc
03-21-2008, 11:14 PM
hey guys i was wondering
is there anyway of setting up a category that required users to have a minimum post count ???
AndrewD
03-22-2008, 04:13 AM
hey guys i was wondering
is there anyway of setting up a category that required users to have a minimum post count ???
Yes, take a look in the extras directory in the release zip.
The subdirectory 'block-useraccess' contains a plugin that patches LDM to prevent access based on number of posts, and the limit_useraccess directory contains one that adjusts users' allowances.
When one of these plugins is installed (vb/admincp/products and plugins/import plugin), you get a new group of settings on LDM/admin/settings and on edit category/control settings. You use the values on the main ldm admin page to control overall limits and the values on the edit category page to control limits for a individual category (and its children).
murdoc
03-22-2008, 09:45 AM
Thanks works great
RebeccaK
03-23-2008, 05:57 AM
My library is coming together. All except my music files.
I am trying to upload MP3 and WMA files of less than 4 MB.
the MP3 won't load at all.
The WMA uploaded but not as a link---the name is there but you can't click on it.
Please advise.
AndrewD
03-23-2008, 06:02 AM
My library is coming together. All except my music files.
I am trying to upload MP3 and WMA files of less than 4 MB.
the MP3 won't load at all.
The WMA uploaded but not as a link---the name is there but you can't click on it.
Please advise.
Let me take a look - quickest way! If you can resend me a username/passwd.
RebeccaK
03-23-2008, 07:08 AM
Let me take a look - quickest way! If you can resend me a username/passwd.
will do!
AndrewD
03-23-2008, 07:54 AM
will do!
Well, I took a look and have uploaded an mp3 and wma file into your music category without problems. They both play fine with both Firefox and Internet Explrer.
The entry that is showing no link (I'm every woman) has no url or upload associated with it. You've set *allow_null_links * on the admin page, so if someone does an 'add entry' without specifying either a url or upload, LDM will accept it
Am I missing something - how were you trying to add the music files?
RebeccaK
03-23-2008, 02:52 PM
Well, I took a look and have uploaded an mp3 and wma file into your music category without problems. They both play fine with both Firefox and Internet Explrer.
The entry that is showing no link (I'm every woman) has no url or upload associated with it. You've set *allow_null_links * on the admin page, so if someone does an 'add entry' without specifying either a url or upload, LDM will accept it
Am I missing something - how were you trying to add the music files?
Thank you again for your assistance!
Both the MP3 and the wma I tried to upload are from by computer files. Is there some other way I should be doing this?
AndrewD
03-23-2008, 05:04 PM
Thank you again for your assistance!
Both the MP3 and the wma I tried to upload are from by computer files. Is there some other way I should be doing this?
You can provide access to the files either by using the 'upload' box or by entering the filename in the 'url' box. The second way will only work if the files are within the space allowed by your LDM settings *local_file_root* and *local_file_root_prefix*. On your site, these are set so that LDM expects local files to be in a directory that is within the web server space. This is explained in the online wiki. Send me a PM if its unclear what I'm saying.
bainsey
03-23-2008, 05:40 PM
Since installing this i keep getting an error message saying that i have made a duplicate post, along with all the other members, anyone know the error?
AndrewD
03-23-2008, 07:01 PM
Since installing this i keep getting an error message saying that i have made a duplicate post, along with all the other members, anyone know the error?
not seen this before - have you enabled the 'autocreate' feature in LDM? That's all I can think of.
0ptima
03-25-2008, 12:29 AM
One of my users, Starvin' Marvin, gets the following error when trying to insert a new link
Username Starvin' Marvin not recognised
The problem is due to the apostrophe ( ' ) in his name
AndrewD
03-25-2008, 04:59 AM
One of my users, Starvin' Marvin, gets the following error when trying to insert a new link
The problem is due to the apostrophe ( ' ) in his name
Indeed, your diagnosis is correct. There is a patch available in post 1450805
We would like to be able to accommodate Over the air downloads of jad and jar files. Both files would need to be uploaded and one be able to call the other when accessed for download. possible?
totoy4
03-25-2008, 09:22 PM
Good morning!
I've got a rather odd problem, and while it's more annoying than anything else, I'd like to clear it up if possible.
I'm new to vB so this may well be based on my own ignorance. I've got a vB 3.6.8.2 board up and running, and I've got LDM 2.2.8 installed and working fine. The issue is that each user, even after signing into vB, has to sign in AGAIN to access any category in LDM (the link to the category LIST seems to work fine). However, once this second sign-in is completed, the cookie(?) appears to be set and stable for that session, and possibly indefinitely.
My users aren't very technically savvy, so if possible I'd like to prevent the necessity for a double sign-in. If there is any specific information about my system you need, please let me know.
Thank you for your help!
I can also be reached directly at my work address, alan.martin (at) mightyautoparts.com
Alan Martin.
Hi Andrew,
Did you manage to solve this issue ? I am facing the same problem on my board, users have to log twice to connect to LDM.
Cheers.
tamborinegal
03-25-2008, 11:10 PM
Hi Andrew, I am using 2.2.7 and it has been working perfectly for quite a while now but today when I went to administer link, I got the error
Warning: Cannot use a scalar value as an array in /local_links_admin.php on line 343
Everything else seems to be working as normal. Do you have any idea why this would have started happening?
Thanks
Clancy
0ptima
03-25-2008, 11:30 PM
Indeed, your diagnosis is correct. There is a patch available in post 1450805
Thanks for providing the patch.
ilanyon
03-26-2008, 12:01 AM
Hi,
I have vbulletin 3.6.7 and Links/Download Manager v2.2.8 installed. I have the whole site running as a https server. I can download files in firefox with no problems but they will not download in Internet Explorer 7.
Any ideas as this is driving me crazy?
Regards,
Ian
AndrewD
03-26-2008, 04:19 AM
Hi Andrew, I am using 2.2.7 and it has been working perfectly for quite a while now but today when I went to administer link, I got the error
Warning: Cannot use a scalar value as an array in /local_links_admin.php on line 343
Everything else seems to be working as normal. Do you have any idea why this would have started happening?
Thanks
Clancy
It's a combination of reasons - partly sloppy coding by me. I think you must have installed another hack recently which is setting a variable ($forum) that LDM uses.
You can get rid of the warning as far as LDM is concerned by editing local_links_admin.php and adding the line
$forum = array();
immediately before line 343
But it would be worth find out out which hack has added this stray variable in case we're leaving problems for the future.
AndrewD
03-26-2008, 04:31 AM
Hi,
I have vbulletin 3.6.7 and Links/Download Manager v2.2.8 installed. I have the whole site running as a https server. I can download files in firefox with no problems but they will not download in Internet Explorer 7.
Any ideas as this is driving me crazy?
Regards,
Ian
Not sure - I've just tried this for myself by setting my own site as an https server, and downloads work fine with both IE and firefox.
Any further information you can offer? Have you tested what happens if you make the site available as http and access that way, i.e. is this a problem with https or with IE?
ilanyon
03-26-2008, 06:09 AM
Not sure - I've just tried this for myself by setting my own site as an https server, and downloads work fine with both IE and firefox.
Any further information you can offer? Have you tested what happens if you make the site available as http and access that way, i.e. is this a problem with https or with IE?
Hi,
If i copy the url out and make it a http://...... line it works fine. The rest of the site works fine under http and https, it is just the links and download manager that has the problem.
Ian
AndrewD
03-26-2008, 06:29 AM
Hi,
If i copy the url out and make it a http://...... line it works fine. The rest of the site works fine under http and https, it is just the links and download manager that has the problem.
Ian
May I take a look at your site? Send me a PM with account details if so.
ilanyon
03-26-2008, 09:30 AM
May I take a look at your site? Send me a PM with account details if so.
thanks Andrew,
site www.aipol.org pm sent with account details.
Cheers,
Ian
AndrewD
03-26-2008, 09:46 AM
thanks Andrew,
site www.aipol.org pm sent with account details.
Cheers,
Ian
Try the following:
Internet Explorer/Tools/Internet Options/Advanced/
Scroll down to Security
Set the option 'Do not save encrypted files to disk'
That worked for me.
Try a Google search for "cannot download file could not be written cache" - this seems a widespread problem when downloading pdf files.
We would like to be able to accommodate Over the air downloads via mobileof jad and jar files. Both files would need to be uploaded and one be able to call the other when accessed for download. possible?
AndrewD
03-26-2008, 04:09 PM
We would like to be able to accommodate Over the air downloads via mobileof jad and jar files. Both files would need to be uploaded and one be able to call the other when accessed for download. possible?
Saw this post yesterday :) Not sure I understand the consequences which is why I had not answered yet :)
tamborinegal
03-27-2008, 09:55 AM
It's a combination of reasons - partly sloppy coding by me. I think you must have installed another hack recently which is setting a variable ($forum) that LDM uses.
You can get rid of the warning as far as LDM is concerned by editing local_links_admin.php and adding the line
$forum = array();
immediately before line 343
But it would be worth find out out which hack has added this stray variable in case we're leaving problems for the future.
Thanks Andrew,
I did that and then it threw up the same error at line 689. I did the same for that line and that fixed it. I also had the problem when clicking the Moderate link. I fixed it in two places that needed changing and all is well now.
I think I have only installed vbispy recently and that's not a product. so I don't think that would have caused the problem. If I remember installing anything else I'll let you know.
Thanks again,
Clancy
Ophelia
03-28-2008, 03:34 PM
Hi Andrew.
We would like to add to Joomla the function of showing the most recently added thing to a category.
I have a module installed now that allows you to just copy/paste PHP, HTML, JS, CSS into it and it will show the code in that module. Is there specific code that I can use that will grab either the text link or the image from the most recently added item to a category?
Thank you Andrew!
CamJM
03-31-2008, 05:49 AM
Just wondering if the vbAdvanced modules work on vbA Dynamics the same way they do on the CMPS.
josiespencer
03-31-2008, 05:49 PM
Heya, Andrew! I haven't been here to yank your chain for awhile.
I have a problem with your amazing mod - some of my users seem to be able to download more than their daily allowance. Here is an example:
http://uber-goober.com/myPictures/Downloads.png
http://uber-goober.com/myPictures/Downloads2.png
http://uber-goober.com/myPictures/Downloads3.png
Any clue?
AndrewD
04-01-2008, 02:28 AM
Heya, Andrew! I haven't been here to yank your chain for awhile.
I have a problem with your amazing mod - some of my users seem to be able to download more than their daily allowance. Here is an example:
Any clue?
Not off the top of my head. Have you taken a look at what the LDM admin thinks they are downloading? - ldm/admin/hits and then use the menus and links to drill down and see what the user is recorded as accessing. Have you also tried creating a new user in this group and seeing what happens when you try to go over the allowance limit?
It may be a real problem with accesses or it may just be something strange in the presentation of the hits
**Edited**
After looking at the code, it's possible that the report given on the LDM/admin/bandwidth page is not accurate. Not all 'hits' count against allowances - only those which actually require LDM to take control of the file transfer. So accesses to offsite links are not actually 'countable' against the allowances. I think the allowance rules are working correctly, but am ready to be proved wrong.
Ophelia
04-03-2008, 02:20 AM
Hi Andrew :) I posted about wanting the download manager to show up in Joomla. Is this possible? Hope you're have a great day!!
AndrewD
04-03-2008, 04:05 AM
Hi Andrew :) I posted about wanting the download manager to show up in Joomla. Is this possible? Hope you're have a great day!!
Sorry - haven't had a chance to think about this - will try to give you an answer at the weekend.
gibigbig
04-03-2008, 07:17 AM
great modification, works in this forum (http://animedreamz.net/forums) perfectly!
everything was as explained in this post, no hacks involved and works in vB 3.6.8 Level Patch 2.
the admin panel was a bit confusing though :P
AndrewD
04-07-2008, 04:25 AM
Hi Andrew.
We would like to add to Joomla the function of showing the most recently added thing to a category.
I have a module installed now that allows you to just copy/paste PHP, HTML, JS, CSS into it and it will show the code in that module. Is there specific code that I can use that will grab either the text link or the image from the most recently added item to a category?
Thank you Andrew!
If I understand correctly, a php file in your main forums directory (let's call it ldmgrabber.php) with this content:
<?php
require_once('./global.php');
require_once(DIR . '/includes/local_links_init.php');
require_once(DIR . '/includes/local_links_include.php');
require_once(DIR . '/includes/local_links_vbafunc.php');
$pagenumber = max(intval($_REQUEST['ldmnew']), 1);
$filter = array("link.linkmoderate = 0");
$order = "linkdate DESC ";
$show_catname = 1;
list ($links, $nhits, $q) =
ldm_vba_links($filter, 0, $order, "adv_portal_custom_ldm_new_one",
"",
10, // number of entries to show
1, // entries per line
0,
1);
$collapseobj_custom_ldm_hot = $vbcollapse['collapseobj_custom_ldm_new'];
$collapseimg_custom_ldm_hot = $vbcollapse['collapseimg_custom_ldm_new'];
eval('$content .= "' . fetch_template('adv_portal_custom_ldm_new') . '";');
unset($filter, $order, $links, $nhits, $q, $collapseobj_custom_ldm_hot, $collapseimg_custom_ldm_hot);
echo "<table>$content</table>";
?>
then do a call to yourforum/ldmgrabber.php
This will deliver a table set out rather like the block in vbadvanced (actually, this is pretty well the code for the vbadvanced module).
jamesf4218
04-07-2008, 07:18 AM
Hello. I have installed your product which works fine.
One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.
I installed this (https://vborg.vbsupport.ru/showthread.php?t=150863) to make links automatically turn into embedded videos but for some reason they don't when used with your system.
Any idea why?
Thanks
AndrewD
04-07-2008, 04:33 PM
Hello. I have installed your product which works fine.
One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.
I installed this (https://vborg.vbsupport.ru/showthread.php?t=150863) to make links automatically turn into embedded videos but for some reason they don't when used with your system.
Any idea why?
Thanks
I haven't tried that addon, but I imagine that it isn't set up to work together with LDM. I'll take a look and see if I can work out why.
There is a similar flash_sites 'extra' for LDM in the release
AndrewD
04-07-2008, 06:23 PM
Hello. I have installed your product which works fine.
One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.
I installed this (https://vborg.vbsupport.ru/showthread.php?t=150863) to make links automatically turn into embedded videos but for some reason they don't when used with your system.
Any idea why?
Thanks
I've checked - AME works in part with LDM. As far as I can see, the hack has two parts to it: a) during the creation of a post, it looks for url bbcodes that match one of its video sites and it replaces these with ame bbcodes; b) during display of the posts (or anything else where bbcodes are allowed), it processes these ame bbcodes to create the embedded the video player.
The second part works fine inside LDM - i.e. if you put a sequence such as
http://www.youtube.com/watch?v=yLmvsqL1f-E
in the description in LDM, it will convert just fine into a video.
However, if you put the same thing in url tags, it won't carry out the first stage of the processing because AME does not include the necessary hooks.
djdixie
04-08-2008, 02:20 AM
i can some1 please set up this modd for me, i cant pay but i can give you free hosting with free shoutcast
Ophelia
04-10-2008, 03:34 PM
Hi Andrew,
I'm having some issues with the Joomla code.
I took what you gave above and placed into a file called ldmgrabber.php
I uploaded it into my Forum directory.
I then created a test.php file with this code:
<?php
?>
<HTML>
<HEAD>
</HEAD>
<BODY>
<TD>
<TABLE>
<TR>
<TD>
<p align="center"><?php include ('forum/ldmgrabber.php'); ?><br><font size="1"><b>newest uploaded layout</b></font>
</TD>
</body>
</HTML>
I get this error :(
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home//public_html/forum/ldmgrabber.php on line 3
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/forum/ldmgrabber.php on line 3
What am I doing wrong :(
AndrewD
04-10-2008, 07:53 PM
Hi Andrew,
I'm having some issues with the Joomla code.
I took what you gave above and placed into a file called ldmgrabber.php
I uploaded it into my Forum directory.
I then created a test.php file with this code:
<?php
?>
<HTML>
<HEAD>
</HEAD>
<BODY>
<TD>
<TABLE>
<TR>
<TD>
<p align="center"><?php include ('forum/ldmgrabber.php'); ?><br><font size="1"><b>newest uploaded layout</b></font>
</TD>
</body>
</HTML>
I get this error :(
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home//public_html/forum/ldmgrabber.php on line 3
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/forum/ldmgrabber.php on line 3
What am I doing wrong :(
The error is saying that the code is being executed from another directory than forum. You probably need a line of code to change into the forums directory, but without a Joomla installation, I'm not in a position to help.
Ophelia
04-10-2008, 08:06 PM
I couldn't get this working in Joomla so I tried to do it like we do with Photopost, and it's just on a .php page outside of everything.
Here is the page (http://www.gottapixel.net/index_0408.php) that is calling ldmgrabber.php
So right now, Joomla isn't even a variable.
To make it clear where everything is:
ldmgrabber.php is in /forum
the index.php is in the root directory.
I can move either anywhere it needs to go.
AndrewD
04-11-2008, 03:25 AM
I couldn't get this working in Joomla so I tried to do it like we do with Photopost, and it's just on a .php page outside of everything.
Here is the page (http://www.gottapixel.net/index_0408.php) that is calling ldmgrabber.php
So right now, Joomla isn't even a variable.
To make it clear where everything is:
ldmgrabber.php is in /forum
the index.php is in the root directory.
I can move either anywhere it needs to go.
To be honest, there's too many variables here that are outside my control. I also realise that I've given you 2.2.9 code and you're running version 2.2.8. If you provide me with admin + ftp access to your site, I'll try to get this working and then we can see if it's what you actually wanted. But I am away this weekend and possibly out of contact next week.
idared
04-19-2008, 09:48 PM
Hello,
i just installed and set up this great plugin, it fits my needs perfectly. Thank you for the hard work you put into this!
I have two questions, tried searching the thread but couldn't find the right answers:
1. I would like to show the thumbnails of the latest x entries (which in my setup would be either uploaded image files or video links) on the local_links homepage (and possibly the category pages). Can you give me the template snippet to add to the templates?
2. I set up my forumhome so that the local links main page and categories are subforums (act as forum set to no, with links to the relevant local links page). On the categories that don't have subcategories the latest entry is shown in "latest post" column on forumhome, but not on the categories that have subcategories (it shows no latest post because an upload into a subcat. doesn't trigger it). Is there a solution to this? (I saw that this has been mentioned here before but couldn't find an actual solution.)
Thank you for your help!
Edited to clarify the first question.
AndrewD
04-20-2008, 05:12 AM
Hello,
i just installed and set up this great plugin, it fits my needs perfectly. Thank you for the hard work you put into this!
I have two questions, tried searching the thread but couldn't find the right answers:
1. I would like to show the thumbnails of the latest x entries (which in my setup would be either uploaded image files or video links) on the local_links homepage (and possibly the category pages). Can you give me the template snippet to add to the templates?
2. I set up my forumhome so that the local links main page and categories are subforums (act as forum set to no, with links to the relevant local links page). On the categories that don't have subcategories the latest entry is shown in "latest post" column on forumhome, but not on the categories that have subcategories (it shows no latest post because an upload into a subcat. doesn't trigger it). Is there a solution to this? (I saw that this has been mentioned here before but couldn't find an actual solution.)
Thank you for your help!
Edited to clarify the first question.
Thanks
1) There is an addon in the LDM extras directory (filmstrip), which places a set of thumbnails on the page. In version 2.2.8, it only works within a category, highlighting entries in the current category. In version 2.2.9, I have extended this plugin to do what you are wanting for the base category as well. You control what it does using new settings added to to the LDM admin/settings page.
2) Just to be clear what you mean - do you want the forumhome display to flag the latest entry in any of the category's sub-categories? I think this can be achieved - I will have to take a look at the code.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.