Support Forum

Display badges, forum ranks…

4 Answers

New Answer

BS briot stephane
briot stephane
Member

Ok, fixed. 

I found the soluce 

Just an other small question : is there a place with complete doc about template ?

I can’t find it in the codex. 

 

Thanx

Stef’

MP Mr Papa
Mr Papa
Member

good job – out of curiosity, what was it?

not sure what you mean by complete doc…  a template file is nothing more than a php file… so it can contain any php you want… and there really are no minimum required or maximum either…  just like a wp theme template file, it controls how things are displayed…  basically, we provide some stock control elements and a mess of template functions to display things…   but the what and where is up to you based on how you want your forum to look…

I assume you have read: http://codex.simple-press.com/codex/themes/theme-basics/ and its subpages?

unfortunately, a lot of the template functions are not yet filled in… but we have started and will continue to fill them in – just a limit as to what 3 folks can do…

but if you have any questions, just ask here and we can point you in the right direction…

BS briot stephane
briot stephane
Member

Not simple to explain in english for, but i try (: 

I was looking for the sp function who can displayed the badge. 

I found it by chance. 

For example, in my theme, i had this 

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');

So, the badge didn’t displayed. 

I missed it

&showBadge=1

So, th efinal code is : 

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showBadge=1&showTitle=1');

All done (: 

 

I looking for a solution in the codex, but didn’t found it. 

And, before asking something, i really love to find it by myself. 

I understand your problem, not easy to anwser, coding, et write the doc (: 

 

Thx for your response. 

And, sorry for my english. Hope you can understand it :p 

YS Yellow Swordfish
Yellow Swordfish
Member

good detective work on your part.

We are still struggling to get all of these functions documented in the codex. It is a long and painful task I am afraid.
Feel free to ask after any template or API function and we will always help you out with it.