vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Newbie Lock mod (https://vborg.vbsupport.ru/showthread.php?t=67834)

venomx 09-07-2004 05:31 AM

I just had a thought... Whats wrong with setting it so Registered Members can only see one forum and set up a Promotion that will move the member to a different user group after one post?

The Realist 09-07-2004 08:36 PM

And you are 100% correct?

Why the hell did'nt I think of that :)


Quote:

Originally Posted by venomx
I just had a thought... Whats wrong with setting it so Registered Members can only see one forum and set up a Promotion that will move the member to a different user group after one post?


venomx 09-07-2004 10:15 PM

Not sure it will work but what I have read about promotions it should... Just each time you set up a new forum you would have to make sure you edited the permissions if it wasnt under a "mother" one...

VBUsers 10-29-2005 08:50 AM

old yes , but definitly a must do can someone port this for 3.5.0 gold i know you can play with the permissions but i had this on 3.0 and it was simple and easy to do. thanks

VBUsers 10-31-2005 03:03 AM

Quote:

Originally Posted by lowandloudinc
old yes , but definitly a must do can someone port this for 3.5.0 gold i know you can play with the permissions but i had this on 3.0 and it was simple and easy to do. thanks


can a coder please help on this old but necissary hack or point out the exact way to do it in a how 2 for 350 gold?

CarpHunter 01-05-2006 10:45 PM

Was looking for this myself.

Started to go through some code and found the function that states the forum permissions.

PHP Code:

if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();


My geuss is to add the same stuff as was done in the original so it becomes:
PHP Code:

if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canview']) OR $bbuserinfo['posts'] <= AND $forumid != 18)
// 18 being the newbie forum id
{
print_no_permission();


Haven't tested it yet because I dont have the new forum up yet.
If they made all variables the same regarding users and posts it should work ok.

VBUsers 01-06-2006 06:46 AM

Quote:

Originally Posted by CarpHunter
Was looking for this myself.

Started to go through some code and found the function that states the forum permissions.

PHP Code:

if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();


My geuss is to add the same stuff as was done in the original so it becomes:
PHP Code:

if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canview']) OR $bbuserinfo['posts'] <= AND $forumid != 18)
// 18 being the newbie forum id
{
print_no_permission();


Haven't tested it yet because I dont have the new forum up yet.
If they made all variables the same regarding users and posts it should work ok.


well i have 3.5.1 and it rolled over so it works. you can sign up to my forum and see how i have it set up if you like. its in my sig


All times are GMT. The time now is 08:38 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.01606 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_php_printable
  • (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
  • (7)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