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)

ezpassage 04-19-2007 02:10 PM

Hi

I installed this once and couldn't get it to work and then went looking for another program, but none seem to measure up and most don't seem to be still offering support. So I am back with some questions.:D

I think I've followed the install instructions correctly, I've even uninstalled and reinstalled. But the issues I am having are:

1. I uploaded a .jpg file from the admin account and also a test account. Everything goes smoothly until I go to the "gallery" and click an image to view. First, I go to the main page which show the list of categories (I have two categories with some subcategories) and then I click the category I uploaded to. Then, under "Entries" I click the image's name that I wish to view. It takes me to the next page which shows the name of the file, also a camera to the left, the date and hits amount are underneath. Now, when I click the link from there to view the file, I don't go anywhere. It seems like the page just reloads.

2. I installed the new thumbnail module by following your instructions. My cmps index page is called index and my forums have another name, so I put the code in the header template (I'm not sure where to put it exactly though). Now when I view my index page I get a database error that say there was an error in the where clause "Video" which is one of my category names.

Any suggestions? Thank you for the wonderful mod!

AndrewD 04-19-2007 02:23 PM

Quote:

Originally Posted by ezpassage (Post 1231261)
Hi

I installed this once and couldn't get it to work and then went looking for another program, but none seem to measure up and most don't seem to be still offering support. So I am back with some questions.:D

I think I've followed the install instructions correctly, I've even uninstalled and reinstalled. But the issues I am having are:

1. I uploaded a .jpg file from the admin account and also a test account. Everything goes smoothly until I go to the "gallery" and click an image to view. First, I go to the main page which show the list of categories (I have two categories with some subcategories) and then I click the category I uploaded to. Then, under "Entries" I click the image's name that I wish to view. It takes me to the next page which shows the name of the file, also a camera to the left, the date and hits amount are underneath. Now, when I click the link from there to view the file, I don't go anywhere. It seems like the page just reloads.

2. I installed the new thumbnail module by following your instructions. My cmps index page is called index and my forums have another name, so I put the code in the header template (I'm not sure where to put it exactly though). Now when I view my index page I get a database error that say there was an error in the where clause "Video" which is one of my category names.

Any suggestions? Thank you for the wonderful mod!

Sorry that you are having difficulties.

I find it easiest to help with these problems if I can see for myself what is going wrong. Can you send me a PM with site details, and (ideally) an account with admin privileges? Will be happy to help you get things working.

ezpassage 04-19-2007 03:33 PM

Thank you for the great support!

Wanted to make sure I put something to show that you took care of the problem
which was my own fault anyways:D

AndrewD 04-19-2007 04:43 PM

Quote:

Originally Posted by itsblack (Post 1230538)
Hi Andrew, I find a new problem: the LDM search can't deal with unicode words.
When I search with english words, everything goes well. But when I search with chinese words, I got mysql error, like this

Can you try the attached file, which goes in the forums dir. It no longer bombs on chinese characters, but I've no idea (being an ignorant Englishman) if it actually works.

itsblack 04-19-2007 08:22 PM

Quote:

Originally Posted by AndrewD (Post 1231344)
Can you try the attached file, which goes in the forums dir. It no longer bombs on chinese characters, but I've no idea (being an ignorant Englishman) if it actually works.

Great! Thank you Andrew, it works!
But there's no highlight effect with those search words. Anyway, it's not a big deal.

obmob 04-19-2007 10:55 PM

Help? T.T

Is there a way to show the current ratings and comments as default? o.o

AndrewD 04-20-2007 04:01 AM

Quote:

Originally Posted by obmob (Post 1231563)
Help? T.T

Is there a way to show the current ratings and comments as default? o.o

I haven't forgotten... It's a modest change to the code/templates.

Ophelia 04-20-2007 11:08 AM

Morning Andrew,

My team has put in a request for a feature, so here I am!

They would like to be able to upload more than one thing at a time. Something like Photopost does. I'll explain.

When you first hit "Upload Entry" in Photopost, it creates a page with (you can set the number) 10 boxes. You browse and find your 10 things, so in this case, perhaps it could be just the image, or just the zip file. You press submit and it brings you to a second page where you fine tune each entry. You put in a title, description, etc.

The other option they would like is to assign more than one zip file to one entry.

I'm not asking for much now am I :) :)

Have a wonderful weekend and thank you!

AndrewD 04-20-2007 03:49 PM

Quote:

Originally Posted by Ophelia (Post 1231889)
Morning Andrew,

My team has put in a request for a feature, so here I am!

They would like to be able to upload more than one thing at a time. Something like Photopost does. I'll explain.

When you first hit "Upload Entry" in Photopost, it creates a page with (you can set the number) 10 boxes. You browse and find your 10 things, so in this case, perhaps it could be just the image, or just the zip file. You press submit and it brings you to a second page where you fine tune each entry. You put in a title, description, etc.

The other option they would like is to assign more than one zip file to one entry.

I'm not asking for much now am I :) :)

Have a wonderful weekend and thank you!

As these are both features that several others have asked for, I think they will have to form part of the next version. (Maybe I will take a world cruise first ;))

Saviour 04-20-2007 04:54 PM

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.

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?

AndrewD 04-26-2007 01:55 PM

Quote:

Originally Posted by Ophelia (Post 1235816)
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?

I took a look at your site and can't see anything obvious. Pls can you upgrade AndrewD's account so that I can get at the LDM admin page and your main admincp page (I need the maintenance section).

Ophelia 04-26-2007 02:01 PM

Andrew, you have access now through the AndrewD account. Thank you!!

AndrewD 04-26-2007 02:39 PM

Quote:

Originally Posted by Ophelia (Post 1235844)
Andrew, you have access now through the AndrewD account. Thank you!!

Your new server doesn't have the php GD2 library installed. So LDM is creating null images.

Ophelia 04-26-2007 02:54 PM

Thank you Andrew, just put a ticket in to get it installed.

Ophelia 04-26-2007 03:41 PM

We're good to go now Andrew! Thank you for your help!!

aryapsh 04-26-2007 04:26 PM

I've checked the file, as I use the link directly in my navegation it works but when I enter them into the download center I recieved a message says : "Link check failed. For a url pointing to a remote site, this may not be a cause for concern, as not all sites reply to the check. For a local file, something is wrong." and I can't download the file

AndrewD 04-26-2007 04:35 PM

Quote:

Originally Posted by aryapsh (Post 1235923)
I've checked the file, as I use the link directly in my navegation it works but when I enter them into the download center I recieved a message says : "Link check failed. For a url pointing to a remote site, this may not be a cause for concern, as not all sites reply to the check. For a local file, something is wrong." and I can't download the file

Do you want to send me a PM with the full url to this file?

aryapsh 04-26-2007 04:45 PM

Quote:

Originally Posted by AndrewD (Post 1235929)
Do you want to send me a PM with the full url to this file?

yes sure

aryapsh 04-26-2007 04:59 PM

i have sent you

AndrewD 04-26-2007 05:38 PM

Quote:

Originally Posted by Poag (Post 1234629)
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


Alex, you should be able to do this with LDM's pseudo 'mod_rewrite', see http://www.eirma.org/wikis/index.php/Hacking_LDM

LDM has a feature which does simple rewrites on urls at the very last stage before attempting to deliver them. If you combine this with setting force_redirect to 1, then you should be able to get LDM to manage the upload and have lighttpd handle the download.

Try creating a rewrite.txt file something like the following (change to match your site)

RewriteRule /downloads http://www.example.net:81/downloads

Upload it onto your site and use ldm/admin/settings to point mod_rewrite at it.

Poag 04-27-2007 12:24 PM

Fantastic, that worked perfectly andrew, some minor playing about with folder and file permissions but I have it all working self suffiantly now.

Thanks for you helpa nd the great mod!

digitalSite 04-27-2007 09:27 PM

Hello:

I have installed this mod, however, I need help please. I am confused as to how to confure it. I created a forum on my vb and set the permissions I want. I have added a category, set permissions on that, and added an entry. When I log into my vb, I only see an empty forum. Where is the category and the entry? I don't get it :( Can someone help me please?

digitalSite 04-27-2007 09:45 PM

Okay it's showing up now...

Under LDM Admin, under Settings, edit category, I checked the checkbox that says "Also make this forum the parent of all links currently in the category" and also I checked the checkbox to create a subforum for the links.

I logged into my vB and now I see the forum with the subforum and there is my link. I think this is how it should work :)

