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)

dtommy79 08-10-2007 08:02 PM

hi,

I've installed this mod and I have a feww error in the admin page. First of all this one:

Quote:

Possible inconsistencies between LDM and its environment
- web server DocRoot /servers/httpd/htdocs seems to point to a non-existent directory
and then this one:

https://vborg.vbsupport.ru/

Here is a link to the picture:
http://kepfeltoltes.hu/070810/links_...toltes.hu_.gif

Any idea?

Mori750 08-10-2007 08:19 PM

Quote:

Originally Posted by AndrewD (Post 1314488)
Definitely not right! Do you want me to take a look? - if so send me a PM with site details and an admin username and password

i have same problem , Can u Help me plz? :)

AndrewD 08-11-2007 05:01 AM

Quote:

Originally Posted by dtommy79 (Post 1314713)
hi,

I've installed this mod and I have a feww error in the admin page. First of all this one:



and then this one:

http://kepfeltoltes.hu/thumb/070810/...toltes.hu_.gif

Here is a link to the picture:
http://kepfeltoltes.hu/070810/links_...toltes.hu_.gif

Any idea?

LDM has to be able to read and write files on your server, and it can be prevented from doing this by security settings on your server. One of these is the php.ini setting open_basedir. This prevents php scripts from reading and writing files except in directories specified in its setting or in their subdirectories.

It looks to me as if the setting of open_basedir on your server does not allow scripts to read/write files that are actually within your web site directories (which DOC_ROOT points to).

The message

web server DocRoot /servers/httpd/htdocs seems to point to a non-existent directory

actually means "I can't find out if the directory exists or not", and the reason is that your php.ini setting of open_basedir is forbidding this to happen.

If there is a good reason for excluding your web site from the open_basedir setting, you can still get LDM to work, but you have to make sure that uploads and and files that you provide to your community are stored in directories that are authorised by open_basedir. LDM will not be able to store thumbnails of images, because these have to be placed within the web site itself.

You achieve this using the LDM settings local_file_root and local_file_root_prefix. This is explained in the wiki, see url in the first post.

If you don't understand what I'm saying, you will need to speak to your site admin

AndrewD 08-11-2007 05:03 AM

Quote:

Originally Posted by Mori750 (Post 1314731)
i have same problem , Can u Help me plz? :)

I can help - send me a PM with site details and an admin account - but just to explain - the main problem on that site was that they were running the board in a non-English language and had not installed the LDM phrases for that language.

AndrewD 08-11-2007 05:06 AM

Quote:

Originally Posted by obmob (Post 1314003)
Oh, it is hairy! :eek:

Well, it's awesome, it was indeed the 'postlink' part, I don't know how this works, but is it possible to add a selectable menu in the filmstrip setting to select where we want to show it? Oh, and this kind of information is added to your wiki? It is quite useful. :D

Maybe for 2.2.9 or 2.3 :p

Thanks

I will make the final version in 2.2.8 behave in the proper way, i.e. with a selectable option in the admin and a standard template. I don't want people choking on hair balls. Bad enough when cats do it.

AndrewD 08-11-2007 05:58 AM

Quote:

Originally Posted by minimalize (Post 1311873)
Hi Andrew,

when i have a link like http://rapidshare.de/afile_name.mp3 the system tries to play the link with the mediaplayer. But this is the rapidshare url. Is there an option to turn the mediaplayer off for external links?

I think you can get round the problem with LDM/admin/settings => set force_redirect to 1. This may have some side effects, depending on what else is in your database.

I will have to think whether there is a better way to do this, without building in a list of special cases.

Alfa1 08-11-2007 12:40 PM

The amount of keywords in my LDM are rapidly getting quite large. Many keywords are misspellings. It would be nice to be able to merge keywords entries. for example: if you have the following keywords, with a certain number of entries linked to them:
pharmacology [32]
pharmacoligy [17]
It would be optimal to be able to merge them, so that all entries have the same correct keyword. As it is now you would have to edit them one by one and with thousands of entries this is not feasible.

hydn 08-11-2007 12:43 PM

I have an increasing # of members reporting the following error:

"Our records indicate that you have already registered under the name of Dory. If you have lost your password click HERE. If you would like to modify your account, click HERE."

Any ideas? It blocks users from downloading.

AndrewD 08-11-2007 01:04 PM

