Adding username into the new pm window [pmBOX]
-
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
Hi,
Nice that you keep live in pmBOX. Here is a little tip that is nice to include...
Get the username and print it in the new pm window.
// requirement ( the call includes the username like from memberslist etc etc..)
modules.php?op=modload&name=pmBOX&file=replypmsg&send=1&uname=StormS
Add this in replymsg.
Code
// Get username from browser
$uname_x = $_GET['uname'];
if(isset($uname_x)){
$put_name = $uname_x;
}else{
$put_name = $uname;
}
then change line (600 or so)
Code
echo"<br> <INPUT NAME=\"to_user\" SIZE=\"26\" maxlength=\"25\">;
to
Code
echo"<br> <INPUT NAME=\"to_user\" SIZE=\"26\" maxlength=\"25\" value=\"$put_name\"> ";
This will include the name into the new pm window.
Regs
StormS -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
Thanks for your idea, a new release is coming due to some bugs discovered. I will include your idea in it.
Utilisateurs en ligne
- 12 visiteurs
Données pour les 15 dernières minutes








