Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Where are the CubePoints displayed?
Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 3:47 am

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 7:50 am

our codex article on the plugin gives the details:

http://codex.simple-press.com/.....ubepoints/

Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 10:16 am

perfect... and done.

Thanks!

Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 10:21 am

Is there any easy way to have it displayed also top left of the page where it says "logged in as"?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 8:45 pm

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/.....g-a-theme/

Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 1:39 am

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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2012 - 7:04 am

Try using this tag instead please in the spHead template:

sp_CubePoints();

That should do it...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 8:28 am

Perfect!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2012 - 9:35 am

Good news.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Robb G
Member
sp_UserOfflineSmall Offline
Feb 3, 2013 - 8:14 am

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();

sp_CubePoints ('tagClass=spPostUserCubePoints spLeft','CubePoints');
 
sp_CubePoints($args=”, $toolTip=”)
 
But those don't seem to work. I must be missing something, but I can't see it.
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625