Kunena 6.3.7 Released

The Kunena team has announce the arrival of Kunena 6.3.7 [K 6.3.7] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

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 Birthday Modul

More
14 years 3 months ago #21 by svanschu
Replied by svanschu on topic Re:Birthday Modul
First issue is easy to solve, had a short look into the time class of kunena now and noticed that we are saving time() but I insert atm time()+offset. Will be fixed in next release.

Second issue: If for exampel 3 people have at the same day birthday and all for exampel 26 then the age is missing?

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

More
14 years 3 months ago #22 by @quila
Replied by @quila on topic Re:Birthday Modul
I need to check this, I'm saying that just a brackets are missing, not age, show 40 instead of (40).

Let me check again.

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

More
14 years 3 months ago #23 by @quila
Replied by @quila on topic Re:Birthday Modul
Look here
evolution.templatekunena.com/index.php?o...do=latest&Itemid=115

now show 3 users with birthdays



* admin birthday is in 6 days 40
* demo birthday is today 20
* nemanja birthday is today (20)

should be


* admin birthday is in 6 days (40)
* demo birthday is today (20)
* nemanja birthday is today (20)

or not?

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

More
14 years 3 months ago #24 by @quila
Replied by @quila on topic Re:Birthday Modul
Now, after 1 hour passed time show "1 minute ago".

Maybe can help you, I have Time Zone in Joomla config (UTC 00:00) and in module config "Reference Time" = Website Offset

Regards

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

More
14 years 3 months ago - 14 years 3 months ago #25 by @quila
Replied by @quila on topic Re:Birthday Modul
Hi again,

I have also one suggestion for you about this module, and you will se if it is possible ;)

Possibility to show ONLY today birthdays, and that I can show them in this way

admin(40), demo(20), nemanja(20), sven(22)

That if I have 20 birthdays in 10 days become a huge list ;)

I dont want to say nothing about possibility to show Avatar of user :laugh:

Thanks
Regards
Last edit: 14 years 3 months ago by @quila.

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

More
14 years 3 months ago #26 by svanschu
Replied by svanschu on topic Re:Birthday Modul

@quila wrote: Look here
evolution.templatekunena.com/index.php?o...do=latest&Itemid=115

now show 3 users with birthdays



* admin birthday is in 6 days 40
* demo birthday is today 20
* nemanja birthday is today (20)

should be


* admin birthday is in 6 days (40)
* demo birthday is today (20)
* nemanja birthday is today (20)

or not?


Interresting, you are using the default language strings I wrote?

Now, after 1 hour passed time show "1 minute ago".

Maybe can help you, I have Time Zone in Joomla config (UTC 00:00) and in module config "Reference Time" = Website Offset


I insert with the module the wrong timestamp atm so kunena get the wrong time to display ...

Possibility to show ONLY today birthdays, and that I can show them in this way

admin(40), demo(20), nemanja(20), sven(22)

That if I have 20 birthdays in 10 days become a huge list


In modul config you can set the days how far in future birthdays schould be shown ... 1 day 10 days 200 days etc

In tmpl folder you can copy the default template, rename it and replace the <ul> with what you want

How the string look like you can adjust in language file so you need then only
Code:
%n (%a)

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

More
14 years 3 months ago - 14 years 3 months ago #27 by @quila
Replied by @quila on topic Re:Birthday Modul

Interresting, you are using the default language strings I wrote?

yes, english lang. you wrote.

In modul config you can set the days how far in future birthdays schould be shown ... 1 day 10 days 200 days etc

If I set to 1 day "Time Frame" module show only 1 birthday !!! Maybe bug??

In tmpl folder you can copy the default template, rename it and replace the <ul> with what you want

How the string look like you can adjust in language file so you need then only

That I have already done, didn't know that I need to adjust language file. Thanks.
Last edit: 14 years 3 months ago by @quila.

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

More
14 years 3 months ago #28 by @quila
Replied by @quila on topic Re:Birthday Modul
Code:
%n (%a)
hmm.. I have changed lang string from
Code:
SW_KBIRTHDAY_HAVEBIRTHDAYIN="%n birthday is %t"
to this
Code:
SW_KBIRTHDAY_HAVEBIRTHDAYIN="%n(%a)"
Result is this


* admin(42) 42
* demo((40)) (40)

with default template

Is that right string??

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

More
14 years 3 months ago #29 by svanschu
Replied by svanschu on topic Re:Birthday Modul
I included to possibility to show Age. One for the people who don't want to change languagesfiles, they can disable the age in backend with the dropdown (the second age you can disable with dropdown).

And for those who want to build a total costum string you also can include the age in the string you used so you can do i like that
Code:
SW_KBIRTHDAY_HAVEBIRTHDAYIN="%n" SW_KBIRTHDAY_ADD_AGE="(%a)"
OR
Code:
SW_KBIRTHDAY_HAVEBIRTHDAYIN="%n(%a)"
and disable show age in backend config

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

More
14 years 3 months ago #30 by @quila
Replied by @quila on topic Re:Birthday Modul
Ok,

with you first example and Age enabled I have this
Code:
* admin 42 * demo (40)
seems that this option can works, just missing brackets on first birthday.

With your second example and Age disabled
Code:
Notice: Undefined index: age in /home/www/dev-evolution.templatekunena.com/modules/mod_sw_kbirthday/helper.php on line 295 Notice: Undefined index: age in /home/www/dev-evolution.templatekunena.com/modules/mod_sw_kbirthday/helper.php on line 295 * admin() * demo()

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

Time to create page: 0.932 seconds