Viewing 15 replies - 1 through 15 (of 21 total)
  • i was trying to do this by adding the number of new messages somewhere in the page i want.

    i tried to edit the fep-class.php and add a add_shortcode(‘numeromsg’, ‘getNewMsgs_btn’);

    But my lack of knoledge in php resulted only in errors…

    I would be very glad if author could provide this for us.

    Plugin Author Shamim Hasan

    (@shamim51)

    There are two types of widget. You can use any one in your sidebar or wherever you like. When there is new message it will show the number of new message beside inbox/announcement.

    how can display only the number?

    I wanna do that too, display only the number of new messages ??

    Plugin Author Shamim Hasan

    (@shamim51)

    $fep = new fep_main_class();
    $numNew = $fep->getNewMsgs();

    Now use $numNew where u want to show only number of new message.

    Perfect!.. thanks so much ??

    Hello all, I need configurations to the Front End Pm. I am willing to pay someone for their help.
    Thanks
    Rhonda Waldron
    [email protected]

    Hello,
    I would like to know if it’s possible to put a visual effect on the blog when the user have a new PM. something that let the user know that he has a new PM and he has to check his inbox.

    thank you for your answers.

    VP

    (@studio500)

    The two notification widgets have no style or edit options and can look a little ugly.
    For example the text widget has no way of removing the title or the divider line and the button widget has no way of changing the button colours.

    This is a superb plugin but would be even better if the notifications were more adaptable or even had a small pop up alert or something.

    And is it possible to enter it in the .php document? does someone knows how to do that?

    Hi @Estelika, I think you can do that with something like:

    $fep = new fep_main_class();
    $numNew = $fep->getNewMsgs();
    if ($numNew != 0) { echo"<script>alert('Hey! you have a new private message'); </script>"; }

    That is an ugly example, you can do some thing much better with jQuery and CSS3 (and ajax if you want).

    Good luck and Best Regards!!

    @leadguitar

    Where do you put this code? And how the output looks like? Is it like a popup message or something?

    That is a javascript alert.

    You can put that after the “body” tag of your header.php

    Another example:

    $fep = new fep_main_class();
    $numNew = $fep->getNewMsgs();
    if ($numNew != 0) { echo'<div style="width:100%;padding:10px;border-radius:5px;border:1px solid #666;background:yellow">You have one new private message</div>'; }

    You can edit the css and do something much better, good luck!

    Wow thanks my man!!

    got it like this now:

    $fep = new fep_main_class();
    $numNew = $fep->getNewMsgs();
    if ($numNew != 0) { echo'<center><div style="width:30%; font-weight: bold;font-size: 20px;padding:10px;border-radius:5px;border:1px solid #fff;background:red"><a href=https://www.yoursite.org/office/>You have new private message!</a></div></center>'; }

    @leadguitar

    Hmm,.. i did try your java popup , but, i get popup before page loads, i have to click OK to be bale to see page

    Is it supposed to be like that

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Front End Notification’ is closed to new replies.