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)

shrapnelgames 09-15-2007 03:50 PM

Nevermind upgrading to 2.2.8 fixed this..

IrPr 09-15-2007 09:02 PM

I coded a Mirorrsites based mirrors ( such as megaupload, rapidshare, sendspace, etc ) for remote downloads integrated to LDM without any file modification! just coded some plugins and template modifications using my own mirrors table
i would suggest to add more hook locations, such as get_mainsql to LDM
( i can do it myself, but i want you to add hooks to LDM originally )

Again my special thanks to you Andrew!
sorry if any misspelling/missgrammaring

ChessMess 09-16-2007 03:07 PM

Ran into this problem during the import. I looked at the wiki site for hacks but its not really clear what the problem is or what the fix is. Anyone else run into this problem? I searched the thread but didn't run across anything. Thanks in advance! Oh.. this was the current stable release.

Quote:


Warning open_basedir is set to /hsphere2/shared/php/:/hsphere/shared/php/:/hsphere/local/home/:/hsphere/shared/apache/htdocs/:/tmp/ in your PHP installation
Please refer to the hack instructions for information on this setting
============================================
Environment checked
Creating LDM database tables
Step 1 - Verifying database tables
--- Creating THIS_TABLElinksadmin
--- Creating THIS_TABLElinkscat if it does not exist
--- Creating THIS_TABLElinksdownloads
--- Creating THIS_TABLElinksfavs
--- Creating THIS_TABLElinkslink
--- Creating THIS_TABLElinksltoc
--- Creating THIS_TABLElinksrate
Patching (1) LDM database tables
Fatal error: Call to undefined function patch_links_dbtables_stage1() in /hsphere/local/home/chessme0/stgu.com/startrekforum/admincp/plugin.php(1970) : eval()'d code on line 21
UPDATE: Ok I tried 2.2.8 RC2 and it seemed to install fine, though it gave the same BASEDIR error as above. I found the basedir article on the wiki ( http://www.eirma.org/wikis/index.php...asedir_Setting ) but its not fully clear, I'm going to guess that once I go into the admin section I can repoint things.

obmob 09-17-2007 04:44 PM

That seems to be a webhost problem, i think that happened to me with my previous webhoster. O_o is that a word?

X-Ocean 09-17-2007 04:53 PM

My LDM does not work, is there anybody who can tell me what went wrong? Im not so good in understanding the code so if you please can help me im greatful.

Take a look at the problem... http://www.x-ocean.eu/forum/local_links.php

I have made two test categories and the LDM creates a url to the folders http://www.x-ocean.eu/forum/local_links/links/3

... but when i want to enter the i get " the page cannot be found " :(

I dont know what to do...

regards,
Jonas

AndrewD 09-17-2007 05:05 PM

Quote:

Originally Posted by X-Ocean (Post 1340978)
My LDM does not work, is there anybody who can tell me what went wrong? Im not so good in understanding the code so if you please can help me im greatful.

Take a look at the problem... http://www.x-ocean.eu/forum/local_links.php

I have made two test categories and the LDM creates a url to the folders http://www.x-ocean.eu/forum/local_links/links/3

... but when i want to enter the i get " the page cannot be found " :(

I dont know what to do...

regards,
Jonas

I think you have turned on the 'SEO friendly' option on the LDM admin settings page, without also setting up your web server to handle this option. If so, you should turn off 'SEO friendly' in LDM or patch Apache...

AndrewD 09-17-2007 05:10 PM

Quote:

Originally Posted by ChessMess (Post 1340196)
Ran into this problem during the import. I looked at the wiki site for hacks but its not really clear what the problem is or what the fix is. Anyone else run into this problem? I searched the thread but didn't run across anything. Thanks in advance! Oh.. this was the current stable release.



UPDATE: Ok I tried 2.2.8 RC2 and it seemed to install fine, though it gave the same BASEDIR error as above. I found the basedir article on the wiki ( http://www.eirma.org/wikis/index.php...asedir_Setting ) but its not fully clear, I'm going to guess that once I go into the admin section I can repoint things.


The first error (patch_links_dbtables_stage1 not found) meant that the file includes/local_links_admininclude.php was not found - i.e. it had not been uploaded correctly.

The open_basedir message is just a warning. open_basedir is a web server/php security mechanism to stop scripts gaining access to the whole of the file system on your server. Provided it has been set up reasonably (i.e. so that your site has access to itself), you should not have problems with LDM in normal use. You could have problems if you try to use some of the more fancy LDM features which allow you to store files outside the website.

X-Ocean 09-17-2007 05:25 PM

Quote:

Originally Posted by AndrewD (Post 1340989)
I think you have turned on the 'SEO friendly' option on the LDM admin settings page, without also setting up your web server to handle this option. If so, you should turn off 'SEO friendly' in LDM or patch Apache...

Now when i made this change i get this error

The following setting(s) are invalid
upload_dir : /upload
Directory /upload (/upload) doesn't exist and I can't create it

I have created a folder called upload and try's to save but it will not work anyway.

/J

AndrewD 09-17-2007 05:59 PM

Quote:

Originally Posted by X-Ocean (Post 1341006)
Now when i made this change i get this error

The following setting(s) are invalid
upload_dir : /upload
Directory /upload (/upload) doesn't exist and I can't create it

I have created a folder called upload and try's to save but it will not work anyway.

/J

What are your LDM settings for local_file_root and local_file_root_prefix, and whereabouts in the file system have you created the /upload directory? There's probably a mismatch between these settings.

Am happy to take a look at your site if you wish - if so, send me a PM with site details and details of an account with admin privs.

AndrewD 09-17-2007 06:23 PM

As you can see, I'm back in circulation. Am not sure if there are any unresolved questions/problems other than today's. Please let me know if so. I note the suggestions for further enhancements, to be put on the list for the release after 2.2.8.

Before I make version 2.2.8 the new release, please can anyone who has used it confirm that there have been no problems. Thanks.

itsblack 09-17-2007 07:14 PM

Hi Andrew, glad to see you back again, hope you had a good holiday. :)

I found a little bug in 2.2.8 RC2.

By profile_ldmactivity, "My Recent LDM Entries" displays the same item x times, if this item belongs to more than 1 categories.

Another question with autocreate thread. Now the autocreated thread use the ldm item link like this:
http://forumpath/local_links.php?linkid=xxx&catid=xx
here I got problem with this "catid=xx": if I edit the item and change it to other category, then this link (in thread) has difficult to locate the correct item.
So I suggest just leaving "catid=" blank to avoid this problem. How do you thin?

Alfa1 09-17-2007 11:25 PM

Quote:

Originally Posted by AndrewD (Post 1318629)
I've attached the Dutch phrases file for LDM.

You will soon have a complete and revised Dutch translation.

Ksb2050 09-18-2007 03:37 AM

My LDM is having problems with restrictions.

I have it set so users can only download 3 files a day. However I logged in and downloaded 5 with no problem. Is there any way to fix? Leechers are killing me.

AndrewD 09-18-2007 05:56 PM

Quote:

Originally Posted by Ksb2050 (Post 1341428)
My LDM is having problems with restrictions.

I have it set so users can only download 3 files a day. However I logged in and downloaded 5 with no problem. Is there any way to fix? Leechers are killing me.

Happy to try to help but you've not given me enough information to go on. Would you like me to take a look at your site? If so, PM me details plus an account with admin privs.

AndrewD 09-18-2007 06:19 PM

Quote:

Originally Posted by itsblack (Post 1341106)
Hi Andrew, glad to see you back again, hope you had a good holiday. :)

Excellent, thanks. I don't want to be home ;)

Quote:

Originally Posted by itsblack (Post 1341106)
I found a little bug in 2.2.8 RC2.

By profile_ldmactivity, "My Recent LDM Entries" displays the same item x times, if this item belongs to more than 1 categories.

I think this has been there forever, but it seems easy to fix. I propose that when an entry is in more than one category, the profile listing will include one title linked to the first category, with one or more "+" on the same line linked to the other category/ies.

Quote:

Originally Posted by itsblack (Post 1341106)
Another question with autocreate thread. Now the autocreated thread use the ldm item link like this:
http://forumpath/local_links.php?linkid=xxx&catid=xx
here I got problem with this "catid=xx": if I edit the item and change it to other category, then this link (in thread) has difficult to locate the correct item.
So I suggest just leaving "catid=" blank to avoid this problem. How do you thin?

This is perfectly workable. An alternative, perhaps better in the long run, is that I handle this properly as an HTTP 301, permanently moved, status, and automatically redirect the browser. Which do you prefer?

DoB Rhapsody 09-18-2007 07:42 PM

Quote:

Originally Posted by blue6995 (Post 1337567)
I have installed 2.7.7 and the extras - flash-sites but whenever I create an entry for a youtube vid I am taken to the youtube site for it to play. All the embedded players included with LDM are enabled

Is there a way of resolving this?

Thanks

Same problem. Stilling awaiting a response :)

itsblack 09-18-2007 07:59 PM

Quote:

Originally Posted by AndrewD (Post 1341895)
This is perfectly workable. An alternative, perhaps better in the long run, is that I handle this properly as an HTTP 301, permanently moved, status, and automatically redirect the browser. Which do you prefer?

I prefer to the simple one, namely the one I suggested.

Or maybe you can change something else. Now when the item link is not correct, then the browser will be redirected to the category which catid=xx, instead of that, I prefer to redirect it to the item link which linkid=xxx. If this linkid has been deleted, then LDM will automatically display the error message, as now LDM does.

namely 09-18-2007 09:30 PM

I'm using force_redirect 1
because when I used 0 its take much process and make the server load high

I want to use force_redirect 1 and active hotlink protect
when I active hotlink protect the counter of allownece doesn't work

I want to use hotlink protect afraid from leech coz force_redirect 1 show the directlinks

how to use hotlink protect with force_redirect 1 and make the counter of allownece works?

Any help appreciated.

AndrewD 09-19-2007 04:15 AM

Quote:

Originally Posted by Ksb2050 (Post 1341428)
My LDM is having problems with restrictions.

I have it set so users can only download 3 files a day. However I logged in and downloaded 5 with no problem. Is there any way to fix? Leechers are killing me.

I took a quick look at your site, and have a couple of questions/suggestions.

a) At least for the account you gave me, the file download allowances are not switched on. If they were, I would see a message telling me my allowances in the category title box, see image.

