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 05-01-2007 06:50 AM

Quote:

Originally Posted by efil (Post 1237176)
Hi,
Is there an option for watermark like in YouTube?

Am afraid not. This would require (I think) to be able to process the contents of the file, which is well outside the capabilities of this hack.

AndrewD 05-01-2007 07:35 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?


I think I understand you - if so, the situation is basically as Slave has explained.

Am I right in the following:

You want to 'autocreate' forums/subforums which have the same structure as your categories/subcategories? So if you create this structure in LDM:

category 1
-- subcategory 2
------ subsubcategory 3

you want to create forums as follows:

forum 1 linked to category 1
-- subforum 2 linked to subcategory 2
------ subsubforum 3 linked to subsubcategory 3

Currently, when LDM creates a linked subforum, it turns off the "Show this Forum and Child Forums on the Forum Jump Menu" option for this subforum. So you don't the chance to select it as the parent the next time round (or to use it to give the access permissions for other categories/entries). Actually, this is by chance, not design - I think it's one of the changes in vbulletin that I missed in going from vb3.5 to 3.6.

If you go into vb/admin/forums and switch on "Show this Forum and Child Forums on the Forum Jump Menu" for the new linked forum, you should be ok.

Even though vBulletin will allow this nested structure to exist, because the subforums are 'links', it may be difficult for the user to drill down on the forumdisplay pages to get past the first linked subforum. I played around with the vb forumlistings display options - Depth of Sub-Forums - one can get an indefinite depth of linked subforums to show up in the forumdisplay, but only as a straight list.

I am changing this behaviour in v2.2.8 so that the 'autocreated' forums appear by default on the forumselect menus.

nanaimobar 05-01-2007 05:47 PM

Quote:

Originally Posted by AndrewD (Post 1238704)
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.

Thanks Andrew, Ophelia. I'll update from 2.2.6 to 2.2.7 post2.

Update: Yikes! Incredible. Works like a charm. No problems updating. No problems finding way around Admin sections. Much complexity presented in an easy to follow design, even for a relatively new user such as I. Grrrrrrrrr-r-r-reat.

wolfe 05-01-2007 08:06 PM

problem all my cats are adding this local_links/links/1 in the url and the 1 is the cat id how do i stop this happening i keep getting page not found.

Gurilla 05-01-2007 08:48 PM

I am your 500th install.

Love the mod!

RedGTiVR6 05-01-2007 10:18 PM

Can someone tell me what the difference is between this hack and DownloadsII?

This hack seems to be way more active and more supported, which is a plus.

Are the two even comparable? Am I just overlooking something obvious here?

Thanks in advance!

AndrewD 05-02-2007 02:58 AM

Quote:

Originally Posted by wolfe (Post 1239188)
problem all my cats are adding this local_links/links/1 in the url and the 1 is the cat id how do i stop this happening i keep getting page not found.

I think you've enabled the seo_friendly option on the LDM admin pages but you haven't configured your web werver to recognise this.

Mupetz 05-02-2007 07:46 AM

Hello AndrewD,
I cannot use the rewrite rules because of my server.
Instead of that i would like to rename /local_links.php to /subtitles.php. If you allow me to do so, what do i have to modify ?
Thank you very much.

AndrewD 05-02-2007 10:35 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1239324)
Can someone tell me what the difference is between this hack and DownloadsII?

This hack seems to be way more active and more supported, which is a plus.

Are the two even comparable? Am I just overlooking something obvious here?

Thanks in advance!

Far be it for me to comment...

The two hacks developed along similar lines for quite a while, but there's not been much discussion here about Downloads II for over a year.

I try to give LDM good support, and it's still under development as new needs arise. That's about all I can say.

AndrewD 05-02-2007 10:37 AM

Quote:

Originally Posted by Mupetz (Post 1239556)
Hello AndrewD,
I cannot use the rewrite rules because of my server.
Instead of that i would like to rename /local_links.php to /subtitles.php. If you allow me to do so, what do i have to modify ?
Thank you very much.

