Rank "Registered" in PHP
#3
This is not work on registered users nor on administrators. I will show code of my plugin:
	if($mybb->user['uid'] & $mybb->user['usergroup'] == 2)
		if($mybb->settings['reminder_enabled'] == 1)
		if($mybb->settings['reminder_quantity'] == 1)
				{
			$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_user_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;" class="trow1"> <p align="center">'.$mybb->settings['reminder_text'].'</p></td>
				</table><br /><br />';
		}	
Reply


Messages In This Thread
Rank "Registered" in PHP - by CezPlayer - 2016-10-28, 04:23 PM
RE: Rank "Registered" in PHP - by Johnny S - 2016-10-28, 04:40 PM
RE: Rank "Registered" in PHP - by CezPlayer - 2016-10-28, 04:51 PM
RE: Rank "Registered" in PHP - by Johnny S - 2016-10-28, 04:56 PM
RE: Rank "Registered" in PHP - by CezPlayer - 2016-10-28, 04:59 PM
RE: Rank "Registered" in PHP - by Johnny S - 2016-10-28, 05:02 PM
RE: Rank "Registered" in PHP - by CezPlayer - 2016-10-28, 05:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)