| Re: What are my inbox options? |
| by Kainaij on 2005/3/7 8:40:14 I do not know PHP well, so how can I color the text to make it stand out a bit more? |
| Re: What are my inbox options? |
| by Kainaij on 2005/3/7 8:19:57 Got it fixed now. Eerily I found the hack on the website. copied the text from there and it worked?!? Hack was here. |
| Re: What are my inbox options? |
| by Kainaij on 2005/3/7 8:04:26 Nope, didn't work. No text is showing either way in a Custom PHP Block. Thanks for the start tho. |
| Re: What are my inbox options? |
| by Beejay on 2005/3/7 7:15:34 You could use this code in a php block. It shows if a user has a new pm: le="color: #000000"><?php global $xoopsUser; if( $xoopsUser ) { $pm_handler =& xoops_gethandler('privmessage'); $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); $pm = $pm_handler->getCount($criteria); } if( $pm ) { echo "<a href="/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)</a>n"; } else { echo "No new Private Messagesn";
|
| What are my inbox options? |
| by Kainaij on 2005/3/7 2:37:26 I am in the process of ridding my site of the "Main Menu" and "User Menu" blocks. I am in the beginning stages of implementing a DHTML drop down menu that I am quite pleased with. My problem is that I NEED the user menu because it is the only way my site users can tell if they have new PM's. What are my options on PM notification? |