vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

lanc3lot 12-23-2005 02:45 PM

Excellent support indeed mate:)

[high]* lanc3lot is going to see what u just said :)[/high]

Nam 12-23-2005 03:27 PM

hi Andrew, I'm not sure if this is eays or hard, but since the feature that make the jukebox resize automatically depend in video screen size is not possible, I wonder if I can make a wmv file is not playable using jukebox but downloadable only. So far the only way I can think of is zip the file, any other way?

P.S I haven't tested it, but does the script support download manager such as getright, flashget?

kjmz 12-23-2005 04:14 PM

Quote:

Originally Posted by AndrewD
AS far as I know - if you are using apache - there must be an http.conf somewhere! Can you check what web server you are using?

I used your code in an (apache) .htaccess and it works fine for me.

Can I just make one or something like that? Also the code does work but it doesn't actually change the URL. It just redirects.

Wildthinks 12-23-2005 04:21 PM

Quote:

Originally Posted by AndrewD
Yes, the menu items are phrased with phrase names ll_menu_XXX, as follows:

ll_menu_addcat Add Category
ll_menu_addlink Add Link
ll_menu_admcats Categories
ll_menu_admimex Import and Export
ll_menu_admin Administer
ll_menu_admperm Permissions
ll_menu_admset Settings
ll_menu_admstat Statistics
ll_menu_cat Categories
ll_menu_editcat Edit Category
ll_menu_home Home Category
ll_menu_mod Moderate
ll_menu_search Search
ll_menu_show Show

etc

Hi,

i'm wondering that i dont add links or cats because the links are left.
Have somebody a hint for me, how can i add links/cat - menu ?
In the forum left also.

i installed the german version.

Thank you
thomas

AndrewD 12-23-2005 05:17 PM

Quote:

Originally Posted by kjmz
Can I just make one or something like that? Also the code does work but it doesn't actually change the URL. It just redirects.

Can you send me a PM with an admin username and password to your board - I want to find out what you are using as web server, then maybe I can answer the question.

AndrewD 12-23-2005 05:19 PM

Quote:

Originally Posted by Nam
hi Andrew, I'm not sure if this is eays or hard, but since the feature that make the jukebox resize automatically depend in video screen size is not possible, I wonder if I can make a wmv file is not playable using jukebox but downloadable only. So far the only way I can think of is zip the file, any other way?

Just remove wmv from the list in the admin setting musicbox_filetypes

Quote:

Originally Posted by Nam
P.S I haven't tested it, but does the script support download manager such as getright, flashget?

I haven't tested this - sorry

AndrewD 12-23-2005 05:21 PM

Quote:

Originally Posted by Wildthinks
Hi,

i'm wondering that i dont add links or cats because the links are left.
Have somebody a hint for me, how can i add links/cat - menu ?
In the forum left also.

i installed the german version.

Thank you
thomas

Sorry, I'm not understanding your question - maybe in German?

Wachtmeister 12-23-2005 10:22 PM

Quote:

Originally Posted by AndrewD
Sorry, I'm not understanding your question - maybe in German?

I answer in german, because i had the same problem.

Du musst als Admin angemeldet sein und dann in die Hauptkategorie wechseln. Dann wieder auf Kategorien klicken und dort kannst du dann neue Kategorien anlegen.

Um neue Links anzulegen, musst du zuerst in die entsprechende Kategorie wechseln und dann erscheint der Link "Link hinzuf?gen". Sobald du deine Kategorien angelegt hast, erscheint der Link. Ich hatte das gleiche Verst?ndnisproblem ;)

Hope it is the correct answer.

AndrewD 12-24-2005 04:54 AM

Quote:

Originally Posted by Wachtmeister
I answer in german, because i had the same problem.

Du musst als Admin angemeldet sein und dann in die Hauptkategorie wechseln. Dann wieder auf Kategorien klicken und dort kannst du dann neue Kategorien anlegen.

Um neue Links anzulegen, musst du zuerst in die entsprechende Kategorie wechseln und dann erscheint der Link "Link hinzuf?gen". Sobald du deine Kategorien angelegt hast, erscheint der Link. Ich hatte das gleiche Verst?ndnisproblem ;)

Hope it is the correct answer.

I thinks we are understanding each other!

Step 1 - install LDM
Step 2 - log in as Admin (you must already be logged in as Admin to install LDM) and go to local_links.php
Step 3 - Select Categories/Add Category (Kategorien/Kategorie Hinzufugen) and create a category
Repeat as often as you want
Step 4 - Now you can go to any category and use Add Link (Link Hinzufegen) to add links

Two screenshots attached - the menu bar on the LDM home page and within a category

LoOnEyToOnZ 12-27-2005 10:20 AM

Hi some of my members are having problems downloading from the system... and i've set permissions to allow everyone to access the links. Their problem is that the download title is not even linked. Any idea?

