![]() |
Simple plugin help?
Hello,
I'm trying to port a simple hack over to 3.5. My PHP knowledge is sorely lacking, and I was hoping someone could tell me where I'm going wrong in this code, then point me in the right direction on how to fix it. Basically, the point of this plugin is: - Check if the user is in a "critforum." If they aren't in one of the excluded usergroups, then: - Check how many "critpoints" the user has - If they have more "critpoints" than $cost, allow them to start a new thread. If not, give the error message PHP Code:
Rebecca |
PHP Code:
PHP Code:
|
Excellent, thank you so much! :) It's checking the points correctly now.
One more question: How can I format the code correctly so that it also checks (and only executes on) forums in the $critforums array? Rebecca |
|
All times are GMT. The time now is 05:02 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:
|