Forums

Forum ranks show all previous ranks

Rajada 26 Aug, 2015
1 Likes
Are ranks supposed to be accumulative? All my users have every rank they've gotten below their user name. I would prefer only the highest weighted rank be shown, but even with correct weight settings, nothing seems to change. How do I fix this?
Rajada 09 Sep, 2015
1 Likes
Well this has been enlightening. Apparently, the answer is the developers don't care because they're too busy abandoning their software. Looks like I'll have to find a different forum software where the devs give 2 shits.
GreyHead 10 Sep, 2015
Hi Rajada,

I don't know anything about ChronoForums, Please try contacting Max, the developer, directly through the Contact Us menu above. I think that he has been travelling through the summer and has patchy internet connection.

Bob
jhebbel 16 Nov, 2015
It's winter now. Still no work being done to repair bugs.
jhebbel 16 Nov, 2015
Here's how to add a max posts option to the ranks so ranks based on post counts now work properly:

IN: administrator\components\com_chronoforums\chronoforums\views\ranks\edit,php

Where:
<?php echo $this->Html->formLine('Rank[params][user_posts]', array('type' => 'text', 'label' => l_('RANK_POSTS'), 'value' => '', 'class' => 'S', 'sublabel' => l_('RANK_POSTS_DESC'))); ?>


Add below:
<?php echo $this->Html->formLine('Rank[params][user_max_posts]', array('type' => 'text', 'label' => l_('RANK_MAX_POSTS'), 'value' => '', 'class' => 'S', 'sublabel' => l_('RANK_MAX_POSTS_DESC'))); ?>


IN: components\com_chronoforums\chronoforums\chronoforums.php :: _update_ranks()

Where:

if(!empty($rank['Rank']['params']['user_posts']) AND (int)$rank['Rank']['params']['user_posts'] <= $post_count){
	if(!empty($rank['Rank']['group_id'])){
		$new_ranks[$rank['Rank']['group_id']] = $rank['Rank']['id'];
	}else{
		$new_ranks[] = $rank['Rank']['id'];
	}
}


Change to:

if(!empty($rank['Rank']['params']['user_posts']) AND (int)$rank['Rank']['params']['user_posts'] <= $post_count){
    if(empty($rank['Rank']['params']['user_max_posts']) || (!empty($rank['Rank']['params']['user_max_posts']) AND (int)$rank['Rank']['params']['user_max_posts'] >= $post_count))
    {
		if(!empty($rank['Rank']['group_id'])){
			$new_ranks[$rank['Rank']['group_id']] = $rank['Rank']['id'];
		}else{
			$new_ranks[] = $rank['Rank']['id'];
		}
    }
}


You can update language files yourself to make the setting appear correctly.
jhebbel 16 Nov, 2015
Works well. Just make sure to leave the max empty on the last/highest rank in the order.
[attachment=0]forumranks.jpg[/attachment]
Max_admin 09 Dec, 2015
Hi,

In order for the highest weight rank to be shown, your ranks must have the SAME group, I have just tested this here and it works as expected.

And sorry for the late reply!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 11 Dec, 2015
If that's all there is to it, and I apply this fix but the users all have the same ranks, is there some way to refresh these ranks? Or do I need to re-create all of them from scratch to get them working properly?
Max_admin 14 Dec, 2015
ranks are calculated when you log in, so you will need to clear the existing ranks and then they will be calculated when the users login, you better test this with your account only first, you can clear the ranks value in the users_profiles table of chronoforums.

I may add an admin tool to clear/calculate the ranks in the next release.
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 14 Dec, 2015

you can clear the ranks value in the users_profiles table of chronoforums.



Through something like PHP My Admin? I may not have access to that at the moment. Would deleting and re-creating the ranks do the same thing or would that be causing more issues than it solves?
Max_admin 15 Dec, 2015
Yes, you need phpmyadmin to clear the ranks now, or you can leave the old wrong ranks and wait for the users to login and get the updated ones.

Updating the ranks will not have any effects if the users don't login, you can test that your ranks setup is correct with a new user.
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 16 Dec, 2015
Should these ranks be refreshing on a normal, community builder user login? Or only when a user is newly created? They did change color, but still remain on user's profiles.
Max_admin 18 Dec, 2015
Just try to logout then login with your account, do you get the updated ranks ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 18 Dec, 2015
No, but once again, I have too many ranks on users. So for example, if I had three ranks for 1 post, 2 posts, and 3 posts, everyone with three posts has all three ranks visible. Logging out and in does not change this. Though custom colors are now no longer working as well. Something changed, just not in the way I wanted.
Max_admin 18 Dec, 2015
and the ranks groups are correctly setup ? if yes then please test using a new test account without any ranks.
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 12 Jan, 2016
Sadly, after painstakingly deleting and re-creating the ranks with different names, ID's, and post counts within the same group ID, they still refused to cooperate. More heavily weighted ranks still do NOT replace the less heavily weighted ones.
Max_admin 13 Jan, 2016
You just need to fix the ranks groups then login with a test account to test that, I have already tested this here and it worked, if you can send me login details to your forum (create a new test admin account for me) then I can check that, please use the "Contact us" page to send the info.

You have the latest update, correct ?

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Rajada 13 Jan, 2016
It is possible I may be a version behind, so perhaps I should make sure. Shall I drag the zip into the Joomla backend installer to update?
Rajada 13 Jan, 2016
1 Likes
Welp, after updating, my forums are now gone. The board page is blank except for the "Powered by" message.

Really loving agonizing over this... maybe I should go find another plugin.
Max_admin 17 Jan, 2016
Maybe you didn't configure the permissions after the update, if your old install was outdated then you should check the permissions section and update it.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.