Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-03-20 03:38:57

kuro
Member
From: Mexico City | Mérida, Yucatán
Registered: 2005-08-26
Posts: 73
Website

Re: $thiscomment

How can i use the plugin for diferent users?

<txp:ajw_if_comment_owner name=“user1” email=“user1@mai.com” web=“web.com” strict=“1”> <div class=“user1”>
<txp:glx_gravatar size=“40” class=“gravatar”/>
<p class=“p-user1”> — <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p> </div> <div class=“user1-c”><txp:comment_message /></div>
</txp:ajw_if_comment_owner>

<else /> <—-! Tryin’ to user this tag =—>

<txp:ajw_if_comment_owner name=“user2” email=“user2@mail.com” web=“podmoderno.com” strict=“1”> <div class=“user2”>
<txp:glx_gravatar size=“40” class=“gravatar”/>
<p class=“p-user2”> — <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p> </div> <div class=“user2-c”><txp:comment_message /></div>

<else /><—-! Second time =—>

<div class=“others”>
<txp:glx_gravatar size=“40” class=“gravatar”/>
<p class=“p-others”> — <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p> </div> <div class=“others-c”><txp:comment_message /></div>
</txp:ajw_if_comment_owner>

i do this part, but i don’t have success in this try..
Some suggestions?

Offline

Board footer

Powered by FluxBB