Support Forum

WPAchievements Ranks

120 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry – if that is the case it’s just bad coding. No reason it can’t be done just like we do in each of the user panels on the topic page. But the CSS and HTML construction of this element i pretty bad so who knows…

FF Frank Fasano
Frank Fasano
Member

Gotcha.  Just wish there was a simple way to display just the user’s rank and leave the rest out to not over complicate things.  I’ll see what I can find out from the plugin author.

YS Yellow Swordfish
Yellow Swordfish
Member

which bit that I am seeing is the rank? I assume it is mthe ‘Student of the Game’ part/ Correct? You can hide the rest using the display directive I gave earlier/

FF Frank Fasano
Frank Fasano
Member

Yes, those are the rank titles.  I would actually love if there was a way to link the WPAcheivements ranks with the built-in Simple:Press forum ranks.  Is there any feasible way to do that?  Like for instance, have Simple:Press just pull their WPAchievement rank and display that in place of the regular SP rank?

YS Yellow Swordfish
Yellow Swordfish
Member

In theory I would have no problem adding a template tag to do this but… as I said earlier in this thread, I have not found any documentation for the Achievements plugin that deals with template tags, short-codes etc., and how to call the API for these things. You clearly managed to get hold of a shortcode document somewhere – if you tell me where then I can at least take a look at what functions are available publicly to use.

FF Frank Fasano
Frank Fasano
Member

Here is everything I could get from the plugin author:

My Achievements
Copy this to any post/page to display a list of achievement images that the user has gained.[wpa_myachievements]

Available Parameters

Parameter Description
user_id The ID of the user to list achievement images for. If blank it defaults to current logged in user.
show_title Whether to display the title: "My Achievements". Example: "True" to show or "False" to hide. If blank it defaults to true.
title_class This class will be added to the title and will allow the use of custom CSS.
image_holder_class This class will be added to the achievement image holder and will allow the use of custom CSS.
image_class This class will be added to the achievement images in the list and will allow the use of custom CSS.
image_width This is the width of each achievement image. Value needs to be in "px". Default is "30"
achievement_limit Limit the number of achievement images shown. If blank it will show all achievements available.

Examples
[wpa_myachievements user_id="1" show_title="true" achievement_limit="30"]
[wpa_myachievements user_id="2" show_title="false" image_width="20" achievement_limit="10"]
 

Achievements by Rank
Copy this to any post/page to display a list of achievement available for the choosen rank.[wpa_rank_achievements]

Available Parameters

Parameter Description
user_id The ID of the user to get the rank to list achievement images for. If blank "rank" parameter will be used.
rank The rank to list achievement images for. If blank achievements will not be shown.
show_title Whether to display the title: "My Achievements". Example: "True" to show or "False" to hide. If blank it defaults to true.
title_class This class will be added to the title and will allow the use of custom CSS.
image_holder_class This class will be added to the achievement image holder and will allow the use of custom CSS.
image_class This class will be added to the achievement images in the list and will allow the use of custom CSS.
image_width This is the width of each achievement image. Value needs to be in "px". Default is "30"
achievement_limit Limit the number of achievement images shown. If blank it will show all achievements available.

Examples
[wpa_rank_achievements rank="Newbie" show_title="true" achievement_limit="30"]
[wpa_rank_achievements user_id="1" show_title="false" image_width="20" achievement_limit="10"]
 

My Quests
Copy this to any post/page to display a list of quest images that the user has gained. [wpa_myquests]

Available Parameters

Parameter Description
user_id The ID of the user to list quest images for. If blank it defaults to current logged in user.
show_title Whether to display the title: "My Quests". Example: "True" to show or "False" to hide. If blank it defaults to true.
title_class This class will be added to the title and will allow the use of custom CSS.
image_holder_class This class will be added to the quest image holder and will allow the use of custom CSS.
image_class This class will be added to the quest images in the list and will allow the use of custom CSS.
image_width This is the width of each quest image. Value needs to be in "px". Default is "30"
quest_limit Limit the number of quest images shown. If blank it will show all quests available.

Examples
[wpa_myquests user_id="1" show_title="false" image_width="30" quest_limit="30"]
[wpa_myquests user_id="2" show_title="true" image_class="custom_image_class" quest_limit="10"]
 

My Rank
Copy this to any post/page to display the current rank information of the user. [wpa_myranks]

Available Parameters

Parameter Description
user_id The ID of the user to get the rank for. If blank it defaults to current logged in user.
rank_image Whether to show the rank image, if one is available. "True" to show or "False" to hide. If blank it defaults to true.
show_title Whether to display the title: "My Rank". Example: "True" to show or "False" to hide. If blank it defaults to true.
title_class This class will be added to the title and will allow the use of custom CSS.

Examples
[wpa_myranks user_id="1" show_title="false" rank_image="true"]
[wpa_myranks user_id="2" show_title="true" rank_image="false" title_class="custom_title_class"]
 

Unformatted Leaderboard List
Copy this to any post/page to display an unformatted leaderboard list. [wpa_leaderboard_list]

Available Parameters