Indeed, this is straightforward. The instructions are in the wiki, see http://www.eirma.org/wikis/index.php/Hacking_LDM. Let me know if you have problems.

RedGTiVR6 05-02-2007 12:29 PM

Quote:

Originally Posted by AndrewD (Post 1239611)
Far be it for me to comment...

The two hacks developed along similar lines for quite a while, but there's not been much discussion here about Downloads II for over a year.

I try to give LDM good support, and it's still under development as new needs arise. That's about all I can say.


Thanks for the reply!

*goes off to download and install!*

RedGTiVR6 05-02-2007 12:45 PM

man - there are a ton of options here.

One suggestion if I may. Some of us are not completely savy when it comes to some of these terms. Might it be possible to make the instructions a bit easier for those of us? I'm having a bit of a hard time knowing what I should do with all of these settings.

AndrewD 05-02-2007 07:10 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1239690)
man - there are a ton of options here.

One suggestion if I may. Some of us are not completely savy when it comes to some of these terms. Might it be possible to make the instructions a bit easier for those of us? I'm having a bit of a hard time knowing what I should do with all of these settings.

I'm sympathetic but...

Maybe others could also lend a hand?

obmob 05-03-2007 02:48 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1239324)
Can someone tell me what the difference is between this hack and DownloadsII?

This hack seems to be way more active and more supported, which is a plus.

Are the two even comparable? Am I just overlooking something obvious here?

Thanks in advance!

It's good to say there is no support like Andrew's! ^^

GrendelKhan{TSU 05-03-2007 04:40 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1239324)
Can someone tell me what the difference is between this hack and DownloadsII?

This hack seems to be way more active and more supported, which is a plus.

Are the two even comparable? Am I just overlooking something obvious here?

Thanks in advance!

since Andrew is being humble...
no, they are not even comparable, imo...as LDM pwns DownloadsII hard in functionality and support. lol. Its true, but to be more serious... here's an easy answer:

LINKS and Downloads Manager
vs
(just) DownloadsII

So everything download directories have PLUS everything and more that a LINKS directory does. and that would just be the tip of the iceberg. ;)

Quote:

Originally Posted by RedGTiVR6 (Post 1239690)
man - there are a ton of options here.

One suggestion if I may. Some of us are not completely savy when it comes to some of these terms. Might it be possible to make the instructions a bit easier for those of us? I'm having a bit of a hard time knowing what I should do with all of these settings.

if you could be more specific...
I'm sure many here would be happy to lend a hand and explanations. :)

plus, the wiki has a lot more information than one might think...definitely look through that carefully as well. the explanation you seek... might just be in there already.

ps. Howdy And!!! :)

RedGTiVR6 05-03-2007 06:20 PM

i was going through the wiki at the same time.

TheHeartSmasher 05-03-2007 09:19 PM

This is a really good mod the only problems I have had with it are.
When saving settings in the admin page I would get prompted to download the php file
When users download a file let's say I direct link it from one of my other websites the link is shown in the url and instead of the file downloading (a save as prompt is shown) the page loading progress bar in the bottom of the browser fills up slowly (takes place of downloading).

Also wondering is there a way for my other direct linked files from my other website can be somewhat masked?

Slave 05-04-2007 12:14 AM

Quote:

Originally Posted by AndrewD (Post 1238754)
I am changing this behaviour in v2.2.8 so that the 'autocreated' forums appear by default on the forumselect menus.

I think you'll find it's like that Andrew because I requested it not to show in the forums list .. many, many .... many months ago :)

Perhaps make it an admin setting?

AndrewD 05-04-2007 03:58 AM

Quote:

Originally Posted by Slave (Post 1240973)
I think you'll find it's like that Andrew because I requested it not to show in the forums list .. many, many .... many months ago :)

Perhaps make it an admin setting?

Thanks for reminding me. I'd forgotten that, and you're right - this should be an option.

AndrewD 05-04-2007 04:12 AM

Quote:

