Firefox PHP

Is there a "U are logged in as" plugin?

Posted by BBR 
BBR
Is there a "U are logged in as" plugin?
August 09, 2002 09:14AM
i need a "U are logged in as" plugin,, though my php knowledge is so low its dangegous :D

any help is welcome.
Here is what I do...
August 14, 2002 05:19PM
This is part of what I do. It is similar to what appears in this forum, except that the message is put on the left side, and it serves to remind moderators that they are a moderator. The following code might go at the very end of the header.php file.

>table width=100% border=0>
>tr>
>td align="LEFT" valign="TOP">
Welcome >?php echo $whoisuser ?>>br>
>?php if (!empty($phorum_user["moderator"])) echo "You are a moderator for this
forum"; ?>
>/td>
>/tr>
>/table>

I have tested this with version 3.3.2c and a version of 3.4
Here is what I do... Oops, try this one!
August 14, 2002 05:21PM
This is part of what I do. It is similar to what appears in this forum, except that the message is put on the left side, and it serves to remind moderators that they are a moderator. The following code might go at the very end of the header.php file.

<table width=100% border=0>
<tr>
<td align="LEFT" valign="TOP">
Welcome <?php echo $whoisuser ?><br>
<?php if (!empty($phorum_user["moderator"])) echo "You are a moderator for this
forum"; ?>
</td>
</tr>
</table>

I have tested this with version 3.3.2c and a version of 3.4
Re: Here is what I do... Oops, try this one!
November 13, 2002 10:49AM
I can't seem to get the $whoisuser to work correctly.

I would like it to dsiplay the name that is used in the author field of a new post, but can't seem to find the correct variable.


Thanks
Sorry, you do not have permission to post/reply in this forum.