AndrewD 12-27-2005 11:43 AM

Quote:

Originally Posted by LoOnEyToOnZ
Hi some of my members are having problems downloading from the system... and i've set permissions to allow everyone to access the links. Their problem is that the download title is not even linked. Any idea?

Check can_access_link for the usergroups that don't see links on the title.

If that's not the problem, pm me with details of your board + ideally an admin userid and password

Alfa1 12-27-2005 01:39 PM

Any ideas yet about Directories to scan [monitor_dir] outside of the prefix?

GrendelKhan{TSU 12-27-2005 10:03 PM

Quote:

Originally Posted by Nam
hi Andrew, I'm not sure if this is eays or hard, but since the feature that make the jukebox resize automatically depend in video screen size is not possible, I wonder if I can make a wmv file is not playable using jukebox but downloadable only. So far the only way I can think of is zip the file, any other way?

P.S I haven't tested it, but does the script support download manager such as getright, flashget?

along that line...how does one go about make the default size of the jukebox video playback larger?

AndrewD 12-28-2005 04:58 AM

Quote:

Originally Posted by Alfa1
Any ideas yet about Directories to scan [monitor_dir] outside of the prefix?

Ideas, definitely. Results, not yet.

AndrewD 12-28-2005 05:01 AM

Quote:

Originally Posted by GrendelKhan{TSU
along that line...how does one go about make the default size of the jukebox video playback larger?

The default sizes are set in the links_play template. Play around with the various width and height parameters. Each appears six times.

PennylessZ28 12-28-2005 07:44 AM

might have to try this out

Viks 12-29-2005 02:01 AM

Hi Andrew,
I installed it on my vb3.5.2 forums.
I can upload files but cannot add links. I get page cannot be displayed on trying to add the links.

I have checked permissions and my settings.. do not know what the issue is..
any suggestions!?

thanks for your help.

Vik

AndrewD 12-29-2005 05:27 AM

Quote:

Originally Posted by Viks
Hi Andrew,
I installed it on my vb3.5.2 forums.
I can upload files but cannot add links. I get page cannot be displayed on trying to add the links.

I have checked permissions and my settings.. do not know what the issue is..
any suggestions!?

thanks for your help.

Vik

Sorry to hear that you're having difficulties. You haven't given me enough information to track down the problem - perhaps you can send me a PM - ideally with your board's url + an account with admin privs - am happy to take a quick look

ZED28 12-29-2005 11:27 PM

I'm in the middle of trying to migrate from a Mambo setup to VB with a D/L manager. The DLM is kinda the driving force behind the site but I really wanna do this through VB and have looked at - and installed a few of the packages out there.

This one comes pretty close to what I'm looking for but I have a few questions about the way it handles images. Primarily, the DL's on my site will be 1024x1024 car skins for a driving game. These skins will be submitted my users and myself but the skin file itself isn't really a good representation of the download. Rather, a rendered image or screen-shot is usually used with the car "wearing" the skin.

An example of what I'm looking to closely mimick is HERE. This is my current site.

The skinfile name is important as it dictates the car it is meant for and usually has the authors' name in it somewhere. I'm finding this DL mod replaces the original name with some kind of random string.

Also, instead of clicking the image and having it open in the browser, it would be useful to be prompted to save or open it to have the user make that choice.

Thumbnail creation is by far one of the biggest requirements I have. Your layout is spot on but it would be great if I could specify two uploads; one for the Skin and one for the thumbnail.

Is there any way I can change the handling of images using this DL mod?

Thanks in advance!

ZED28 12-30-2005 12:24 AM

Quick update! I've just gone ahead and installed your Beta (I do trust you with my life, signed the disclaimer..) and it appears to fix a few of my problems! :squareeyed:

There is a thumbnail upload now which is awsome and though the full sized skin is displayed (opened) in the browser, it has the correct name so a right click and save as will work in that scenario. If I could prompt the user to save as though instead, that would be better.

Also, the thumbnail quality could be better; is there a way to improve that? :ninja:

AndrewD 12-30-2005 04:55 AM

Quote:

Originally Posted by ZED28
Quick update! I've just gone ahead and installed your Beta (I do trust you with my life, signed the disclaimer..) and it appears to fix a few of my problems! :squareeyed:

There is a thumbnail upload now which is awsome and though the full sized skin is displayed (opened) in the browser, it has the correct name so a right click and save as will work in that scenario. If I could prompt the user to save as though instead, that would be better.

Also, the thumbnail quality could be better; is there a way to improve that? :ninja:

Good to hear - I'll take another look at the save as/open questions (went round and round this a year or so ago because of Adobe Acobat's habit of stealing the browser) - the thumbnail generation also needs some more work at some time, but am not sure about the quality issue - the image is resample down to the specified size and I don't know if there is any control on the resampling method.

ZED28 12-30-2005 10:51 AM

Andy, is there any way to hide the input fields for remote files and thumbs? I know you can disable remote linking in the admin section but the fields are still visible in the upload section.

AndrewD 12-30-2005 12:18 PM

Quote:

Originally Posted by ZED28
Andy, is there any way to hide the input fields for remote files and thumbs? I know you can disable remote linking in the admin section but the fields are still visible in the upload section.

In other words, you want a clean option for 'uploads only'?

So the options would be
- No uploads, only links/downloads
- Uploads and links/downloads
- Uploads only

Any other sensible splits?

ZED28 12-30-2005 07:36 PM

Quote:

Originally Posted by AndrewD
In other words, you want a clean option for 'uploads only'?

So the options would be
- No uploads, only links/downloads
- Uploads and links/downloads
- Uploads only

Any other sensible splits?

Exactly. Right now the deny linking works but with the spaces for the URL's still visible, the end user doesn't know its disabled until he actually tried to use it. I think these changes would be really useful - and maybe a way to be able to "Label" the description field above each input field? This would allow a greater level of customization towards the targeted use. For instance, mine could say "Browse the Skin to Upload" where other sites could have something completely different.

ZED28 12-30-2005 09:42 PM

Strange, I have the naming problem back the the images I upload. Are they renamed as they are stored? :ninja:

AndrewD 12-31-2005 03:57 AM

Quote:

Originally Posted by ZED28
Strange, I have the naming problem back the the images I upload. Are they renamed as they are stored? :ninja:

All uploads are renamed as they are stored. With version 2.1.0, the origiinal name was thrown away, but with 2.1.1 betas the original name is retained and used when downloaded again. If you have uploads in your database from 2.1.0, their original names have gone for good, even if you upgrade to 2.1.1. But new ones should be ok. Let me know if this is not the case.

Nam 12-31-2005 06:27 AM

I installed on my vb test site the beta one and so far I haven't found any bug. I also tried with Internet Download Manager (IDM) version 5.01 and there is no resume supported. It's understandable because the link is hidden.

The file download and limit work great, I'm wonder if I can apply download limit in A category and bandwidth limit to B category, I guess it would take a lot of coding. Another question is that if I have too many links, say 10,000 (now I already have 1000), would anti-leech link affect website perfomance? And how bad would that be?

I will report any bug that I found, so far so good, thanks so much Andrew. Happy New Year to you and your family.

AndrewD 12-31-2005 07:06 AM

Quote:

Originally Posted by Nam
I installed on my vb test site the beta one and so far I haven't found any bug. I also tried with Internet Download Manager (IDM) version 5.01 and there is no resume supported. It's understandable because the link is hidden.

Good, thanks.

Quote:

Originally Posted by Nam
The file download and limit work great, I'm wonder if I can apply download limit in A category and bandwidth limit to B category, I guess it would take a lot of coding.

I'll take a look. I think this will probably have to wait.

Quote:

Originally Posted by Nam
Another question is that if I have too many links, say 10,000 (now I already have 1000), would anti-leech link affect website perfomance? And how bad would that be?

The impact depends on how many users are simultaneously trying to obtain downloads which are physically stored on your site or (worse) have to be read through your site. The number of entries in your database is not really relevant.

Quote:

Originally Posted by Nam
I will report any bug that I found, so far so good, thanks so much Andrew. Happy New Year to you and your family.

Thanks - and to you too

Benj 12-31-2005 07:55 AM

sorry ive been away for a bit.. whats the happenings ? any news on anti leeching music?

ZED28 12-31-2005 12:12 PM

Quote:

Originally Posted by AndrewD
All uploads are renamed as they are stored. With version 2.1.0, the origiinal name was thrown away, but with 2.1.1 betas the original name is retained and used when downloaded again. If you have uploads in your database from 2.1.0, their original names have gone for good, even if you upgrade to 2.1.1. But new ones should be ok. Let me know if this is not the case.

I think that's exactly what it was then. I uploaded a lot of stuff last night - all went without a hitch! New thumbs look so much better! :D

Jaynesh 01-01-2006 09:42 AM

Ive just installed the hack on my forum, Fantastic and very powerful hack.
When a user uploads a Music or video file how will i make it so that it does not download but opens a player on the browser to listen to it online...

AndrewD 01-01-2006 01:31 PM

Quote:

Originally Posted by Jaynesh
When a user uploads a Music or video file how will i make it so that it does not download but opens a player on the browser to listen to it online...

I added a clean way to do this in 2.1.1, which is still in beta but has had no reports of problems.

a) Enable the Jukebox (point file_icons_dir at the set of filetype icons, set the musicbox_* settings appropriately and provide mimetype information in the vb attachment table for these filetypes)
b) Set can_play_musicbox permissions in LDM for the usergroups in question and unset can_save_jukebox for these groups.

