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)

specmav 05-11-2007 03:13 AM

I have installed it, set up all the settings and made sure the permissions were correct but I am getting an error when trying to view an entry i created.

I made a test category and threw a entry in to see how it all works. When I add the entry it shows up in the category with the (1 new) but when I click on the category it gives me an error:

Sorry - there is nothing to show you (no permissions, all entries hidden, etc...)

I made sure all the permissions were correct and I am logged in as an admin. Can someone help me fix this issue?

Thanks!

AndrewD 05-11-2007 04:16 AM

Quote:

Originally Posted by efil (Post 1245000)
Hi,
I get this error.

see attach,

You've got an old version of the ll_recent phrase. This used to read (in English)

Code:

{2} new entries {4}since {1}
and now reads

Code:

{2} new entries {3}since {1}
Edit the phrase by going to VB/admin/languages and phrases

AndrewD 05-11-2007 04:17 AM

Quote:

Originally Posted by specmav (Post 1245385)
I have installed it, set up all the settings and made sure the permissions were correct but I am getting an error when trying to view an entry i created.

I made a test category and threw a entry in to see how it all works. When I add the entry it shows up in the category with the (1 new) but when I click on the category it gives me an error:

Sorry - there is nothing to show you (no permissions, all entries hidden, etc...)

I made sure all the permissions were correct and I am logged in as an admin. Can someone help me fix this issue?

Thanks!

Yes, happy to help if I can. This will be something to do with conflicting permissions.

Send me a PM with details to your board and a userid with admin privs and I'll gladly take a look.

AndrewD 05-11-2007 04:30 AM

Quote:

Originally Posted by Alfa1 (Post 1244947)
Yes, that showed the problem. I had assigned all categories to a forum that had limited user rights using method A you described. This works as well. LDM entries caused threads in that forum.
I don't know why, but method C now works as well. I guess method A was overriding method B.

Can it be that entries with titles above 85 characters don't get added to New threads?

Sorry you're having problems getting this working the way you want. When you add the new entry, the Parent Forum section on the form shows you which forum will be used as the 'Associated Forum' (see picture). For admins, the left side of the form (under the words Parent Forum) show which forum is going to be used by default, and the menu iteslef allows you to change that forum.

I don't think there's any limitation on the length of the title - not that I've included, but there are checked to ensure that the forum is open for new posts, etc.


Quote:

Originally Posted by Alfa1 (Post 1244947)
I reapplied the association off all files within the Law LDM section with the Law forum category. Then posted a test comment on one of the LDM entries(Law), but nothing happened. No thread showed up. What do I do now?

With the current version of the plugins, comments are only displayed as posts if a thread has already been created when the LDM entry was added. It doesn't have to work that way, but that seemed the most sensible approach to me.

obmob 05-11-2007 03:11 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1244475)
hi Andrew
i have installed the ldm_new_thumb, but it's covering only one style.
what do i do to use the same module for one other style?(without having one module for each style)
thanks in advance

Quote:

Originally Posted by AndrewD (Post 1244778)
I don't know that much about vbadvanced. When you install a vba module, you have to specify the style into which the templates are placed. Isn't this about getting the style hierarchy correct, so that you choose a style which is a parent of all the styles of interest?

Anyone else know the answer?

Well, you need to create a new template inside your styles, each style will need a new template, unless you have parent styles. :D

digital3 05-11-2007 04:50 PM

When attempting to stream a linked file from the jukebox I am having an issue. I have some files stored on another domain on my server and the LDM, when trying to stream, is combining both URLs together and can't locate the file.

example: http://www.domainoftheldm.com/http:/...y/filename.avi

Above is how the LDM jukebox is seeing this file. I can download it but not stream it. Even downloading it though opens a new IE window and then the download selection box appears whereas downloading local files immediately gives me a download selection box without opening a new browser window.

I am using remote linking to prevent having to upload all these files one at a time through the LDM interface. Any help would be appreciated.

