Script URL:www.siamfishingtours.com/forum/mboard.php
Version of script:1.3
Hosting company:IXW
URL of phpinfo.php:?
URL of session_test.php:?
What terms did you try when SEARCHING for a solution:scanned every thread
Write your message below:
Ive maanged to install the mboard...im just a but concerned of the security of visitors, them not being able to keep there email private. Is there an option for turning off the visible Email...I could not see it anywhere, I noticed someone asked a similar quest a long way back on this forum, they didnt get an answer.
Can we switch off emails being displayed?
Thanks
Ruf
E mail remains private...not shown on board can we do this?
As a quick solution you can try changing (inside mboard.php) to
This won't show the e-mail but it also won't provide any way of viewing it. That would take a bit more work, will try to think of something for the next version.
Code: Select all
if(!empty($_POST['email']))
{
$email=pj_input($_POST['email']);
if(!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$email))
{
problem('Please enter a valid e-mail address!');
}
$char = array('.','@');
$repl = array(".","@");
$email=str_replace($char,$repl,$email);
}
else {$email='NO';}
Code: Select all
$email='NO';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Can't really say when, I hoped February at first but had other work (updated my other scripts though). That's why I don't like giving any dates as I really can't say when I will work on any of the scripts.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 4
- Joined: Mon Jul 28, 2008 11:47 am
I have just installed mboard and decided to disable the email option. I changed the code as mentioned above, but found that the box for typing the email was still there and if you typed a letter in there you would get a message prompting you to write a valid email address. So I decided to find out how to remove the input text box.Klemen wrote:As a quick solution you can try changing (inside mboard.php)
... snipped ...
toThis won't show the e-mail but it also won't provide any way of viewing it. That would take a bit more work, will try to think of something for the next version.Code: Select all
$email='NO';
So besides doing what Klemen suggested I also did the following:
In the file "mboard.php" I replaced this line
Code: Select all
E-mail (optional):<br><input type=text name="email" size=30 maxlength=50>
Code: Select all
<br>
Note that the line appears two times in the script, so I replaced it both times with <br>.
EDIT: I removed those extra <br> as it turned out that it disturbed the layout.
Then in the file "javascript.js" I deleted this part:
Code: Select all
if (
d.email.value!='' && (
d.email.value.indexOf(".") == -1 ||
d.email.value.indexOf("@") == -1
)
) {alert('Please enter a valid e-mail address!'); return false;}
In the file "style.css" I changed a colour of a font:
This part:
Code: Select all
A {
color : #0084BE;
text-decoration : underline;
}
Code: Select all
A {
color : Navy;
text-decoration : underline;
}
http://www.weird-dragon.dk/mboard/mboard.php
I have removed all my testing messages and written a new welcome message.
As you can see I have also worked quite a bit with the "header.txt" file and the "footer.txt" file. I made those header and footer files in a "Drag and Drop" interface html program and then I copied the source code into the header and footer text files.