Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Newbie Lock mod Details »»
Newbie Lock mod
Version: 1.00, by Revan Revan is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-30-2004 Last Update: Never Installs: 7
 
No support by the author.

As requested by The Realist here.

This mod basically locks a newbie with 0 in post count from opening any other forums than your "newbie forum", or introductions forum.


Ive tested it in any way I can think of on both 3.0.0 and 3.0.3, so it should be fool proof.
Its also my first released vB mod, and it took me 20 secs to write and 30 to test.
Go easy on meh :nervous:

Yes I know theres usergroups for this, but it was a request, not my idea.
Sue me :ermm:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-07-2004, 05:31 AM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #23  
Old 09-07-2004, 08:36 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #24  
Old 09-07-2004, 10:15 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #25  
Old 10-29-2005, 08:50 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 10-31-2005, 03:03 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #27  
Old 01-05-2006, 10:45 PM
CarpHunter CarpHunter is offline
 
Join Date: Apr 2005
Location: Netherlands
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 01-06-2006, 06:46 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04426 seconds
  • Memory Usage 2,286KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete