![]() |
No Parker, don't do that. Revert back to the original 2,2,0 code and then change ONLY:
Code:
$checkdate = time() - ($daysprune*86400); Code:
[high] if ($daysprune=='-2') { |
Bira:
Ok, that's fixed. I knew there was a right bracket that was extra I just didn't know which one. Ok in the members.php file I have changed: if ($bbuserinfo[daysprune]==-1) { $daysdefaultselected="selected"; } else { $dname="days".$bbuserinfo[daysprune]."selected"; $$dname="selected"; } to this: if ($bbuserinfo[daysprune]==-1) { $daysdefaultselected="selected"; } elseif ($bbuserinfo[daysprune]==-2){ $dayslastvisitselected="selected"; } else { $dname="days".$bbuserinfo[daysprune]."selected"; $$dname="selected"; } and added the -2 to the modifyoptions template so that -2 is placed in the user table. now in forumdisplay.php you have if (!isset($daysprune) or $daysprune==0 or $daysprune==-1) { if ($bbuserinfo['daysprune']>0) { $daysprune = $bbuserinfo['daysprune']; } else { $daysprune = iif($foruminfo['daysprune'], $foruminfo['daysprune'], 30); } } is this where I want to check for the $daysprune==-2 to set this to the member's option they chose? Parker |
All times are GMT. The time now is 06:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|