Support Forum

Postbit custom awards display

36 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

As supplied the spTopicView.php template within the css-only theme does have the display function sp_PostIndexUserSpecialRank() inlcuded within the spUser section.

While we do not use that theme here it is the same display function we use to display our special ranks badges.

SS shawn soden
shawn soden
Member

So in easy to understand terms, locate:

1) spTopicView.php

2) Find this: sp_PostIndexUserSpecialRank()

I am confused as to what I edit to show multiple badges in the profile from this page http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/topic-view/sp_postindexuserspecialrank/

YS Yellow Swordfish
Yellow Swordfish
Member

In the profile? You wouldn’t be able to use this function in the user profile popup. It needs the scope of the topic post. We do not, by default, show the special rank badges on the profile as far as I am aware.

MP Mr Papa
Mr Papa
Member

yes, the special ranks are shown in both the popup profile and the full profile page (look here)…  however, based on the definition of postbit earlier, assumed we were talking about the user info area for each post…

if actually talking about profile thought need to know if popup or full page or both… two different template files…  spProfilePopupShow.php and spProfileShow.php…  and the template function would be:

                        sp_UserSpecialRank($args=”, $spProfileUser->special_rank);

SS shawn soden
shawn soden
Member

And now you lost me…

Let me create what I am looking for with Fireworks and shoot you a image link.

SS shawn soden
shawn soden
Member

This is a image of what I currently have and what I am looking to do: Image

YS Yellow Swordfish
Yellow Swordfish
Member

OK – I see it,.

Well I fail to see the difference between what you have imaged and what we offer as shown to the left of this post with my special rank forum badge.

So – I assume you are saying that you have uploaded a special ranks badge and assigned yourself (or other members) to it. and what? It is not showing up? If so then how about a link to a forum page that contains a post with this missing badge and one that a guest can view so i can look at it?

SS shawn soden
shawn soden
Member

I want to know how to assign and display multiple badges. In the current state only the default badge shows, if I assign myself a badge, I still only display “Admin”.

YS Yellow Swordfish
Yellow Swordfish
Member

I don’t really know what you mean by ‘default’ badge.

But – If I understand you correctly you have two special ranks each with a badge and you have assigned yourself to both of them but inly one shows in the post user area. Is that correct? If so then as Steve said a lot earlier on this thread – this is not somethng I see when I do this.

So – once again – can I have a look at your forum page that shows this behaviour so i can look at the source output?

SS shawn soden
shawn soden
Member

Yellow Swordfish said
I don’t really know what you mean by ‘default’ badge.

But – If I understand you correctly you have two special ranks each with a badge and you have assigned yourself to both of them but inly one shows in the post user area. Is that correct? If so then as Steve said a lot earlier on this thread – this is not somethng I see when I do this.

So – once again – can I have a look at your forum page that shows this behaviour so i can look at the source output?

You are correct, I sent you a PM with an account you can use.

MP Mr Papa
Mr Papa
Member

so you must have only sent it to Andy (yelllow swordfish)…  Its night in UK and he will be back tomorrow…

SS shawn soden
shawn soden
Member

Mr Papa said
so you must have only sent it to Andy (yelllow swordfish)…  Its night in UK and he will be back tomorrow…

I will shoot you the same PM.

YS Yellow Swordfish
Yellow Swordfish
Member

Those login credentials that you sent in a PM do not work for me I am afraid. Just result in a login box error. Can you please check them.

Would it be possible to make that account a Simple:Press ‘Admin’ just so i can also look at your special rank settings and options at the dame time?

SS shawn soden
shawn soden
Member

PM Sent to both of you, sorry about that, i did not test the user first.

YS Yellow Swordfish
Yellow Swordfish
Member

OK so now I have managed to have a look at your settings and I am somewhat confused.

You DO have one special rank defined which you have named ‘Super Bowl Champion’. Just the one rank. And there are NO users assigned to that special rank.

So I am unsure where you expect there to be 2 badges being shown when none of your users have a special rank assigned to them.

So – what am I missing please?