Hi,
I have just downloaded and installed your cubepoints plugin today but I do not see where it is showing up on the forum. Can you please explain to me when and where each user will see there current points?
Thanks,
Theo
Hi,
I have just downloaded and installed your cubepoints plugin today but I do not see where it is showing up on the forum. Can you please explain to me when and where each user will see there current points?
Thanks,
Theo
our codex article on the plugin gives the details:
http://codex.simple-press.com/codex/plugins/our-plugins/available-plugins/plugin-cubepoints/
Is there any easy way to have it displayed also top left of the page where it says “logged in as”?
just add the same template function where you want it to display in your theme…
your referenced text string, you can find in the theme template file spHead.php for the sp theme you are using…
be sure to make changes to your own theme so as not to lose changes on upgrade: http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/
Excellent, I love how easy this all this even for a non coder like me ![]()
1 problem, the points displaying in the header are reading 0 and not the same as the points for the same user in the topic view
http://screencloud.net/v/BrsF
Any ideas?
and a second question would be how do I have this one in the header not show up when no user is logged in?
Try using this tag instead please in the spHead template:
sp_CubePoints();
That should do it…
I’m baffled beyond belief. I’m trying to get cubepoints to display at the upper left portion of the forum next to the logged in as section. I’m placing the code right under the sp_UserAvatar code in spHead.php.
Each time I place a code there, I get a fatal error message like: Fatal error: Call to undefined function sp_cubepoints() in /problem-with-post-edit-buttonome/barbaros/public_html/wp-content/sp-resources/forum-themes/mytheme/templates/spHead.php on line 90.
I’ve used:
sp_CubePoints();
have you actually activated the cubepoints plugin? That’s exactly what I would get if the plugin wad deactivated…
Yes, both WordPress and SimplePress versions are installed and activated. I had no problem placing the cubepoints icon in the poster content area, but this is a different matter.
have just verified it does work…
and you are using the exact same code sequence as in the post content area? you error message indicates you are calling the wrong function… sp_cubepoints is not the same as sp_CubePoints…
I used this code:
sp_PostIndexCubePoints(‘tagClass=spPostUserCubePoints spLeft’, ‘CubePoints’);
The icon now displays. Was that the correct code to use? In post 6 of this thread, the guy said that the points was always at zero in the upper display no matter what the true score is.
I tried replacing the sp_PostIndexCubePoints part with sp_CubePoints as Yellow SwordFish advised him to do, but I got a fatal error.