Quote:

Originally Posted by hydn (Post 1315178)
I have an increasing # of members reporting the following error:

"Our records indicate that you have already registered under the name of Dory. If you have lost your password click HERE. If you would like to modify your account, click HERE."

Any ideas? It blocks users from downloading.

That message is produced in the standard vbulletin register.php script I'm not sure why it should be displayed within LDM. What are your users doing that triggers it?

AndrewD 08-11-2007 01:04 PM

Quote:

Originally Posted by Alfa1 (Post 1315177)
The amount of keywords in my LDM are rapidly getting quite large. Many keywords are misspellings. It would be nice to be able to merge keywords entries. for example: if you have the following keywords, with a certain number of entries linked to them:
pharmacology [32]
pharmacoligy [17]
It would be optimal to be able to merge them, so that all entries have the same correct keyword. As it is now you would have to edit them one by one and with thousands of entries this is not feasible.

Understood. Will see how to handle this.

csavern 08-11-2007 09:43 PM

i try to setup the upload_dir and this is what i get
The following setting(s) are invalid
upload_dir : /upload_dir
Cannot access/create directory /upload_dir [/home/mysite/public_html/upload_dir
i have tried every way i know how to and still cant get it
could some one tell me what i am doing wrong

hydn 08-12-2007 03:01 AM

Quote:

Originally Posted by AndrewD (Post 1315180)
That message is produced in the standard vbulletin register.php script I'm not sure why it should be displayed within LDM. What are your users doing that triggers it?

That's immediately after they click to download a file. Mayne :DM prevents abuse per IP and they share the same ISP?

AndrewD 08-12-2007 05:15 AM

Quote:

Originally Posted by csavern (Post 1315480)
i try to setup the upload_dir and this is what i get
The following setting(s) are invalid
upload_dir : /upload_dir
Cannot access/create directory /upload_dir [/home/mysite/public_html/upload_dir
i have tried every way i know how to and still cant get it
could some one tell me what i am doing wrong

two possibilities to check - read/write permissions and the php setting open_basedir.

Take a look at your LDM admin pages, at the left hand column, where you will find a number of environmental variables. One of these is open_basedir. If this is set, then you can only create/access directories that start with a string that matches one of the parts of that setting.

In other words, if open_basedir is unset or looks something like the start of /home/mysite/public_html, then this is not the problem.

Another possibility is that you do not have write access to /home/mysite/public_html, so /upload_dir cannot be created. In this case, you will need to create the /home/mysite/public_html/upload_dir directory by hand, e.g. using your FTP client, and give it full read/write permissions.

AndrewD 08-12-2007 05:30 AM

Quote:

Originally Posted by hydn (Post 1315608)
That's immediately after they click to download a file. Maybe LDM prevents abuse per IP and they share the same ISP?

I've never come across this problem before and I can't immediately think what is causing it. However, LDM takes users to the VB registration script in the following situation:

the LDM setting *protected_link* is set to 2, and
the user does not have LDM *can_access_link* permission

I wonder - have you been adding new usergroups? These by default have no LDM access. Furthermore, in the older versions of LDM, the code worked out permissions (I think) on the user's primary usergoup, not using all his/her groups.

If this is the problem, then go to LDM/admin/permissions and give the new usergroups can_access_link permission

csavern 08-12-2007 11:06 AM

i sent a pm of what the php setting open_basedir looks like


Quote:

Another possibility is that you do not have write access to /home/mysite/public_html, so /upload_dir cannot be created. In this case, you will need to create the /home/mysite/public_html/upload_dir directory by hand, e.g. using your FTP client, and give it full read/write permissions.
as for that i have made the folder my self and CHMOD to 777 and still same error

Tulsa 08-12-2007 02:05 PM

I don't know, maybe I'm getting lost in the complexity of this wonderful mod and little guidance would be greatly appreciated.

Here's what I'm trying to do, please tell me the best way to go about doing it.

Initial categoy (type) > Sub category (manufacturer - up to 40 entries) > Sub category/item (items - up to 65 entries) > Item

I am wanting to keep from having to create 65 categories then 65 items, one in each category. Is there anyway to simple list the sub category/items, then display upon click the item itself in full?

1. I know I can show full/short entries with expand/collapse for the table but can I force the display to be collapsed for everyone and can I incorporate a thumbnail next to the item name in the collapsed scenario?

2. Is there a better way to achieve this functionality?

3. Also since I have over 1000 items listed currently in their own forum as individual threads, can I import all of these posts into individual entries?

4. For the expanded view of each entry, I prefer the look of the "featured" style but I can't find a way to edit the entry if I utilize "featured". Is there a way to edit the entry using the featured setting?

Thanks in advance and I'm using the 2.2.8 RC1 version.

obmob 08-12-2007 02:40 PM

Quote:

Originally Posted by AndrewD (Post 1315005)
I will make the final version in 2.2.8 behave in the proper way, i.e. with a selectable option in the admin and a standard template. I don't want people choking on hair balls. Bad enough when cats do it.

*cough cough* hairball! :eek:

Thanks Andrew! :D

AndrewD 08-12-2007 04:08 PM

Quote:

Originally Posted by Tulsa (Post 1315930)
I don't know, maybe I'm getting lost in the complexity of this wonderful mod and little guidance would be greatly appreciated.

0. Here's what I'm trying to do, please tell me the best way to go about doing it.

Initial categoy (type) > Sub category (manufacturer - up to 40 entries) > Sub category/item (items - up to 65 entries) > Item


I am wanting to keep from having to create 65 categories then 65 items, one in each category. Is there anyway to simple list the sub category/items, then display upon click the item itself in full?

1. I know I can show full/short entries with expand/collapse for the table but can I force the display to be collapsed for everyone and can I incorporate a thumbnail next to the item name in the collapsed scenario?

2. Is there a better way to achieve this functionality?

3. Also since I have over 1000 items listed currently in their own forum as individual threads, can I import all of these posts into individual entries?

4. For the expanded view of each entry, I prefer the look of the "featured" style but I can't find a way to edit the entry if I utilize "featured". Is there a way to edit the entry using the featured setting?

Thanks in advance and I'm using the 2.2.8 RC1 version.


0. and 3. Question - are the entries you are eventually serving files on your server or urls to external sites? If they are files on your server, you can autocreate the whole structure by using the category synchronisation feature. Ditto if the links in the forums are pointing to files on your server, again you can autocreate them in LDM the same way.

1. and 4. The featured style is supposed to look very clean, so doesn't have the icons. But these are just vbulletin templates - so you can always edit them, mixing and matching the pieces you like. You can find the names of the templates by going to LDM/admin/linkbits and catbits. All the pieces that fit into the various linkbit styles are available to them all, so you can add the thumbnail in with the $linkimgjump variable, etc (take a look in the links_linkbit template to see what I'm talking about).

2. Undoubtedly :) If I had the last three and half years over again, I might do things differently!

Let me know if you need more help.

Tulsa 08-12-2007 07:34 PM

Quote:

Originally Posted by AndrewD (Post 1315993)
Let me know if you need more help.

Oh I'm beyond help my friend, but this is a good kick-start for me. :up:

CamJM 08-12-2007 10:55 PM

Hi, was wondering how I might go about removing the bars that appear between links in the new files vba module.....

http://www.hrbuzz.com.au/vb/cmps_index.php?page=docs

Thanks

pictureboarduk 08-13-2007 12:15 AM

I don't get what this hack is.

I want to offer mp3's, ebooks and programs to my members on the forum. Will this allow them to access a 'shop' to get them.

Can you charge them for the downloads individually, like with points or something?

Could anyone explain for me?

Thanks.

obmob 08-13-2007 01:57 AM

Don't know if this would work as a shop script, but certainly it is able to distribute almost any kind of content to your users, and you can set limits to them, and also force them to do some kind of things before they are able to get a file or link.

Though, there is not a points system that works with LDM.

Sure Andrew will tell you a lot more about it.

AndrewD 08-13-2007 05:29 AM

Quote:

Originally Posted by CamJM (Post 1316193)
Hi, was wondering how I might go about removing the bars that appear between links in the new files vba module.....

http://www.hrbuzz.com.au/vb/cmps_index.php?page=docs

Thanks

This is happening because your entries have different values assigned for their 'Display Order' (Add/Edit Entry form). I agree that it is not needed on the vba interfaces, and will correct in version 2.2.8.

