A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
themes-topic
Display badges, forum ranks...
...View Related Tags
Avatar
briot stephane
22 Posts
(Offline)
1
Sep 24, 2012 - 4:30 pm
Print

Hi, 

At first, sorry for my bad english… (: 

My problem : Badges and forum ranks won’t display, as you can see there :

http://lablogacademy.com/forum…..estion/#p3

What can i do ?

Thank’s for your help. 

 

Stef’

Avatar
briot stephane
22 Posts
(Offline)
2
Sep 24, 2012 - 5:00 pm
Print

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’

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
3
Sep 24, 2012 - 8:37 pm
Print

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/…..me-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…

Avatar
briot stephane
22 Posts
(Offline)
4
Sep 25, 2012 - 2:21 am
Print

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 

Avatar
Yellow Swordfish
Glinton, England

16436 Posts
(Offline)
5
Sep 25, 2012 - 3:16 am
Print

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.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
BadSantaeni
Patrice Elizabeth
Caroline Norriss
Web team
Pavol Vrabec
Hélène CLEMENT
Forum Stats:
Groups: 7
Forums: 17
Topics: 10062
Posts: 79357

 

Member Stats:
Guest Posters: 607
Members: 16915
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
13
Currently Browsing this Page

1 Guest(s)