The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Why would the below display a blank page when using continue;?
I am trying to tell it to do nothing if it's a member, go ahead and open the script Quote:
|
#2
|
|||
|
|||
![]() PHP Code:
Quote:
|
#3
|
|||
|
|||
![]()
Thanks, but that gives me a blank page. As per the script writer it will work only with:
Quote:
|
#4
|
|||
|
|||
![]()
Just place
PHP Code:
Everything you code below that will be parsed for logged in users, and the guests will get the no permission page ![]() |
#5
|
|||
|
|||
![]()
wish that was easy. I am using one of those scripts that you absolutely cannot touched the php or it ceases to work. Everything is acomplished thru an external file. In there, I tell it to use the external logon file logon.php. And this is what I need to put in logon.php. Any other way it enters into a loop. That why the loop needs to be broken with continue;
BTW, if the condition of bbuserinfo is not met, it does ask you to login. I was told that vbportal uses it, so it is possible I also know that phpNuke uses it. I am with vbadvanced and am very happy with it. Again, the problem is the loop. |
#6
|
|||
|
|||
![]()
It might help if you'd post the script, or atleast the part which you are editing.
|
#7
|
|||
|
|||
![]()
the entire script is posted above (let's call it logon.php). So is the complete synthax to use as per author.
in the preferences file you simply put #coreInclude logon.php and logon.php posted above does it's thing. |
#8
|
|||
|
|||
![]() PHP Code:
|
#9
|
|||
|
|||
![]()
Nope, it does not. I get a blank page. I must use the continue clause as per author.
and the readfile clause (that you edited it to instead of require) makes it look ugly by displaying the raw html |
#10
|
|||
|
|||
![]()
If you MUST use a continue (i can really not think of any reason for this) then recode and use a case construct.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|