HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED!] Leader board and ranking not working

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#95662 (In Topic #19027)
Avatar

Honoured member

I just discovered that when I attempt to view the leaderboard on my 8.1.6 site, that I get a critical error, bailing out.  Also, I've done some testing and created a new account which I gave several thousand points to, in hope that it would automatically get promoted to the next user group (it should have based on the points threshold) -- but unfortunately, the automated promotion isn't working properly??  I've searched and checked my config, but I sense that both of these issues are related.

Anyone have any ideas or suggestions?

Thank you :)
Back to the top
 
Posted
Rating:
#95664
Avatar

Precisely what error message do you receive?

Have you checked the groups directory page to confirm how the usergroup procession looks. Perhaps they aren't in the promotion chain you think they are?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95676
Avatar

I have had a look at this and I found this problem:
0001062: Warn/Inform-level errors showing as critical - ocPortal feature tracker

The leader-board shows no entries if you don't use the leader-board block. This is because the module is only an archive page, it's not meant to maintain anything itself. The block should be configured and displayed somewhere, and this is the primary communication/computation mechanism for the leader-board.

I will add this to the documentation:
Please be aware the leader-board archive module will not update if you don't also use the leader-board block.

As for rank movement, this would not be related.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95699
Avatar

Honoured member

Thanks (again!) Chris.  I don't believe I have the leaderboard block going, so I'll work with that today.  As for the ranking, I double checked and the usergroups are in order.  I'm experiencing some oddities that are perhaps more related to my elementary understanding of the app. vs. anything really wrong.

For example, yesterday I manually added one user who had reached the 1000 point threshold in order to progress to the next user group because the promotion didn't happen automatically.  What I discovered this morning was that once I did that, 3 other users DID get automatically promoted last night???

Perhaps I just need more sleep...


UPDATE:  I added the leaderboard block and as you stated, it's working now.  The ranking...well, that's another issue still.


Last edit: by superiorpyro
Back to the top
 
Posted
Rating:
#95700
Avatar

Well, there could be a bug here. What gave them the points that bumped them over the threshold? I can check that that action calls the usergroup recalculation.

Any other special circumstances, like the usergroups involved being hidden or being clubs?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by superiorpyro)  
Rating:
#95702
Avatar

Community saint

superiorpyro said

…yesterday I manually added one user who had reached the 1000 point threshold in order to progress to the next user group because the promotion didn't happen automatically.  What I discovered this morning was that once I did that, 3 other users DID get automatically promoted last night???…

I have seen similar situations on my tutoring site  and at a one point realized that in order to pass to the next level after reaching the points, a member had to logon otherwise the system was holding the promotion. It is activity based perhaps in the code. If that is the case, I found it was a good feature.

Jean
Back to the top
 
Posted
Item has a rating of 5 (Liked by superiorpyroLiked by Jean)  
Rating:
#95703
Avatar

Actually this could be it. If the points over the limit is only there due to something automatic, like days-since-joining, there's no actual action causing a bump.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jean)  
Rating:
#95706
Avatar

Honoured member

Thanks Jean and Chris, I think you've identified the triggering action:  As noted, an increase in points alone (not coupled with a given user action) won't trigger the promotion.  Since most of the users were offline overnight, when they began logging in this morning, it must have keyed the promotion automatically.

Your assistance is priceless, thanks as always!

Mark
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: