![]() |
Quote:
Thank you AndrewD you are the best!!! |
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. |
Cheers I was looking for a solution to this too!
|
Quote:
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: Code:
<if condition="$includeinmain[precat]"> They appear in the logical order through the template. |
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: PHP Code:
PHP Code:
PHP Code:
PHP Code:
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.. |
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. |
Quote:
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? |
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! |
Quote:
|
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
|
Quote:
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. |
Quote:
|
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? |
Quote:
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. |
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 |
|
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!! |
Quote:
|
Quote:
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. |
Quote:
|
Quote:
Exactly. Its working! |
Quote:
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 |
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 |
Quote:
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. |
I tried to import ldm_cats.module
Quote:
|
Quote:
Happy to take a look at your board if you send me a PM with details (url + an admin account) |
Sorry I made wrong quote...
Quote:
Quote:
|
Quote:
Which version of vbadvanced are you using? |
Quote:
This usually happens when the site's server is configured to prevent uploads. I can't be more helpful without seeing the exact information. |
Quote:
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. |
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. |
Quote:
|
Quote:
|
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, |
Quote:
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... |
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! |
Quote:
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* |
Quote:
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. |
Thanks Andrew!
Will take a look to the new thread! :D |
Hi,
I moved my site to a Dedicated Server, but now I get an error by clicking on Links and Downloads Manager. Quote:
Thx Benjamin Kramer |
All times are GMT. The time now is 06:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|