Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Edit the Info Displayed in Profile

More
16 years 3 months ago #58158 by sjohn866
I want to remove "Birthday," "Location," "Gender," and "Signature" fields globally from the Profile section. This info is not necessary for my purposes. Where can I globally define this?

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

More
16 years 3 months ago #58164 by Cerberus
you would need to edit the profile pages php and remove the line for the stated fields
The following user(s) said Thank You: sjohn866

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

More
16 years 3 months ago #58166 by sjohn866
Awesome. Any idea of the name of the file? I'm also not a PHP expert and not sure what to pull. I could do trial and error, but if you have any idea I would appreciate it. Thanks again for you help.

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

More
16 years 3 months ago #58167 by Cerberus
template/default/profile/usertab.php

remove lines 22 - 31
Code:
<div class="kprofile-rightcol1"> <ul> <li><span class="kicon-profile kicon-profile-location"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_LOCATION'); ?>:</strong> <?php echo $this->locationlink; ?></li> <!-- The gender determines the suffix on the span class- gender-male & gender-female --> <li><span class="kicon-profile kicon-profile-gender-<?php echo $this->genderclass; ?>"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_GENDER'); ?>:</strong> <?php echo $this->gender; ?></li> <li class="bd"><span class="kicon-profile kicon-profile-birthdate"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?>:</strong> <span title="<?php echo CKunenaTimeformat::showDate($this->profile->birthdate, 'ago', 'utc', 0); ?>"><?php echo CKunenaTimeformat::showDate($this->profile->birthdate, 'date', 'utc', 0); ?></span> <!-- <a href="#" title=""><span class="bday-remind"></span></a> --> </li> </ul> </div>


template/default/profile/editprofile.php

remove lines 29 - 60
Code:
<tr class="krow2"> <td class="kcol-first"><?php echo JText::_('COM_KUNENA_MYPROFILE_PERSONALTEXT'); ?></td> <td class="kcol-mid"><input type="text" maxlength="<?php echo intval($this->config->maxpersotext) ?>" name="personaltext" value="<?php echo $this->escape($this->profile->personalText); ?>" /></td> </tr> <tr class="krow1"> <td class="kcol-first"><?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?></td> <?php $bithdate = explode('-',$this->profile->birthdate); ?> <td class="kcol-mid"> <span class="editlinktip hasTip" title="<?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?>::<?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE_DESC'); ?>" > <input type="text" size="4" maxlength="4" name="birthdate1" value="<?php echo $bithdate[0]; ?>" /> <input type="text" size="2" maxlength="2" name="birthdate2" value="<?php echo $bithdate[1]; ?>" /> <input type="text" size="2" maxlength="2" name="birthdate3" value="<?php echo $bithdate[2]; ?>" /> </span> </td> </tr> <tr class="krow2"> <td class="kcol-first"><?php echo JText::_('COM_KUNENA_MYPROFILE_LOCATION'); ?></td> <td class="kcol-mid"><input type="text" name="location" value="<?php echo $this->profile->location; ?>" /></td> </tr> <tr class="krow1"> <td class="kcol-first"><?php echo JText::_('COM_KUNENA_MYPROFILE_GENDER'); ?></td> <td class="kcol-mid"> <?php // make the select list for the view type $gender[] = JHTML::_('select.option', 0, JText::_('COM_KUNENA_MYPROFILE_GENDER_UNKNOWN')); $gender[] = JHTML::_('select.option', 1, JText::_('COM_KUNENA_MYPROFILE_GENDER_MALE')); $gender[] = JHTML::_('select.option', 2, JText::_('COM_KUNENA_MYPROFILE_GENDER_FEMALE')); // build the html select list echo JHTML::_('select.genericlist', $gender, 'gender', 'class="inputbox" size="1"', 'value', 'text', $this->escape($this->profile->gender)); ?> </td> </tr>


i wouldnt remove the signiture one tho, just advise your user not to use it :)
The following user(s) said Thank You: sjohn866

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

More
16 years 3 months ago #58175 by sjohn866
Again, you are awesome. Thanks for the help. I'm going to dive-in and give it a try.

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

More
16 years 3 months ago #58177 by Cerberus
your very welcome let me know if it all goes well for you.. :)
The following user(s) said Thank You: sjohn866

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

Time to create page: 0.111 seconds