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 06-27-2008 05:24 AM

Quote:

Originally Posted by stwilson (Post 1560149)
Is there any way you can allow for multiple attachments and multiple images per entry? That would be killer.

Yes, it's there in 2.2.9.

You need to use the 'Entry Attributes' feature. See the online wiki for an explanation, http://www.eirma.org/wikis/index.php/Entry_Attributes

juzernie 06-27-2008 10:53 AM

Quote:

Originally Posted by AndrewD (Post 1558833)
These are parameters in the php.ini file which controls your web server. They both place limits on the maximum size of uploads. There is a potential problem when post_max_size is smaller than upload_max_filesize. If a user tries to upload a file that is bigger than post_max_size but smaller than upload_max_filesize, some versions of php are unable to give proper error messages. The solution is that post_max_size should be set to a value that is bigger than upload_max_filesize

thanks so that means i will have to ask my hosting provider to change the limit for the post_max_size?

AndrewD 06-27-2008 11:01 AM

Quote:

Originally Posted by juzernie (Post 1560313)
thanks so that means i will have to ask my hosting provider to change the limit for the post_max_size?

Yes. Ask them to make post_max_size slightly bigger than upload_max_filesize

mhmd1983 06-28-2008 06:54 AM

can anyone tell me what's "Use post count to define allowances" plugin do !! , i have it installed but it doesn't do anything

http://img72.imageshack.us/img72/1511/ldmei0.jpg

never mind the NO choice it means Yes cause i'm using rtl language

what i understand is this i can prevent download for selected group by post number but i can't understand if it (x)posts for (x)downloads or like example : 10 posts for 1 download so users with 20 posts can download 2 files , or all users more than 10 posts will download 1 files , i'm using count all posts not an hour period

and with all that i can't get it work at all

AndrewD 06-28-2008 09:41 AM

Quote:

Originally Posted by mhmd1983 (Post 1560991)
can anyone tell me what's "Use post count to define allowances" plugin do !! , i have it installed but it doesn't do anything

never mind the NO choice it means Yes cause i'm using rtl language

what i understand is this i can prevent download for selected group by post number but i can't understand if it (x)posts for (x)downloads or like example : 10 posts for 1 download so users with 20 posts can download 2 files , or all users more than 10 posts will download 1 files , i'm using count all posts not an hour period

and with all that i can't get it work at all

When you enable this extra, users in the indicated user groups have the allowances specified here until their post count reaches the specified level. It seems to work for me.

You seem to have set this to limit root admins to 1 file maximum until they have 1000 posts. The attachment shows the message that should be displayed.

Question: is your root admin account also a member of another usergroup? LDM always grants the most generous usergroup allowances. You have not limited other groups.

roymogg 06-28-2008 03:01 PM

Quote:

Originally Posted by AndrewD (Post 1545948)
Kevin, the change to the template is straightforward:

Code:

<if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>
This works if you tell a normal LDM display to use the featured linkbit. However, it will not work with the standard 'featured' display as it stands, because (for reasons of efficiency) the keywords are not cached at that point in the code. It's an easy change to make to the code - let me know what you need.

Andrew,

I was thinking about doing something similar and added some attributes (contact name email etc.) and wanted to show these in the featured template (or similar shorter catlink template). The extra attributes do not show up - OK in the larger templates.

Have I done something wrong (the answer is probably yes but would like to know how to correct)

can you advise

cheers

Roy

Is it possible to add another catlink template?

AndrewD 06-28-2008 03:22 PM

Quote:

Originally Posted by roymogg (Post 1561296)
Andrew,

I was thinking about doing something similar and added some attributes (contact name email etc.) and wanted to show these in the featured template (or similar shorter catlink template). The extra attributes do not show up - OK in the larger templates.

Have I done something wrong (the answer is probably yes but would like to know how to correct)

can you advise

cheers

Roy

Is it possible to add another catlink template?

