vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

obmob 06-23-2008 10:43 PM

Quote:

Originally Posted by AndrewD (Post 1556058)
This caused me to lose a bit more hair (not much left).

The attached file modifies the import process to process kanji, etc, provided these are being handled in the form of extended html entities. (This is the default behaviour, as far as I can tell, but I'm not an expert on utf8 and the like.)

If you want to give it a try, be my guest. I'd appreciate a report. Just replace this file in your forum/includes directory. It doesn't change the export file; just processes the import file with a little more intelligence.

NB: This will only work if your php installation supports the *mbstring* extension (you can check by going to vb/admin/maintenance/phpinfo and scrolling down to look for that section).

Andrew is baldy now? >.<

I'm glad to tell you it worked perfectly! ^^

Thanks!!

AndrewD 06-24-2008 03:47 AM

Quote:

Originally Posted by sparklywater (Post 1557213)
Is it possible to run multiple 'LDM databases/directories' at the same time using a single installation of LDM, ie. one for 'links', one for 'downloads', one for 'picture-gallery', etc? I don't see the option to do this, can someone please direct me to the relevant info?

LDM is not set up to run completely separate directories at the same time from the same code files, although I think it could be hacked to do so without much difficulty.

Why not simply set up separate base categories for links, downloads, photos, etc, and then provide direct url links into these categories? You can easily set up different access permissions, settings, etc for teh different categories.

AndrewD 06-24-2008 04:06 AM

Quote:

Originally Posted by obmob (Post 1557271)
Andrew is baldy now? >.<

Increasingly so

Quote:

Originally Posted by obmob (Post 1557271)
I'm glad to tell you it worked perfectly! ^^

Thanks!!

I'll find a way to incorporate this into the next release as a standard feature.

dkny 06-24-2008 03:59 PM

Hi
first off I love your product, it's great and have been using it for a year on 3.6.

I upgraded my forum over the weekend and uploaded your product to the latest version. I cant get it to work though, in settings it under where my files are stored (which I didn't change), it gives me the following error:

upload_dir : /forum/uploads/99/
Cannot access or create directory /forum/uploads/99/ [/forum/uploads/99/ not within permitted open_basedir /home/ncc: /usr/lib/php: /usr/local/lib/php: /tmp]

AndrewD 06-24-2008 04:15 PM

Quote:

Originally Posted by dkny (Post 1557857)
Hi
first off I love your product, it's great and have been using it for a year on 3.6.

I upgraded my forum over the weekend and uploaded your product to the latest version. I cant get it to work though, in settings it under where my files are stored (which I didn't change), it gives me the following error:

upload_dir : /forum/uploads/99/
Cannot access or create directory /forum/uploads/99/ [/forum/uploads/99/ not within permitted open_basedir /home/ncc: /usr/lib/php: /usr/local/lib/php: /tmp]

From the look of your error message, you've got the LDM admin setting *local_file_root* turned off (i.e. store files outside the web directory), and your web server has open_basedir set, so that PHP is only allowed to access files in the named directories. The message says that your upload directory is not within the space allowed by open_basedir.

If everything was working before and none of these settings have changed, I find that strange.

I imagine that you mean to have *local_file_root* turned on (presumably you want to store your uploads in a subdirectory of your forums directory). Easiest approach is
* clear the upload directory and save the settings
* set local_file_root on and save the settings
* reset the upload directory

roymogg 06-24-2008 07:21 PM

Hi Andrew

This mod went in a treat - still playing with the layouts before I go live.

I have had a problem with using the mod to include asx media files get a white screen when I select a media file - have uploaded the product as normal from the extras director and all seems OK (also added the asx to attachments).

However I cannot access the 'import radio-stations admin tab as I (as administrator) am advised I do not have permissions. I cannot see where this is set in the settings permissions area.

Can you help point me in the right direction.

cheers

Roy

Bexter 06-24-2008 08:55 PM

Ok, so i've got this installed on my site, it's great.
However, im also an admin on another site which has this installed. The main admin installed it there. Now when adding files to them both I've noticed that on his site, I'm able to upload an image as well for the file, but I cant get that on my site. Ive looked through all the settings on both sites and changed pretty much all the settings, except the ones which I want customised for my site and I know have nothing to do with it. They dont have any extra plugins installed, I downloaded the latest version thinking that could be why, but nope, still dont get the upload an image option. Is there something I might be missing :S.

dkny 06-24-2008 10:48 PM

Quote:

Originally Posted by AndrewD (Post 1557869)
From the look of your error message, you've got the LDM admin setting *local_file_root* turned off (i.e. store files outside the web directory), and your web server has open_basedir set, so that PHP is only allowed to access files in the named directories. The message says that your upload directory is not within the space allowed by open_basedir.

If everything was working before and none of these settings have changed, I find that strange.

I imagine that you mean to have *local_file_root* turned on (presumably you want to store your uploads in a subdirectory of your forums directory). Easiest approach is
* clear the upload directory and save the settings
* set local_file_root on and save the settings
* reset the upload directory

thank you that helped, works fine now.

AndrewD 06-25-2008 03:40 AM

Quote:

Originally Posted by Bexter (Post 1558078)
Ok, so i've got this installed on my site, it's great.
However, im also an admin on another site which has this installed. The main admin installed it there. Now when adding files to them both I've noticed that on his site, I'm able to upload an image as well for the file, but I cant get that on my site. Ive looked through all the settings on both sites and changed pretty much all the settings, except the ones which I want customised for my site and I know have nothing to do with it. They dont have any extra plugins installed, I downloaded the latest version thinking that could be why, but nope, still dont get the upload an image option. Is there something I might be missing :S.

The 'Add Entry' form has up to four fields for url/url upload/image/image upload, see attached picture. Check which of these are visible for you.

The two Image fields only appear when the setting *link_imagesize* is >0.

The two Upload fields only appear when uploading is both enabled and allowed for the current user. It's enabled if the *upload_enabled* setting is on; it's allowed if the LDM permission *can_upload_files* is on for the curent user group.

Get back to me if this doesn't help.

AndrewD 06-25-2008 03:48 AM

Quote:

Originally Posted by roymogg (Post 1558014)
Hi Andrew

This mod went in a treat - still playing with the layouts before I go live.

I have had a problem with using the mod to include asx media files get a white screen when I select a media file - have uploaded the product as normal from the extras director and all seems OK (also added the asx to attachments).

White screens usually mean a php error which gets caught up with vbulletin's screen handling. To find out if this is the case, go to vbulletin/admin/options/cookies and html headers and unset the 'gzip html output' option. Then try again and see if you get something other than the white screen. I'll also investigate.

Quote:

Originally Posted by roymogg (Post 1558014)
I cannot access the 'import radio-stations admin tab as I (as administrator) am advised I do not have permissions. I cannot see where this is set in the settings permissions area.

My mistake - I've been too rigorous with the error checking. Will post a fix as soon as possible. Sorry.


All times are GMT. The time now is 03:48 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.02660 seconds
  • Memory Usage 1,756KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete