inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 30, 2012 12:42:17 GMT -8
Another little one for you, and this one's really easy. =]
You might have noticed that the button for sending a PM to a member is no longer in the mini-profile - this little tweak will pop it back in for you. Head to your Admin Panel, then Layout Templates -> Mini Profile
Approx lines 27 & 28 should read this; {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br />
Make the changes in the bold line below;
{if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} {if $[current_user.is_member]}<br /><a href="$[user.pm_href]" alt="PM $[user.name]">Send PM</a>{/if} </div><br />
The text in purple is what will display in the mini profile, below the 'Member is Online' text (or, if the user is offline, the Post Count). You can also add an image here, if you'd rather, using an <img src="IMAGE URL" border="0" /> tag.
The orange text is what displays when you hover over the link - the $[user.name] is replaced with the members' display name.
The whole thing is also wrapped in an {if $[current_user.is_member]} tag (in blue), which means the text/button will only appear for users that are logged in. This can be removed, although I wouldn't recommend it.
Easy enough, no? =]
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 22, 2024 20:12:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2012 2:14:44 GMT -8
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 15:33:00 GMT -8
paul i moved my member is online, how can i get it under the info at the bottom
nevermind, i didnt just think to put it under there
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 17:27:36 GMT -8
No worries. =] paul i moved my member is online, how can i get it under the info at the bottom nevermind, i didnt just think to put it under there Got it sorted? =]
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2012 17:49:12 GMT -8
i didnt think to just move it
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 17:54:10 GMT -8
i didnt think to just move it Ridiculous how easy it is now, eh? Glad you got it though. =]
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,230
December 2010
lmccull
|
Post by moonbeam on Dec 1, 2012 18:38:13 GMT -8
I'm a little confused why you would want a template for this, when all you have to do is click the gear on a post made by the person you want to PM and select Member > Send Message. Sure, it's not in the same spot as before but the functionality is already there.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 1, 2012 18:46:47 GMT -8
I'm a little confused why you would want a template for this, when all you have to do is click the gear on a post made by the person you want to PM and select Member > Send Message. Sure, it's not in the same spot as before but the functionality is already there. Sometimes people (myself included) just like the way things were, to be honest. A little stuck in our ways, perhaps. It took me a little while to notice the link in the gear menu, but personally I prefer it in the mini profile, and thought other people might too. I'd already added the code to my own test forum, so I thought I'd pop it up for others who might not be sure how to do it. =]
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,230
December 2010
lmccull
|
Post by moonbeam on Dec 1, 2012 18:53:14 GMT -8
OK..I get that.
|
|
inherit
186174
0
Mar 28, 2021 11:29:11 GMT -8
ʞɔnʇS
160
November 2012
stuck
|
Post by ʞɔnʇS on Dec 24, 2012 6:20:47 GMT -8
HI Paul, how do i combine this with the ( Members shown on & off line in the mini profile) Post number 8 on here
Sometimes/maybe/always STUCK
|
|
inherit
186174
0
Mar 28, 2021 11:29:11 GMT -8
ʞɔnʇS
160
November 2012
stuck
|
Post by ʞɔnʇS on Dec 27, 2012 0:40:45 GMT -8
Bump
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 27, 2012 8:55:35 GMT -8
Currently on a break in work, sorry I've not seen this yet. Been working more hours than I can count lately. =P should be home sometime around 1am (gmt), will take a look then. =]
|
|
inherit
186174
0
Mar 28, 2021 11:29:11 GMT -8
ʞɔnʇS
160
November 2012
stuck
|
Post by ʞɔnʇS on Dec 27, 2012 10:04:49 GMT -8
Hi Paul, as V5 seems to be on system updates there is no rush. Come to that there really isn't any rush, get your self rested, a cold beer and relax. Then when ever
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 27, 2012 10:37:43 GMT -8
To add Paul, I'd like to see this also and as Stuck stated, no rush and by all means, get some rest and then a brew or two.
|
|
inherit
149509
0
May 31, 2016 10:22:13 GMT -8
RADesign
328
November 2009
radesign
|
Post by RADesign on Dec 28, 2012 11:24:43 GMT -8
HI Paul, how do i combine this with the ( Members shown on & off line in the mini profile) Post number 8 on hereThis is how I use it: {if $[user.is_member]} <div class="info"> <span style="color: #{if $[user.is_online]}FFD705{else}26292E{/if}; font-weight: bold;">{if $[user.is_online]}I am Online{else}Member is Offline{/if}</span> <br />Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {if $[current_user.is_member]}<br /><a href="$[user.pm_href]" alt="PM $[user.name]">Send PM</a>{/if} {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} </div><br /> {/if}
|
|