The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Found a bug: $forumid should be $foruminfo[forumid]
and some more in my code, a space to much (twice) and a ( missing this is how it should be (for those interested in this): PHP Code:
And make a template called error_newthreadnotallowed with something like "Sorry, but you can't post new threads in this subforum. " or whatever you want |
#12
|
||||
|
||||
Quote:
you are correct on ( missing..(edited) and your sample of template driven error page is correct either..(nice work!) BTW If you want to release it with your name, be my guest.. But I still think access permissions will be enough in many cases.. Enjoy.. Logician |
#13
|
||||
|
||||
Quote:
Quote:
I mean, it's just a very small hack... |
#14
|
||||
|
||||
Quote:
PHP Code:
Cya, Logician |
#15
|
||||
|
||||
Quote:
I got a parse error on line 30 - the line with if (!ismoderator($forumid)) AND ($forumid=Y OR $forumid=Z)) and after I replaced $forumid with $foruminfo[forumid] the parse error on that line was solved The parse error I got after that was on line 31, and that was indeed due to the missing ( |
#16
|
||||
|
||||
Quote:
Try to reapply: PHP Code:
|
#17
|
||||
|
||||
[high]* Broekie takes his eraser and erases his last post
[/high] Did I say that didn't work? I did not! You're right, it works. I guess the parse error was due to a typo at my side. It must be [edit] I now see what ) you mean, and indeed, that must have been the missing character. [/edit] |
#18
|
||||
|
||||
I just noticed a bug in the code
it should be $forumid==X (with dubble = ) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|