|
Joined: Mar 2000
Posts: 180
Member
|
Member
Joined: Mar 2000
Posts: 180 |
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
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
Yes. You're welcome!
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
Do you want to know how? find in showprofile.php $Username = $thisuser['U_Username'];<br /><br /> $html = new html; <br /> if (!$Username) {<br /> $html -> not_right ($ubbt_lang['NOT_LOGGED'],$Cat);<br /> }
|
|
|
|
Joined: Mar 2000
Posts: 180
Member
|
Member
Joined: Mar 2000
Posts: 180 |
Thanks! Works like a charm!
|
|
|
|
Joined: Feb 2002
Posts: 295
Member
|
Member
Joined: Feb 2002
Posts: 295 |
Hi, Unfortunately it does not for 6.4 Sanuk!
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
It should - nothing has changed with the not_right function.
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
I forgot to mention that you have to insert the code below. Do not replace the code. Maybe that's your problem.
|
|
|
|
Joined: Feb 2002
Posts: 295
Member
|
Member
Joined: Feb 2002
Posts: 295 |
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!
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Make sure this: $html = new html; Appears somewhere above the "not_right" statement.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|