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)

Simon Lloyd 08-16-2008 07:06 AM

Andrew, thanks for your help last night!, can i ask is it possible (as mostly i intend my downloads to be text files) to have an excerpt or uncopiable show (including scrollbars) of the text in the item window? just so the folk can see what they are getting but can't copy it until they are in the download usergroup?

yahoooh 08-16-2008 08:08 AM

also caotcha image for unregistered users when they download i do not wanna prevent the download for them but i need captcha iamges which is perfect than any other option
and need this only for download not for play media file

thank u very much

vbboarder 08-16-2008 09:39 PM

Quote:

Originally Posted by AndrewD (Post 1599135)
I can't reproduce this bug - my tests replace the upload and update the allowances - can you give me more details

I'm using VB 3.7.2, LDM 2.2.9-post1, Firefox 2, Windows XP (SP2). My upload folder is located within the public htdocs folder. I am testing with administrator privileges in VB/ LDM. I am using LDM's extra swfuploader plugin.

When editing an entry, the user is able to upload another file (the file is created in the upload directory), but the new file does not show (file is not linked to in the entry) and his upload allowance is not updated. For example, I had an entry with an uploaded file called first.mp3. I edited that entry to change the uploaded file to second.mp3. The new file was created, but after saving the edit, the new mp3 did not play instead the old mp3 still played since it wasn't deleted and the user upload allowance was not updated.

Also, if the file extension of the new file is different from the old file, the "Rename" field will not accept a name with the new file extension since LDM still has the old file extension in the database.

Suggestion: If you can't fix this problem, can you PLEASE provide an option to disable changing the file upload when editing an entry? The user is still allowed to delete the file upload and edit the entry, just don't allow the user to edit the file upload. PLEASE provide this option in your next update if you can't fix this problem.

Note: found partial solution to this problem - read my next post.

vbboarder 08-16-2008 11:42 PM

I found the cause to this problem: When editing an entry, the user is able to change the file uploaded, but the new file does not show (file is not linked to in the entry) and his upload allowance is not updated.

This bug persists if you installed LDM's extra swfuploader plugin (problem described in my previous post). If you use the default uploader, this problem does not appear. Solution: disable/ uninstall the swfuploader until that plugin is fixed. ;)

Andrew, can you please patch the swfuploader 'cause having the progress bar is really useful? Otherwise, please provide an option to disable changing the file upload when editing an entry.

vbboarder 08-17-2008 01:27 AM

I have several more bugs to report:

1. In LDM settings, the link_imagesize setting states, "Left blank: LDM uses the current value of Thumbnail Size from the VB admincp." However, this is not true: if left blank, no thumbnails are created even if thumbnail size is specified in VB > Message Attachment Options and VB > Album Options (anywhere else I should check?). Solution: just specify the size for LDM's link_imagesize.

2. The category of a forum is not replaced in the phrase when using {4} in ldm_thread_create_body. Instead, the LDM database name is always shown.

3. The id3tag-enchancements plugin does not update the entry's attributes with the new id3 info if the entry is edited to upload a new file that has a id3 tag.

4. When editing an entry with both an uploaded file and an image file, if that image is deleted then the uploaded file is also deleted. Andrew in addition to fixing this bug, can you provide an option to disable deleting the thumbnail image file?

vbboarder 08-17-2008 03:02 AM

The plugin, Add LDM Quick Search to VB navbar, does not work because the code/ syntax for the security token is incorrect.
Solution: FIND:
Quote:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
And REPLACE that with:
Quote:

<input type="hidden" name="securitytoken" value="' .$vbulletin->userinfo['securitytoken'].'" />

AndrewD 08-17-2008 06:25 AM

Quote:

Originally Posted by vbboarder (Post 1600335)
I'm using VB 3.7.2, LDM 2.2.9-post1, Firefox 2, Windows XP (SP2). My upload folder is located within the public htdocs folder. I am testing with administrator privileges in VB/ LDM. I am using LDM's extra swfuploader plugin.

As you discovered, this was a problem in the interaction between the ldm php code and the swfupload code. The fix is straightforward - please can you test the attached local_links_actions.php (which goes in the forums directory)

Quote:

Originally Posted by vbboarder (Post 1600335)
Also, if the file extension of the new file is different from the old file, the "Rename" field will not accept a name with the new file extension since LDM still has the old file extension in the database.