The attributes are patched into the linkbits part way through processing. For them to appear, the following line has to appear somewhere in the relevant linkbit template. (Currently, the featured linkbit does not have this line)

Code:

<!--$linkid::entities-->
The entities themselves are built up using the links_viewone_entity template and then inserted at the marked point in the template.

Currently, new linkbit and catbit templates are added programmatically. Take a look at includes/local_links_admininclude.php. At around line 626, there's a sequence:

Code:

// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------
// name=X: name used in selection menus
// defcol=N: default number of display columns
// maxcol=N: maximum number of columns that it makes sense to display
// subbit=M: template used for displaying subcategories within this catbit
        require_LDMadminrow($seq++, 'links_catbit', serialize(array("name"=>"Tabular", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
        require_LDMadminrow($seq++, 'links_catbit_brief', serialize(array("name"=>"Brief", "defcol"=>2, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------

To add a new catbit, add another line of code:
Code:

        require_LDMadminrow($seq++, 'links_your_catbit', serialize(array("name"=>"YourCatName", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
Save, upload, and re-install the LDM product loader. The new catbit will appear on the selection menus.

juzernie 06-29-2008 09:56 AM

Quote:

Originally Posted by AndrewD (Post 1560321)
Yes. Ask them to make post_max_size slightly bigger than upload_max_filesize

thanks for the help! :)

Bexter 06-29-2008 10:16 AM

Thanks for your help before, seem to have another small little problem though. Thought itd be a good idea to autocreate threads for entries based on my site, so I've turned the settings on, gone through all the categories assigning the correct forum to post in (but it gives me an option of changing where its posted when I upload the file)
My problem though is, it uploads the file fine, but it says it can't create a thread. The reason it gives is: Forum does not exist
Yet the forum does exist. Any ideas?

AndrewD 06-29-2008 11:17 AM

Quote:

Originally Posted by Bexter (Post 1561940)
Thanks for your help before, seem to have another small little problem though. Thought itd be a good idea to autocreate threads for entries based on my site, so I've turned the settings on, gone through all the categories assigning the correct forum to post in (but it gives me an option of changing where its posted when I upload the file)
My problem though is, it uploads the file fine, but it says it can't create a thread. The reason it gives is: Forum does not exist
Yet the forum does exist. Any ideas?

I will find it easiest to help with this if I take a look at your site. If you like, send me a PM with details of an admin account.

derfelix 06-29-2008 01:08 PM

just installed new version.. 2.29 post1 very very nice..2 little things though.. I use human verification system, and in LL if you go on search
i.e. advanced search ... as unregged user.. the template is not cached.. see attached screenshot
I'll just add it to the templates to cache.. no problem.. but i thought i'd let you know.. to fix for next release

and for the language files... french, and german are correctly encoded UTF-8.. but, unless u use vbulletin from vbulletin-china ( they have changed the main vb code) the header in the xml file should still be
<?xml version="1.0" encoding="ISO-8859-1"?>
and not
<?xml version="1.0" encoding="UTF-8"?>
but thats minor...

thx again for the great work..

Felix

AndrewD 06-29-2008 03:46 PM

Quote:

Originally Posted by derfelix (Post 1562042)
and for the language files... french, and german are correctly encoded UTF-8.. but, unless u use vbulletin from vbulletin-china ( they have changed the main vb code) the header in the xml file should still be
<?xml version="1.0" encoding="ISO-8859-1"?>
and not
<?xml version="1.0" encoding="UTF-8"?>
but thats minor...

Thanks - just to be clear on this - the phrases file should be ISO-8859-1 and the product file should be UTF-8, right?

derfelix 06-29-2008 04:36 PM

nooo !!!

Sorry.. english is not my mother tongue...

What works for me:

1. If you use standard vbulletin from vbulletin.com without having modified the vbulletin xml parser class...
then the first line of ALL xml files should be:

PHP Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

Same thing for the product files...

OK?

If you use UTF-8 for the languages, then you open the xml file in your favorite editor.. ( I use "edit plus") and without modifying anything you do a "save as".
There you select encoding: UTF-8 in the dropdown. Then simply click save and overwrite the old file.
(Most editors have that option.. even notepad has UTF-8 when you do "save as")

Of course this is the standard.. IF the user uses english vbulletin and adds the other languages as custom languages with UTF-8 charset.

-----------

2. IF the user uses chinese product and the other languages as custom languages it is different. He probably has the chinese vbulletin installed. It is patched to accept the utf-8 first line for xml files..
In that case the chinese product is correct as it is in the package..
but he has to change the other language files..
All the first lines of the language files will have to be :
PHP Code:

<?xml version="1.0" encoding="UTF-8"?>

And all language files saved as UTF-8 in editor..

It doesnt matter for the product file it will import correctly whatever the header is.. its just for the phrases in the product file.


The major problem is.. NOT all users use UTF-8 encoding.. or mix encodings when importing languages
Example:

french language Charset: ISO 8859-1
and chinese language Charset: UTF-8
both on the same board!!!

This will seem to work at first.. but is bad.. because your problems will appear as soon as you post in the forums...

In this example:
If a french user posts.. (when the board is set to french) he will post in ISO 8859-1... and the chinese user will post in UTF-8 because he will have chosen to view the board in chinese.
So if the french user looks at the post of the chinese user.. (even if the chinese user posted in french!!!! ) he will not see the special charachters correctly.. because he will be looking at the page in ISO 8859-1 and the chinese user posted the special characters in UTF-8..

That is why you sould always use the SAME encoding for ALL languages... (and only UTF-8 works with ALL languages) I think that is why vbulletin 4.0 will be UTF-8 only.



Hope that was clear..
If not I will try to do some further explanations..

Felix..

IR15H 06-29-2008 08:38 PM

Is this normal behaviour?;
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

This was obtained by nominating a star entry, then changing to nominate a different entry. I expected it to only save the latest, current, nominated entry.

----------------------------

The comments/rating count only registers the number of different users who comment/rate, it doesn't account for the same user posting more than once;
https://vborg.vbsupport.ru/

----------------------------

If I enable the hide-magnifier extra, with a local_file_root_prefix set, then I receive the following error at the top of any page containing an external image (for use as thumbnail);

Code:

Warning: getimagesize(Local File Root Prefix/http://www.somesite.com/image.png) [function.getimagesize]: failed to open stream: Invalid argument in [path]\includes\local_links_include.php(3190) : eval()'d code on line 8
----------------------------

The upload permissions don't appear to follow those set in forum/admincp/attachmentpermission.php. I prevented all users from uploading png's, but was still able to upload a png using a regular Registered User's account;

https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

Have I set something wrong?

----------------------------

I found the description of autocreate_active a bit confusing - "Automatic forum announcement of new entries enabled". I originally thought it'd make an actual announcement, not a thread.

----------------------------

How would I go about making ldm_post_addrating_title follow the default format of Re: Thread Title (as defined in ADMIN CP > vBulletin Options > Message Posting and Editing Options >Automatically Quote Post / Thread Title). I tried editing the phrase to RE: {1}, but that appears as Re: %1$s in the actual thread.

----------------------------

Thank you once again for such an excellent mod :D.

RikiB 06-30-2008 01:12 AM

Ive noticed a pattern, every time I upgrade my ldlm version it resets the "hidden" attribute on files to visible. Its not a huge deal now that I know it will happen, but I think it would be classified as a bug.

Riki

AndrewD 06-30-2008 04:19 AM

Quote:

Originally Posted by IR15H (Post 1562372)
Is this normal behaviour?;
http://img53.imageshack.us/img53/841...callinkgz5.png
http://img50.imageshack.us/img50/478...3adminicd9.png
http://img53.imageshack.us/img53/133...callinkun8.png

This was obtained by nominating a star entry, then changing to nominate a different entry. I expected it to only save the latest, current, nominated entry.

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.

Quote:

Originally Posted by IR15H (Post 1562372)
The comments/rating count only registers the number of different users who comment/rate, it doesn't account for the same user posting more than once;
http://img53.imageshack.us/img53/451...callinkyr0.png

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.

Quote:

Originally Posted by IR15H (Post 1562372)
If I enable the hide-magnifier extra, with a local_file_root_prefix set, then I receive the following error at the top of any page containing an external image (for use as thumbnail);

Code:

Warning: getimagesize(Local File Root Prefix/http://www.somesite.com/image.png) [function.getimagesize]: failed to open stream: Invalid argument in [path]\includes\local_links_include.php(3190) : eval()'d code on line 8

OK, will fix in the next 2.2.9 upload.

Quote:

Originally Posted by IR15H (Post 1562372)
The upload permissions don't appear to follow those set in forum/admincp/attachmentpermission.php. I prevented all users from uploading png's, but was still able to upload a png using a regular Registered User's account;

http://img176.imageshack.us/img176/2...9forumsec7.png
http://img128.imageshack.us/img128/2066/43625579mr7.png

Have I set something wrong?

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.

Quote:

Originally Posted by IR15H (Post 1562372)
I found the description of autocreate_active a bit confusing - "Automatic forum announcement of new entries enabled". I originally thought it'd make an actual announcement, not a thread.

OK, will change the wording in next 2.2.9 upload

Quote:

Originally Posted by IR15H (Post 1562372)
How would I go about making ldm_post_addrating_title follow the default format of Re: Thread Title (as defined in ADMIN CP > vBulletin Options > Message Posting and Editing Options >Automatically Quote Post / Thread Title). I tried editing the phrase to RE: {1}, but that appears as Re: %1$s in the actual thread.

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

AndrewD 06-30-2008 04:20 AM

Quote:

Originally Posted by RikiB (Post 1562576)
Ive noticed a pattern, every time I upgrade my ldlm version it resets the "hidden" attribute on files to visible. Its not a huge deal now that I know it will happen, but I think it would be classified as a bug.

Riki

I'm not sure how this can happen, but I'll check.

mhmd1983 06-30-2008 08:19 AM

Quote:

Originally Posted by AndrewD (Post 1561075)
When you enable this extra, users in the indicated user groups have the allowances specified here until their post count reaches the specified level. It seems to work for me.

You seem to have set this to limit root admins to 1 file maximum until they have 1000 posts. The attachment shows the message that should be displayed.

Question: is your root admin account also a member of another usergroup? LDM always grants the most generous usergroup allowances. You have not limited other groups.

Ok , it keeps saying 0 used
https://vborg.vbsupport.ru/

I'm linking to a remote files using redirect links , it counts the hit , but doesn't limit it

AndrewD 06-30-2008 08:38 AM

Quote:

Originally Posted by mhmd1983 (Post 1562799)
Ok , it keeps saying 0 used
http://img530.imageshack.us/img530/8324/ldmps4.jpg

I'm linking to a remote files using redirect links , it counts the hit , but doesn't limit it

That's why. Since LDM is not handling the download, it doesn't try to restrict it. This is generally true of the files/bandwidth limits.

kris 06-30-2008 01:49 PM

AndrewD , thank you this MOD (add-on) very well done.
I was hopping to find one thing in configuration that I would like to have on my very large board , but it looks like you dont have it yet. It a possibilities of using your add-on to sync all user attachments (old and new) to special category, if its possible please let me know how ? if its not so may be you can add this to your future version. I have 20GB of users attachments (mostly jpegs) stored on the hard disk that they uploaded to my forum posts for over 8 years and I would like to have some kind of interface to view and manage them.

AndrewD 06-30-2008 01:55 PM

Quote:

Originally Posted by kris (Post 1563030)
AndrewD , thank you this MOD (add-on) very well done.
I was hopping to find one thing in configuration that I would like to have on my very large board , but it looks like you dont have it yet. It a possibilities of using your add-on to sync all user attachments (old and new) to special category, if its possible please let me know how ? if its not so may be you can add this to your future version. I have 20GB of users attachments (mostly jpegs) stored on the hard disk that they uploaded to my forum posts for over 8 years and I would like to have some kind of interface to view and manage them.

Thanks. This is not there at the moment, but it's a feature that I have been meaning to write for some time, and will probably do so in the near future. One question - are your attachments stored on file or in the database?

kris 06-30-2008 02:11 PM

files ! but you'll need to read database to link attachment files to user information.

Thank you again !

btw, is your time available to do custom work extra for money?

AndrewD 06-30-2008 02:50 PM

Quote:

Originally Posted by kris (Post 1563056)
btw, is your time available to do custom work extra for money?

Nope.... I need a life.

roymogg 06-30-2008 07:47 PM

Quote:

Originally Posted by AndrewD (Post 1561313)
The attributes are patched into the linkbits part way through processing. For them to appear, the following line has to appear somewhere in the relevant linkbit template. (Currently, the featured linkbit does not have this line)

Code:

<!--$linkid::entities-->
The entities themselves are built up using the links_viewone_entity template and then inserted at the marked point in the template.

Currently, new linkbit and catbit templates are added programmatically. Take a look at includes/local_links_admininclude.php. At around line 626, there's a sequence:

Code:

// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------
// name=X: name used in selection menus
// defcol=N: default number of display columns
// maxcol=N: maximum number of columns that it makes sense to display
// subbit=M: template used for displaying subcategories within this catbit
        require_LDMadminrow($seq++, 'links_catbit', serialize(array("name"=>"Tabular", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
        require_LDMadminrow($seq++, 'links_catbit_brief', serialize(array("name"=>"Brief", "defcol"=>2, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
// Pre-defined catbits - extend to match catbits available in templates.xml -----------------------------------------

To add a new catbit, add another line of code:
Code:

        require_LDMadminrow($seq++, 'links_your_catbit', serialize(array("name"=>"YourCatName", "defcol"=>1, "maxcol"=>4, "subbit"=>"links_subcatbit")), 'define_catbit', 1);
Save, upload, and re-install the LDM product loader. The new catbit will appear on the selection menus.

Many thanks Andrew this looks very straightforward - if I have a prob will get back.

This is really a great add-on and I have already had some good feedback.

Cheers

Roy

abdelghani68 07-01-2008 09:22 PM

hi

I have installed id3tag-enhancements but I can't see him run.

Can you help me please ?

I have upload idtag3 : www/mysite/forum/getid3

Sorry but how to do that ?

Scan and Add Link create entry attributes based on contents of ID3 tags


thanks

AndrewD 07-02-2008 04:31 AM

Quote:

Originally Posted by abdelghani68 (Post 1564289)
hi

I have installed id3tag-enhancements but I can't see him run.

Can you help me please ?

I have upload idtag3 : www/mysite/forum/getid3

Sorry but how to do that ?

Scan and Add Link create entry attributes based on contents of ID3 tags


thanks

As well as installing the id3tag-enhancements plugin and enabling it, you also have to upload the getid3 code. Unzip getid3.zip from the extras directory. Then use your ftp software - create a directory called getid3 in your forums directory and upload the files into that directory.
You also need to enable display of 'additional attributes' on the LDM admin/settings page.

abdelghani68 07-02-2008 08:46 AM

thanks.

obmob 07-03-2008 05:15 PM

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

Stilgar 07-03-2008 07:47 PM

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

Bexter 07-03-2008 08:54 PM

Quote:

Originally Posted by AndrewD (Post 1561982)
I will find it easiest to help with this if I take a look at your site. If you like, send me a PM with details of an admin account.

Just to let you know, I got it working :), was to do with the parent category having a parent forum as well as the sub category. Must have conflicted or something because when I changed the parent category's forum to none, it started working.

Absolutely fantastic add on :D

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 09:31 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.02481 seconds
  • Memory Usage 1,945KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (37)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