Originally Posted by TheHeartSmasher (Post 1240879)
This is a really good mod the only problems I have had with it are.
When saving settings in the admin page I would get prompted to download the php file
When users download a file let's say I direct link it from one of my other websites the link is shown in the url and instead of the file downloading (a save as prompt is shown) the page loading progress bar in the bottom of the browser fills up slowly (takes place of downloading).

Also wondering is there a way for my other direct linked files from my other website can be somewhat masked?

The first problem sounds like a configuration issue within your web server. I'm not sure exactly what.

For the other questions, I'm a little unclear how you are setting up these entries on your site. I've registered an account on your site (AndrewD) - if you want me to take a look, am happy to do so, but will need that account upgrading to be an admin.

Philipaclayton 05-07-2007 11:05 AM

this works for 3.6.5 right?

AndrewD 05-07-2007 11:16 AM

Quote:

Originally Posted by Philipaclayton (Post 1242984)
this works for 3.6.5 right?

Right

benjaminkramer 05-07-2007 03:41 PM

Hi I use vb 3.6.5 and the latest version of "Links and Downloads", when I upload a zip file with 159,31 MB via FTP and link with Links and Downloads Manager it shows me the size 159.31 MBytes.
All seems correct but when I download it I only get a filesize of 87,2 MB (but the Download Manager of Firefox shows me the correct filesize).

What is wrong?

Thx

P.S. When I download it via sftp from my server I get the right size and I can open the file.

AndrewD 05-07-2007 04:28 PM

Quote:

Originally Posted by benjaminkramer (Post 1243081)
Hi I use vb 3.6.5 and the latest version of "Links and Downloads", when I upload a zip file with 159,31 MB via FTP and link with Links and Downloads Manager it shows me the size 159.31 MBytes.
All seems correct but when I download it I only get a filesize of 87,2 MB (but the Download Manager of Firefox shows me the correct filesize).

What is wrong?


Thx

P.S. When I download it via sftp from my server I get the right size and I can open the file.

I take it that LDM's download is corrupt?

I imagine that your server is using all its allowed cpu time, typically 30 seconds. How have you got the entry set up in LDM? - as a full url or as a local filename - if the first, then the cpu usage is *much* greater.

benjaminkramer 05-07-2007 04:41 PM

as local link. It looks like this:

/upload/ana_lpz/filename.zip

=>I can download the whole file, but it is not completly saved. I do not understand it.
Do I have to set preferences?

Settings in LDM:
local_file_root Server
local_file_root_prefix
upload
Datei-Uploads Enabled
upload_dir
upload
thumbs_dir
links_downloads/thumbs
file_icons_dir
links_downloads/icon/
PHP 5.1.5
allow_url_fopen Ja
cURL Nein
GD2 Ja
open_basedir (nicht bestimmt)
post_max_size 5M
upload_max_filesize 4M
MySQL 5.0.21
wait_timeout 28800

By the way: Why can't the users download files which are in the statisik or when they search for one file. They cannot click on it...but when they go direct in the categorie to the same file they can access the Link. What do I have to set for this usergroup?

AndrewD 05-07-2007 06:35 PM

Quote:

Originally Posted by benjaminkramer (Post 1243112)
as local link. It looks like this:

/upload/ana_lpz/filename.zip

=>I can download the whole file, but it is not completly saved. I do not understand it.
Do I have to set preferences?

Settings in LDM:
local_file_root Server
local_file_root_prefix
upload
Datei-Uploads Enabled
upload_dir
upload
thumbs_dir
links_downloads/thumbs
file_icons_dir
links_downloads/icon/
PHP 5.1.5
allow_url_fopen Ja
cURL Nein
GD2 Ja
open_basedir (nicht bestimmt)
post_max_size 5M
upload_max_filesize 4M
MySQL 5.0.21
wait_timeout 28800

By the way: Why can't the users download files which are in the statisik or when they search for one file. They cannot click on it...but when they go direct in the categorie to the same file they can access the Link. What do I have to set for this usergroup?

I don't know. Do you want me to take a look at your board? Send me a PM if so, with an account that has admin privs.

Alfa1 05-07-2007 10:30 PM

