No they dont. The "link" takes you to memberlist.php, so protecting that file keeps them out.cvtrig wrote: I found that this MOD actually needs to included in any of the the menu php file such as search and index in it to make the same change as viewonline.php.
If your view index link is active, protecting the memberlist.php file is only half the battle. If someone can type in index.php or click the link without being logged in then they get your user list any way.
I didn't word that very well. I want to hide my memberlist (and that only) from people who are not logged in. Can this mod help me do that? I got confused because it seems to do a lot more and the instructions for the things I need to do before I install it are confusing to me. For example, I'd like all my forums to remain open to search engines. I just don't want people to be able to see my memberlist. I'm hoping hiding my memberlist from guests will deter spammers from trying to sign up.Brf wrote:Nope. This mod is the other way around... for keeping guests from seeing your memberlist, not from keeping spammers from putting undesirable info in their profiles...
For spammers, read the sticky at the top of the Support forum -- Preventing SPAM
No. They can still spread their pron URLs to your registered users.brianwestchest wrote: I'm hoping hiding my memberlist from guests will deter spammers from trying to sign up.
Code: Select all
include("config.php");
include("mainfile.php");
$link = mysql_connect($dbhost, $dbuname, $dbpass);
@mysql_select_db($dbname);
cookiedecode($user);
switch($op){
case write:
$msg = $_POST['shout'];
$time = time();
$user = $cookie[1];
if ($user == "") {
$user = "Anonymous";
}
$result = mysql_query("INSERT INTO ".$prefix."_shout (UID, PDT, MSG)
VALUES ('$user', '$time', '$msg')") or die(mysql_error());
case read:
$query = mysql_query("select * from ".$prefix."_shout ORDER BY PID DESC");
$nrows = mysql_num_rows($query);
$msg = "output=";
for($i = 0; $i < $nrows; $i++) {
$row = mysql_fetch_array($query);
$time = strftime("%a %m/%d/%y %H:%M", $row['PDT']);
$msg .= "<p class=\"output1\">" . $row['UID'] . " " . $time . "</p>";
$msg .= "<p class=\"output2\">".$row['MSG'] . "</p>";
$msg .= "<p class=\"output1\">------------------------------------------------------------------</p><br>";
}
$msg .= "";
echo $msg;
$user = $cookie[1];
if ($user == "") {
$user = "Anonymous";
}
$msg2 = "&username=";
$msg2 .= $user;
echo $msg2;