If you are using the swfuploader, its javascript should automatically fill in the "Rename" field with the filename of the current upload, and as far as I can see, LDM then accepts it with this bug fix installed. Let me know.

Quote:

Originally Posted by vbboarder (Post 1600439)
1. In LDM settings, the link_imagesize setting states, "Left blank: LDM uses the current value of Thumbnail Size from the VB admincp." However, this is not true: if left blank, no thumbnails are created even if thumbnail size is specified in VB > Message Attachment Options and VB > Album Options (anywhere else I should check?). Solution: just specify the size for LDM's link_imagesize.

LDM only checks this when you do an update on the LDM/admin/settings page, and leave the link_imagesize field blank. As far as I can see, it then correctly picks up the current value from VB/Message Attachment Options, and that value should then appear on the LDM admin settings and is used correctly. However, I think my logic is wrong - this doesn't allow for the possibility that the admin subsequently changes the value on VB/Message Attachment Options

Quote:

Originally Posted by vbboarder (Post 1600439)
2. The category of a forum is not replaced in the phrase when using {4} in ldm_thread_create_body. Instead, the LDM database name is always shown.

I think this has always been so. I'll add another parameter to the phrase so that you can also access the category name if you wish.

Quote:

Originally Posted by vbboarder (Post 1600439)
3. The id3tag-enchancements plugin does not update the entry's attributes with the new id3 info if the entry is edited to upload a new file that has a id3 tag.

will investigate

Quote:

Originally Posted by vbboarder (Post 1600439)
4. When editing an entry with both an uploaded file and an image file, if that image is deleted then the uploaded file is also deleted. Andrew in addition to fixing this bug, can you provide an option to disable deleting the thumbnail image file?

will investigate

Quote:

Originally Posted by vbboarder (Post 1600467)
The plugin, Add LDM Quick Search to VB navbar, does not work because the code/ syntax for the security token is incorrect.

Thanks - this was fixed in the 2.2.9-post2 release

Espeacke 08-17-2008 05:36 PM

Hello ...
First good day and apologize for my English is bad. [I come from mexico]
I have a question:

The problem is with the entries of their product ..
My links appear like this:

http://img128.imageshack.us/img128/7649/dibujoce0.jpg

Any disorderly.

And I have seen other sites with links and downloads manager running the links as categories:

clicking on this entry:
http://img229.imageshack.us/img229/1707/dibujo1vy6.jpg
It will take us towards the link:

http://img201.imageshack.us/img201/1606/dibujo2og0.jpg

Thus not much disturbing and we do not have so many links on a single page.
I tried to move and move configurations rather than achievement that appear so.
Someone told me that configurations are templates and that is why I am writing to you.

Greetings.

sorry if this repeated the
question:D. not understand much English.

AndrewD 08-17-2008 06:13 PM

Quote:

Originally Posted by Espeacke (Post 1600883)
Hello ...
First good day and apologize for my English is bad. [I come from mexico]
I have a question:

The problem is with the entries of their product ..
My links appear like this:

http://img128.imageshack.us/img128/7649/dibujoce0.jpg

Any disorderly.

And I have seen other sites with links and downloads manager running the links as categories:

clicking on this entry:
http://img229.imageshack.us/img229/1707/dibujo1vy6.jpg
It will take us towards the link:

http://img201.imageshack.us/img201/1606/dibujo2og0.jpg

Thus not much disturbing and we do not have so many links on a single page.
I tried to move and move configurations rather than achievement that appear so.
Someone told me that configurations are templates and that is why I am writing to you.

Greetings.

sorry if this repeated the
question:D. not understand much English.

Yes, I think I understand.

You can change how LDM looks with the settings on the LDM/admin/settings page. To get the very compact look in your second image, find the template_linkbit parameter and choose "Title Only".

But your colleague is also correct - to make major changes, then you have to edit the templates. vBulletin is built around a large number of templates which define how everything is displayed. This is not really the best place to explain.

Espeacke 08-17-2008 06:39 PM

Quote:

Originally Posted by AndrewD (Post 1600902)

But your colleague is also correct - to make major changes, then you have to edit the templates. vBulletin is built around a large number of templates which define how everything is displayed. This is not really the best place to explain.


I mention this as you configure and salio as we wanted.
For need additives templates?
And where addressing the issue?

In the meantime Thank your help.
Greetings.:D


All times are GMT. The time now is 07:20 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
  • Page Generation 0.03217 seconds
  • Memory Usage 1,784KB
  • 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
  • (12)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