If empty...
#4
It's not work. I tried with:
		if ($mybb->usergroup['cancp'])
		if($mybb->settings['reminder_enabled'] == 1)
			if($mybb->settings['reminder_quantity'] == 3)
				if($mybb->settings['reminder_admin_text'])
		{
			$reminder = '
				<table border="0" cellspacing="0" cellpadding="0" class="tborder">
					<tr>
						<td style="word-break: break-all;" class="thead"><p align="center">'.$mybb->settings['reminder_name'].'</p></td>
					</tr>
					<tr>
	<td style="word-break: break-all; padding: 10px;" class="trow1"> <p align="center">'.$mybb->settings['reminder_admin_text'].'</p></td>
				</table><br /><br />
			<table border="0" cellspacing="0" cellpadding="0" class="tborder">
					<tr>
						<td style="word-break: break-all;" class="thead"><p align="center">'.$mybb->settings['reminder_name'].'</p></td>
					</tr>
					<tr>
	<td style="word-break: break-all; padding: 10px; border-bottom: 2px solid #E3E3E3" class="trow1"> <p align="center">'.$mybb->settings['reminder_text'].'</p></td>
	<tr>
	<td style="word-break: break-all; padding: 10px; border-bottom: 2px solid #E3E3E3" class="trow1"> <p align="center">'.$mybb->settings['reminder_text2'].'</p></td>
	</tr>
		<td style="word-break: break-all; padding: 10px;" class="trow1"> <p align="center">'.$mybb->settings['reminder_text3'].'</p></td>
				</table><br /><br />';
		}
EDIT: I'm sorry, I forgot about change quantity ;)

It's not working. Why?
 if($mybb->settings['reminder_enabled'] == 1)
            if($mybb->settings['reminder_quantity'] == 1)
While these circumstances will be agree this table still will be show.
I don't know, as bypass this without remove this settings.
Reply


Messages In This Thread
If empty... - by CezPlayer - 2016-11-01, 12:45 PM
RE: If empty... - by dragonexpert - 2016-11-01, 01:07 PM
RE: If empty... - by Matt - 2016-11-01, 01:08 PM
RE: If empty... - by CezPlayer - 2016-11-01, 05:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)