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)

Revan 07-30-2004 10:00 PM

Newbie Lock mod
 
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:

Silverdawn222 07-31-2004 05:38 PM

I think it's a great mod! Usergroup Permissions can be very complex in Vbulletin. Love it, thanks!

AN-net 07-31-2004 06:33 PM

interesting ill look into it;)

Floris 07-31-2004 07:20 PM

Quote:

Originally Posted by Revan
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:

You can do this with usergroups indeed, I see no reason why one would also request this besides being unwilling to learn the permissions.
Thank you for sharing the resource though.

Silverdawn222 07-31-2004 08:16 PM

Quote:

Originally Posted by floris
You can do this with usergroups indeed, I see no reason why one would also request this besides being unwilling to learn the permissions.
Thank you for sharing the resource though.

The permission system, especially on larger boards, can create complex situation. If you need a simple solution than this piece of code is perfect, I think.

The Realist 07-31-2004 11:11 PM

Yes indeed it is simple and like me Im all for simple things in life.

Well done M8 I will have a look at it and get back to you asap, Im a we bit pi$$ed now :)

Its 1:10am and just crawled through the door :)

Laters

The Realist 08-01-2004 09:34 AM

Just tried it M8 and it dont work. I logged in as a new user and yes it lockes down all the sections and stops the new member from viewing all the sections apart from the choosen one.

I made a post in the choosed section and it would not give me permission to access the other sections.

Laters

Revan 08-01-2004 12:45 PM

wtf lol
this is bs I tested it myself on my localhost just now.
I can post video evidence if you want, cos its working just perfect.

Maybe the problem is that post counts doesnt count in your newbie forum?
cos this takes its value from the bbuserinfo['posts'] or postcount as you can see.

other than that I have no idea lol

The Realist 08-01-2004 01:06 PM

My posts counts in the section is turned off yes. I will turn it on and give it another go.

Laters

The Realist 08-01-2004 01:13 PM

It does work M8, it was because I had post counts turned off.

Tell me.............

Can it be added so that new members can only see this section I want them to make there first post in and once they made that post the other sections become viewable?

Laters


All times are GMT. The time now is 08:40 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.01386 seconds
  • Memory Usage 1,732KB
  • 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_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