Kunena 7.0.8 Released

The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Solved Basically, I only want to use JomSocial for my user profiles.

More
14 years 3 weeks ago - 14 years 3 weeks ago #130153 by jdtoppin
*** Topic split from How to hide or remove info from profile page ***

I was going to ask the same type of question for Kunena 2.0. Well, kind of, I know how to remove the fields and what not with CSS, but do you know the PHP file off hand to remove the edits? I'm integrated with Jomsocial, so I want to basically remove all of the profile fields in Kunena, minus the forum specific stuff such as signature editing. Everything else profile related will be done from the Jomsocial side of things.
Last edit: 14 years 3 weeks ago by sozzled. Reason: Explain topic split

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago - 14 years 3 weeks ago #130154 by jdtoppin
*** Topic merged by moderator ***

Hi there,

I need to remove the User Account Tab and most of the fields from the Profile Information Tab.

Also, I need to change the text of the "Edit" button, from Edit to Edit Signature.

Profile information will be handled from the Jomsocial side of the site. I can find this information myself, but thought I would ask here in case anyone knows off the top of their head to save me some time. :P

Nonetheless, I will post back if I find it before someone posts back! :woohoo:

Edit: That didn't take as long as I would have thought. I didn't find the Edit Button field yet though.

Anyhow, to remove the fields...

components/com_kunena/template/blue_eagle/html/user/edit_profile.php

Delete Lines 76-85:
Code:
<?php $i=1; foreach ($this->social as $social) : ?> <tr class="krow<?php echo (++$i & 1)+1;?>"> <td class="kcol-first"><?php echo JText::_('COM_KUNENA_MYPROFILE_'.$social); ?></td> <td class="kcol-mid"> <span class="editlinktip hasTip" title="<?php echo JText::_("COM_KUNENA_MYPROFILE_{$social}"); ?>::<?php echo JText::_("COM_KUNENA_MYPROFILE_{$social}_DESC"); ?>" > <input type="text" name="<?php echo $social ?>" value="<?php echo $this->escape($this->profile->$social); ?>" /> </span> </td> </tr> <?php endforeach ?>

Obviously, this is only good to you if you remove the Social fields in the actual profile via CSS edits too.

Finished!
Last edit: 14 years 3 weeks ago by sozzled. Reason: Explained in post

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago - 14 years 3 weeks ago #130163 by sozzled
As we wrote in the topic where you originally posted your question, there are always options but there are also costs ... and you have to remember that you're asking for help to change the standard normal behaviour of a product that has taken a team of programmers several thousand hours to develop. The cost of hacking into the products internals is either your time to find and change the relevant PHP yourself or money to pay someone else for their time if you cannot do this yourself. A further cost is remembering to make these changes again in future when it comes time to upgrading Kunena.

Why not leave things as they are and use the standard features of Kunena untouched and uncorrupted? Does it really matter if users can or cannot edit their user profiles if you don't even display those things in your forum?

You say that you're "integrated" with JomSocial? Do you mean that you've defined (in the Kunena plugins) how you want Jomsocial to be used in Kunena ... or do you only mean that you've installed JomSocial on your website? There's a world of difference between these two things.

There's a much simpler solution than hacking PHP source code. Go to Kunena Forum Tools and change the plugin settings to use JomSocial user profiles instead of Kunena user profiles. No fuss, no bother ... and no cost! ;)
Last edit: 14 years 3 weeks ago by sozzled.

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago - 14 years 3 weeks ago #130173 by jdtoppin
That has already been done and wasn't really the issue at hand. The issue is users editing signatures with the bbcode editor. See below!

I still need the functionality of a forum and with that means that I need users to be able to edit their signatures in the Kunena forum. I'm working on adding bbcode buttons to the signature field, but the only solution I found was for Kunena 1.6 as seen here: www.kunena.org/forum/212-K-16-miscellane...ncement?limitstart=0

The user profiles are already integrated through the Plug-in Manager - Kunena - Jomsocial Integration. For now though, I have the Kunena menu module installed in Jomsocial to allow users to go back to the Kunena profile in order to edit their signatures, subscriptions, thank yous, and anything else that isn't written into Jomsocial profiles. I do hope that I am making more sense as to why and what I want to do.

I'm going to go ahead and assume that adding the bbcode buttons into the Jomsocial profile would be a lot of coding. Therefore, it is easier (for me) to remove the un-needed fields out of the existing Kunena profiles and have a direct Kunena menu link to the edit forum signature page.

However, if there is an easy solution to integrate editing the forum signature with bbcode editing from a Jomsocial profile, please point me to it. I've looked all over and haven't found anything. Thus, I am resorting to PHP hacks.
Last edit: 14 years 3 weeks ago by jdtoppin.

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #130174 by sozzled
If we're only discussing how to allow you users to edit their Kunena user signatures then that's a whole world apart from asking how to disable all the other functionality in the Kunena user profiles, isn't it?

I understand that people's inability to edit/change Kunena signatures from JomSocial has been a constant running sore/complaint in this community. I don't know what solutions exist except to allow your users to access both their Kunena user profiles and their JomSocial user profiles. I understand that, for some people, this may not be desirable.

If we really want to get this issue resolved, it requires a willingness from both the JomSocial and the Kunena development teams. Ideally, JomSocial needs to be extended in a similar fashion to how Community Builder allows people to edit their CB profiles and, through that function, to edit their Kunena user signature. Therefore, if people really want to only use JomSocial to control bits and pieces of Kunena user profile data then people need to talk to the JomSocial development team to ask how this can be done.

I learnt a long time ago that I should not attempt to answer questions that involve a product about which I know very little. I happened to be browsing through the forum when I saw this topic; I merely attempted to identify a few key elements so that others, more expert than me, could offer their advice. Sometimes, when I read the word "JomSocial" in a topic, I really should just leave these topics alone and hope that someone else might answer. :pinch:

Maybe someone else in the community has something they would like to contribute to this topic? I'm sorry, I really don't know much where JomSocial is concerned.

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #130213 by John
I have been working with the JomSocial component for almost 2 years now. Azrul is.....well.....how to say this polite....a bit frustrating to work with. They are ignore their users from time to time, been next to absent in the last few weeks. So I have given up hope that we can expect anything from their side.

I realy love JomSocial but they follow their own path, no matter what the users think, do, say, scream or plea. I am about to dump JomSocial, just because I can't rely on them to fix even simple issues. I am running my site on a VPS now, pay a lot of money, just because JomSocial is a resource hog once it gets filled.....and no support.

Please Log in or Create an account to join the conversation.

Time to create page: 0.249 seconds