vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Require 'X' Reputation To Access a Forum (https://vborg.vbsupport.ru/showthread.php?t=98981)

akanevsky 10-21-2005 10:00 PM

Require 'X' Reputation To Access a Forum
 
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| Require 'X' Reputation To Access a Forum
||
|| Author : Psionic Vision
|| Works on : vBulletin 3.5.2
|| Released : Dec 29, 2005
||
|| Time required to install: 20 seconds
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

This product creates a new setting in your forum options that enables you to restrict the forum access to users, whose reputation level is equal to or above the minimum that you specify.

STATISTICS

Products to Install: 1


VERSION HISTORY

1.0.1
[+] Fixed a bug which prevented getdaily from working properly.

1.0.0
First Release

INTRODUCTION

When using this product, you should enable "Show Private Forums" (otherwise inaccessible forums won't show up on the list) and "Show Lock Icons to Users" (otherwise inaccessible forums won't have a lock icon next to them). However, the settings of both of these options are up to you.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Marco van Herwaarden 10-22-2005 05:14 AM

Why not just use a secondary usergroup to control forum access, and use a Promotion based on rep points?

Snake 10-22-2005 11:42 AM

Wow thanks.

akanevsky 10-22-2005 12:00 PM

MarcoH64

Because the more usergroups there are, the more confusing and hard to control it becomes. Trust me, I had like 8 additional usergroups on an older board, only for promotions. Now, if I want to change one basic permission for one group, I have to change it for all others, since they are all the same except forum access or whatever it is... With this hack, you do not need to promote users for reputation, you just edit a forum :) No hassle.

Bottom Line: IMHO, the promotions system was created for nothing, because it is better to create hack that would define the promoted setting rather than do it with usergroups.

Quote:

Wow thanks.
No problem, but you didn't click install. -.-

Marco van Herwaarden 10-22-2005 01:55 PM

Well everyone have their opinion, in mine it is better to have the 'burden' of more groups and use standard functionality, then to hack the software and face possible unexpected behaviour and upgrade problems.

akanevsky 10-22-2005 02:03 PM

Quote:

Well everyone have their opinion, in mine it is better to have the 'burden' of more groups and use standard functionality, then to hack the software and face possible unexpected behaviour and upgrade problems.
Well, maybe you shouldn't install any hacks at all - that will be the best way to avoid unexpected behavior ;)

euangel 10-22-2005 08:59 PM

Got this error when I tried to set a forum to require someone to have a rep of -5 or more.

Quote:

MySQL Error : Unknown column 'rep_required' in 'field list'
Error Number : 1054

akanevsky 10-22-2005 09:45 PM

Did you install the product xml?
If you did, you shouldn't have this problem.

euangel 10-22-2005 10:33 PM

I did...it also shows this as about 12 different plugins in my plugin manager after i installed the product. Is this normal?

akanevsky 10-22-2005 11:09 PM

Yes. Try reinstalling the product.


All times are GMT. The time now is 02:38 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.01243 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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