UBB.Dev
Is it possible to make it so you have to be logged in to view the profiles? Thanks in advance!


---------------
Rob Clary
yenko.net
6.2.3
Yes. You're welcome!
Do you want to know how?

find in showprofile.php
Code
   $Username = $thisuser['U_Username'];<br /><br />   $html = new html;


Code
<br />          if (!$Username) {<br />          $html -> not_right ($ubbt_lang['NOT_LOGGED'],$Cat);<br />          } 
Thanks! Works like a charm!
Hi,

Unfortunately it does not for 6.4

Sanuk!
It should - nothing has changed with the not_right function.
I forgot to mention that you have to insert the code below. Do not replace the code. Maybe that's your problem.
Hi,

Did add it below, then got an error message. I believe it was that it couldn't find on object or something (sorry, already undid the changes).

Sanuk!
Make sure this:

$html = new html;

Appears somewhere above the "not_right" statement.
© UBB.Developers