Version 1.7 Beta
Public Points Log on the BuddyPress Profile, Point Blocker! (which is basically as ban feature for earning points on BuddyPress).
*Known issues. The Public Points Log profile doesn’t show the sidebar.
I had set up a custom template for testing on my site. I need to switch that back to default. So the sidebar will not show up on that page. But I will fix that next.
Did you manage to get the rank image working or is there any sites using it
It was working a few versions ago. It’s working on my test site fine. Which is a single wordpress install. Are your images 18 pixels and inside the right folder and linked correctly in the rank settings in CubePoints?
Ok, changed a few settings. Please download the beta again using the link above. Sidebar will show now.
@Gpo1 Please clarify what you mean by images not working, it’s rather a general statement.
Can you respond to the questions asked by xberserker and also confirm what you are running – I assume it’s WPMU – and that images failing is the one that should render on the accounts/profile header rather than the cubepoints ‘About’ Ajak thickbox call.
I’m closing in on an issue that I have with this image call in the profile header but it helps to know what issues others are having in a little detail.
I upgraded and got the following lines giving errors when trying to view points from the admin/buddy bar;
Warning: Division by zero in /home/eventofz/public_html/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 56
Warning: Division by zero in /home/eventofz/public_html/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 65
I have WPMU and Buddypress installed, both latest versions. CubePoints Buddypress Integration 1.7.1
Everything else still works.
@xberserker You are starting to get multiple threads on the same issue which is going to start getting confusing.
Division by zero is bad maths essentially script trying to divide something by nothing.
It’s occurring for me having just installed 1.7?
Tosh is 1.7 stable or beta?
looking through the template file and var dumping a few values leaves me confused where you’re getting certain values from as they seem to all be NULL i.e $total & $max – bp_cubepoint_get_point_count($r) doesn’t appear to be returning anything.
From first version to 1.7 seems to have undergone quite radical advances in scripting have you got someone helping, working with you now.
@everyone php error warning messages shouldn’t really ever make it through to production sites (if that is where people are experiencing these messages) as it exposes the server site structure which is never a good thing.
thekmen is helping out now. Do you have logs turned on? It’s working fine for me.
1.7.1 is stable except for this bug. I wish some people would have beta tested this when it was available though.
Does it say “User hasn’t earned any points” as well?
I’m guessing it’s down to an empty points table maybe? the two sites I have seen this error on both show that the user has points but also say No points earned yet.
I’ll get a chance to look into it later.
yes it does which isn’t the case so something isn’t firing somewhere.
Have you now added your own tables? cubepointsBP didn’t require it’s own tables before iirc? if so I haven’t got any new tables that I could spot.
no, no new tables are added. It’s working off CubePoints tables.
@hnla can you do something to earn points on your site, post a quick update or something & then visit the points page & see if this error is still happening.
That occurred to me as well and just tried that – added, accrued new points but still not kicking into life
ok, I’ll take a look later when I get a chance. If you find a solution before then, please post it here.
not a fix per se though.
Yes @ will suppress an warning error notice on a per line/function basis, not so worried from my point of view as I wouldn’t have upload to a production site and deal with error_reporting() regardless, it occurred to me that some users might not be aware that you do really need to decide on the level of reporting that happens on a production site and that exposing server set up is not a clever thing to do.
I think we need to stress to anyone encountering this issue and running on a live site that they do add your suggested error suppression until the root cause found.
I’ll play further when I have a minute and see if I can pin down the issue, but it’s interesting that you are not able to reproduce.
Quick question – in the admin screen points config there are these two actions.
Remove points for joining a group: -25
Points for leaving a group: 20
I might be being dumb here but why would one Remove points for Joining a group and Give points for leaving?
@thekmen sadly it was something i did think to try early on but it didn’t have the desired outcome and yes it’s to do with the per_page type stuff it feels as though it’s not passing values to your class constructer correctly? I have been trying to narrow it down but unfortunately I have so much work to get through that I have to leave of just as I feel I’m closing in on something – very frustrating I’ll continue to hunt this down when I can get free of things. I’m presuming you have now been able to replicate the issue?
@berserker the group points things was just that the logic seems skewed? or is it me? how can you remove points for joining a group and at the same turn give points for leaving, according to that set up one would have rapidly empty deserted groups with all your members huddled in their profiles making frantic friend requests to try and gain those points, and I’m trying to encourage group usage
The topic ‘Version 1.7 Beta’ is closed to new replies.