Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Best way to display points for being thanked
Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 4, 2015 - 11:34 pm

I just installed Cubepoints, as well as the simple press Thanks plugin.

When someone is thanked they ought to receive 10pts.

I have thanked this person but their new point count is not showing.

Image Enlarger

What's the best way of displaying points gained for being thanked?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 12:16 am

have you seen the plugin info page:  https://simple-press.com/docum.....ubepoints/

there are template tags for displaying info...

can you show a screenshot of the sp cubepoints admin panel with the points set up?

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 12:31 am

Yep, no problem...

cube-1.jpgImage Enlarger

The only place I need to show points is within the forum, where the arrow is pointing below. 

points.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 2:05 am

so you asked about points for thanking a post... cubepoints doesnt support that... cubepoints (the wp plugin) has been abandoned for a couple years or so now...  so we have not updated ours...  the 10 points in your setup is for new topics, not when a post is thanked..  and, of course, would only apply to new activity in the forum since activation and setup...

is cubepoints heavily integrated into your site?  if not, I would suggest checking out the wp mycred plugin and then our mycred integration plugin...  we have more options on how you can give points to  users, including when a post is thanked...

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 10:16 am

Mycred is much better, thanks!

Any idea how I can edit the text so it reads "POINTS" instead of "MyCred"?

Is there a way to edit/change that little image next to MyCredmy-cred-points.jpgImage Enlarger?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 10:34 am

Hey Ryan,

Yes you can change the text to say whatever you'd like. Just open your spTopicView.php template in sp-resources > forum-themes > yourtheme > templates > spTopicView.php.

Locate the line:

if (function_exists('sp_PostIndexMyCred')) sp_PostIndexMyCred('tagClass=spPostUserMyCred spCenter', __sp('MyCred '), __sp('MyCred'));

You can then edit the last two fields where you see ('MyCred'). The first field is the label which you'll see on the forum, and the second field is for the tooltip which you'll see when you hover over the points.

Not sure whether you have a custom theme or not, we'd definitely recommend a custom or child theme if you are making changes, and if you are using child themes - you might need to just copy the spTopicView.php template in from the parent if you haven't already got it.

Hope that helps!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2015 - 12:08 pm

You can replace the image quite easily. Create whatever icon you prefer of the same image type (png) and give it exactly the same name as the original (in the myCred plugin resources/images folder).

You can then copy the new image to the /images folder of your SP theme - and as Ike said you really should maker a child theme. After this the replacement image will be used.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 5:51 pm

Awesome, I was able to change the text with no problem. Thank you!

To replace the image, is this where I should be looking?

images.jpgImage Enlarger

I'm also trying to find the images folder for my SP theme but don't know where to look. It appears there are many Simple Press folders to sift through as I look via File Zilla. 

Any insight is much appreciated!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 5:58 pm

Good stuff!

You want to put the custom icon in your themes images folder, as Andy said - using the name of the MyCred image you are replacing.

So you want to put the copy of the image in:

wp-content > sp-resources > forum-themes > yourtheme > images

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 6:27 pm

BOO YAH got it!!!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: Julitsg
Guest(s) 1
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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625