<br /><br /><br />##############<br />showflat.php<br />##############<br />##############<br />find:<br />##############<br /><br /><br /> $postrow[$i]['Username'] = $Username;<br /> $postrow[$i]['Title'] = $Title;<br /><br /> if ( ($config['showip'] == 1) && $IP) {<br /> $postrow[$i]['IP'] = "($IP)";<br /> }<br /><br /><br />##############<br />replace with:<br />##############<br /><br /> $postrow[$i]['Username'] = $Username;<br /> $postrow[$i]['usernumber'] = $usernumber;<br /> $postrow[$i]['Extra3'] = $Extra3;<br /> $postrow[$i]['Title'] = $Title;<br /><br /> if ( ($config['showip'] == 1) && $IP) {<br /> $postrow[$i]['IP'] = "($IP)";<br /> }<br /><br /><br /><br /><br /><br /><br /><br />$userob = new user;<br />$user = $userob -> authenticate("U_Display, U_Groups, U_PostsPer, U_PicturePosts, U_FlatPosts, U_TimeOffset,U_ShowSigs,U_TimeFormat,U_Ignored,U_SearchSession,U_Preview,U_TextCols,U_TextRows");<br />isset($user['U_Username']) && $Username = $user['U_Username'];<br /><br /><br /><br /><br />##############<br />replace with:<br />##############<br /><br /><br />$userob = new user;<br />$user = $userob -> authenticate("U_Extra3, U_Display, U_Groups, U_PostsPer, U_PicturePosts, U_FlatPosts, U_TimeOffset,U_ShowSigs,U_TimeFormat,U_Ignored,U_SearchSession,U_Preview,U_TextCols,U_TextRows");<br />isset($user['U_Username']) && $Username = $user['U_Username'];<br />isset($user['U_Extra3']) && $Extra3 = $user['U_Extra3'];<br /><br /><br /><br /><br />##############<br />find:<br />##############<br /><br /><br /> // -----------------------------------------------------------<br /> // If this thread has been moved we need to send them properly<br /> if ($Open == "M") {<br /> @list($NewBoard,$NewNumber,$Body) = split("-ML-",$Body);<br /> $Body = "<a href=\"{$config['phpurl']}/showflat.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Number{$var_eq}$NewNumber\">{$ubbt_lang['POINTER']}</a>$Body";<br /> }<br /><br />##############<br />replace with:<br />##############<br /><br /><br /> // SMS yes or no<br /> if ($user['U_Extra3'] != "") {<br /> $SMS = "on";<br /> }<br /><br /><br /> // -----------------------------------------------------------<br /> // If this thread has been moved we need to send them properly<br /> if ($Open == "M") {<br /> @list($NewBoard,$NewNumber,$Body) = split("-ML-",$Body);<br /> $Body = "<a href=\"{$config['phpurl']}/showflat.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Number{$var_eq}$NewNumber\">{$ubbt_lang['POINTER']}</a>$Body";<br /> }<br /><br /><br /><br />##############<br />find:<br />##############<br /><br /><br />// Edit Button?<br /> $postrow[$i]['editlinkstart'] = "";<br /> $postrow[$i]['editlinkstop'] = "";<br /> $postrow[$i]['editdisplay'] = "";<br /> if ($edit == "on") {<br /> $postrow[$i]['editlinkstart'] = "<a href=\"{$config['phpurl']}/editpost.php?Cat=$Cat&Board=$Board&Number=$Number&page=$page&what=showflat&vc=1\">";<br /> $postrow[$i]['editlinkstop'] = "</a>";<br /> }<br /> else {<br /> $postrow[$i]['editdisplay'] = "style=\"display: none;\"";<br /> }<br /><br /><br />##############<br />replace with:<br />##############<br /><br /><br /> // Cell Phone SMS code<br /> $postrow[$i]['SMScodestart'] = "";<br /> $postrow[$i]['SMScodestop'] = "";<br /> $postrow[$i]['SMScodedisplay'] = "";<br /> if ($SMS == "on") {<br /> $postrow[$i]['SMScodestart'] = "Send SMS: <B>REPLY $usernumber 'YOUR TEXT'";<br /> $postrow[$i]['SMScodestop'] = "</B> to number 777777";<br /> }<br /> else {<br /> $postrow[$i]['SMScodedisplay'] = "style=\"display: none;\"";<br /> }<br /><br /> <br />// Edit Button?<br /> $postrow[$i]['editlinkstart'] = "";<br /> $postrow[$i]['editlinkstop'] = "";<br /> $postrow[$i]['editdisplay'] = "";<br /> if ($edit == "on") {<br /> $postrow[$i]['editlinkstart'] = "<a href=\"{$config['phpurl']}/editpost.php?Cat=$Cat&Board=$Board&Number=$Number&page=$page&what=showflat&vc=1\">";<br /> $postrow[$i]['editlinkstop'] = "</a>";<br /> }<br /> else {<br /> $postrow[$i]['editdisplay'] = "style=\"display: none;\"";<br /> }<br /><br /><br /><br /><br /><br /><br /><br />##############<br />showflat.tmpl<br />##############<br />##############<br />find:<br />##############<br /><br /><br /><br />{$postrow[$i]['Location']}<br /><br />##############<br />replace with:<br />##############<br /><br /><br />{$postrow[$i]['Location']}<br /><br /><br />{$postrow[$i]['SMScodestart']}<br />{$postrow[$i]['SMScodestop']}<br /><br />