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 08-14-2008 04:17 AM

Quote:

Originally Posted by Simon Lloyd (Post 1597967)
Andrew D, can this be used to manage a users downloads if a user was to purchase a subscription and move in to a different usergroup for 1 day can a limit of 1 download be set, would i have to manually change the usergroup each time - i'm a complete novice in html and php and am just setting up my forum i want a pay per download section on my site, is this possible with this mod?

Simon, yes, I think this will work

1- set up VB so that when users puchase a subscription, they are moved to usergroup XYZ
2- in LDM/admin/allowances, you give usergroup XYZ the right to download one file per day
3- give other usergroups zero allowance
4- in LDM/admin/permissions, you give usergroup XYZ *can_access*link* permission and deny it to other usergroups.
5- deny usergroups *can_bypass_bandwidth_limits* permission

5 if there are usergroups that you want to bypass these restrictions, then don't set any of their allowances.

If you want to apply the limit only to downloads in a particular category, follow steps 2 and 3 in the same way, but in place of step 4

6- in the defined category, edit/category/permissions, give/remove the *can_access_link* and *can_bypass_bandwidth_limits* permissions
7- in LDM/admin/permissions, give everyone *can_access_link* and *can_bypass_bandwidth_limits* permissions

My only uncertainty is how well the *day* start/end calculation in LDM will synchronise with vbulletin's calculation. You will need to test it to find out.

derfelix 08-14-2008 04:59 AM

While we are at it.. a little internetexplorer bug when editing keywords..

ok we are at the normal display page.. with a page with 20 entries..
each entry (depending of the template you are using) allows you as admin to edit keywords inline..

works fine (I modified the template a little bit)
BUT if you toggle the tag graphic the word "keywords" appears and a field where you can edit the keywords of this entry.. and a go button..

if you click the word "keywords" it goes back to the tag symbol...

In IE7 it acts weird.. because the link is linked to a jumpmark that doesnt really exist.. #$linkid
and it eventually reloads the page.. or pushes the link to the top of the screen when you edit it.. (adding the jumpmark #$linkid to the url)

I fixed it that way:
the link in the template is:
HTML Code:

<a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 1, 2);">$vbphrase[ll_keywords]</a>
i changed it to:
HTML Code:

<a href="#" onclick="ldm_show('keys{$linkid}_', 1, 2);return false;">$vbphrase[ll_keywords]</a>
It has to be done twice (also for the tag image when you toggle).. otherwise IE will jump to the link.. this is NOT the way it should act (imho).. because:

if you are editing the last link on the page... it will open the editfield (as it should) but will then "jump" to that link.. so if you had it in the middle of the page.. it will scroll that link to the top of the page..
It's the same when you close the editbox when klicking on the word: "keywords"
(grrr hope you understood what i meant)


Anyway there should at least be a: return false; at the end of the "onclick" stuff..

Felix

PS: I also removed the $linkid leaving only the # thinking there is no point jumping to that link because you are allready at that link..(i might be wrong)

Simon Lloyd 08-14-2008 05:23 AM

Andrew D, thanks for the very detailed information, i have VBAdvanced, Donations Pro and Mark Solved Mods is your's ok with these? I'm a novice so is it easy to install?

Regards,
Simon

AndrewD 08-14-2008 05:50 AM

Quote:

Originally Posted by Simon Lloyd (Post 1598215)
Andrew D, thanks for the very detailed information, i have VBAdvanced, Donations Pro and Mark Solved Mods is your's ok with these? I'm a novice so is it easy to install?

Regards,
Simon

Certainly ok with vbadvanced - don't know about the others - not had any reports of problems. Installation is straightforward, but am here to help in case of problems.

Simon Lloyd 08-14-2008 01:10 PM

Andrew, thanks for the responses!, i'm running 3.7.2 PL1 and am going to install this, will post back.

Regards,
Simon

Simon Lloyd 08-14-2008 01:58 PM

Andrew, in your instructions:
Quote:

Originally Posted by LDM
Upload all the contents of /release/forum and its subdirectories into the corresponding forum directories
(i.e. clientscript/ into clientscript/, includes/ into includes/, etc.

i understand that this means open the folder in LDM and copy contents to corresponding folder in /forum, however inside these folders are folders marked XML and ldm-ox-icons do these just get uploaded to the corresponding parent folder (i.e Includes for the XML) without opening and copying the contents?, also the other files in the /forums folder i.e local_link's eyc do they just go in my /forum folder?

Regards,
Simon

AndrewD 08-14-2008 02:04 PM

Quote:

Originally Posted by Simon Lloyd (Post 1598489)
Andrew, in your instructions:
i understand that this means open the folder in LDM and copy contents to corresponding folder in /forum, however inside these folders are folders marked XML and ldm-ox-icons do these just get uploaded to the corresponding parent folder (i.e Includes for the XML) without opening and copying the contents?, also the other files in the /forums folder i.e local_link's eyc do they just go in my /forum folder?

Regards,
Simon

The files and directory structure inside release/forums should be copied into exactly the same directory structure in your /forum folder, i.e. files in release/forum/includes/xml go into forums/includes/xml and so on. The only folder which will not already exist is the images/ldm-ox-icons

chet 08-14-2008 03:07 PM

I seem to have usergroup permision problems

I have set up two categorys, one usergroup should be able to see both category's and entries within the category's, the second usergroup should only be able to see just one category and the entries within.

The second usergroup can see the category but not the entries, I can the following when I try to access the Category: -

Sorry - there is nothing to show you (no permisions, all entries are hidden, etc)

Can you let me know where I have gone wrong please

Club officals can view both, Team managers have the problem

Cheers

Chet

https://vborg.vbsupport.ru/external/2008/08/38.jpg

Simon Lloyd 08-14-2008 08:07 PM

Andrew, sorry to be a pain, can you tell me where the vba_modules and extra's folders go as i don't have these in my configuration?

vbboarder 08-14-2008 08:51 PM

I have some feature requests for LDM 2.3.0 or another future update:

1. Allow featured_user_favs to accept usergroups such that all users in that group will have their favorites featured (ie: favorites of all users in VIP group are featured).

2. Use settings in vBulletin's "search relevance options" to order searches.

3. Provide an option for similar_threads plugin to search only in the same category as the entry being searched.

4. Integrate LightWindow into LDM and provide an option to make it the default Flash/ PDF/ image/ video player. LightWindow is a very versatile and robust solution for displaying many file types with just one script (don't need to combine multiple scripts like Lightbox + JW/ Wimpy players). Also, it's free and MIT-licensed so it's less strict than the creative commons license of Lightbox & JW players. Check it out here: http://stickmanlabs.com/lightwindow/#features

5. Need fix for this bug: When editing an entry, the user is able to upload another file (the file is saved in the upload directory), but the new file does not show (file is not linked to in the entry) and his upload allowance is not updated.

Thanks for this great mod and helpful contributions! :D


All times are GMT. The time now is 01:11 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.02592 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_html_printable
  • (4)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