Page 2 of 3
Re: If Statements
Posted: 13 Jul 2012, 09:15
by shadowslight
oh thank you so much for this guide!
i have been trying to figure out how to make it so some new buttons on my header were only visible to members. this helps a ton!
[ Post made via Android ] [img]http://www.rmcgirr83.org/images/mobile/Android.png[/img]
Re: If Statements
Posted: 13 Jul 2012, 16:11
by juango
i've had a doubt about this, how is the correct way to add a IF statement for two forum pages
i've tried this:
but i thought i could make it shorter and try this: but it doesn't seem to work i still see the code in the index page.
or is it or i've tried my first example and it works!
sorry for so many questions in one, but i think i might not be the only one...... or maybe i am.
Re: If Statements
Posted: 18 Sep 2012, 14:50
by nBd
Is there any statement for groups?
For example: if is_newly_registered_user?
Edit: Found it: <!-- IF GROUP_ID eq number --><!-- ENDIF -->
Re: If Statements
Posted: 18 Sep 2012, 18:45
by Sniper_E
Don't miss [url=http://RMcGirr83.org/viewtopic.php?p=308#p308]this page[/url]
[ Post made via Android ] [img]http://www.rmcgirr83.org/images/mobile/Android.png[/img]
Re: If Statements
Posted: 07 Oct 2012, 22:36
by noth
Re: If Statements
Posted: 08 Oct 2012, 03:40
by ciscoa
because even though you may have a forum or a section to be able to be seen by bots, there are certain areas, specially a link to a custom page or other custom stuff that you don't want a bot to see then you would use that statement for that!
Re: If Statements
Posted: 20 Nov 2012, 06:02
by kevinviet
Re: If Statements
Posted: 20 Nov 2012, 10:24
by RMcGirr83
What is mchatpage_h and S_ENABLE_SNOW?
Re: If Statements
Posted: 20 Nov 2012, 14:22
by Ooopsie
I do know that the snow command normally causes the pages to jump for some reason. Smashable Lights is a better way to go.
Re: If Statements
Posted: 20 Nov 2012, 15:31
by WaGuns
Love smashable lights. Turning mine on Friday AM!
Re: If Statements
Posted: 20 Nov 2012, 15:50
by Ooopsie
Re: If Statements
Posted: 20 Nov 2012, 15:57
by Sniper_E
Re: If Statements
Posted: 20 Nov 2012, 17:21
by kevinviet
Re: If Statements
Posted: 20 Nov 2012, 17:30
by RMcGirr83
There is nothing wrong with the code...that's just the way notepad++ works.
Re: If Statements
Posted: 20 Nov 2012, 17:39
by kevinviet
Thanks Rich, I feel more confident now.