I hope they do work together.. But. For example
Code:
if ($ctEnable == 1 and $customtext) {// Custom Titles are ON, Make sure user can actually use them and isn't trying to manipulate them through forms
$ctShowTitle = 0;
if ($disableCTspam == 1 and $ctEnable == 1 and ($bbuserinfo[spampoints] > $maxCTspam) ) {
$ctShowTitle = 0;
} elseif (ismoderator() and $ctAdmin == 1) {// Allow mods to use titles no matter what
$ctShowTitle = 1;
} else {
if ($ctEitherOr==0) {// Allow titles if Posts are ok OR JoinDate is ok
if ( ($bbuserinfo[posts] >= $ctPosts) or ( ($bbuserinfo[joindate] <= (time()-($ctDays*86400))) or ($ctDays==0)) ) {
$ctShowTitle = 1;
}
How to combine that with
Code:
if ($ctEnable == 1 and $customtext) {// Custom Titles are ON, Make sure user can actually use them and isn't trying to manipulate them through forms
$ctShowTitle = 0;
if ($qpct == 1 and $ctEnable == 1 and ($bbuserinfo[qualitypoints] >= $minqpct) ) {
$ctShowTitle = 1;
} elseif (ismoderator() and $ctAdmin == 1) {// Allow mods to use titles no matter what
$ctShowTitle = 1;
} else {
if ($ctEitherOr==0) {// Allow titles if Posts are ok OR JoinDate is ok
if ( ($bbuserinfo[posts] >= $ctPosts) or ( ($bbuserinfo[joindate] <= (time()-($ctDays*86400))) or ($ctDays==0)) ) {
$ctShowTitle = 1;
}
I can see it's only a matter of inserting the new (Spam points) if-statement in the one I already have (Quality points), but where and how
This is just an example of things I dont know how to do