Parameter Description
user_position Whether to show the trophy icons/place numbering. Example: "True" to show or "False" to hide. If blank it defaults to true.
user_ranking Whether to show the users rank information. Example: "True" to show or "False" to hide. If blank it defaults to true.
type Whether to order the leaderboard by amount of points or achievements. Example: "Points" or "Achievements". If blank it defaults to Achievements.
limit Limit the number of users shown. If blank it will show all users available.
list_class This class will be added to the leaderboard list and will allow the use of custom CSS.

Examples
[wpa_leaderboard_list user_position="true" user_ranking="false" type="points" limit="10"]
[wpa_leaderboard_list user_position="false" user_ranking="true" type="achievements" limit="10"]
 

Custom Achievement Trigger
Copy this to any post/page to trigger a custom achievement. [wpa_custom_achievement]

Available Parameters

Parameter Description
trigger_id This is the unique "Trigger ID" that is used when creating the custom achievement in the "Achievements" area.
type Whether to produce a button or trigger the achievement when the post/page loads. Example: "Button" or "Instant". If blank it defaults to Button.
text If the type "Button" is choosen then this text is displayed within the button.

Examples
[wpa_custom_achievement trigger_id="unique_trigger_id" type="button" text="Click for Achievement"]
[wpa_custom_achievement trigger_id="unique_trigger_id" type="instant"]
 

Standard Leaderboard
Copy this to any post/page to display a standard leaderboard. [wpa_leaderboard_widget]

Available Parameters

Parameter Description
type Whether to order the leaderboard by amount of points or achievements. Example: "Points" or "Achievements". If blank it defaults to Achievements.
limit Limit the number of users shown. If blank it will show all users available.

Examples
[wpa_leaderboard_widget type="points" limit="10"]
[wpa_leaderboard_widget type="achievements" limit="10"]
 

Leaderboard Data Table
Copy this to any post/page to display an advanced leaderboard data table. [wpa_leaderboard]

Available Parameters

Parameter Description
position_numbers Whether to show leaderboard position numbering. Example: "True" to show or "False" to hide. If blank it defaults to true.
columns Select which columns to display. Available Inputs: avatar,points,rank,achievements,quests. If blank it defaults to true.
limit Limit the number of users shown. If blank it will show all users available.
achievement_limit Limit the number of achievements shown. If blank it will show all achievements available.
quest_limit Limit the number of quests shown. If blank it will show all quests available.
list_class This class will be added to the leaderboard list and will allow the use of custom CSS.

Examples
[wpa_leaderboard position_numbers="true" achievement_limit="10" quest_limit="10" limit="10" columns="avatar,points,rank,achievements,quests"]
[wpa_leaderboard position_numbers="false" limit="10" list_class="my_custom_class" columns="avatar,points,achievements"]

YS Yellow Swordfish
Yellow Swordfish
Member

I will look into it thanks. Shamer these are all short-codes but I may be able to determine the root functions.

FI fiddlerman
fiddlerman
Member

Hey,

I just installed the achievements plugin on both WP and SP. The instructions are almost non-existent. I want to offer my forum members a way to earn badges/icons/thumbnails with points. I put the achievements widget in place but have no idea how to get the photo grid to show. Is anyone using this plugin? Do I need another plugin for the grid?

IK Ike
Ike
Member

Unfortunately not one that I am too familiar with but hopefully we should hear from others!

MP Mr Papa
Mr Papa
Member

sorry, what is a photo grid??  part of the achievements plugin?  not part of sp…  can you provide more info…

FI fiddlerman
fiddlerman
Member

Yes Mr Papa, part of the achievements plugin. A widget.

  • On another point. I would love more SP events for example:
  • One year anniversary. Options for reoccurring anniversaries…..
  • 100 posts, 500 posts, 1000….. etc.
  • Creating a determined number of topics.

Don’t know who created the two SP achievements but there are so many fewer options than BBPress, BuddyPress, BuddyStream…..
The only two for SimplePress right now are:

  • User creates a new topic reply
  • User creates a new forum topic
MP Mr Papa
Mr Papa
Member

well, it will over time… it was recently added as a basic first step… we have primarily supported cubepoints, but its pretty much abandoned, so then we queried users and most wanted was mycred… so we supported that…  its still quite active and our primary focus… recently a user asked for wp achievements and we whipped out what you see primarily as a proof of concept and starting point…  from an add on perspective, its the worst of the three… does not have a good api and tough to add stuff… but it can be done, just not as easily as the others…  so we do hope to add more stuff some day…

FI fiddlerman
fiddlerman
Member

myCred is the answer then. :)

I installed it but I would LOVE support for the badges. Is anyone interested in doing that? My users are asking for awards when they post videos or participate in projects. I would love to have that in effect. :)

AN Anise
Anise
Member

I’m interested in exactly what you mean by support for the badges… do you mean awards/events tied to or triggered by achieving certain badge ranks? Or are you thinking of a specific graphic design for various levels of badges? THAT, I actually COULD help with!!

FI fiddlerman
fiddlerman
Member

Thanks for your offer Anise,

I would need the graphics too eventually, but first we need a system for awards tied to achieving goals or what have you….
I run a violin learning site called “Fiddlerman.com” and the members sometimes post videos of themselves playing, start what they call “Parties” where everyone plays the same tune…. We have virtual group projects, etc….. I want to give graphic badges, awards, metals, etc… that the users would strive to achieve and have visible for all to see on their profile.