OK I am having the same problem.. here is the code I am using...
So where is my question and what I am trying to do in short
This is in members.php
---
if ($action=="custom") {
$templatesused = "customize_1,customize_2,customize_3";
include("./global.php");
eval("dooutput(\"".gettemplate("customize_1")."\") ;");
if ($bbuserinfo[cpbenabled]!=0) {
eval("\$cpjoin .= \"".gettemplate("customize_2")."\";");
} else {
eval("\$cpjoin .= \"".gettemplate("customize_3")."\";");
}
}
---
Now I want to put $cpjoin in customize_1 template, so the if cpbenabled statment will have two different out comes and show two different things. But when I use this code it shows nothing either way.. do you know where my problem is?
Thanks for your time
- Neo
|