inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Jan 7, 2014 5:45:04 GMT -8
i am trying to implement this code
{if !$[current_user.is_member]}
<div class="memberMessage">
<div class="memberHeader">Welcome $[current_user] </div>
$[current_user] Please Make sure you read the rules & guideline before you posts. If you have any question
please feel free to ask us and we will try to answer as soon as possible.<br/>
We here have many things planned for the future so stay tuned and check back often for the updates.
</div>
{else}
<div class="guestMessage">
<div class="guestHeader">Welcome to OrangeCube Studio</div>
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads,
give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.
This message will be removed once you have signed in.
<br/>
<a href="https://login.proboards.com/login/" class="guestButton">Login To Account</a>
<a href="https://login.proboards.com/register" class="guestButton">Create an Account</a>
</div>
{/if}
it is 2 messages that will display 1 if your a guest and 1 if your a member, what the problem is only one is showing up for me can you please tell me have i done this the right way
|
|
inherit
72282
0
Feb 22, 2019 7:29:04 GMT -8
Smangii
what's this?
4,772
February 2006
smangii
|
Post by Smangii on Jan 7, 2014 10:36:43 GMT -8
Try removing the exclamation point from {if !$[current_user.is_member]}
The ! means "not", so you are saying if they are NOT a member, show the "member" message. I'm not 100% sure that is your problem unless I put it on a test forum but yeah, everything looks right.
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Jan 7, 2014 14:26:11 GMT -8
Smangii i am trying to get a message to display to guest about registering blah blah blah and then once they have registered there is one for members
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Jan 7, 2014 14:29:34 GMT -8
Smangii thats it thanks kudos to you
|
|