vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   if condition for unread visitor message notification (https://vborg.vbsupport.ru/showthread.php?t=269580)

PAKIDIL 09-02-2011 10:36 PM

if condition for unread visitor message notification
 
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:

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 [DATE]1315081095[/DATE] at [TIME]1315081095[/TIME] ---------------

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:

Code:

<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:

Code:

<if condition="$bbuserinfo[vmunreadcount] >
it should be like this:

Code:

<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

Code:

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

Mark.B 09-04-2011 01:36 PM

Quote:

Originally Posted by PAKIDIL (Post 2241847)
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 .


All times are GMT. The time now is 03:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete