Show Number of Messages in Inbox

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2009, 08:21 AM
Donor
Pligg Version: 1.0
Pligg Template: magazeen
 
Join Date: Mar 2009
Location: London
Posts: 97
Hi

I wish to show the number of unread messages in a users inbox in the header of my site.

I have tried to figure it out by looking for the code that the "Simple Messaging" module uses to show the number of messages but I have had no luck.

I appreciate any help.
Reply With Quote
  #2 (permalink)  
Old 05-12-2009, 10:33 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Use {$msg_new_count}
Reply With Quote
  #3 (permalink)  
Old 05-13-2009, 11:34 AM
Donor
Pligg Version: 1.0
Pligg Template: magazeen
 
Join Date: Mar 2009
Location: London
Posts: 97
Thank you for the help, I got it working.

But how do you find the code for the box that shows up in the sidebar for the inbox. I searched both sidebar and sidebar2 but its not present in either?? I didn't even see any requiring from another tpl??
Reply With Quote
  #4 (permalink)  
Old 05-13-2009, 11:41 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by GrantMePeace View Post
Thank you for the help, I got it working.

But how do you find the code for the box that shows up in the sidebar for the inbox. I searched both sidebar and sidebar2 but its not present in either?? I didn't even see any requiring from another tpl??

modules/simple_messaging/templates/
Reply With Quote
  #5 (permalink)  
Old 05-13-2009, 05:47 PM
Donor
Pligg Version: 1.0
Pligg Template: magazeen
 
Join Date: Mar 2009
Location: London
Posts: 97
Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Private Messages don't show up / 9.9.0. dogmog Questions and Comments 17 10-14-2008 03:44 PM
Show number of buries please? micxuy Questions and Comments 4 07-15-2008 04:29 AM
How to show number of reports of each story if any elquiosco Questions and Comments 0 05-24-2007 07:30 AM
The number of discussion can't show? DoubleY Questions and Comments 1 05-02-2007 02:30 AM
showing the number of unread messages bittvault Questions and Comments 0 03-07-2007 01:19 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development