Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question JoniJnm Edition 1.4.2

More
16 years 6 months ago #32713 by subfighter
my question is that there is not [;CODE] bbcode option in your Package.. Actually i tried to to test and post this in my last post but there was problems parsing it..

Is there a reason its not there in your build?

Also agree that HTML should have option to turn on or OFF in the backend..

regards
The topic has been locked.
More
16 years 6 months ago #32729 by JoniJnm
Whats problem? Kunena shows a php error? Can I see your website?

I will add an option to hide the HTML buttom

The topic has been locked.
More
16 years 6 months ago #32772 by basnet
subfighter wrote:


Also agree that HTML should have option to turn on or OFF in the backend..


yup, i have been looking for this. it would be perfect if we could disable for registered users and only be accessible by admin level users.

thanks
The topic has been locked.
More
16 years 6 months ago - 16 years 6 months ago #32827 by MusicInMe
JoniJnm wrote:

Hi,

You can add it manually. For example, if you want add a field which show the user's country:

{Kunena}/JoniJnm_plugins/plugins/jomosocial/jomsocial.xml
add:

<param type="text" name="country" default="0" title="Country" />

{Kunena}/JoniJnm_plugins/plugins/jomosocial/helper.php
add (in the integration function, in "foreach"):

elseif ($dato->field_id == $plugin->getParam("country", 0)) {
$userinfo->country = $dato->value;
}

Later, in the file {template}/message.php, search:
if (isset($msg_birthdate)) {
echo $msg_birthdate;
}

and add later:
if (isset($userinfo->country)) {
echo $userinfo->country;
}


Thank you for amazing work! I was waiting for something like that! Tryin first to migrate to phpBB3 but you stopped me! Thanks.

And my question about above modification - can't add dditionaal info. For example I would like to add 2 fields - home town and city. In JS those fields are named
    Miasto w PL - for hometown
    Miasto w UK - for city

and... doesn't show enything. I mean only DOB and gender is showin. And I've tryied in Kunena Configuration assing different value to gender and DOB than default and it change nothing. Even your example country doesn't work for me at all.

My code for
jomsocial.xml
Code:
<param type="text" name="gender" default="2" title="K_JOMSOCIAL_GENDER" /> <param type="text" name="hometown" default="4" title="Miasto w PL" /> <param type="text" name="city" default="11" title="Miasto w UK" /> <param type="text" name="signature" default="0" title="K_JOMSOCIAL_SIGNATURE" /> <param type="text" name="country" default="0" title="Country" />

helper.php
Code:
elseif ($dato->field_id == $plugin->getParam("birthdate", 3)) { $userinfo->birthdate = explode(" ",$dato->value); $userinfo->birthdate = $userinfo->birthdate[0]; } elseif ($dato->field_id == $plugin->getParam("country", 0)) { $userinfo->country = $dato->value; } elseif ($dato->field_id == $plugin->getParam("gender", 2)) { $userinfo->gender = ""; $kunena_db->setQuery("SELECT options FROM #__community_fields WHERE id=".$dato->field_id); $options = explode("\n", $kunena_db->loadResult()); $i=0; while (!$userinfo->gender && $i<count($options)) { if ($options[$i] == $dato->value) { $userinfo->gender = $i+1; } $i++; } } elseif ($dato->field_id == $plugin->getParam("hometown", 4)) { $userinfo->country = $dato->value; } elseif ($dato->field_id == $plugin->getParam("city", 11)) { $userinfo->country = $dato->value; } elseif ($dato->field_id == $plugin->getParam("signature", 0)) { $userinfo->signature = $dato->value; }

message.php
Code:
<?php if (isset($msg_birthdate)) { echo $msg_birthdate; } if (isset($userinfo->hometown)) { echo $userinfo->hometown; } if (isset($userinfo->city)) { echo $userinfo->city; } } ?>

And another thing, signature doesn't appear above message. I can edit signature aunder kunena menu, but I can't see it. There is only some SAVE text (don't know where from). Anyway, excelent work!
Last edit: 16 years 6 months ago by MusicInMe.
The topic has been locked.
More
16 years 6 months ago #32873 by JoniJnm
MusicInMe, responded here.

For the signature... can I see your website?
The topic has been locked.
More
16 years 5 months ago - 16 years 5 months ago #33349 by JoniJnm
1.3.15 RC3 to 1.3.16

Date: 2009-11-21

+ New plugin: bbcodehtml
+ New plugin: relative posts (by guerrila )
^ Base: Kunena 1.5.7 stable
^ Improved frameset plugin: added frameset demo
^ Upgrade hackpoll plugin to v0.1.8.3
^ Changed jomsocial_rule.xml file (please, do a "rule scan" in jomsocial)

Download
Last edit: 16 years 5 months ago by JoniJnm.
The topic has been locked.
Time to create page: 0.273 seconds