![]() |
page viewble only by users with xxx posts
Is it possible to set a php integrated into my vB so that only registered users with xxx posts can view it?
|
After your call to global.php in the script put this
Code:
if ($bbuserinfo[posts] =<20) |
I get error after I added that code I think the "<" is not recognized
|
Try this (is tired I mixed up the possition)
Code:
if ($bbuserinfo[posts] <= 20) |
this one worked, thanks dude :)
Is it possible to get a message for the users who can't access the page? Something like "To view this page u must have more then xxx posts" Thanks :) |
Code:
In your phrase manager add new phrase. Code:
if ($bbuserinfo[posts] <= 20) |
works great!
thank u very much |
No trouble at all glad it is working right :)
|
All times are GMT. The time now is 11:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|