b) With version 2.2.7 of LDM, allowances only apply to files that LDM itself manages as downloads. This means that the filetype has to appear in the main vbulletin attachments table (vb/admin/attachments/attachments manager). Your site offers .rar files, which are not by default in this table. I don't have sufficient access to check - have you added rar as a known vb filetype, with correct mimetype information?

(In LDM 2.2.8, allowances will apply to all local files regardless of whether they appear in the vb filetype table or not.)

AndrewD 09-19-2007 04:18 AM

Quote:

Originally Posted by itsblack (Post 1341960)
Or maybe you can change something else. Now when the item link is not correct, then the browser will be redirected to the category which catid=xx, instead of that, I prefer to redirect it to the item link which linkid=xxx. If this linkid has been deleted, then LDM will automatically display the error message, as now LDM does.

That was what I meant by the obscure mention of http 301. I'll see what we can do.

itsblack 09-19-2007 04:33 AM

Quote:

Originally Posted by AndrewD (Post 1342241)
That was what I meant by the obscure mention of http 301. I'll see what we can do.

OK, I got it. Thank you. :)

Rouzbeh1 09-19-2007 06:31 PM

hi Andrew,
welcome back.
could you please tell me how to change the autocreate thread template or php file?
i want to add a Download Button instead of text. the text link can't be seen easily

