UBB.Dev
I tweaked showprofile to only display the fakeemail addy if the user looking at the profile is logged in. If the user is not logged in, the email addy is blank.

My thought is to prevent harvesters from coming in and grabbing the emails from showprofile.

Good idea???????
That sounds like a GREAT alternative to hiding the whole profile from people who aren't logged in.

You should post for whoever is interested.
Very easy mod.

code:
In showprofile.php

Change this:

// ---------------------------------------------------
// Only show the address book link for logged in users
if ($thisuser['U_Username']) {
$addresslinkstart = " <a href="{$config['phpurl']}/addaddress.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o">";
$addresslinkstop = "</a>";
}

if ( ($config['private']) && ($thisuser['U_Username']) ){
$privlinkstart = "<a href="{$config['phpurl']}/sendprivate.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o&fpart=$fpart&vc=$vc">";
$privlinkstop = "</a>";
}

to this:

// ---------------------------------------------------
// Only show the address book link, private message link and email addy for logged in users
if ($thisuser['U_Username']) {
$addresslinkstart = " <a href="{$config['phpurl']}/addaddress.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o">";
$addresslinkstop = "</a>";
}

if ( ($config['private']) && ($thisuser['U_Username']) ){
$privlinkstart = "<a href="{$config['phpurl']}/sendprivate.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o&fpart=$fpart&vc=$vc">";
$privlinkstop = "</a>";
}

if (!$thisuser['U_Username']) {
$Fakeemail = "";
}

© UBB.Developers