The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]() PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
Excellent, thank you so much!
![]() 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 |
#4
|
|||
|
|||
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|