AndrewD 04-28-2007 05:36 AM

Quote:

Originally Posted by digitalSite (Post 1236706)
Okay it's showing up now...

Under LDM Admin, under Settings, edit category, I checked the checkbox that says "Also make this forum the parent of all links currently in the category" and also I checked the checkbox to create a subforum for the links.

I logged into my vB and now I see the forum with the subforum and there is my link. I think this is how it should work :)

I'm concerned that you may be misunderstanding something.

Normally, the LDM library is completely separate from your forums. You do not see the entries apperaing inside your forums unless you have also installed the "autocreate_threads" extra.

The connection with the forums that you are describing concerns access rights. To simplify matters, LDM can "pick up" the access permissions from a specified forum and associate these permissions with all, or with specified, categories and entries. That's the process you have just described. But it doesn't 'place' the entry in the forum.

Ophelia 04-28-2007 01:57 PM

Good day Andrew!

Here is what I needed to do today.

I created a new sub-category in LDM and clicked the "Create a sub forum" for that LDM category.

The only problem was that where I wanted it .. it was set up like this...

Forum Category
- Sub Category
-- Sub-Sub Category

I needed the new forum placed inside an existing sub-category in the forums. Is this an option that can be added at some time or would that make it way to confusing?

efil 04-28-2007 06:10 PM