In the meantime, you can eliminate these bars completely (including in the main LDM displays) by editing the links_linkseparator template. Simply empty that template in your main style. It's a little trickier to do this just in the vba page, and it's probably easiest to wait for 2.2.8.

AndrewD 08-13-2007 05:31 AM

Quote:

Originally Posted by pictureboarduk (Post 1316232)
I don't get what this hack is.

I want to offer mp3's, ebooks and programs to my members on the forum. Will this allow them to access a 'shop' to get them.

Can you charge them for the downloads individually, like with points or something?



Could anyone explain for me?

Thanks.

The hack provides you with a way of giving your users managed access to your files or to their own. It can control things like access permissions, bandwidth use, and the like. It does not have a points system built in, nor any e-trading. However, you could easily integrate it with a standard e-commerce system (I use Payloadz) to integrate with a PayPal account.

itsblack 08-13-2007 05:48 AM

Quote:

Originally Posted by AndrewD (Post 1311243)
I'm at a loss with this. I set up a board using your Chinese translation, created various new entries to get threads created and tried adding comments.

a) the standard process with 2.2.8 code worked fine
b) when I tried killing the linkthread value, the standard release code did not work, for reasons I understand, but the simplified regular expression worked just fine.

I saw that you've modified the ldm_thread_create_relink message, which is what is generated/tested. In your version, there are extra bbcodes inside the thread bbcode, but even so, the following code:

Code:

        elseif ($forumid>0 and preg_match("/\[thread=(\d+)\]/", $row['linkdesc'], $match)) {
picks up the threadid fine.

Thank you Andrew. Sorry for the delay, due to some reason I couldn't use the internet last week.

Now the problem is the comment doesn't work with thread even the entry has a threadid. It seems the problem only occurs by me, I'm confused. Anything else should I notice?

itsblack 08-13-2007 06:06 AM

Quote:

Originally Posted by itsblack (Post 1316346)
Thank you Andrew. Sorry for the delay, due to some reason I couldn't use the internet last week.

Now the problem is the comment doesn't work with thread even the entry has a threadid. It seems the problem only occurs by me, I'm confused. Anything else should I notice?

Finally, I think I find the reason.

It's about "autocreate_forum". The discription said "Forum in which to post thread. Leave blank to use category's associated forum." But it does not! For I have several different categories associated with different forums, so I left this option blank. And as you see, the comments doesn't work with thread. I noticed that the script will first check the forumid, so I tried set the default autocreate_forum with one forum, now it works!

That means, in order to add comments to the thread, we must assign the autocreate_forum: either in the general setting or in the individual category setting.

AndrewD 08-13-2007 07:15 AM

Quote:

Originally Posted by itsblack (Post 1316352)
Finally, I think I find the reason.

It's about "autocreate_forum". The discription said "Forum in which to post thread. Leave blank to use category's associated forum." But it does not! For I have several different categories associated with different forums, so I left this option blank. And as you see, the comments doesn't work with thread. I noticed that the script will first check the forumid, so I tried set the default autocreate_forum with one forum, now it works!

That means, in order to add comments to the thread, we must assign the autocreate_forum: either in the general setting or in the individual category setting.

OK, I think that must be a bug :) Sorry to waste your time. I'll look into this tonight.

itsblack 08-13-2007 07:27 AM

Quote:

Originally Posted by AndrewD (Post 1316380)
OK, I think that must be a bug :) Sorry to waste your time. I'll look into this tonight.

No, no, you don't need say sorry. I can understand, because LDM is a big project, you have done your best. I'm glad I can help you somehow.

CamJM 08-13-2007 10:46 AM

Quote:

Originally Posted by AndrewD (Post 1316340)
This is happening because your entries have different values assigned for their 'Display Order' (Add/Edit Entry form). I agree that it is not needed on the vba interfaces, and will correct in version 2.2.8.

In the meantime, you can eliminate these bars completely (including in the main LDM displays) by editing the links_linkseparator template. Simply empty that template in your main style. It's a little trickier to do this just in the vba page, and it's probably easiest to wait for 2.2.8.

Thanks Andrew, you've always been so helpful :)

obmob 08-13-2007 02:22 PM

Hello, hello... i'm wondering if i already asked for help on the next issue? :p

I was wondering if there is way, where i can upload images, and once the user clicks to download or watch the original file, this one is diplayed inside a page that uses somekind of linkbit template to add some instructions on how to download or save the file.

I think I have had this on my mind for months... so I was wondering if i ever asked for help. :D

Thanks!

BTW, Andrew, maybe you could signup for a google adsense account and add some banners inside your wiki... that way i could click some cents to you from time to time. :p

Phalynx 08-13-2007 02:27 PM

Using now 2.2.8 post 2 I have detected that by using the action "jump" the download is not registered in vB's "Who's Online".
That's bad, because many sites are redirecting directly to action=jump instead of the linkid, so many users are not listed...

Is there a possibility to change the behaviour of LDM?

My only solution at the moment is to send a redirect within the hook download_complete

AndrewD 08-13-2007 04:34 PM

Quote:

Originally Posted by Phalynx (Post 1316573)
Using now 2.2.8 post 2 I have detected that by using the action "jump" the download is not registered in vB's "Who's Online".
That's bad, because many sites are redirecting directly to action=jump instead of the linkid, so many users are not listed...

Is there a possibility to change the behaviour of LDM?

My only solution at the moment is to send a redirect within the hook download_complete

Noted, will check.

hydn 08-13-2007 08:36 PM

Quote:

Originally Posted by AndrewD (Post 1315670)
I've never come across this problem before and I can't immediately think what is causing it. However, LDM takes users to the VB registration script in the following situation:

the LDM setting *protected_link* is set to 2, and
the user does not have LDM *can_access_link* permission

I wonder - have you been adding new usergroups? These by default have no LDM access. Furthermore, in the older versions of LDM, the code worked out permissions (I think) on the user's primary usergoup, not using all his/her groups.

If this is the problem, then go to LDM/admin/permissions and give the new usergroups can_access_link permission


Thanks. It was the permissions. Added a new group a few days ago.

Mori750 08-14-2007 12:55 PM

after i Installed LMD I cant upload Avatar I got This erorr :( any one can help me ?
Code:

Warning: tempnam(): open_basedir restriction in effect. File(/home/..../tmp) is not within the allowed path(s): (/home/***/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/***/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail) in /includes/class_upload.php on line 346

AndrewD 08-14-2007 01:41 PM

Quote:

Originally Posted by Mori750 (Post 1317322)
after i Installed LMD I cant upload Avatar I got This erorr :( any one can help me ?
Code:

Warning: tempnam(): open_basedir restriction in effect. File(/home/..../tmp) is not within the allowed path(s): (/home/***/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/***/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail) in /includes/class_upload.php on line 346

I doubt that this is an LDM error. Your site is protected by the php setting "open_basedir" which stops the vbulletin scripts from uploading into the required temporary directory. You need to speak to your site admin.

obmob 08-14-2007 10:52 PM

Quote:

Originally Posted by obmob (Post 1316567)
Hello, hello... i'm wondering if i already asked for help on the next issue? :p

I was wondering if there is way, where i can upload images, and once the user clicks to download or watch the original file, this one is diplayed inside a page that uses somekind of linkbit template to add some instructions on how to download or save the file.

I think I have had this on my mind for months... so I was wondering if i ever asked for help. :D

Thanks!

BTW, Andrew, maybe you could signup for a google adsense account and add some banners inside your wiki... that way i could click some cents to you from time to time. :p

:( no answer for me!

itsblack 08-15-2007 01:02 AM

Hi Andrew, about the autocreatd posts from comments/rates. I hope when there is only rate but no comment given, then LDM will not creat a new post. Or you can make an option let people choose. Thanks in advance.

AndrewD 08-15-2007 03:54 AM

Quote:

Originally Posted by obmob (Post 1317685)
:( no answer for me!

Was busy thinking and replacing a busted graphics card.

I'll add a new plugin in the next 2.2.8 upload which does this job.

AndrewD 08-15-2007 03:55 AM

Quote:

Originally Posted by itsblack (Post 1317749)
Hi Andrew, about the autocreatd posts from comments/rates. I hope when there is only rate but no comment given, then LDM will not creat a new post. Or you can make an option let people choose. Thanks in advance.

Noted.

dilbert 08-15-2007 01:19 PM

Andrew,
I don't think we can say it enough, thank you for all of your hard work. Your support of this project is exceptional.


All times are GMT. The time now is 04:57 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.04107 seconds
  • Memory Usage 1,896KB
  • 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
  • (28)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