![]() |
Thanks Andrew works great mate.
|
sorry I miss spelled my question I was mean this can DownloadsII and Links and downloads co-exists together?
|
Quote:
|
Sorry for being a pain but how can I change messages users get when they cant access downloads etc so I can make the error message more user friendly.
Cheers |
Quote:
If that doesn't give you the results you want, get back to me. |
Permissions, Andrew... is there a better way to control who see's what content?
Currently if I choose not to allow a usergroup to be able to view the content of a link, they get prompted with a Registration window. But I really only wanted that for users that aren't logged in. I would like those that can click on a link, but are logged in, yet are not allowed to view the contents to get a custome per category message. Also, a category password option would rock. |
As you mentioned, this is the way the links are parsed in the final 2.2.6 release.
Quote:
Is it possible to add them somehow into the mime-types in the local_links.php? |
Quote:
When force_redirect is set to 0, LDM behaves as follows: - if the file type exists in the VBulletin attachment table, then the mimetype data set up in that table is used. - otherwise, LDM issues a simple browser redirect. So you should create new entries in VBulletin attachments table for each of the filetypes you want to deal with. The .htaccess mimetype data only comes into play when this is not available. Now, there is a another problem with Firefox: When you do a "right click/save link as", Firefox does not 'pre-fetch' any information before processing the 'save as' command. As a result, you end up downloading a "scriptname.php" file containing html, rather than (e.g.) the correctly named mp3 file. This has been long discussed on the Firefox development forum - it's a deliberate design choice on their part to speed up processing. It's one area where IE does (in my opinion) a better job. Am I missing something? |
Quote:
I'll have to think about these suggestions - I agree with you, but need to see how to make this work without breaking something else. |
Ok, thanks for responding. I'm going to post up instructions a little later on how to do the whole YouTube links integration.
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=132702" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=132702</a>
|
Quote:
I'll post a video on youtube showing my attempts to code LDM, then we maybe can watch each other watching each other? |
Now that's something I'd like to see :)
|
I installed Cool really cool I have few questions might sound dumb to you:P.
I have installed it now i want to change / rename local_links, how to go about it? Should I just update table names and remove prefix from files and add something what I'm looking for?? Juke box does not play mid files?? I have added Content-type: audio/mid mimetype for it. While playing in jukes box, is there a button to download the currently playing file?? Thank you great hack. |
|
Yep, I renamed files. need to find solution for other ? :) Thanks
|
Hey is there a way to get the new links showing in vbadvanced? With a restriction on how many new links show?
Also with the extras I added the show new links and hot links in forumhome is there a way to limit how many files are shown? Thanks awesome hack, just seen the youtube addon looks great this hack just keeps getting better and better. |
Quote:
b) Go to LDM/admin/settings/media file settings and add mid to the list of filetypes to be played by your preferred player. Quote:
|
Quote:
Quote:
|
Its not fixed I wanted to use some other template apart from modren? which has a save link? is it possible?
and which template jukebox uses?? How do I modify this?? Quote:
|
Quote:
|
I think that depends on the length of your name for the link/download .. if it's a really long word/filename then it will break the formatting of your column ..
Hard to know without looking at your site .. :) |
Quote:
If you want to see what someone else has achieved with a vba/LDM integration, take a look at www.versionist.com Six of the vba modules are pointing to LDM. These are all in release/forums/modules and release/extras/versionist |
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
Quote:
Also Is there a option to have sis files? i.e mobile phone themes? I have this in attachment table as Content-type: application/vnd.symbian.install, and add a screen shot for the themes? Thanks for the great Addon :) |
<a href="http://img362.imageshack.us/img362/4146/errortj8.jpg" target="_blank">http://img362.imageshack.us/img362/4146/errortj8.jpg</a>
Ok this is what happens when I use the followign module Main Options: Module Title: New Downloads Column: left Display Order: 1 Active: Yes Update All Pages: Yes PHP File Module Options: File to Include: ldm_new.php Identifier: ldm_new Templates Used:adv_portal_custom_ldm_new, links_vbalinks Module Shell Template Options: Use Module Shell Template: No |
Looks like ive fixed it you need to have Use Module Shell Template set to yes. Not no as it says in the link.
Thanks |
Forgive me for being very dumbfounded from this add-on ...Ive installed > i see it in Admin panel > but where do i see it in the forum? what is the main page link? maybe i missed something. Kindly awaiting replies.
|
Quote:
www.yoursite.com/local_links.php or www.yoursite.com/forums/local_links.php .. depending on your setup .. |
Ok I have the module working beautifully. At the moment the module is showing newest links. Is there a way to make it so that certain usergroups cant see links that are in restricted categories? As I have retricted access to 18+ category but the links show in the module to anyone.
Also Is it possible to show the latest links for a specified category? I want to make several newest link modules example: Latest Manga, Latest Music, Latest AMV Thanks |
Quote:
|
Quote:
- select one of your forums which has the viewing permissions that you want to apply to the category and its entries - edit the category, and find the box 'Parent Forum'. select the chosen forum and tick the box "Also make this the parent of..." You can also set this up in two ways: - If the LDM/admin/setting can_see_protected_links_on_portal is 'on', unauthorised people can see protected entries, but cannot visit them. - If off, then unauthorised people never get to see the protected entries. Quote:
$filter = array("link.linkmoderate = 0"); and change it, e.g., as follows: $filter = array("link.linkmoderate = 0", "ltoc.catid = 5"); to restrict the module to new entries in category with catid 5. or $filter = array("link.linkmoderate = 0", "ltoc.catid IN (5,6,7)"); to restrict to category ids 5,6,7 |
Quote:
|
Hey Andrew it does work but not in the way I want.
I want it so can create a module called Latest Manga which will show all the latest links for category id 1, Then also create a module called Latest AMV that will show all the latest links for category id 112. What the code youve given me is doing is putting it all in one module. |
Probably because you're using the array version, make another plugin, but use the single version for each and set one for cat 1 and one for cat 112.
|
Quote:
Saying that, I started using the module a few versions back so while I've updated the .php file I've not touched the module within the CMPS admin area .. which might make a difference? Zowners - do you have "adv_portal_custom_ldm_new, links_vbalinks" within the "Templates Used" box within the module edit screen? |
Quote:
Now if the files were renamed in a way that they do not have any spaces, nor in their parent directories, will that fix it? |
Quote:
|
Quote:
|
All times are GMT. The time now is 11:39 AM. |
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:
|