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)

hotwheels 01-25-2008 07:50 PM

Really frustrated right now, but i uploaded the flv player and the jukebox, and i can't find out how to force them to play. When i try to upload an flv, there is nowhere to place the flv file. I imported the radio stations the came with the file and when i click on a station, all i get is "page can't be displayed'...........would you have any idea what i am missing here.......I have uploaded every file you have in the extras, and it almost acts like the getid3 isn't locating itself.

hotwheels 01-25-2008 11:16 PM

I keep getting this error with the radio stations: Fatal error: Call to undefined function: strripos() in /home/******/public_html/forums/includes/local_links_players.php(296) : eval()'d code on line 20

hotwheels 01-26-2008 03:52 AM

well, after 16hrs straight of trying to get this to function, i ended up deleting it..........thanks anyways..

AndrewD 01-26-2008 04:10 AM

Quote:

Originally Posted by hotwheels (Post 1428993)
I keep getting this error with the radio stations: Fatal error: Call to undefined function: strripos() in /home/******/public_html/forums/includes/local_links_players.php(296) : eval()'d code on line 20

Sorry about that - I imagine your site is using php4 - I must have omitted a check for that version. But I'm somewhat confused about the error message because I can't find the line in the code that it's referring to.

The easiest for me to solve this report and your previous one is to take a look at your site - do you mind? - If that's ok, pm the details and an account that has vb admin privs.

AndrewD 01-26-2008 05:15 AM

Quote:

Originally Posted by hotwheels (Post 1429085)
well, after 16hrs straight of trying to get this to function, i ended up deleting it..........thanks anyways..

As I said, my apologies. Am willing to help to sort out the problem.

hotwheels 01-26-2008 08:40 PM

No need to apologize andrewD, you do a great job with support for this mod.........One of these day's i may try it again and see what happens. I am not sure on that code either, I searched and searched and just couldnt' get it to work correctly.

AndrewD 01-27-2008 05:07 AM

Quote:

Originally Posted by Vinyljunky (Post 1426603)
Andrew,

I'd really appreciate that thank you. I suspect that many others would like the search function integrated within vb3.6.x

I cant see that I will be moving to vb3.7 for at least 6 months.

Have a good day :up:

VinylJunky

The attached plugin will patch your board to add an LDM quick search box as part of the main vb search dropdown. Install it in the usual way (vb/products and plugins/upload plugin)

It's nothing fancy - English only.

Let me know if this suits you ok/works as you want.

Phalynx 01-29-2008 06:28 AM

There is a bug regarding the permission system. A user pointed me to that.

- Content deleted due to request of author

I'm using 2.2.8 Post 1 with vBulletin 3.7 and updated local_init.php - I didn't tested 2.2.9 yet.

AndrewD 01-29-2008 09:03 AM

Quote:

Originally Posted by Phalynx (Post 1431446)
There is a bug regarding the permission system. A user pointed me to that.

I'm using 2.2.8 Post 1 with vBulletin 3.7 and updated local_init.php - I didn't tested 2.2.9 yet.

Noted, will fix as soon as possible.

Please will you delete your post, so that this bug is not made very visible.

Vinyljunky 01-29-2008 09:50 AM

Quote:

Originally Posted by AndrewD (Post 1429822)
The attached plugin will patch your board to add an LDM quick search box as part of the main vb search dropdown. Install it in the usual way (vb/products and plugins/upload plugin)

It's nothing fancy - English only.

Let me know if this suits you ok/works as you want.

Andrew,

That is just what I needed :up:

I havent made a donation to you in a while, so I'll donate $10 I really appreciate your code and all the hours you spenfd supporting it. I must admit that I wouldnt have the patience, I'd keep saying RTFM :o

I appeal to those of you who havent yet donate to do so. If we all donate a few dollars it will make a big difference to Andrews beer fund :D

Thanks / Merci

VinylJunky

civil78 02-03-2008 03:36 PM

One quick question, Where I can find the file for 2.2.7 Version?

AndrewD 02-03-2008 04:12 PM

Quote:

Originally Posted by civil78 (Post 1435393)
One quick question, Where I can find the file for 2.2.7 Version?

Here

civil78 02-03-2008 04:48 PM

Quote:

Originally Posted by AndrewD (Post 1435447)
Here

Thank you.

InoffLine 02-04-2008 04:30 AM

I am transfering ,y forum to a new server.
But I forgot to export ldm, but I have a full sql backup.
Can you tell me what tables, I need to restore?

AndrewD 02-04-2008 04:41 AM

Quote:

Originally Posted by InoffLine (Post 1435823)
I am transfering ,y forum to a new server.
But I forgot to export ldm, but I have a full sql backup.
Can you tell me what tables, I need to restore?

Assuming that you kept the default table names, it is all the tables with names starting local_links - there are eleven in version 2.2.8

AndrewD 02-04-2008 03:47 PM