next question:
i have moved my server. is there any option to change ALL entries in a category at once?
this category has more than 500 sub cats....

thanks in advance

AndrewD 09-19-2007 06:44 PM

Quote:

Originally Posted by DoB Rhapsody (Post 1341948)
Same problem. Stilling awaiting a response :)

I just tried a Youtube video, and it works fine for me.

I installed the LDM flash addon, then created an entry pointing to a random video, http://www.youtube.com/watch?v=1F5RnaJkIeA

What url are you using?

AndrewD 09-19-2007 06:50 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1342610)
hi Andrew,
welcome back.
could you please tell me how to change the autocreate thread template or php file?
i want to add a Download Button instead of text. the text link can't be seen easily

The autothread and post creation code uses phrases to construct the messages - take a look, e.g., at the ldm_thread_create_body phrase.

Quote:

Originally Posted by Rouzbeh1 (Post 1342610)
next question:
i have moved my server. is there any option to change ALL entries in a category at once?
this category has more than 500 sub cats....

thanks in advance

Take a look at the LDM/admin/categories page. With the mass edit feature, you can do a great deal.

AndrewD 09-19-2007 06:55 PM

Quote:

Originally Posted by namely (Post 1342018)
I'm using force_redirect 1
because when I used 0 its take much process and make the server load high

