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)

AndrewD 06-21-2006 07:29 PM

Quote:

Originally Posted by sydude
And here's another quick template question.. (sorry if this sounds completely dumb or if it's been covered ad nauseum..):

How do I make a new linkbit and have it selectable in the LL settings? For now I've had to delete out Greg's template with the code you gave me.

Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.

sydude 06-21-2006 07:30 PM

Quote:

Originally Posted by AndrewD
Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.

Thank you. Again.

obmob 06-22-2006 03:05 PM

Quote:

Originally Posted by obmob
Here i go again... excuse me Andrew, any chances to allow admin to post html in image description?

I have a postcard software called vCard, i can direct link some images to send them as a postcard... so, i want to add a different sized image and point it to that program...

Also, i have a mobile feature, and also need to point it to it to allow members to send it to their mobile phones...

So, maybe adding html permission would make it easier to you :p

Thank you for the big effort you make!

u.u any comment on this?

AndrewD 06-22-2006 03:33 PM

Quote:

Originally Posted by obmob
u.u any comment on this?

I hadn't given time to this yet - there have been other questions on my mind.

The problem with allowing html is that it is a potential security breech and needs careful handling. Is there a reason why you need to tag the pictures, and not (e.g.) add the tags inside the description field, where html is already allowed if you turn this permission on?

AndrewD 06-23-2006 06:51 PM

is now available in first post of this thread

Main changes from 1st beta - many more hooks to help the integration with vbPlaza

directprint 06-24-2006 06:03 AM

I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

A bit more on this error

Warning: Division by zero in /includes/local_links_include.php on line 238
The following setting(s) are invalid
thumbs_dir : upload_dir
Directory upload_dir (/home/username/public_html/upload_dir) doesn't exist and I can't create it
upload_dir : /upload_dir
I can't find/create subdirectories in /upload_dir (trying /home/username/public_html/upload_dir/2) - check permissions

Both these directories are 777

AndrewD 06-24-2006 06:36 AM

Quote:

Originally Posted by directprint
I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value

directprint 06-24-2006 06:48 AM

Quote:

Originally Posted by AndrewD
Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value

Thank you all fixed with a simple number.

directprint 06-24-2006 10:38 AM

I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

AndrewD 06-24-2006 12:09 PM

Quote:

Originally Posted by directprint
I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

You're too helpful :) This is another bug introduced in the latest beta.

I had tried to improve the error checking for uploads and thumbs directories, but there was a bug in the new code which doesn't show up on a windows server. I'll post a new version of beta 2 in a few minutes.

Sorry.

AndrewD 06-24-2006 12:20 PM

I've reuploaded the second beta of 2.2.2 as there were (at least) three irritating bugs.

Only two have changes since yesterday: includes/local_links_include.php and includes/local_links_misc.php

Alfa1 06-24-2006 12:52 PM

Please delete.

obmob 06-24-2006 04:55 PM

Quote:

Originally Posted by AndrewD
I hadn't given time to this yet - there have been other questions on my mind.

The problem with allowing html is that it is a potential security breech and needs careful handling. Is there a reason why you need to tag the pictures, and not (e.g.) add the tags inside the description field, where html is already allowed if you turn this permission on?

Oh, well, html for admins would help me... or that's what i think. :)

Imagine some mobile content, to send it to mms i must tag an image with a certain code and then point it via a button or something else to the right URL.

Same happens with an e-card program i've on my site... would be useful if a user wants to send certain image.

Of course you know better, some advice would be useful, thanks. :)

Though... i think you are realyl busy with this new beta :(

Allan 06-24-2006 07:24 PM

Quote:

Originally Posted by Andrew
NB: The French translation is only partly complete - any volunteers?

For me, when vB 3.6 gold out ;)

directprint 06-24-2006 08:06 PM

Quote:

Originally Posted by AndrewD
I've reuploaded the second beta of 2.2.2 as there were (at least) three irritating bugs.

Only two have changes since yesterday: includes/local_links_include.php and includes/local_links_misc.php

Changed both these files and still get the error...

Error Message

The following setting(s) are invalid
upload_dir : /home/username/public_html/images
I can't find/create subdirectories in /home/username/public_html/images (trying /home/username/public_html/home/username/public_html/images/2) - check permissions

