Couple questions for Ciao121


Welcome to AgarServ.com Forums AgarServ Features Couple questions for Ciao121

This topic contains 9 replies, has 4 voices, and was last updated by Profile photo of Dog2puppy Dog2puppy 3 years, 6 months ago.

  • Author
    Posts
  • #4004
    Profile photo of HiRoJL
    HiRoJL
    Participant

    If you can can you make it so replies don’t show on the group post board?

    Can you make a tab for notifications at the top? (Like Zenforo)

  • #4014
    Profile photo of Ciao121
    Ciao121
    Keymaster

    Explain better question 1 olease.
    For question 2.. Yes; I’m looking to make notifications available on top menu.

  • #4019
    Profile photo of Ciao121
    Ciao121
    Keymaster

    Now, if user has notifications, a blinking mail envelope appears in top menu, next to the Profile link. If user has no notification nothing will appear.

    • #4033
      Profile photo of Dog2puppy
      Dog2puppy
      Participant

      I really like the new mail icon! How can I put it on my WordPress site (and if you want to keep it your little secret you can.)?

      • #4046
        Profile photo of G
        G
        Participant
      • #4065
        Profile photo of Ciao121
        Ciao121
        Keymaster

        I’ll try to make a wordpress plugin (never did one). If I will not succeed in that, I’ll explain it you pivately.

      • #4283
        Profile photo of Ciao121
        Ciao121
        Keymaster

        No time to make a wordpress plugin 🙂
        Add this code to your functions.php:

        
        add_filter( 'wp_nav_menu_items', 'my_nav_menu_notifications_link' );
        function my_nav_menu_notifications_link($menu) {
            if (!is_user_logged_in())
                return $menu;
            else
        		$notifications = bp_core_get_notifications_for_user(bp_loggedin_user_id(), 'object');
        		$count = !empty($notifications) ? count($notifications) : 0;
        		if ($count > 0){
        	        $current_user = wp_get_current_user();
        			$user=$current_user->user_nicename ;
        			$notification_link = '<li><a href="http://www.yoursite.com/members/'.$user.'/notifications/"><img style="vertical-align:sub;" src="http://URL_TO_ICON"></a></li>';
        			$menu = $menu . $notification_link;
        		}
                return $menu;
        }
        
      • #4334
        Profile photo of Dog2puppy
        Dog2puppy
        Participant

        Okay.

  • #4083
    Profile photo of Dog2puppy
    Dog2puppy
    Participant

    ok

  • #4330
    Profile photo of HiRoJL
    HiRoJL
    Participant

    I have another question, will there be a public 24/7 server avilable to everybody or do you have to buy one?

You must be logged in to reply to this topic.