ZED28 01-01-2006 02:24 PM

Hey Andy, I've added a bunch of uploads on my site and am using the vBAdvanced front end so thought I would try your modules out for "hot" and "new" items. The hot module displays fine in either the left or right column but the new module throws everything out of place - all the other modules wrap etc.

Also, the hotlink at the top of either module - for example the one that says "Hot Links" fails saying "Category does not exist". The link it points to is this...

http://www.lfsresource.com/local_links.php?catid=-7

I get the same problem with these links in the summary page of the downlads area. But the drop-down links under the "Show" menu work just fine. The link for the Hot items under the drop down menu is different...

http://www.lfsresource.com/local_lin...h.php?catid=-7

Other than that, it's working really well! :D

Jaynesh 01-01-2006 03:17 PM

Quote:

Originally Posted by AndrewD
I added a clean way to do this in 2.1.1, which is still in beta but has had no reports of problems.

a) Enable the Jukebox (point file_icons_dir at the set of filetype icons, set the musicbox_* settings appropriately and provide mimetype information in the vb attachment table for these filetypes)
b) Set can_play_musicbox permissions in LDM for the usergroups in question and unset can_save_jukebox for these groups.

Fantasic, cheers mate worked great.

Whats the name of the template for that page where the player is?

AndrewD 01-01-2006 03:26 PM

