![]() |
I have a php file ( called " sms.php" ) which I have made so ONLY registered members can view.
But I want to make it so that only CERTAIN people who have over 20 posts in the forum can view it ... this is probably easy to do :stupid: but how can it be done ? Thank you |
If your script includes global.php then this should do it:
(the "require("./global.php");" must be somewhere before this) PHP Code:
|
ok, this is my sms file
PHP Code:
thanks again ! |
This:
PHP Code:
|
its times like these i feel like WORSHIPPING u people ! :D
Ok, it works fine ... but can I make it so the errors msg displayed of why the user cant login is " You need to make 20 posts before you can send sms's !!!" ?? Thanks again !!!!! :p |
small problem
People who havent got 20 posts cant log in , thats fine but me , who has over 500 cant log in to sms either lol :eek: somethings wrong with that code ... anyone know what ? :( |
my typo.
$bbusinfo['posts'] should be $bbus[high]er[/high]info['posts'] :D |
[QUOTE]Originally posted by cyrus
its times like these i feel like WORSHIPPING u people ! :D Ok, it works fine ... but can I make it so the errors msg displayed of why the user cant login is " You need to make 20 posts before you can send sms's !!!" ?? Thanks again !!!!! :p |
Another WOW
ur truely wicked at this stuff ... THANKS BIRA !!! |
All times are GMT. The time now is 08:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|