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)

AndrewD 04-20-2007 06:05 PM

Quote:

Originally Posted by Saviour (Post 1232086)
AndrewD...

Instead of reading over 100 pages of posts, I just thought I'd ask you through the board instead of just searching. I hope that's okay with you.

I recently started using vbulletin 3.6.5 and have installed the following plugins and/or mods:

SmilieCategory...YAAS 2.1.4...and ibProArcade 2.6.1+

I'm using the following styles:

Default Style...Hexcell Fluid...and Smooth Fluid

Two questions:

1) Does LDM interfere with any of the above?
2) You've listed two zipped files at the start of this thread...which do I use???

Your help is greatly appreciated...oh...one last thing...

I'm not that great when it comes to making modifications, but I have muddled through the above listings and got them installed. If I'm not comfortable adding LDM, is there anyone who can help me with the installation?

Again...thanks in advance for your help.

There have been no reports of problems with those two hacks

You can use either one, but I suggest that you use the second. It has a few bugs fixed that are in the first, and there have been no reports of new bugs

If you have big problems, I will try to help, but I'll need full access to your site.

Good luck...

Edit: There is one point to think about. As your site installs more hacks, the amount of memory needed to run the php scripts increases. You can reach a stage where there is not enough memory available. It is not possible to say when/if this will happen (it depends on quite a number of factors, including the setting of memory_limit in phhp.ini, version of php/web server, which hacks, how integrated into vb, etc). The symptoms in LDM are blank screens during some operations, e.g. after editing enties. The fix is easy: increase the php.ini parameter meory_limit.

obmob 04-21-2007 03:10 AM

Quote:

Originally Posted by AndrewD (Post 1231698)
I haven't forgotten... It's a modest change to the code/templates.

This has been answered before? OO

Is this in the wiki? ^^,

AndrewD 04-21-2007 04:24 AM

Quote:

Originally Posted by obmob (Post 1232413)
This has been answered before? OO

Is this in the wiki? ^^,

What I meant was 'I know how to do it and it's a straightforward task (I think ;))'

obmob 04-21-2007 09:28 PM

But I don't know how to do it, that's why i'm asking. XD

LOL, now i'm confused ?.?

odinzu 04-21-2007 10:10 PM

I am getting this error when I try to import or install the xml.... Please help me.

Quote:

Warning: Unknown(/home/content/o/d/i/odinzu/html/forums/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)(): Failed opening required '/home/content/o/d/i/odinzu/html/forums/includes/local_links_init.php' (include_path='.:/usr/local/lib/php') in /home/content/o/d/i/odinzu/html/forums/admincp/plugin.php(1941) : eval()'d code on line 3

AndrewD 04-22-2007 04:05 AM

Quote:

Originally Posted by odinzu (Post 1232945)
I am getting this error when I try to import or install the xml.... Please help me.

It means that you have not uploaded the php code into the correct directories. In particular, it's not finding the local_link_init.php file in your forums/includes directory.

Make sure that all the files in the release/forums directories and subdirectories in the zip file have been put in the same place on your board.

AndrewD 04-22-2007 04:07 AM

Quote:

Originally Posted by obmob (Post 1232913)
But I don't know how to do it, that's why i'm asking. XD

LOL, now i'm confused ?.?

I'm sorry if I've not been clear.

You made a couple of requests - for a gallery type of linkbit and for a different display of comments and ratings (to show the most recent directly rather than have the three most recent on a drop down menu).

Both of these need some fairly minor changes to the code/template, so I've got them on the list for 2.2.8.

obmob 04-23-2007 12:03 AM

OHHH!!! geez, i thought somewhere, somehow this was already done, at least the comments one.

WOW, thanks Andrew, now it's clear and i'll wait patiently as a good kid. XD

Poag 04-24-2007 01:05 PM

Quote:

Originally Posted by AndrewD (Post 1230508)
Hello again. Can I ask for some more information on how you are trying to make this work?

I tested the following:

- I set up a trial server on port 81, and constructed an entry in LDM on another server pointing to http://trial_server:81/myfile.pdf. This is accessed and downloaded correctly via LDM.

- However, I don't understand why you are running two servers on the same machine. When LDM accesses files via a full url, the access is *much* less efficient than a direct filestore link, even if it is on the same machine. There is an overhead in http access which does not exist when you do a direct file read

- If you want LDM to get at files that are on the same computer but in a different part of the filestore, the easiest way to deal with this is via the LDM *local_file_root* and *local_file_root_prefix* parameters, e.g.
- set local_file_root = yes
- set local_file_root_prefix to /home/bob/dowloads
- set upload_dir to /uploads

I'm missing something important, I'm sure.


Hi Andrew, the reason I have to run them on seperate ports is down to user load, whena file goes up there are generally 100s of downloads started straight away and these continue for some hours before dieing down to a few per hour.

The problem I have is not bandwidth, but instead memory, to prevent the machine from disk caching I used lighttpd for downloads [it doesn't spawn extra servers] but has less functionality, and apache for web pages.


Thus what I would like is for client to upload to say http://www.example.net/downloads [/home/bob/downloads] but there download to be served from http://www.example.net:81/downloads [/home/bob/downloads]

What I am looking for LDM to do is automatically add the :81 into the download url so they are served from the correct process, instead of having to edit them by hand after using the built in file uploader you have supplied.


So we are using the same physical machine, same file system, simply a seperate process ona different port to serve the files. Keeping downloads and webpages seperate as much as I can :)

I hope this clears up what I am trying to do :)

I am sorry for not responding sooner, work has had me tied up recently.

Thanks

-Alex

Ophelia 04-26-2007 01:03 PM

Hello Andrew.

We moved to a new server yesterday, and now all the thumbs are no longer working.

In shell I went and typed in chmod -R 777 thumbs

This set the directory in forum/thumbs where our thumbs are stored to 777.

I also 777'ed team uploads

I verified that they are indeed 777.

I then went in to settings to make sure everything was the same there.

upload_dir
/forum/teamuploads
thumbs_dir
/forum/thumbs/
file_icons_dir

This is all correct.

I then went in and reset the thumbnails.

Nothing.

I even cleared my cache :lol to make sure it wasn't that.

Any ideas on what I'm doing wrong?


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