Quote:

Originally Posted by Jaynesh
Whats the name of the template for that page where the player is?

links_play

Jaynesh 01-01-2006 03:26 PM

Little problem, the files arent being played, they open up and everything but they just dont play.

AndrewD 01-01-2006 03:29 PM

[QUOTE=ZED28]Hey Andy, I've added a bunch of uploads on my site and am using the vBAdvanced front end so thought I would try your modules out for "hot" and "new" items. The hot module displays fine in either the left or right column but the new module throws everything out of place - all the other modules wrap etc.

OK, I'll take a look

Quote:

Originally Posted by ZED28
Also, the hotlink at the top of either module - for example the one that says "Hot Links" fails saying "Category does not exist". The link it points to is this...

http://www.lfsresource.com/local_links.php?catid=-7

I get the same problem with these links in the summary page of the downlads area. But the drop-down links under the "Show" menu work just fine. The link for the Hot items under the drop down menu is different...

http://www.lfsresource.com/local_lin...h.php?catid=-7

Other than that, it's working really well! :D

Yes, I split the code with a recent release - as I don't use vbAdvanced, I tend to miss these things - when the catid is negative, the urls should point to local_links_search.php

AndrewD 01-01-2006 03:30 PM

Quote:

Originally Posted by Jaynesh
Little problem, the files arent being played, they open up and everything but they just dont play.

Have you got the mimetype info set correctly in your main VB/attachments/extensions and sizes?

for example, mp3 - Content-type: audio/mpeg

etc, etc

Jaynesh 01-01-2006 03:33 PM

Hmm.. Could you please tell me how to set it correctly.

AndrewD 01-01-2006 03:47 PM

Quote:

Originally Posted by Jaynesh
Hmm.. Could you please tell me how to set it correctly.

mimetypes are used so that the browser and other software knows what to do with what they are being given. Each filetype that you want LDM to handle corrently as a download, and upload or a media file needs to have an entry in the VB attachments table. Take a look at the entries that are set by the VB team themselves - each file type is set up with the following information:

Extension (i.e. mp3, etc)
Max Filesize(in bytes) (can be left at 0 to set no limit)
Maximum Width (in pixels, for image files)
Maximum Height(in pixels, 600 for example)
Mime Type
Display thumbnail for this type? (image files)
Open this attachment in a new browser window?
Enabled

The only bits that LDM cares about are the extension, the max filesize (for uploads) and the mimetype

Here are some standard mimetypes:

bmp Content-type: image/bmp
doc Content-type: application/msword
gif Content-type: image/gif
jpe, jpeg, jpg Content-type: image/jpeg
m3u Content-type: audio/x-mpegurl
mov Content-type: video/quicktime
mpg, mpeg Content-type: video/mpeg
mp3 Content-type: audio/mpeg
pdf Content-type: application/pdf
png Content-type: image/png
ram Content-type: audio/x-pn-realaudio
rm Content-type: audio/x-realaudio
rmvb Content-type: video/x-realaudio
rpm Content-type: audio/x-pn-realaudio-plugin
txt Content-type: plain/text
wmv Content-type: video/x-ms-wmv
zip Content-type: application/zip

You can find others at http://www.webmaster-toolkit.com/mime-types.shtml


All times are GMT. The time now is 05:06 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.02755 seconds
  • Memory Usage 1,866KB
  • 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
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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