I use the following for forum attachments without any problems
/home/username/attachment

All of these folders have 777 permissions.

Alfa1 06-24-2006 09:59 PM

All LDM users!
Your attention please: Premium mod section for Links & Download Manager.

AndrewD 06-25-2006 06:42 AM

Quote:

Originally Posted by directprint
Changed both these files and still get the error...

Error Message

The following setting(s) are invalid
upload_dir : /home/username/public_html/images
I can't find/create subdirectories in /home/username/public_html/images (trying /home/username/public_html/home/username/public_html/images/2) - check permissions

I use the following for forum attachments without any problems
/home/username/attachment

All of these folders have 777 permissions.

Looking at the error message (the doubled-up directories in the "trying" path), I suspect that you still have the old version of local_links_misc.php on your site. Pls can you check that you replaced this file in your /includes directory?

In case this is not the problem, here is (yet another!) version of the local_links_misc.php file. Let me know how it goes

Nokia Tech 06-25-2006 10:15 AM

I have installed this 3 times, Cant seem to get it to work correctly, VB 3.5.4

After adding the link to an external file, If you click on the link, it wont allow the download.
Permissions are set ok, As i am the administrator of the forum. It attempts to download a .PHP file from Local_Links.....

What am i doing wrong, I am banging my head against the wall here,

Thanks

AndrewD 06-25-2006 10:31 AM

Quote:

Originally Posted by Nokia Tech
I have installed this 3 times, Cant seem to get it to work correctly, VB 3.5.4

After adding the link to an external file, If you click on the link, it wont allow the download.
Permissions are set ok, As i am the administrator of the forum. It attempts to download a .PHP file from Local_Links.....

What am i doing wrong, I am banging my head against the wall here,

Thanks

Sorry to hear this. Maybe you can send me a pm with details of your board - ideally an admin account?

Nokia Tech 06-25-2006 10:48 AM

I have just only 5 minutes ago uninstalled it again,

As soon as i get chance, i will re-install it and reply again here and maybe you will be able to locate the problem. To be honest, I am sure it must be something i am doing wrong although i read the online instructions 5 times...

Dont suppose you offer an chargable installation service do you. ? Just a thought.

Basicly, I need this program to use for downloading only, I have a server packed with various service files that my members want access to. All files to be downloaded are at an external server, The uploads or the jukebox will not be used, Uploads are done manually to my external FTP

Thanks for the very fast reply, and look forward to your response

directprint 06-25-2006 10:54 AM

I can seem to get the thumbnails to view permanantly, one minute they are there, the next they are gone?, I am lost with this one, guessing it's a cache problem or something.

AndrewD 06-25-2006 11:02 AM

Quote:

Originally Posted by Nokia Tech
I have just only 5 minutes ago uninstalled it again,

As soon as i get chance, i will re-install it and reply again here and maybe you will be able to locate the problem. To be honest, I am sure it must be something i am doing wrong although i read the online instructions 5 times...

Dont suppose you offer an chargable installation service do you. ? Just a thought.

Basicly, I need this program to use for downloading only, I have a server packed with various service files that my members want access to. All files to be downloaded are at an external server, The uploads or the jukebox will not be used, Uploads are done manually to my external FTP

Thanks for the very fast reply, and look forward to your response

I'm very happy to take a look if you send me site details - no charge!

Be careful with files held on an external server - with its default settings, LDM will be quite costly to use, as it keeps the file location hidden. It becomes trivially cheap for these files if they are not considered as "downloads" (i.e. do not have file tpes that appear in your VB admincp mimetypes table) or (b) you set the LDM setting "force_redirect" to 1 (LDM/admin/settings)

directprint 06-25-2006 12:25 PM

Quote:

Originally Posted by directprint
I can seem to get the thumbnails to view permanantly, one minute they are there, the next they are gone?, I am lost with this one, guessing it's a cache problem or something.

All fixed by Andrew, must say this is a great product and some top support to go with it. Well Done:)

Nokia Tech 06-25-2006 02:45 PM

Can you please explain to me whet exactly you mean when you say

Quote:

