Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Display badges, forum ranks...
Avatar
briot stephane
Member
Free Members
sp_UserOfflineSmall Offline
Sep 24, 2012 - 4:30 pm

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
Member
Free Members
sp_UserOfflineSmall Offline
Sep 24, 2012 - 5:00 pm

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
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 24, 2012 - 8:37 pm

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
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2012 - 2:21 am

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
SP Master
sp_UserOfflineSmall Offline
Sep 25, 2012 - 3:16 am

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: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626