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)

AndrewD 05-19-2007 12:02 PM

Quote:

Originally Posted by freewhiteeagle (Post 1250270)
Hi,

I'm very new to the whole forum world so please bear with me here...

I'm having trouble with the installation of the mod as I'm not sure where to upload into 'the corresponding forum directories.'

Here's what I did:

- I put the content of the includes and the clientscript folders in the appropriate forum directories.

- I wasn't sure where to put the release/forums/local php files, though, so I put them under the main forum directory. (?)

- I did the same with the release/vba_modules folder.

Not sure where to upload the release/extras folder and the tests folder.


When I tried to install the xml files via vB, I got the following messages:

Warning: Unknown(/home/rawfree/public_html/forum/includes/local_links_init.php): failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 3

Fatal error: (null)() [function.require]: Failed opening required '/home/rawfree/public_html/forum/includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rawfree/public_html/forum/admincp/plugin.php(1941) : eval()'d code on line 3

Please advice!

Thanks,

Carmella

Happy to help.

The error message is telling you that it can't find the file local_links_init.php in the forum/includes directory.

The directory structure in the release/ part of the zip file is *exactly* the same as the directory structure for vbulletin. This is where things should go:

- in your main forums directory:
local_links.php
local_links_actions.php
local_links_admin..php
local_links_ajax.php
local_links_search.php
local_resize.php
local_stream.php

- in your forums/clientscript directory
ldm_ajax_doisugg.js
ldm_ajax_keysugg.js
ldm_global.js

- in your forum/includes directory
local_links_admininclude.php
local_links_include.php
local_links_misc.php
local_links_players.php
local_links_resize.php

- in your forums/include/xml directory
cpnav_xlinks.xml
hooks_ldm.xml

There's then one decision you need to make yourself - where to put the contents of the release/icons directory. I suggest you create a directory called forum/ldmicon

You do not upload the vba_modules directory - you only need these if you are using vbadvanced, and vbadvanced modules are installed via the vba installation process, not uploaded.

If you still have problems, send me a PM and I'll be glad to help.

AndrewD 05-19-2007 12:04 PM

Quote:

Originally Posted by TheHeartSmasher (Post 1248864)
Not many that do maybe it is something built in that forces it to act this way :D
Now I am wondering if there is a way to incorporate limited the download rate for users.
Example Administrators get unlimited download rate
Guest get 100kbs with 1 Parallel Downloads
Registered users get 500kbs with 3 Parallel Downloads (Drops down to 166.66kbs if they download three at a time for each download)
Premium or Long Time Members get Unlimited

If this was possible this would be even better.

As I have seen dedicated software but they are really buggy and don't integrate with vbulletin very well.

will think about this.

Quote:

Also a flv player
there is one already - take a look in the extras directory of the release.

AndrewD 05-19-2007 12:09 PM

Quote:

Originally Posted by butty (Post 1250652)
hello. i currently have my ldm in my public_html/media folder.

i have found out that it is possible for people to find out that the contents are there and download the files when i dont have this option available under the settings

what i want to know is can i move the media folder below the public_html folder and will it still work. would this then stop people being able to download the files andhow would i go about moving it?

many thanks for your time

yes, this is explained in the online wiki, see http://www.eirma.org/wikis/index.php...nd_Server_Load

You use the local_file_root and local_file_root_prefix settings on the ldm admin page. Set local_file_root *on* so that LDM refers to files in terms of the server root directory rather than the website root directory, and set local_file_root_prefix to the name of the base directory you want to use - ** it's important that you do this, otherwise you are potentially opening up your whole server directory structure to LDM users **

If you move your current files cleverly into the same directory relative to ..local_file_root_prefix/, everything will continue to work unchanged, but be totally hidden from people who try to leech the files. If you have problems, you can always do a mass edit of the entries via the admin/categories page.

It's a good idea to take a backup...

AndrewD 05-19-2007 06:33 PM

Quote:

Originally Posted by Ophelia (Post 1249576)
Hello Andrew!

We want to create an area that is password protected so that only those we pm w/ the password can access it. Is this possible?