LDM will be quite costly to use, as it keeps the file location hidden. It becomes trivially cheap for these files if they are not considered as "downloads"
I am a little confused here, I assume you are refering to bandwidth usage from my hosting supplier ?

Please bear with me, as i am still fairly new to all this Vb mods etc

Thanks

AndrewD 06-25-2006 03:04 PM

Quote:

Originally Posted by Nokia Tech
Can you please explain to me whet exactly you mean when you say



I am a little confused here, I assume you are refering to bandwidth usage from my hosting supplier ?

Please bear with me, as i am still fairly new to all this Vb mods etc

Thanks

LDM can handle documents in various ways. Sometimes, people use it because they want to keep file locations secret. This is how LDM is configured by default.

To achieve this secrecy, the user is sent a url that does not point directly to the download, but instead points to the LDM script. The script works out what it is being asked to send, reads the file and sends it on to the user, with appropriate headers and so on, so that the file behaves correctly when it reaches the user's browser (e.g. has the right name, etc).

This is very straightforward (quite cheap in cpu and identical bandwidth to providing the actual file url) when the file is actually stored on the web server that is running LDM.

However, if you have the file stored on another server and want to keep its location secret, then LDM has to read the file from the second server and then re-transmit it to the user. This is twice as costly in bandwidth (file has to pass twice through your server) and about 10-50 times as expensive in server cpu, because reading remote files is a complex process. The practical consequence is that standard php configurations (which usually allow about 30 seconds cpu) will fail to transmit remote files that are bigger than a megabyte or so.

This problem only occurs with entries that LDM 'recognises' as a 'download' - i.e. has a file type which appears in the VBulletin 'attachments' mimetype table - and only if the LDM setting 'force_redirect' is set to 0. For all other file types and when force_redirect is set to 1 or 2, LDM gets the user's browser to do the work, by telling it to redirect to the file. For files stored on a remote server, this means that there is no bandwidth load on your server and no cpu load either.

Basically, the 'hidden file' mechanism is cheap and secure provided the file is held on your own server, but a pain in the beck when it's on another server ...
LDM can

Tyegurl 06-25-2006 03:05 PM

why do i feel like a newbie??

i can't seem to figure out why my icons don't work.....

if the path is right it doesn't work and if i add a ./ it doesn't work either....oops wrong thread? should i have put this in the 3.6.0 thread??

anyway they don't work in the modules....

Nokia Tech 06-25-2006 03:12 PM

Ok, Thats made it a lot clearer for me, Thankyou

I am just finishing off the re-installation again, If its ok with yourself, i would like to take you up on your kind offer to check the installation for me.

Will take me about 15 mins, as i just need to finish another item first.

Thankyou, BR

AndrewD 06-25-2006 03:15 PM

Quote:

Originally Posted by Tyegurl
why do i feel like a newbie??

i can't seem to figure out why my icons don't work.....

if the path is right it doesn't work and if i add a ./ it doesn't work either....oops wrong thread? should i have put this in the 3.6.0 thread??

anyway they don't work in the modules....

I've had several people with this problem - let me guess, your VB installation is in a different directory than your vbadvanced script? If so, yes, there's a bug in LDM which I'm trying to fix as we speak.

Tyegurl 06-25-2006 03:18 PM

ummm

vbadvance is installed in my vbulletin forum folder...

AndrewD 06-25-2006 03:23 PM

Quote:

Originally Posted by Tyegurl
ummm

vbadvance is installed in my vbulletin forum folder...

Take a look at your main VB settings - is the home url pointing at your web root (http://yoursite) or at the forum (http://yoursite/forum) or vbadvanced script (http://yoursite/forum/vbascript.php)?

Tyegurl 06-25-2006 03:30 PM

Quote:

Originally Posted by AndrewD
Take a look at your main VB settings - is the home url pointing at your web root (http://yoursite) or at the forum (http://yoursite/forum) or vbadvanced script (http://yoursite/forum/vbascript.php)?



Forum URL in vB Options
http://www.mysite.com/vBulletin

sorry had a long night am i understanding what you wanted?

AndrewD 06-25-2006 03:35 PM

Quote:

Originally Posted by Tyegurl
Forum URL in vB Options
http://www.mysite.com/vBulletin

sorry had a long night am i understanding what you wanted?

No, there're two settings - forum url and homepage url. LDM (incorrectly, I've decided) assumes that the homepage url is pointing at your web root.

Tyegurl 06-25-2006 03:41 PM

ahhh yes okay that is what is is doing....

icon path shows

http://www.mysite.com/images/icon/rar.gif (or whatever it is)

leaves out my vBulletin folder altogether..

sorry to have bothered you...

my 5 and 1/2 month old is teething really bad and i didn't get much sleep....really sorry

GrendelKhan{TSU 06-25-2006 03:42 PM

sweeT!! beta 2!! :D :D
<< will install tomorrow :) don't feel like redoing the plugins again right now. :/ lol

----------

btw, first I was all excited about this:
https://vborg.vbsupport.ru/showthread.php?t=119589
http://www.boardingscene.com/videos.php
then I realized that LDM could do all that and more...
and on our own site. :)

that said, I'm going back to the old issue of look and feel...
I almost wish there was a freeze on new features and just worked on layouts or templates. vbdownload manager still looks more put together simply because of the nice hit parade displays (top 5 hot, 5 new, 5recent)...and this vidia thingy looks better just cause of the layout as well, imo (but its certainly a more FAMILIAR one).

If LDM had templates like that... it'd more "accessible" I think for people.

eg:
-- if the jukebox could play inline and a few other thumbs displayed underneath (control the number of thumbs).

-- and we got auto generate referral links to the file (I request this a few times). Share this file! type thing

-- basically LDM would benefit greatly from an individual "page" for each file/video, etc. I often want to link people to a particular uploaded video and the only way I have found to do that is to rate/add a comment to the file...then link to that page.

plenty of video distributions sites to benchmark....
vidiac, google, collegehumor, ebaums etc. but all basiclly the same.

I think that would help LDM realize its full mass potential with vb. I know I'd love it.

food for though. just my 2cents.

I'll let ya know how Beta 2 goes :)

AndrewD 06-25-2006 05:08 PM

Quote:

Originally Posted by GrendelKhan{TSU
I almost wish there was a freeze on new features and just worked on layouts or templates.

My friend, that's up to you :)

Quote:

Originally Posted by GrendelKhan{TSU
eg:
-- if the jukebox could play inline and a few other thumbs displayed underneath (control the number of thumbs).

sounds like a new feature... :)

Quote:

Originally Posted by GrendelKhan{TSU
-- and we got auto generate referral links to the file (I request this a few times). Share this file! type thing

sounds like a new feature... :)

Quote:

Originally Posted by GrendelKhan{TSU
-- basically LDM would benefit greatly from an individual "page" for each file/video, etc. I often want to link people to a particular uploaded video and the only way I have found to do that is to rate/add a comment to the file...then link to that page.

sounds like a new feature... :)

Basically, I agree with you - I'd like to stop adding new features for a while, and would like to work on improving the user interface for some of the features - the jukebox, the photo library, and so on. I feel challenged (shall we say motivated) by flickr...

Tyegurl 06-25-2006 05:24 PM

Quote:

Originally Posted by AndrewD
Basically, I agree with you - I'd like to stop adding new features for a while, and would like to work on improving the user interface for some of the features - the jukebox, the photo library, and so on. I feel challenged (shall we say motivated) by flickr...


okay i like the sound of that too...will there be a way possibly to not necessarily create a photo album but maybe to let the user create his own set of photos in an album of links? or would that be a feature lol..

AndrewD 06-25-2006 05:26 PM

Quote:

Originally Posted by Tyegurl
okay i like the sound of that too...will there be a way possibly to not necessarily create a photo album but maybe to let the user create his own set of photos in an album of links? or would that be a feature lol..

his/her favourites, perhaps ?

Nokia Tech 06-25-2006 05:43 PM

Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

AndrewD 06-25-2006 05:54 PM

Quote:

Originally Posted by Nokia Tech
Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

Send me a PM, happy to take a look

AndrewD 06-25-2006 06:45 PM

Quote:

Originally Posted by Nokia Tech
Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

Still waiting...


All times are GMT. The time now is 07:44 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.06085 seconds
  • Memory Usage 1,869KB
  • 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