cotonti.com : question https://www.cotonti.com Последние сообщения в теме Cotonti en Mon, 13 Oct 2025 12:37:59 -0000 Kingsley
got it working, thanks!!]]>
сб, 22 мая 2010 22:28:15 -0000
Kort сб, 22 мая 2010 22:17:25 -0000 Kingsley
<!-- IF {PHP.usr.profile.user_name} == "admin" -->

put my content here

<!-- ENDIF -->

can this part {PHP.usr.profile.user_name} be aimed at the usergroup? If so, what does the code need to be?

and will it work between

<!-- BEGIN: USER -->
<!-- END: USER -->

?

Added 1 minute later:

@ kort

Used search, but if I don't know the correct words, how can I find what I'm looking for?

I know noobs like me can irritate you with lame questions, and seeing your reaction on others lately, I guess you are getting fed up with noobs like me..
Try to remember though, that cotonti is a good system, which will attract other ppl than programmers too.
Personally I followed some other ppl from seditio to here, and am here from the beginning of Cotonti. Am not planning to leave either.. so please, if you are bored with answering questions, do not answer them anymore, but let ppl keep there value, even if it doesn't fit in your lane..]]>
сб, 22 мая 2010 22:10:38 -0000
Kort <!-- IF {PHP.usr.id} == 0 --> <p>You ARE NOT logged in!</p> <!-- ELSE --> <p>You ARE logged in!</p> <!-- ENDIF -->That's guest/user. Groups are alike.
Using search could've helped.]]>
сб, 22 мая 2010 22:08:54 -0000
5uper Mario
http://www.cotonti.com/forums.php?m=posts&q=2305&d=0

Thought I remember there being a thread something like what you posted.
Though I could be wrong.

Anyways hope the above link works :)]]>
сб, 22 мая 2010 21:33:42 -0000
Kingsley
<!-- BEGIN: USER -->
<!-- END: USER -->

(don't know what it's called)
to display user content (like you didn't know that piece) but I need to display some more stuff only for a certain level and higher. I tried

<!-- BEGIN: ADMIN -->
<!-- END: ADMIN -->

But that didn't help

doesn't that ADMIN thingy work within

<!-- BEGIN: USER -->
<!-- END: USER -->

or am I doing something wrong?

can someone help me out?

Also tried to use that ADMIN part seperate from USER, but no succes, helas.]]>
сб, 22 мая 2010 20:01:00 -0000