Log in

View Full Version : if condition for unread visitor message notification


PAKIDIL
09-02-2011, 10:36 PM
hello,
i am searching for unread visitor message notification but couldn't find one can any one help me in this please

Unread Visitor Messages
i have tried

Code Removed *
also tried this one
$bbuserinfo['unread_profile_visitor_messages']

can anyone tell me what else can i used to notify on main for unread profile visitor message on forum main index page rather than usercp

thanks

--------------- Added 1315081095 at 1315081095 ---------------

any help please ?

kh99
09-03-2011, 10:52 PM
I haven't tried it, I'm kind of guessing by looking at the code, but try:

<if condition="$bbuserinfo[vmunreadcount] > 0">

PAKIDIL
09-04-2011, 11:45 AM
Thanks for the reply i am trying this and getting error

Code Removed*

Leave the private.php part as i haven't edit the page but when i put it in template and try to upgrade it, its shows me this message

Parse error: syntax error, unexpected '<' in /home/mysite name/public_html/includes/adminfunctions_template.php(3772) : eval()'d code on line 226

can you help/suggest me please

kh99
09-04-2011, 12:31 PM
You're missing the closing quote in this line:

<if condition="$bbuserinfo[vmunreadcount] >

it should be like this:

<if condition="$bbuserinfo[vmunreadcount]">


That may be my fault because when I first posted the code it was missing that quote, and I edited it later to fix it.

PAKIDIL
09-04-2011, 01:09 PM
thanks alot that has been fixed one last question

Code removed *

this part i want to make it profile message page for a member that has been notifiy how would i do that ?
thanks waiting for reply

kh99
09-04-2011, 01:14 PM
Maybe you want

<td class="thead"><a href="member.php?u=$bbuserinfo[userid]">

Mark.B
09-04-2011, 01:36 PM
thanks alot that has been fixed one last question

Code removed *


this part i want to make it profile message page for a member that has been notifiy how would i do that ?
thanks waiting for reply

Why do you keep removing your code after people have helped you?

PAKIDIL
09-04-2011, 03:03 PM
because its not my code . its someone's hack's code that's why i have removed it . i am just implementing and testing on my board . you are free to search urself, and if you need those code you have to make your own thread for help i guess as i am working on my board for days now .I will post the codes ones i have all the notification as hack or as code to install .