How does the thread created by autothread look like? Can you show an example?
Does it contain the description of the link/file?
Do I understand correctly that the comments/ratings are also posted in the thread or is this only the notification of comments being placed?

To add the fix to 2.2.7 do I need to upgrade the whole thing or only replace certain php files?

AndrewD 05-08-2007 04:13 AM

Quote:

Originally Posted by Alfa1 (Post 1243309)
How does the thread created by autothread look like? Can you show an example?
Does it contain the description of the link/file?
Do I understand correctly that the comments/ratings are also posted in the thread or is this only the notification of comments being placed?

To add the fix to 2.2.7 do I need to upgrade the whole thing or only replace certain php files?

See attached images, which show the entry in LDM + the autocreated thread and post for the entry and a comment.

The first post in the thread is constructed by wrapping the description in the the ldm_thread_create_body phrase. Other parts come from the ldm_thread_create_title and ldm_thread_create_relink phrases. The text for new comments comes from the ldm_post_addrating_body phrase.

To install it, you simply go to vb/admin/products and plugins/download upload plugins and import extras/autocreate-threads/autocreate-plugin.xml

The thread is only created when the entry has an associated forum, either chosen explicitly or by default_forumid

rickyreter 05-08-2007 08:56 AM

wOULD LOVE TO HAVE THIS INSTALLED BUT FIND IT A LITTLE DIFFICULT,SO IF ANYONE WOULD LIKE TO IN STALL 4 FREE I WOULD BE GRATEFUL.:D

pETER

Alfa1 05-08-2007 02:31 PM

Thanks Andrew.

You missed this:
Quote:

To add the fix to 2.2.7 do I need to upgrade the whole thing or only replace certain php files?


I have installed the create autothread feature. Where do I set the forum to place threads in?
Where do I find the phrases?

AndrewD 05-08-2007 03:52 PM

Quote:

Originally Posted by Alfa1 (Post 1243690)
Thanks Andrew.

You missed this:




I have installed the create autothread feature. Where do I set the forum to place threads in?
Where do I find the phrases?

I didn't miss anything - I don't think :)

I assume you're running version 2.2.7. The plugin installation does everything - there are no more files to change.

You set the forum in one of three ways, exactly as with the forums-based access permissions.

a) LDM admin setting default_forumid creates a default for all new entries
b) Create/edit category, and choose the associated forum on that menu. If you wish, retro-apply it to all existing entries. That forum will be the default for all new entries in the category
c) Create/edit entry, choose the associated forum.

All vbulletin phrases are accessed by vb/admin/languages and phrases. Search for the phrase names I mentioned. Alternatively, edit the LDM installation .xml file.

Alfa1 05-08-2007 05:06 PM

Quote:

Originally Posted by AndrewD (Post 1243748)
I didn't miss anything - I don't think :)

I assume you're running version 2.2.7. The plugin installation does everything - there are no more files to change.

You are talking about upgrading LDM 2.2.7 to the 2.2.7 fix right? Not about the autocreate threads plugin.
As far as I can see 2.2.7 has a product, not a plug in: product-eirma_ldm.xml
I am not refering to the autocreate threads extra, but to LDM in general and the fix you released for 2.2.7.

Quote:

Originally Posted by AndrewD (Post 1243748)
b) Create/edit category, and choose the associated forum on that menu. If you wish, retro-apply it to all existing entries. That forum will be the default for all new entries in the category

If I go to the category in my LDM -> 'edit category'-> Parent Forum -> select appropriate forum
then nothing happens with new entries. What am I doing wrong?

AndrewD 05-09-2007 03:57 AM

Quote:

Originally Posted by Alfa1 (Post 1243788)
You are talking about upgrading LDM 2.2.7 to the 2.2.7 fix right? Not about the autocreate threads plugin.
As far as I can see 2.2.7 has a product, not a plug in: product-eirma_ldm.xml
I am not refering to the autocreate threads extra, but to LDM in general and the fix you released for 2.2.7.

Sorry, we were talking at cross purposes.

