Turning off signature lines for non paid members.. - 11/16/2006 3:03 AM
I have a client that has specific group titles for paid members (he is using 6.5.2). I'd like to have it so they get sig lines and unpaid do not. Any ideas? I thought I had it figured but it's not working properly.
*snarf*
He has this mod in place (in showflat.php) if it helps
*snarf*
He has this mod in place (in showflat.php) if it helps
Code
// Figure out what to display based on their groups
if (preg_match("/-56-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title1";
}
if (preg_match("/-57-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title2";
}
if (preg_match("/-58-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title3";
}
if (preg_match("/-59-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title4";
}
if (preg_match("/-60-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "Paid Member";
}
if (preg_match("/-13-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title5";
}
if (preg_match("/-11-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title6";
}
if (preg_match("/-8-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title7";
}
if (preg_match("/-61-/",$postergroup)) { // adjust this group number if needed
$postrow[$i]['GroupName'] = "title8";
}