I want to use force_redirect 1 and active hotlink protect
when I active hotlink protect the counter of allownece doesn't work

I want to use hotlink protect afraid from leech coz force_redirect 1 show the directlinks

how to use hotlink protect with force_redirect 1 and make the counter of allownece works?

Any help appreciated.

The allowances should apply correctly provided the entries have filetypes which are included in the vb attachments table. It doesn't matter if force_redirect is 0 or 1.

AndrewD 09-19-2007 06:56 PM

Quote:

Originally Posted by IrPr (Post 1339715)
I coded a Mirorrsites based mirrors ( such as megaupload, rapidshare, sendspace, etc ) for remote downloads integrated to LDM without any file modification! just coded some plugins and template modifications using my own mirrors table
i would suggest to add more hook locations, such as get_mainsql to LDM
( i can do it myself, but i want you to add hooks to LDM originally )

Again my special thanks to you Andrew!
sorry if any misspelling/missgrammaring

OK, will do.

DoB Rhapsody 09-19-2007 07:13 PM

Quote:

Originally Posted by AndrewD (Post 1342616)
I just tried a Youtube video, and it works fine for me.

I installed the LDM flash addon, then created an entry pointing to a random video, http://www.youtube.com/watch?v=1F5RnaJkIeA

What url are you using?

Same link format. Also tried other video site urls, nothing.

The one thing that i am kind of confused about is where to upload the "getid3" folder. You explain in the install as if i'm already supposed to have it but i can't find that folder so i just uploaded it the the root. Is that ok?

Rouzbeh1 09-20-2007 12:03 AM

Quote:

Originally Posted by AndrewD (Post 1342618)
Take a look at the LDM/admin/categories page. With the mass edit feature, you can do a great deal.

it didn't do it. i fixed it with help of permissions things.... lol

one more thing.
i found a bug in mirroring section. it doesn't count the bandwidth usage.
when i disable mirrors, it counts again

thanks ;)

AndrewD 09-20-2007 04:42 AM

Quote:

Originally Posted by DoB Rhapsody (Post 1342629)
Same link format. Also tried other video site urls, nothing.

The one thing that i am kind of confused about is where to upload the "getid3" folder. You explain in the install as if i'm already supposed to have it but i can't find that folder so i just uploaded it the the root. Is that ok?

Sorry if that is confusing. You upload the getid3 directory so that it becomes a subdirectory of your forum directory. However, that should not matter for youtube - it's only to provide a general player for flash.

I don't know what's going wrong - it sounds as if the entire extra is not functioning. Would you like me to take a look at your site?

AndrewD 09-20-2007 04:43 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1342789)
it didn't do it. i fixed it with help of permissions things.... lol

one more thing.
i found a bug in mirroring section. it doesn't count the bandwidth usage.
when i disable mirrors, it counts again

thanks ;)

Noted - will try to find the bug and fix it.

Phalynx 09-20-2007 11:49 AM

I get a blank page if I want to inform users of updated downloads. It takes some time, the mails are also send. Using 2.2.8 RC2

Darat 09-20-2007 12:17 PM

Running 2.2.7 and I've just upgraded to vbadvanced 3 RC2 (vBulletin 3.6.8) and if I attempt to display any of the modules I get a blank error screen. I've checked and I've got "Process PHP File Modules Within A Function" set to "no".

Any ideas (I have re-uploaded all the Links modules)?

Metal-R-US 09-20-2007 12:40 PM

Had that too, I installed 2.2.8 rc2 and the problem was gone...

AndrewD 09-20-2007 05:22 PM

Quote:

