Home arrow Forum

Remository Forum

 


zANavAShi

Karma: 0  
Force members username - 2006/12/14 12:03 I wish to request a new feature for this addon where the "submit new entry" window automatically inserts the registered members username and they are unable to change this.

I feel this would be a very important security feature so that spammers cannot post bogus entries into the glossary and use a fictitious name to cover their tracks.

Thanks for considering.
  | | Sorry, you do not currently have permission to write here.
roland76

Karma: 1  
Re:Force members username - 2007/01/26 09:43 Hello,

i can't upload an file here... ???

Ok, you have to change: glossary.html.php
Change
echo "<tr><td width='130'>"._GLOSSARY_ENTERNAME."</td><td><input type='text' name='tname' style='width:245px;' class='inputbox' value='$row->tname' /></td></tr>";

to

echo "<tr><td width='130'>"._GLOSSARY_ENTERNAME."</td><td><input type='text' name='tname' style='width:245px;' class='inputbox' value='$my->name' /></td></tr>";

and

echo "<tr><td width='130'>"._GLOSSARY_ENTERMAIL."</td><td><input type='text' name='tmail' style='width:245px;' class='inputbox' value='$row->tmail' /></td></tr>";

to

echo "<tr><td width='130'>"._GLOSSARY_ENTERMAIL."</td><td><input type='text' name='tmail' style='width:245px;' class='inputbox' value='$my->email' /></td></tr>";

Post edited by: roland76, at: 2007/01/26 04:59
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 10 guest online