Welcome, Guest. Please Login or Register.
November 16, 2024, 11:36:45 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  "No New Messages"? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: "No New Messages"?  (Read 516 times)
natasha
Noobie
*
Posts: 28


"No New Messages"?
« on: April 10, 2003, 01:40:28 AM »
Reply with quote

Even if there are new messages, the top right hand corner of my board always says,

Hey, (member name), you have 0 messages, 0 are new.
(date), (time)


How do I get it to state that there are new messages when there are new messages?

Thanks
« Last Edit: April 10, 2003, 01:41:04 AM by natasha » Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:"No New Messages"?
« Reply #1 on: April 10, 2003, 02:41:51 AM »
Reply with quote

lol, you need to get a message. Have someone send you a private message.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:"No New Messages"?
« Reply #2 on: April 10, 2003, 06:00:34 AM »
Reply with quote

Well, you see.... add this to Themes/your_template/index.php.

<yse:where test="$context.user.messages==0">no</yse:where><yse:where test="$context.user.messages!=0">{$context.user.messages}</yse:where> <yse:where test="$context.user.messages!=1">messages</yse:where><yse:where test="$context.user.messages==1">message</yse:where>, <yse:where test="$context.user.unread_messages==0">none</yse:where><yse:where test="$context.user.unread_messages==1">{$context.user.unread_messages} is</yse:where><yse:where test="$context.user.unread_messages>1">{$context.user.unread_messages} are</yse:where> new.

Oh wait.... this is for my secret project :P :P.

I should add <yse:otherwise /> or something.... hmmm...

-[Unknown]
Logged
natasha
Noobie
*
Posts: 28


Re:"No New Messages"?
« Reply #3 on: April 12, 2003, 05:10:32 PM »
Reply with quote

So are you saying that "you have 0 messages, 0 are new" only indicates if you have private messages?

I was thinking that if there were messages posted since you last logged in that that's were it would say it. Didn't realize that was for personal messages only.

I guess I will have to look at the 'diamonds' beside the different subsections to see if there are new mesasges. Although it would be nice if it also said there were new messages at the top.

Thanks for your help!
Natasha
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:"No New Messages"?
« Reply #4 on: April 12, 2003, 05:57:06 PM »
Reply with quote

exactly, np.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  "No New Messages"? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.023 seconds with 20 queries.