vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   <if condition=" ?????? "> HELP </if> (https://vborg.vbsupport.ru/showthread.php?t=172564)

MiahBeSmokin420 03-09-2008 09:51 PM

<if condition=" ?????? "> HELP </if>
 
im tring to make a condition for new posts

this is what i got but i think its wrong

<if condition="$postcount['unread']"> </if>

all i want to have happen is a if there are new posts then what ever i put between the if tags it will show

then after there are no new posts then it goes away

can i get a lil help please

snakes1100 03-10-2008 09:48 AM

It may help if you post more info, such as, were you are trying to add it, if it is going to be for certain users in the postbit, etc....

MiahBeSmokin420 03-10-2008 09:19 PM

basically all i want to know what do i have to put after

<if condition="

to manke it only show something if a member has new reputation

then also another one for new unread posts

Lynne 03-10-2008 09:42 PM

But what you put after the condition depends on where you use the variable. It gets called something different in different parts of the site.

MiahBeSmokin420 03-10-2008 09:47 PM

ok well i want them both to see seen everywhere across the site

i will be adding them to the nav bar but i want them too bee seen on every page of the site

--------------- Added [DATE]1205198987[/DATE] at [TIME]1205198987[/TIME] ---------------

so is it possiable i can get them conditions from someone

or can someone tell me how to make them myself please


All times are GMT. The time now is 10:07 AM.

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.01078 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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