PDA

View Full Version : <if condition=" ?????? "> HELP </if>


MiahBeSmokin420
03-09-2008, 09:51 PM
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 1205198987 at 1205198987 ---------------

so is it possiable i can get them conditions from someone

or can someone tell me how to make them myself please