I think that I have to change the way LDM handles forum association. It seems straightforward to ask for the password when the user tries to view a category that is associated with a password protected forum, in the same way as the user is asked for the password when trying to view the forum itself.

What is less obvious is what to do about entries that are associated with such a forum. Remember that entries can be associated with different forums than the category they are in.

I think that the logical approach is to ask for the password when trying to access the entry, not when trying to view it in its category.

So this would suggest :

- categories associated with password protected forums would trigger a password request when the user tries to view the category
- entries associated with password protected forums would be visible in the category listing (assuming the user has the normal can_view_ privs to that forum) and would trigger the password request when the user tries to download/jump to the entry's url.

Does that make sense?

obmob 05-20-2007 01:06 AM

Quote:

Originally Posted by AndrewD (Post 1250775)
yes, this is explained in the online wiki, see http://www.eirma.org/wikis/index.php...nd_Server_Load

You use the local_file_root and local_file_root_prefix settings on the ldm admin page. Set local_file_root *on* so that LDM refers to files in terms of the server root directory rather than the website root directory, and set local_file_root_prefix to the name of the base directory you want to use - ** it's important that you do this, otherwise you are potentially opening up your whole server directory structure to LDM users **

If you move your current files cleverly into the same directory relative to ..local_file_root_prefix/, everything will continue to work unchanged, but be totally hidden from people who try to leech the files. If you have problems, you can always do a mass edit of the entries via the admin/categories page.

It's a good idea to take a backup...

If i have none enabled, am I in troubles? OO

obmob 05-20-2007 02:50 AM

vB 3.6.7 killed my LDM! u.u

=======================================
Unexpected critical failure
Critical Error: Cannot find Links and Downloads Manager database tables
=======================================

EDIT: NOOO! o.O
Geez, I'm tired... i forgot to change the database prefix ^^,

Now everything looks fine!

AndrewD 05-20-2007 04:21 AM

Quote:

Originally Posted by obmob (Post 1251149)
If i have none enabled, am I in troubles? OO

No.

GrendelKhan{TSU 05-20-2007 06:10 PM

woot! andrew still pwning all mods with his support! :D Andrew for vb mod president! :p

Quote:

Originally Posted by AndrewD (Post 1250772)
there is one already - take a look in the extras directory of the release.

how about one where ppl can upload regular movie files and it converts them to play in the flash player...

ie: that would give us all our own youtube, google vid etc site instantly!! :D awww yahh... user contributed movie content here we come!! that wold be sooo leet.

(sorry, I know that might not be possiboe...but it was a thought. :))


also, may LDM is producing weird letters when post comments to threads....
ie: make a comment to a video, it posts to thread... the comment comes out with weird text:
namely: " \r\n\r\n" appears :confused:

eg:
http://www.clantsu.org/forums/anime/...subtitled.html

still can't figure out why the thumbnail viewer isn't working for our music upload section. :( I have not changed any templates of LDM.

GrendelKhan{TSU 05-20-2007 06:32 PM

ps. sorry forgot a question...

is there a way to find out what the actually link to the file is? like if want to hotlink to an uploaded video or music file (mp3) to stream somewhere else (like another site or part of the forums)...

could I?


specifially I want to:

-upload a mp3 to LDM.
-link and/or stream it elswehre, like a separate xeon flash jukebox thingy or a separate site.

but I can't figure out what the url would be(much less whether it'd work). :( me stooopid.

kandip 05-21-2007 12:40 AM

Hello, can someone please help me with the local_stream.php?action=stream&linkid=3&catid=1

What happens is this... (when i try to stream a video file)

I have my local_files_root_prefix set as "home/username/
and the upload dir is set at "home/username/uploads/
local_files_root is set to yes

now when i try to stream a video file.. it loads a player but it does not stream. Now I dont know why it does that. I went through this entire thread, like 118 pages to find the solution.. but no luck...

It streams MP3 files just fine.

So someone please help me.. .thanks in advance.


All times are GMT. The time now is 01:25 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.05001 seconds
  • Memory Usage 1,767KB
  • 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