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

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 Post count start with #1 on each thread

More
16 years 4 months ago - 16 years 4 months ago #35867 by kunnews
Like the subject says, how can I change that each thread starts with post count #1? (the number above the avatar on the right side, #35867 for this post)

Now it's just continuing counting the posts, no matter if you start a new thread.

I hope this is possible, thanks in advance :)
Last edit: 16 years 4 months ago by kunnews.

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

More
16 years 4 months ago #36070 by kunnews
No one who can help me with this?

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

More
16 years 4 months ago #36074 by fxstein
That is currently not easily possible and would require a data model change. Future version might support this feature but there is no simple hack to make this happen.

We love stars on the Joomla Extension Directory . :-)

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

More
16 years 3 months ago - 16 years 3 months ago #36142 by gonzaunit
hi,
open the archive message.php and search the line 52

after
Code:
<a name = "<?php echo $msg_id; ?>"></a>
paste
Code:
<?php if ( $page == 1){ echo CKunenaLink::GetSamePageAnkerLink($msg_id,'#'.$mmm); } else { $nums = $mmm + $limitstart; echo CKunenaLink::GetSamePageAnkerLink($msg_id,'#'.$nums); }?>

and delete
Code:
<?php echo CKunenaLink::GetSamePageAnkerLink($msg_id, '#'.$msg_id) ?>

the result:


saludos. :laugh:
Last edit: 16 years 3 months ago by gonzaunit.

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

More
16 years 3 months ago #36149 by fxstein
I guess I stand corrected. :-)
Nice solution. Might have to change the logic if you want to continue to use "newest posts first" ordering.

We love stars on the Joomla Extension Directory . :-)

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

More
16 years 3 months ago #36277 by xillibit
@gonzaunit :

Hello,

I have tested your thing, this works only for the first page of the thread, then if you go at the second page, you will six for all message and the third page you will see 12 for all message.

You need to improve your logic. ;)

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.240 seconds