vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

josiespencer 06-14-2008 07:58 PM

Quote:

Originally Posted by AndrewD (Post 1549373)
I've made a number of bug fixes and added some requested minor extensions, but also made a fairly significant change to the logic for the 'accept rules' form, so would appreciate some tests before replacing the official release.

'Accept Site Terms'
Modified logic to make it more rational for direct links to entries

Extras
Added 'hide-magnifier' extra to remove magnifier icon when image is smaller than icon size
Added 'tab-ldm-search' code for Ajax tabs

vba modules
Added 'show random entries' module
Extended 'list categories' module with configuration params

Styles
Form buttons consistently use 'button' class

Bug fixes
Fixed bug in entrybits code miscounting entries with different display_orders
Fixed bug in local_stream.php + WMP which logged out users who had not checked 'remember me' box
Fixed bug blocking downloads when force_redirect=1/local_file_root=0
Cached templates properly when moderating

Translations
Included complete Chinese and Spanish translations (thanks folks)

Thanks Andrew. I have PMed you the information. I tried setting up a test case for a category called HCC and attached a file to it called PLM150-EngineeringChangeAndConfigurationManagement. I attached the HCC category to a forums that is restricted to only a specific usergroup. But my test user could still see all the files in both categories.

animehawk 06-15-2008 01:03 AM

Thanks much Andrew. that update seems to have fixed the problem I was having.

On another note, I have file type MKV setup as Content-type: application/octet-stream in the attachments manager, same as AVI. When I click to download an avi file a download prompt comes up, not so with the mkv file type. MKV files just open another windows filled with junk.

So, I changed the category's that have mkv files in them, to force-redirect=0. That seems to force the download prompt.

Is there anyway to change that? I thought that content type should have fixed that.

AndrewD 06-15-2008 05:40 AM

Quote:

Originally Posted by animehawk (Post 1549560)
Thanks much Andrew. that update seems to have fixed the problem I was having.

good!

Quote:

Originally Posted by animehawk (Post 1549560)
On another note, I have file type MKV setup as Content-type: application/octet-stream in the attachments manager, same as AVI. When I click to download an avi file a download prompt comes up, not so with the mkv file type. MKV files just open another windows filled with junk.

So, I changed the category's that have mkv files in them, to force-redirect=0. That seems to force the download prompt.

Is there anyway to change that? I thought that content type should have fixed that.

If force_redirect is set to 1 or 2, then the vbulletin mimetype data is not used at all. LDM simply tells the browser to grab the file. How the file is handled depends on the browser configuration and any browser plugins. I imagine on your system, mkv's are being recognised by a browser plugin. I ran a test on my PC (where I have not installed tools to view mkvs) - both firefox and IE show a run/save as dialogue.

With force_redirect=0, application/force-download is a good content-type to force the open/save dialogue

animehawk 06-15-2008 11:40 AM

Ahh, Ok. I t understand now. thanks much!

Darkstarproject 06-15-2008 05:13 PM

Just have 1 question,
I uploaded some photo's and it didnt do 2 things.
1 - create a thumbnail of the image
2 - post a new thread in the section i had defined. The user in question has rights to add threads to that section of the forum. Any idea's why it wouldnt create thumbnails?

I do have the thumbnail directory created, it is writeable and it's configured within LDM.

AndrewD 06-16-2008 06:40 AM

Quote:

Originally Posted by Darkstarproject (Post 1550143)
Just have 1 question,
I uploaded some photo's and it didnt do 2 things.
1 - create a thumbnail of the image
Any idea's why it wouldnt create thumbnails?

I do have the thumbnail directory created, it is writeable and it's configured within LDM

Check on ldm/admin/settings that you have given a non-zero size for the thumbnail size

Quote:

Originally Posted by Darkstarproject (Post 1550143)
2 - post a new thread in the section i had defined. The user in question has rights to add threads to that section of the forum..

Are thread announcements working at all or is the problem just with the photos? And, when submitting the photo, do you get a message saying that it could not create the thread or do you just get an 'accepted' message?

Darkstarproject 06-17-2008 12:12 AM

Answer to 1 - I assume I set it at - link_imagesize ? If so, I did not have a value set, but I set a value now.

2 - Thread annoucements are working fine, when I uploaded the photo, it created a thread. when the user uploaded a photo, it did not create the thread.

obmob 06-17-2008 12:40 AM

Hello Andrew, as always, it is great to be part of this mod, there is no other around i enjoy the most.

It is exiting to see the developments... you can't have enough LDM! :3

I was wondering about a random module in vbA, thanks!


OK... now my add to the wishlist XD

One of my forums have asian characters or kanji in the files description, when i export and reimported the LDM class, every kanji was a "?"

Is there a way to allow strange characters be exported and reimported, of course, just in case :p

AndrewD 06-17-2008 04:11 AM

Quote:

Originally Posted by obmob (Post 1551231)
Hello Andrew, as always, it is great to be part of this mod, there is no other around i enjoy the most.

It is exiting to see the developments... you can't have enough LDM! :3

I was wondering about a random module in vbA, thanks!

OK, I hope that it works as you wanted


Quote:

Originally Posted by obmob (Post 1551231)
One of my forums have asian characters or kanji in the files description, when i export and reimported the LDM class, every kanji was a "?"

Is there a way to allow strange characters be exported and reimported, of course, just in case :p

You mean with the LDM export/import - I will check - this will be a character set handling problem.

RikiB 06-17-2008 04:17 AM

Quote:

Originally Posted by AndrewD (Post 1543732)
I can't see how that could work reliably - domestic users tend to have dynamic IP addresses so are likely to show up on different addresses in any case.

Perhaps there could be a way to display a warning that the admin can view when someone downloads with multiple IPs.
I can then quickly check the IPs geolocaion and make a judgment. If I check the IPs and one is from UK while the other is from Austrailia, then I know that the user is sharing their user info, or someone stole it.

What would be even better is if ldlm could figure out the aprox location of the IP, but that is wishful thinking.

Just wondering, this isnt a huge deal but I have caught a few people abusing the system.

Riki


All times are GMT. The time now is 04:23 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
  • Page Generation 0.02639 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete