Welcome, Guest. Please Login or Register.
September 28, 2024, 10:54:03 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Code] Allow guest to view memberlist « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Code] Allow guest to view memberlist  (Read 2830 times)
MrStormyNights
Noobie
*
Posts: 16


I'm a PHP newbie

[Code] Allow guest to view memberlist
« on: March 25, 2002, 09:13:37 PM »
Reply with quote

Sources/Memberlist.php
Around line 35, find and remove

if($username == "Guest") { fatal_error($txt[223]); }
« Last Edit: March 25, 2002, 09:58:14 PM by MrStormyNights » Logged
TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:[Code] Allow guest to view memberlist
« Reply #1 on: March 27, 2002, 02:32:10 PM »
Reply with quote

Thats good, but you should make it so that guests cant see ANY email addresses.
« Last Edit: March 27, 2002, 05:18:23 PM by Tom B » Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Dude
Guest
Re:[Code] Allow guest to view memberlist
« Reply #2 on: March 29, 2002, 08:48:33 AM »
Reply with quote

Quote from: Tom B on March 27, 2002, 02:32:10 PMThats good, but you should make it so that guests cant see ANY email addresses.

Search for
if ($row['hideEmail'] && $settings[7] != "Administrator" && $allow_hide_email) { print <<<EOT
  <td class="windowbg2" bgcolor="$color[windowbg2]"><font size=2><i>$txt[722]</i></font></td>

change to
if ($row['hideEmail'] && $settings[7] != "Administrator" && $allow_hide_email && $username == "Guest") { print <<<EOT
  <td class="windowbg2" bgcolor="$color[windowbg2]"><font size=2><i>$txt[722]</i></font></td>
Logged
LA_LOUTRE
Noobie
*
Posts: 19


I'm a llama!

Re:[Code] Allow guest to view memberlist
« Reply #3 on: May 31, 2002, 05:28:28 PM »
Reply with quote

still see email adresses
wen i am logged out
Logged
Beertje
Noobie
*
Posts: 12


Re:[Code] Allow guest to view memberlist
« Reply #4 on: October 11, 2002, 02:12:02 PM »
Reply with quote

Me too!!!
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Code] Allow guest to view memberlist
« Reply #5 on: October 11, 2002, 11:40:20 PM »
Reply with quote

Shouldn't that be != "Guest"?
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Code] Allow guest to view memberlist « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.080 seconds with 21 queries.