AndrewD 05-11-2007 07:51 PM

Quote:

Originally Posted by digital3 (Post 1245708)
When attempting to stream a linked file from the jukebox I am having an issue. I have some files stored on another domain on my server and the LDM, when trying to stream, is combining both URLs together and can't locate the file.

example: http://www.domainoftheldm.com/http:/...y/filename.avi

Above is how the LDM jukebox is seeing this file. I can download it but not stream it. Even downloading it though opens a new IE window and then the download selection box appears whereas downloading local files immediately gives me a download selection box without opening a new browser window.

I am using remote linking to prevent having to upload all these files one at a time through the LDM interface. Any help would be appreciated.

Which version and which media player? I think I've fixed this quite recently.

digital3 05-12-2007 12:11 AM

Quote:

Originally Posted by AndrewD (Post 1245827)
Which version and which media player? I think I've fixed this quite recently.

2.2.7 It was doing it with all media players.

digital3 05-12-2007 12:21 AM

I upgraded to the post2 release of 2.2.7. The issue is persisting. I will PM you with a link to look at it.

AndrewD 05-12-2007 06:22 AM

Quote:

Originally Posted by digital3 (Post 1245972)
I upgraded to the post2 release of 2.2.7. The issue is persisting. I will PM you with a link to look at it.

Interesting site...

I think the fix is in the 2.2.8 code - can you try uploading this file into your includes directory.

If this doesn't fix it, can you send me a PM pointing at a particular entry which creates the problem.

thanks

Alfa1 05-12-2007 01:19 PM

Andrew, I've been testing this in various ways, but still cant get this to work:
Quote:

Originally Posted by AndrewD (Post 1243748)
b) Create/edit category, and choose the associated forum on that menu. If you wish, retro-apply it to all existing entries. That forum will be the default for all new entries in the category

Can you please take a look?

digital3 05-12-2007 01:41 PM

Quote:

Originally Posted by AndrewD (Post 1246078)
Interesting site...

I think the fix is in the 2.2.8 code - can you try uploading this file into your includes directory.

If this doesn't fix it, can you send me a PM pointing at a particular entry which creates the problem.

thanks

It *is* interesting, isn't it? :D

The code fix doesn't seem to be working, unfortunately. I will PM you a direct link to a file that is hosted on another domain on my server. You already have my admin login.

digital3 05-12-2007 01:53 PM

Update: The files do stream but not until they are 100% downloaded. I will test this with the divX player and see if it suffers from the same issue as windows media.

digital3 05-12-2007 01:56 PM

OK. The divX player starts them to streaming instantly. I wonder if the windows media issue could be a problem with my local settings. Normally my windows media streams instantly too so I don't think it is. I have it set to a 5 second buffer.

AndrewD 05-12-2007 02:21 PM

Quote:

Originally Posted by digital3 (Post 1246241)
OK. The divX player starts them to streaming instantly. I wonder if the windows media issue could be a problem with my local settings. Normally my windows media streams instantly too so I don't think it is. I have it set to a 5 second buffer.

There are a number of problems with windows media player, one of which is that it insists on fetching files more than once. I'll take a look again and see if I can make any suggestions.

edenx 05-13-2007 12:35 PM

Hello AndrewD, thanks for this hack.

Question:
I want to Force Accept Termns & Conditions every time a member access Links and Downloads Manager, actually it seems it stores a cookie for 20 hours or something, but I want it to appear every time a user enters the LDM

Can you help me?

Thanks

RFC

Alfa1 05-13-2007 12:51 PM

New threads are not created if the file title length is above the allowed thread tittle length. With my files this is almost always the case. This is why it is not working. How can this be solved?

AndrewD 05-13-2007 04:02 PM

Quote:

Originally Posted by edenx (Post 1246791)
Hello AndrewD, thanks for this hack.

Question:
I want to Force Accept Termns & Conditions every time a member access Links and Downloads Manager, actually it seems it stores a cookie for 20 hours or something, but I want it to appear every time a user enters the LDM