Hi,
Is there an option for watermark like in YouTube?

Slave 04-29-2007 01:18 AM

Quote:

Originally Posted by Ophelia (Post 1237036)
Good day Andrew!

Here is what I needed to do today.

I created a new sub-category in LDM and clicked the "Create a sub forum" for that LDM category.

The only problem was that where I wanted it .. it was set up like this...

Forum Category
- Sub Category
-- Sub-Sub Category

I needed the new forum placed inside an existing sub-category in the forums. Is this an option that can be added at some time or would that make it way to confusing?

As long as you have picked the Sub Category from the list of available forums it should create the Sub Sub Category link forum fine .. unless I have miss understood you and you mean that the Sub Category is already a link back to the LDM, in which case I don't think LDM can do it.

If you pick the same Forums Category for 2 different Categories you'll get 2 linked Sub Categories within the same Forum if that is any good?

nanaimobar 04-30-2007 09:21 PM

Is there a way to add an expiration date to files in admin?

When a new file is added to a category the "When submitted" date is available. Is it possible to add an expiry date so that a file is either automatically deleted or not displayed after a set date?

There is the "Review frequency" box which one could set for x-number of days. If this could function as an expiration date, how could I add a button or whatever next to it for automatic deletion after the x-number of days?

Ophelia 04-30-2007 09:28 PM

Quote:

Originally Posted by nanaimobar (Post 1238504)
Is there a way to add an expiration date to files in admin?

When a new file is added to a category the "When submitted" date is available. Is it possible to add an expiry date so that a file is either automatically deleted or not displayed after a set date?

There is the "Review frequency" box which one could set for x-number of days. If this could function as an expiration date, how could I add a button or whatever next to it for automatic deletion after the x-number of days?

Are you running the most version? If so, then yes, there is this option. We are utilizing it on our site and it works perfectly. You can set the expiration date by category or whole manager. We have it set up for a category.

Admin > Categories > Edit Category > Control Settings (there are 3 buttons to the right top.. this is in there)

Find links_expiry_days and input how long you want visible files to stay active.. so if you want things to expire after 1 day of being visible, put in 1.

Find links_expired_catid and pick what folder you would like the file to be moved to after it's expired.

Andrew maybe can fill in more options, but this is what we use it for, and like I said, it works perfectly.

AndrewD 05-01-2007 04:43 AM

Quote:

Originally Posted by Ophelia (Post 1238508)
Are you running the most version? If so, then yes, there is this option. We are utilizing it on our site and it works perfectly. You can set the expiration date by category or whole manager. We have it set up for a category.

Admin > Categories > Edit Category > Control Settings (there are 3 buttons to the right top.. this is in there)

Find links_expiry_days and input how long you want visible files to stay active.. so if you want things to expire after 1 day of being visible, put in 1.

Find links_expired_catid and pick what folder you would like the file to be moved to after it's expired.

Andrew maybe can fill in more options, but this is what we use it for, and like I said, it works perfectly.


Just to add a little more info..

1) If you enable links_expiry_days, then LDM handles post-dating as well as expiry, in other words entries will not become visible until the entry's specified creation date and will then disappear/be moved to another category after the specified period.

2) To set this value globally rather than per category, visit the LDM/admin/settings page and change link_expiry_days etc there

3) If you set the value in a category, remember that this value will also apply in its subcategories unless you give a new value there.


All times are GMT. The time now is 01:31 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.03745 seconds
  • Memory Usage 1,893KB
  • 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
  • (21)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