Hallo,
ich möchte in der Who is online Box einen logout link per:
.../modules.php?name=Your_Account&op=logout anbringen.
Also unter dem "Messenger" button ( buddy.gif ) .
Wo bzw. in welcher Zeile muss welcher Befehl eingefügt werden, dass dieser Link bei jemandem der eingeloggt is unter dem "Messenger" button erscheint.
Habs probiert bekomme es aber net so hin wer hat nen Tip ?
1000 Dank im Vorraus.
Gruß
hi,
du kannst in zum Beispil in den bereich Private Nachrichten denn das sehen nur Admins oder User....
unter....
$content .= "<tr><td class=\"boxcontent\"><a href=\"modules.php?name=".$pm_module_name."\"><img src=\"$imagedir/pmessage.gif\" width=\"19\" height=\"19\" border=\"0\" Alt=\""._BWOPMSG."\" hspace=\"0\"></a></td><td><a href=\"modules.php?name=".$pm_module_name."\">"._BWOPMSG."</a></td></tr>\n";
Hallo danke für deinen Tip !
Nur leider bringt mir der nix, denn das passiert nix...
kannst mir sagen in Welcher zeile was eingefügt werden soll ?
Danke dir nochmals im Vorraus..
Gruß
probiers mal so:
Zitat
$content .= "<a href=\"#\" onClick=\"window.open('modules.php?name=" . $pm_module_name . "&file=buddy','$windowname','left=180, top=150, width=240,height=350,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0'); return false;\">" . $buddyimg . "</a><br>\n";
ändern in:
Zitat$content .= "<a href=\"#\" onClick=\"window.open('modules.php?name=" . $pm_module_name . "&file=buddy','$windowname','left=180, top=150, width=240,height=350,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0'); return false;\">" . $buddyimg . "</a><br><a href=\"modules.php?name=Your_Account&op=logout\">Logout</a>\n";