I have made available a patch in the patch-cat.xml file supplied at the start of this thread. This protects against a bug which can give unauthorised access to protected files in your LDM database.

This fix is *only* required if you use LDM's *can_access_category* permission to limit access to certain categories. It is *not* needed if you use this permission to restrict your entire database, by denying this permission at the admin level, or if you use the LDM forums-based permissions system.

Install as a normal VB plugin.

Phalynx 02-04-2008 07:42 PM

Thanks.

Noxious 02-06-2008 11:19 PM

how can i get this working for 3.7 beta 4??

i currently get the message

Quote:

Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.8 requires VBulletin version 3.5/3.6

obmob 02-07-2008 01:40 AM

You should try 2.2.9 alpha :D
https://vborg.vbsupport.ru/showthread.php?t=166094

UKDarkstar 02-07-2008 07:48 AM

I need to be able to upload gaming maps/patches/mods etc to my forum for Members and have them be able to upload too.

Would this perhaps be suitable for this (some files can be v large e.g. 100Mb) ?

We've tried Downloads II but seem to have probs with it uploading the files.

Thanks

SteveC 02-08-2008 04:15 AM

I'm moving servers and trying to set up LDM on my new site so I can test it before I go live. For some reason, it won't recognize my upload directory. the directory is forum/downloads but it won't accept it. Could this be because my domain isn't moved yet? And all the existing files point back to my OLD server. So somewhere my old server's URL must be entered as a default but I can't find where

EeeZee 02-08-2008 08:31 PM

Thank you for this -- just what I was looking for. Not too much and not too little. Being very new to vB I need all the help I can get! :)

AndrewD 02-09-2008 12:34 PM

Quote:

Originally Posted by SteveC (Post 1438665)
I'm moving servers and trying to set up LDM on my new site so I can test it before I go live. For some reason, it won't recognize my upload directory. the directory is forum/downloads but it won't accept it. Could this be because my domain isn't moved yet? And all the existing files point back to my OLD server. So somewhere my old server's URL must be entered as a default but I can't find where

I'd normally offer to help by taking a look at your site, but I'm on vacation at the moment, with only occasional internet access.

When you created the original entries, did you use the full url or a local filename?

Best way to check is to go to ldm/admin/categories and try the mass edit features there.

UKDarkstar 02-10-2008 05:55 AM

Quote:

Originally Posted by UKDarkstar (Post 1438036)
I need to be able to upload gaming maps/patches/mods etc to my forum for Members and have them be able to upload too.

Would this perhaps be suitable for this (some files can be v large e.g. 100Mb) ?

We've tried Downloads II but seem to have probs with it uploading the files.

Thanks

*bump*

Anyone ?

oz_moses 02-10-2008 10:17 AM

UKDarkstar, I'm by no means an expert on this, however you could upload the 100Mb files via ftp then use LDM to provide a pointer to the ftp'd uplaod

skrazydogz 02-10-2008 10:24 AM

I have a question. Has this Hack a function like "thread create Addon for DownloadsII" ?

thanks for response

UKDarkstar 02-10-2008 06:20 PM

Quote:

Originally Posted by oz_moses (Post 1439969)
UKDarkstar, I'm by no means an expert on this, however you could upload the 100Mb files via ftp then use LDM to provide a pointer to the ftp'd uplaod

yeh, tried that with Downloads II and it didn't work. Also don't want to give members ftp access.

Hence asking about this :)

AndrewD 02-11-2008 01:00 PM

Quote:

Originally Posted by skrazydogz (Post 1439979)
I have a question. Has this Hack a function like "thread create Addon for DownloadsII" ?

thanks for response

I don't know what DownloadsII does.

But it sounds like the 'autocreate thread on new LDM entry' feature, which is available here.

AndrewD 02-11-2008 01:03 PM

Quote:

Originally Posted by UKDarkstar (Post 1440272)
yeh, tried that with Downloads II and it didn't work. Also don't want to give members ftp access.

Hence asking about this :)

100mb uploads are problematic at all times. The standard upload feature built into LDM relies on http forms, which do not have error checking built in. If I can get it working reliably, the next release (for vb 3.6 and 3.7) will have a flash-based uploader, which I believe is more reliable and gives progress indication. But I need to get it working.

mri_mohammad 02-11-2008 03:50 PM

hi this is great hack but some body do something like that
see screenshot attached
how i can do something like that?

Alfa1 02-11-2008 04:26 PM

That indeed looks very nice. Especially the way to display part one and two.

versionist7 02-12-2008 12:36 AM

Hi. Could use a little help here-
In Links and Downloads in Admin panel-

for: can_edit_link
Usergroups that can edit existing links. (Users can always edit their own links.)

Well, that's not true for my forum- Users cannot seem to delete their music tracks.

And if I go to:

can_edit_link
Usergroups that can edit links.

And, I enable Users- well, that's global, so anyone can delete anyone else's tracks. What do you think is wrong here?