Originally Posted by Darat (Post 1343099)
Running 2.2.7 and I've just upgraded to vbadvanced 3 RC2 (vBulletin 3.6.8) and if I attempt to display any of the modules I get a blank error screen. I've checked and I've got "Process PHP File Modules Within A Function" set to "no".

Any ideas (I have re-uploaded all the Links modules)?

Unfortunately, vbAdvanced has been developing alongside LDM, and its coding interfaces have changed. I hope that the 2.2.8 code works correctly with vbA 3RC2 - I think it does but will be testing this thoroughly before making LDM 2.2.8 official.

Darat 09-20-2007 08:05 PM

Thanks - I'll risk upgrading to to 2.2.8, these are two addons I can't do without!

Darat 09-20-2007 08:22 PM

Just upgraded to 2.2.8 RC 2 and it is working fine on my vba 3 RC2 pages.

yahoooh 09-21-2007 12:03 AM

this is the great addon , i used since it was in 1.7 version

now i updated to 2.2.8 rc2

there is 2 bugs i found :
1.when i click the Media Players in admin. i lose what i choose on it for the encoding choice
-> just click to use encoding choice for all players then save , it will not save your choice in displaying

2. i add mid extension to be played with mediaplayer but it always ask me to dwonload when i visit the mid entries , i need it to be played in the player that included in page like other extensions

i suggest these features if it will be there , the product will be more than perfect :
1. uploading feature that can upload media vedio files and convert them to .flv to be seen by flash player of the site . like youtube service
2.when i have for example themes for mobiles and i have for any file of these themes one jif or jpg so
i need to ask the fcript to search in folder and collect all data entries for the files
and
the description for thes files will be also the omage related for them and this should be done automaticly
for example :file1.zip file2.zip file3.zip with file1.jpg file2.jpg file3.jpg
it will show :file1.zip with description file1.jpg ,ofcourse the image should be in the [img] to be shown and this should be done automaticly

i did it in 1.7 bu with manual edet every time i need to add like this manner

thank u for this product and it is very very professioanl with your support which is amazing

AndrewD 09-22-2007 07:02 AM

Quote:

Originally Posted by yahoooh (Post 1343468)
this is the great addon , i used since it was in 1.7 version

now i updated to 2.2.8 rc2

there is 2 bugs i found :
1.when i click the Media Players in admin. i lose what i choose on it for the encoding choice
-> just click to use encoding choice for all players then save , it will not save your choice in displaying


2. i add mid extension to be played with mediaplayer but it always ask me to dwonload when i visit the mid entries , i need it to be played in the player that included in page like other extensions

i suggest these features if it will be there , the product will be more than perfect :
1. uploading feature that can upload media vedio files and convert them to .flv to be seen by flash player of the site . like youtube service
2.when i have for example themes for mobiles and i have for any file of these themes one jif or jpg so
i need to ask the fcript to search in folder and collect all data entries for the files
and
the description for thes files will be also the omage related for them and this should be done automaticly
for example :file1.zip file2.zip file3.zip with file1.jpg file2.jpg file3.jpg
it will show :file1.zip with description file1.jpg ,ofcourse the image should be in the [img] to be shown and this should be done automaticly

i did it in 1.7 bu with manual edet every time i need to add like this manner

thank u for this product and it is very very professioanl with your support which is amazing

Thanks for the report and comments.

I've confirmed the bug report with the media players admin page. Will fix.

For the midi files, have you remembered to add .mid to the VB attachments table. Without this, LDM will always treat the file as a link, not as a download/media file.

AndrewD 09-22-2007 12:29 PM

Quote:

Originally Posted by itsblack (Post 1341960)
Now when the item link is not correct, then the browser will be redirected to the category which catid=xx, instead of that, I prefer to redirect it to the item link which linkid=xxx. If this linkid has been deleted, then LDM will automatically display the error message, as now LDM does.

On checking the code, I found that I had already coded this to happen, but there was a slight glitch. The final 2.2.8 will automatically redirect the browser to the entry in the correct category.

itsblack 09-22-2007 12:34 PM

Great!
Thank you, Andrew! :)


All times are GMT. The time now is 06:01 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.04331 seconds
  • Memory Usage 1,874KB
  • 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
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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