vb.org Archive

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

jGas 07-21-2007 06:22 AM

[QUOTE=AndrewD;1296686 I suppose that the sensible approach would be to allow a manual filetype selection only if the entry has not filetype?[/QUOTE]
i think that this could be the best option...!

AndrewD 07-21-2007 03:33 PM

Quote:

Originally Posted by jGas (Post 1297181)
i think that this could be the best option...!

:up: Thanks. I will make a note of this. It requires a change to the database structure, and I think I am too far into the testing of version 2.2.8 to make the change in this release.

Rouzbeh1 07-21-2007 09:29 PM

hi again,
is this a bug?
i have imported ldm_tot.module, it shows 740 MB. i have downloaded something to test it, it didn't change. do i do something wrong?

Alfa1 07-21-2007 10:30 PM

This add-on makes me wonder if this can somehow be combined with LDM:
Radio Stations
It strikes me as strange to install this mod, while I already have LDM for playing music. But a radio player is a great addition.

AndrewD 07-22-2007 05:15 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1297740)
hi again,
is this a bug?
i have imported ldm_tot.module, it shows 740 MB. i have downloaded something to test it, it didn't change. do i do something wrong?

If the file was not a recognised 'download', i.e. its filetype isn't in the vb attachments table, then the current LDM code doesn't record the bytes transferred, so the vba module won't list it. The logic has been that transfers of 'links' are not managed by LDM - they are processed using browser redirects.

ItsBlack raised a similar point recently concerning 'allowances'. I can see the point, so the final version of 2.2.8 will record bytes transferred in these situations:

- the entry is a 'download', i.e. has a recognised filetype (e.g. http:// sitename // file.pdf), or
- the entry is a file on the local server, i.e. does not have a complete url (e.g. /file.xyz)

In both these cases, your web server is carrying the load of transferring the file, so the logic is to record that transfer.

Another possibility is to try to work out the size of all transfers, regardless of filetype or location. This is not always possible, and am not sure that it is sensible. I'd appreciate comments.

AndrewD 07-22-2007 05:30 AM

Quote:

Originally Posted by Alfa1 (Post 1297784)
This add-on makes me wonder if this can somehow be combined with LDM:
Radio Stations
It strikes me as strange to install this mod, while I already have LDM for playing music. But a radio player is a great addition.

The Radio Stations hack is nicely done - works straight off with a clean interface. LDM will also play streamed radio - this is one of the standard tests. I could imagine a couple of ways of interfacing:
a) provide an extra to read a Radio Stations channel list from its xml file (in the Radio Stations release, this is the file default-radio-stations.xml)
b) provide an extra that will 'mirror' an installed Radio Stations database into a corresponding LDM category structure.

which do you have in mind?

jGas 07-22-2007 08:55 AM

i think i've found a bug too..

with autocreat threads, it paste into the topics also the comments.
and it's ok still here.

but when i have comments with the use of "return" LDM will not display the words on a new row, but it add something like this \r\n\r\

Example.

if in ldm the comment is this:

Quote:

commentoi
invio1

invio2
in the autocreated thread the commenti is this:

Quote:

commentoi\r\ninvio1\r\n\r\ninvio2
do you know why?

tnx!

AndrewD 07-22-2007 10:32 AM

Quote:

Originally Posted by jGas (Post 1298056)
i think i've found a bug too..

with autocreat threads, it paste into the topics also the comments.
and it's ok still here.

but when i have comments with the use of "return" LDM will not display the words on a new row, but it add something like this \r\n\r\

Example.

if in ldm the comment is this:



in the autocreated thread the commenti is this:



do you know why?

tnx!

I recall that bug in version 2.2.7, and it will be fixed in the release candidate of 2.2.8 (it's actually fixed in the beta, but there's a new bug in that which stops autocreation of posts for comments working at all :o)

Sorry

Rouzbeh1 07-22-2007 12:41 PM

Quote:

Originally Posted by AndrewD (Post 1297968)
If the file was not a recognised 'download', i.e. its filetype isn't in the vb attachments table, then the current LDM code doesn't record the bytes transferred, so the vba module won't list it. The logic has been that transfers of 'links' are not managed by LDM - they are processed using browser redirects.

ItsBlack raised a similar point recently concerning 'allowances'. I can see the point, so the final version of 2.2.8 will record bytes transferred in these situations:

- the entry is a 'download', i.e. has a recognised filetype (e.g. http:// sitename // file.pdf), or
- the entry is a file on the local server, i.e. does not have a complete url (e.g. /file.xyz)

In both these cases, your web server is carrying the load of transferring the file, so the logic is to record that transfer.

Another possibility is to try to work out the size of all transfers, regardless of filetype or location. This is not always possible, and am not sure that it is sensible. I'd appreciate comments.

the file types i have are mostly (99.5%) .zip files which are in vb attachments table.
the other file types are pdf and wmv. these both are on the table too.
about the allowance thing, there are 2 allowance systems for attachments. one of them is for vb attachments and the other one is from LDM. but i don't know which one was meant by itsblack....

my suggestion: all files get a file size allocated when submitting entry, would it be possible to read this size when a user clicks to download that file? just like hit recording. it's just one more query. (as far as i can understand!!) :D but you are the specialist ;)

one more thing, does LDM reset the bytes transfered when i delete hits for a period of time? i haven't tested this...

Alfa1 07-22-2007 01:13 PM

Quote:

Originally Posted by AndrewD (Post 1297974)
The Radio Stations hack is nicely done - works straight off with a clean interface. LDM will also play streamed radio - this is one of the standard tests. I could imagine a couple of ways of interfacing:
a) provide an extra to read a Radio Stations channel list from its xml file (in the Radio Stations release, this is the file default-radio-stations.xml)
b) provide an extra that will 'mirror' an installed Radio Stations database into a corresponding LDM category structure.

which do you have in mind?

Option A would be great.


All times are GMT. The time now is 10:09 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.09348 seconds
  • Memory Usage 1,757KB
  • 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
  • (6)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