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)

AndrewD 07-04-2008 04:27 AM

Quote:

Originally Posted by obmob (Post 1565994)
Ok... i need some help :p

On of my sites has around 500 entries every file is on my server they are sorted within folders, one folder for one category, I have never used LDM synch.

Is it possible to enable this feature? If so, how should i prepare my files and folders?

Thanks Andrew :D

There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.

AndrewD 07-04-2008 04:28 AM

Quote:

Originally Posted by Stilgar (Post 1566128)
Hello,

First off I would like to say that this modification is incredible. Thank you for all the work you have put into it. The features and settings are outstanding.

I was wondering if it was possible to sort link entries by UserGroups?

UserGroup A (links submitted sort at the top of their category)

UserGroup B (links submitted sort after links submitted by Group A)

UserGroup C (links submitted sort after links submitted by Group B)

This way, members that pay (subscribe) to be in a better UserGroup such as B or A, will have their links displayed higher then those who are in Group C.

If this setting is already in there, pardon my missing it. There's a lot of configuration to do and I most likely missed it.

Again thanks for all your efforts,

James

This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.

Master of Music 07-04-2008 02:33 PM

Hallo,
Ich bekomme immer die fehlermeldung
Warnung: Invalid argument supplied for foreach() in [path]/includes/local_links_misc.php (Zeile 74)

Can i help me?

Stilgar 07-04-2008 03:57 PM

Quote:

Originally Posted by AndrewD (Post 1566420)
This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.

Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James

AndrewD 07-04-2008 04:35 PM

Quote:

Originally Posted by Stilgar (Post 1566778)
Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James

This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.

IR15H 07-04-2008 05:03 PM

Sorry it's been a few days before replying again.

Quote:

Originally Posted by AndrewD (Post 1562672)
It records them all, but only counts a user's most recent nomination per period. That way, it continues to work correctly if the admin changes his/her mind about the collection period, e.g. decides to switch from months to weeks.

Ah okay, thanks. Is there a way to un-nominate an entry I've made? I recently nominated an entry for a time period, which has since elapsed. I can't find out how to simply not nominate any entries for the next period (bar deleting it via the admin settings, which all users don't have access to), I can only change to nominate another one.

Quote:

This is true. Fixing this in an efficient manner requires a slight change to the database structure, which I have put off making. I was thinking of making version 2.3.0 an 'efficiency' release, with points like this addressed.
Excellent, thanks :).

Quote:

OK, will fix in the next 2.2.9 upload.
Thanks :).

Quote:

The code in its current form does not check against those vb per-filetype permissions- I'm not sure - are these a relatively recent extension to vbulletin? I'll add it to the list of things to do, maybe 2.2.9 or 2.3.0.
I can't be certain on this, but I think they've been there since I first got vb, on 3.6. Either way, glad you've considered for a future version :).

Quote:

OK, will change the wording in next 2.2.9 upload
Thanks :).

Quote:

This requires a minor change to the code, which I will make available in the next 2.2.9 in the next few days.
Thanks :).

Stilgar 07-04-2008 05:10 PM

Quote:

Originally Posted by AndrewD (Post 1566808)
This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.

Heh... Yes, busses and job offers. It's feast or famine sometimes. ;)

Cheers!

RikiB 07-05-2008 10:33 AM

Hello Andrew, would it be easy to upgrade ldlm to use the new version of jw media player (4.0)

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Thanks!

obmob 07-05-2008 03:47 PM

Quote:

Originally Posted by AndrewD (Post 1566419)
There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.

OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?

Hmm... i'm renaming everything to be sequenced, so, maybe i can try importing new entries using xml.

Is it possible? I mean to have some sort of xml template and just add extra lines for new entries, just changing the entry ID and the category number?

Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@

AndrewD 07-06-2008 05:10 AM

Quote:

Originally Posted by obmob (Post 1567442)
OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?

Try the LDM/admin/Mass Edit/Scan features. This gives you an easy manual interface to syncing directory contents with existing categories.

Quote:

Originally Posted by obmob (Post 1567442)
Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@

Not sure what you mean - you want to add these automatically?


All times are GMT. The time now is 06:05 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.02677 seconds
  • Memory Usage 1,784KB
  • 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
  • (14)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