Thanks,
Steve

dodjer42 02-18-2008 08:37 AM

I've been using LDM for ages and love it. I just moved my forum from one site to another and some of the links come up with this error:

"Sorry - link is not currently available"

Any ideas?

AndrewD 02-18-2008 09:55 AM

Quote:

Originally Posted by dodjer42 (Post 1445787)
I've been using LDM for ages and love it. I just moved my forum from one site to another and some of the links come up with this error:

"Sorry - link is not currently available"

Any ideas?

Are the broken links pointing to documents on your own server or somewhere else? Check if the local documents use urls that are relative to the local server or full urls. Also check the admin settings local_file_root and local_file_root_prefix. If you are using a reasonably recent version, the easiest way to check these is with admin/categories/mass edit.

cillianok 02-18-2008 12:04 PM

<i>
2. If your web site runs on Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), a key php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files on your server. LDM detects this problem and issues a fatal error if necessary. If this occurs, edit includes/local_links_init.php and define the constant LDM_DOCUMENT_ROOT. The code highlights where to make the edit. Alternatively, you can patch your web server to define DOCUMENT_ROOT correctly.
</i>

I'm getting this error:

=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================

I'm assuming this is the error you mentioned?

How/where do I "define the constant LDM_DOCUMENT_ROOT"

or How do I patch the server?

thanks..

AndrewD 02-18-2008 12:30 PM

Quote:

Originally Posted by cillianok (Post 1445855)

2. If your web site runs on Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), a key php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files on your server. LDM detects this problem and issues a fatal error if necessary. If this occurs, edit includes/local_links_init.php and define the constant LDM_DOCUMENT_ROOT. The code highlights where to make the edit. Alternatively, you can patch your web server to define DOCUMENT_ROOT correctly.


I'm getting this error:

=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================

I'm assuming this is the error you mentioned?

How/where do I "define the constant LDM_DOCUMENT_ROOT"

or How do I patch the server?

thanks..

The file local_links_init.php is contained in the includes/ subdirectory of the release zipfile and uploaded into the forums/includes/ subdirectory.

Open the file using a text editor and find these lines:

Code:

if ($_SERVER["DOCUMENT_ROOT"]) {
        define('LDM_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);
}
else {
// If you are running the IIS web server in CGI mode on Windows or if otherwise warned, uncomment and edit this line
//        define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
}

You need to replace the line
Code:

//        define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
by the correct directory path to your web site, e.g.:

Code:

        define('LDM_DOCUMENT_ROOT', '/data/www-root/mysite');

You can generally figure out what is your '/data/www-root/mysite' by going to your vbulletin/admincp/maintenance/php info page, and taking a look at the listing. I can't easily tell you what line to look for, as I do not have a windows-based IIS server available.

If you have problems with this, send me a PM with site details and a username/password for an account with admin privs on your board, and I'll take a look myself.

dodjer42 02-18-2008 09:05 PM

Quote:

Originally Posted by AndrewD (Post 1445803)
Check if the local documents use urls that are relative to the local server or full urls. Also check the admin settings local_file_root and local_file_root_prefix.

Yes local_file_root_prefix was incorrect. However whenever I try to change it to the correct page, I hit the update button and I get an error message that:

<path>/local_links_admin.php

Is unavailable.

Thanks for the quick support btw :P

Should I try editing the init file manually?

AndrewD 02-19-2008 02:59 AM

Quote:

Originally Posted by dodjer42 (Post 1446219)
Yes local_file_root_prefix was incorrect. However whenever I try to change it to the correct page, I hit the update button and I get an error message that:

<path>/local_links_admin.php

Is unavailable.

Thanks for the quick support btw :P

Should I try editing the init file manually?

I don't really understand this, as you are already on the admin page? You haven't renamed the scripts, have you? The define statements at the start of the local_links_init.php file should point to the various mail ldm script files, in particule ADMIN_SCRIPT.

dodjer42 02-19-2008 06:52 AM

Quote:

Originally Posted by AndrewD (Post 1446360)
I don't really understand this, as you are already on the admin page?

Under admin/categories/LDM settings I go to the local_file_root_prefix setting and input the full path on the new server. I then click the update button and I get page not found. So the change never gets made. Yes I am already on that page - so it does exist.

I havent renamed anything.

AndrewD 02-19-2008 07:20 AM

Quote:

Originally Posted by dodjer42 (Post 1446427)
Under admin/categories/LDM settings I go to the local_file_root_prefix setting and input the full path on the new server. I then click the update button and I get page not found. So the change never gets made. Yes I am already on that page - so it does exist.

I havent renamed anything.

Just to rule out the obvious, have you a) tried clearing the browser cache and b) tried a different browser?


All times are GMT. The time now is 09:09 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.04613 seconds
  • Memory Usage 1,847KB
  • 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
  • (3)bbcode_code_printable
  • (20)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