Joo!BB - Making Community
Joo!BB - Joomla! Bulletin Board
Board Index
>
Support Forum
Private Messaging
Welcome, Guest

7 Replies

by Kelli on 04/06/2010 14:51
Post Private Messaging

Can you disable the Send private message link that comes up in the profile or no?

Thanks, Kelli


Kelli | Joined Board: 03/11/2010 13:51 | Last Visit: 04/07/2010 13:19
Joo!BB - Newie
Registered
Posts: 5
Offline Member is Offline
View all users posts


by jhetrick62 on 04/07/2010 02:26
Post Re: Private Messaging

I'm sure that you can if you edit the proper layout file's html or php code, but I can't tell you which file!

If you poke around you should be able to figure it out or wait for Robbie to tell you which one.

Jeff


jhetrick62 | Joined Board: 10/16/2008 03:04 | Last Visit: 09/03/2010 19:10
Joo!BB - Master
Moderator
Posts: 407
Offline Member is Offline
View all users posts


by Ramses on 04/07/2010 11:05
Post Re: Private Messaging

it seems the code is located in

components/com_joocm/views/profile/tmpl/joocm_profile.php

(I'm a bit confused about templating in joocm)

Code

 
<fieldset>
<a href="/<?php echo JoocmHelper::getLink('sendmessage', '&id='.$this->joocmUserView->get('id')); ?>">
<?php echo JText::_('CM_SENDPRIVMESSAGE'); ?>
</a>
</fieldset>
 


imo the link should only show up if private messaging interface in joocm backend is published.


Ramses | Joined Board: 03/21/2010 01:30 | Last Visit: 09/20/2010 18:21
Joo!BB - Newie
Registered
Posts: 20
Offline Member is Offline
View all users posts

Last Edit on 04/07/2010 11:07


by Kelli on 04/07/2010 13:20
Post Re: Private Messaging

I definitely have private messaging turned off in the backend but that link keeps showing. Thanks for letting me know where that code lives.

KelliSmile


Kelli | Joined Board: 03/11/2010 13:51 | Last Visit: 04/07/2010 13:19
Joo!BB - Newie
Registered
Posts: 5
Offline Member is Offline
View all users posts


by Ramses on 04/07/2010 22:47
Post Re: Private Messaging

yes, my comment was just a note to robbie, of course the current code will always display the pm link.

Regards


Ramses | Joined Board: 03/21/2010 01:30 | Last Visit: 09/20/2010 18:21
Joo!BB - Newie
Registered
Posts: 20
Offline Member is Offline
View all users posts


by jhetrick62 on 04/08/2010 03:29
Post Re: Private Messaging

Very nice that Ramses was able to help out so quickly! Clapping

He is obviously an experienced coder, where I can write some basic bash scripting in Linux or very basic PHP, I'm not very deep with the other stuff.

Community makes this project stronger! Party!!!

Jeff


jhetrick62 | Joined Board: 10/16/2008 03:04 | Last Visit: 09/03/2010 19:10
Joo!BB - Master
Moderator
Posts: 407
Offline Member is Offline
View all users posts


by Robbie on 04/08/2010 07:07
Post Re: Private Messaging

Hi,

Thank you Ramses. That's right, there should be an if-clause whether the link is published or not. Will be done. Smile

Quote by jhetrick62:He is obviously an experienced coder...

Oh yes, Ramses is very expreienced... He is a member of the Joo!BB Project Team for a couple of days and already made many improvments to Joo!CM/BB. I didn't made an announce until now. Blush

Robbie


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts

Last Edit on 04/08/2010 07:10


by jhetrick62 on 04/08/2010 11:50
Post Re: Private Messaging

That is great news for both you and the project!Yes

Welcome aboard Ramses!DanceBig Smile

Jeff


jhetrick62 | Joined Board: 10/16/2008 03:04 | Last Visit: 09/03/2010 19:10
Joo!BB - Master
Moderator
Posts: 407
Offline Member is Offline
View all users posts


7 Replies

Joo!BB - Joomla! Bulletin Board

Copyright © 2007 - 2012 Joo!BB Project - All rights reserved.