inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Nov 20, 2012 16:26:46 GMT -8
It was suggested a plugin might be best for this:
'I love the PM thread thing, the members who have tried it love it! For it we thank you.
However we were wondering if it would be possible to not display signatures (I know you can turn them off everywhere under profile but is it possible just for PM's?) and display some sort of parred down miniprofile, no avatar etc? so that it's possible to view as many messages with as minimal scrolling if that makes sense?'
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 21, 2012 1:56:48 GMT -8
You can do this by modifying the conversation message list.
Admin Home > Themes > Layout Templates
Select "Conversations Page", then click the tab "Message List".
Removing the signature is as simple as removing this part...
<tr> <td class="foot"> {if $[message.created_by_user.signature]} <div class="signature">$[message.created_by_user.signature]</div> {/if} </td> </tr>
As for the mini profile, it's just a matter of removing this...
$[message.created_by_user.miniprofile] ...and replacing it with your own stripped down version by using the template variables on the right (message -> created_by).
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Nov 21, 2012 4:15:28 GMT -8
Wonderful! Thank you so much! That Layout Templates is still somewhere I don't quite dare touch without instruction, being new to all this coding stuff.
I replaced the miniprofile with the microprofile rather than trying to reconstruct something microprofile style of my own and it's perfect except that it extends over the conversation a little. The bit over the conversation is just whie box in my test PM's but I was wondering if there was some way to restrict it to the usual minprofile width? either by modifying the message list bit, the microprofile itself. Or if I could copy the microprofile code into the message created by user bit with some modification? (I had a look at the microprofile code in the Layout Templates and wasn't sure which attributes(?)/tags(?) were related to width?
Thanks so much for your help again Peter!
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Nov 29, 2012 7:56:46 GMT -8
Still not sure how to restrict the microprofile to the smaller width of the column next to the message?
Or where to duplicate the microprofile code from the Layout Template to, and then which bit to modify to make the width smaller?
Any suggestions?
Thanks!
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Dec 11, 2012 10:17:47 GMT -8
So this is what I get by replacing: $[message.created_by_user.miniprofile] with: $[message.created_by_user.microprofile] Which is pretty perfect except for the width. The words and everything seem to be about the right width, just the box is too big. I was wondering if someone could give me some guidance on making something microprofile esque to put in instead of the above code, I still tend to stare at the variables and have no idea what to do. Thanks!
|
|