vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Modifications on this site? (https://vborg.vbsupport.ru/showthread.php?t=133934)

everyone 12-13-2006 07:44 PM

Modifications on this site?
 
What mods are used on this forum, specifically the download mod that restricts certain users to be able to download files and the general format of the download section of this forum?

peterska2 12-13-2006 07:52 PM

the modifications section of this site is a custom script for vBulletin.org and is not available for download.

Paul M 12-13-2006 09:53 PM

Download restrictions are simply usergroup permissions.

Brad 12-14-2006 05:00 AM

Quote:

Originally Posted by Paul M (Post 1138087)
Download restrictions are simply usergroup permissions.

Extending on this, although iirc this is not exactly how it's done here;

A simple way to do this is to create a new usergroup with custom permissions to download attachments from certain forums. All other usergroups (aside from admin/moderators) would have their permissions set to not allow downloading attachments from said forums.

Once that is in place you'll have to write a script that will move users between these usergroups depending on your custom restrictions. An easy way to do this would be setting up a vBcron task with your custom script and letting it run once every 30 minutes.

As for the 'database' look here at vB.org that is also an easy thing to do. First thing you do is make an array full of all the forumids from the forums that make up your file database. Use that array in a hook in the file index.php to exclude these forums from your main forum list.

Next create a new .php file and query the database for your file database forums with the same array. You can wrap the results in custom templates if you want or add some permissions code.

If you know what you're doing you can probably nock it out in a couple of hours.

Code Monkey 12-14-2006 04:30 PM

And if you don't know what your doing you can do what most other sites do and use Geek Article Review System (GARS) and install the release module.


All times are GMT. The time now is 09:00 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.01106 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete