Chris, is there a way to get this to open in a separate browser window. I had some code I had installed via TMS, but an add-on has stomped all over where it goes at and I cannot get either one to move. This would work great if it were possible. Also, can the text be styled (like replaced with CSS or a button)?
EDIT:
For the button, you can use CSS to style it. What I am using is
Code:
.conversationPostBitText
{
color:white;
background: -webkit-linear-gradient(top, blue 0%, midnightblue 50%, black 99%) !important;
border: 1px solid rgb(31, 79, 112) !important;
border-radius: 5px 5px 5px 5px !important;
margin:19px;
}
in the EXTRA.css. Still trying to figure out opening in another window (not a coder by a LONG shot
).
Addendum:
Houston, we have liftoff!
FINALLY got it to do what I wanted... using TMS. Here are the code edits required to conversation_postbit via TMS
Search
Code:
{$user.username}'}"><span class="conversationPostBitText">{xen:phrase start_conversation}</span></a>
Replace with
Code:
{$user.username}'}"onclick="window.open(this.href,'window','width=1000,height=800,resizable,scrollbars,location=0,status=0') ;return false;"><span class="conversationPostBitText">{xen:phrase start_conversation}</span></a>
and now you have it open in a separate smaller window.
Now, how to keep it from showing up on your own profile (which the template mod I hacked worked like that)... Time to clean the blood off the wall for another round.
I thought that replacing
Code:
<xen:if is="{$visitor.user_id}">
with
Code:
<xen:if is="{$visitor.user_id} AND {$user.user_id} != {$visitor.user_id}"
would work, since from what I understand it compares the visitors ID against the post ID and if they are not the same to continue with the processing - but TMS will not apply it with that code changed.