There are minor changes in quite a lot of files between 2.2.7 and the 2.2.7-post2. So it's best to re-upload all the php files and then reinstall the product xml.

Quote:

Originally Posted by Alfa1 (Post 1243788)
If I go to the category in my LDM -> 'edit category'-> Parent Forum -> select appropriate forum
then nothing happens with new entries. What am I doing wrong?

I've done a test run on your board, and left the results for you to see.
You'll find that the autothread has been created and the link set up.

Alfa1 05-09-2007 12:47 PM

Thanks. I have been able to recreate this, by following your option C:
Quote:

c) Create/edit entry, choose the associated forum.
But not with option B, which I would like to use, since it doesn't require members to select a forum:
Quote:

b) Create/edit category, and choose the associated forum on that menu. If you wish, retro-apply it to all existing entries. That forum will be the default for all new entries in the category

Edit: for some reason members can now only see 4 categories, instead of all. Some categories do not show all files. Moderators and admins see all categories and files without problems. Can this have to do with permissions of a forum getting applied to my total LDM? With trying to use option B above, I set the Parent forum, which in turn applies forum permissions to that category.

Rouzbeh1 05-09-2007 05:27 PM

hi Andrew
i have installed the ldm_new_thumb, but it's covering only one style.
what do i do to use the same module for one other style?(without having one module for each style)
thanks in advance

AndrewD 05-10-2007 04:16 AM

Quote:

Originally Posted by Alfa1 (Post 1244327)
Edit: for some reason members can now only see 4 categories, instead of all. Some categories do not show all files. Moderators and admins see all categories and files without problems. Can this have to do with permissions of a forum getting applied to my total LDM? With trying to use option B above, I set the Parent forum, which in turn applies forum permissions to that category.


This is probably related to forum permissions. Easiest way to see what is going on is to visit LDM/admin/categories. Down the bottom of the page, you will find a tabulation of the forums associated with categories and with entries.

You can also use the links on that page (if you are brave) to carry out 'mass edits' of the asociated forums (and many other things) on large groups of entries.

Thing to note: Forum is associated with an entry or category at the moment the entry/category is created. By default, the category picks up default_forumid, and the entry picks up the category's forum. If you change the default forum or you change the category forum, this does not automatically get reapplied unless you tell LDM to do so.

AndrewD 05-10-2007 04:19 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1244475)
hi Andrew
i have installed the ldm_new_thumb, but it's covering only one style.
what do i do to use the same module for one other style?(without having one module for each style)
thanks in advance

I don't know that much about vbadvanced. When you install a vba module, you have to specify the style into which the templates are placed. Isn't this about getting the style hierarchy correct, so that you choose a style which is a parent of all the styles of interest?

Anyone else know the answer?

Rouzbeh1 05-10-2007 08:35 AM

hmm, no idea
i've done this with REimporting the module for the other style and then deleted it again.
thanks anyway

this module is exactly what i needed. :)

Alfa1 05-10-2007 01:00 PM

Quote:

Originally Posted by AndrewD (Post 1244776)
This is probably related to forum permissions. Easiest way to see what is going on is to visit LDM/admin/categories. Down the bottom of the page, you will find a tabulation of the forums associated with categories and with entries.

Yes, that showed the problem. I had assigned all categories to a forum that had limited user rights using method A you described. This works as well. LDM entries caused threads in that forum.
I don't know why, but method C now works as well. I guess method A was overriding method C.

Can it be that entries with titles above 85 characters don't get added to New threads?

Quote:

Originally Posted by AndrewD (Post 1244776)
Thing to note: Forum is associated with an entry or category at the moment the entry/category is created. By default, the category picks up default_forumid, and the entry picks up the category's forum. If you change the default forum or you change the category forum, this does not automatically get reapplied unless you tell LDM to do so.

I reapplied the association off all files within the Law LDM section with the Law forum category. Then posted a test comment on one of the LDM entries(Law), but nothing happened. No thread showed up. What do I do now?

efil 05-10-2007 02:51 PM

Hi,
I get this error.

see attach,


All times are GMT. The time now is 05:32 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.04146 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
  • (30)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