Can you help me?

Thanks

RFC

Take a look at the code of local_links.php. Around line 317, you'll find a sequence that reads

Code:

        if ($vbulletin->db->num_rows($asb)) {
                $ldm_accept_timeout = 24*60*60; // one day
                $rec = $vbulletin->db->fetch_array($asb);
                if (($rec['usertime']+$ldm_accept_timeout)>TIMENOW) {
                        $ldm_accept = 1;
                }
        }

Change the line
Code:

                $ldm_accept_timeout = 24*60*60; // one day
to something like
Code:

                $ldm_accept_timeout = 3600; // one hour
You'll need a value greater than zero, otherwise you're going to irritate your members greatly as they try to look around your site and keep being asked the same question.

AndrewD 05-13-2007 04:30 PM

Quote:

Originally Posted by Alfa1 (Post 1246799)
New threads are not created if the file title length is above the allowed thread tittle length. With my files this is almost always the case. This is why it is not working. How can this be solved?

Take a backup copy of includes/local_links_misc.php, and then upload the attached file. That should do the job.

Conagher 05-13-2007 05:31 PM

=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

Anyone want to guide me in the right direct to fix this?

AndrewD 05-13-2007 06:56 PM

Quote:

Originally Posted by Conagher (Post 1246936)
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

Anyone want to guide me in the right direct to fix this?

Are you trying to install version 2.2.1 on VB 3.6?

Version 2.2.1 only works with vb 3.5. The version 2.2.7 in this thread works with both vb3.5 and 3.6.

TheHeartSmasher 05-14-2007 10:15 AM

When I try to save anything from the admin settings page I am prompted to download "local_links_admin.php"

Also for my open_basedir is a very long url that I cannot change how would I hide this in the admin settings so I do not have to scroll to the right to edit my settings?

Thank You in advance

AndrewD 05-14-2007 07:58 PM

Quote:

Originally Posted by TheHeartSmasher (Post 1247293)
When I try to save anything from the admin settings page I am prompted to download "local_links_admin.php"

Also for my open_basedir is a very long url that I cannot change how would I hide this in the admin settings so I do not have to scroll to the right to edit my settings?

Thank You in advance

The st problem sound like a problem with the configuration of your server or with a caching problem with your browser. Am happy totake a look if you want - send me a PM with details.

For the second question, you need to edit the links_admin_environment template. You'll find where it displays open_basedir.

TheHeartSmasher 05-16-2007 05:33 AM

I got curious and it seems that this only happens with Firefox.
If you have the Jukebox disabled and access a video (wmv) it will either stream download (load in the status progress bar of Firefox) or show a blank page.

Opened IE and it worked fine. So I enabled the Jukebox for everyone so they could view videos.

AndrewD 05-16-2007 05:54 AM

Quote:

Originally Posted by TheHeartSmasher (Post 1248532)
I got curious and it seems that this only happens with Firefox.
If you have the Jukebox disabled and access a video (wmv) it will either stream download (load in the status progress bar of Firefox) or show a blank page.

Opened IE and it worked fine. So I enabled the Jukebox for everyone so they could view videos.

There are quite a few of us who have problems with wmv plugins into browsers and IE and Firefox work differently. I haven't the detailed technical skills to understand exactly what is going on the depths of ActiveX and non-ActiveX solutions ;)

TheHeartSmasher 05-16-2007 04:10 PM

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.

[EDIT] Also a flv player

Ophelia 05-17-2007 04:06 PM

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?

freewhiteeagle 05-18-2007 04:16 PM

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

obmob 05-18-2007 04:20 PM

Quote:

Originally Posted by Conagher (Post 1246936)
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

Anyone want to guide me in the right direct to fix this?

Wrong thread? O.o

butty 05-19-2007 06:27 AM

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

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 11:12 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.03076 seconds
  • Memory Usage 1,901KB
  • 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
  • (5)bbcode_code_printable
  • (26)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