Author |
Message |
AskAlice
Hangin' Around

Joined: Jul 07, 2004
Posts: 26
Location: Austria VIA Texas
|
Posted:
Wed Jul 07, 2004 6:34 am |
|
The Site Info block is great.
Is possible the change the code(for a php challenged person) not to show the Online Now or latest member on the Logged out version? |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Jul 07, 2004 6:48 am |
|
You would need to "surround" the code that builds that display string with this kind of logic.Code:if (is_user($user) OR is_admin($admin)) {
// logic to build the display string
}
|
Too generic or can you figure that out? BTW, are you 10 feet tall ? |
|
|
|
 |
AskAlice

|
Posted:
Wed Jul 07, 2004 7:04 am |
|
WOW What A quick reply! Thank You
Quote: | Too generic or can you figure that out? |
I must say I am lost, but I usually figure it out.
I have been doing the Nuke thing for a bit over a month and I am like a kid in a candy store... Want it all, even though I don't know whats in it.
Quote: | BTW, are you 10 feet tall |
I haven't taken my pill... yet. |
|
|
|
 |
Raven

|
Posted:
Wed Jul 07, 2004 7:07 am |
|
If you need more help just post back. Keep your head. |
|
|
|
 |
AskAlice

|
Posted:
Wed Jul 07, 2004 7:08 am |
|
Thanks I am off to figure it out. |
|
|
|
 |
digibeet
Regular


Joined: Jul 08, 2004
Posts: 96
Location: Amsterdam, the Netherlands
|
Posted:
Sun Jul 18, 2004 7:05 am |
|
Hi Raven,
I want to remove the Hidden and Waiting out of the block, I have lookt at it and removed the lines 279 and 284 because I thought that where the lines but it gives me an error.
The Lines are:
$content .= "<img src=\"images/blocks/ur-member.gif\" height=\"14\" width=\"17\"> ".$waitLink.": <b>$waiting</b><br />\n";
$content .= "<img src=\"images/blocks/ur-hiddenmember.gif\" height=\"14\" width=\"17\"> "."Hidden".": <b>$hiddenTotal</b><br />\n";
Are that the correct lines?
Thanks,
Fred  |
_________________ "Grasp the subject, the words will follow."
Cato the Elder (234 BC - 149 BC)
Roman orator & politician. |
|
|
 |
Raven

|
Posted:
Sun Jul 18, 2004 9:06 am |
|
Should be. Just back up and try it  |
|
|
|
 |
deca
New Member


Joined: Mar 16, 2004
Posts: 23
|
Posted:
Tue Jul 27, 2004 11:21 pm |
|
how do i hide some of the IP numbers, i dotn want to give out a full IP to maybe the wrong person |
|
|
|
 |
Raven

|
Posted:
Wed Jul 28, 2004 4:48 am |
|
These settings at the top of the script control who sees whatCode:$showGuests = FALSE; //Allow/notAllow displaying of guest ip's partial or otherwise.
$showGuestsAdmin = FALSE; //Allow/notAllow displaying of guest ip's partial or otherwise to Admins.
| Set one or the other (or both) to TRUE and see which one you want. |
|
|
|
 |
|