Support Forum
... from under the badge on the left of any post?
In Default theme (which I duplicated) on the left, under the badge shows the user rank.
How can I replicate the display you're using in this forum, where in the following order you have:
Picture
Name
Location
Badge
Date...
Thanks a lot
Here is a shot:
It looks like we have not gotten to that one in the Codex yet.
To display only the badge and not the title would require changing the way the rank function is called.
In the spTopicView.php file in your Simple:Press theme there is a template function sp_PostIndexUserRank()
In supplied themes it looks like thiis:
sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');
Changing it to
sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showTitle=0');
should remove the title text but leave the badge showing. You should have a custom theme if you are changing code in the files. See Creating a Themeif you haven't created one yet.
Brandon, think we are talking usergroup badges here and not ranks. If you can update for that template tag vs rank, that would be helpful. Or I can later tonight when home.
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
Brandon, think we are talking usergroup badges here and not ranks. If you can update for that template tag vs rank, that would be helpful. Or I can later tonight when home.
Quite possible.
@Massimo Interlandi if using a special badge. Where you have gone in and added special forum ranks with badges and assigned them to users in your forum admin at Components - Forum Ranks you would edit sp_PostIndexUserSpecialRank() in the same spTopicView.php file the same way using:
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');
I will have to read this thread when I get home... thought he wanted it like our forum here... which uses the template function:
sp_PostIndexUserMemberships()
for the usergroup badges...
but he could do, as you say, use special ranks too...
Visit Cruise Talk Central and Mr Papa's World
thanks guys for your time; yes, what I would like is to avoid rendundance of info since the members badges are already graphically self explanatory:
I'm using the copy of the default theme, but I dont have any php programming skills, so in case I needed to go into editing code I'd need easy to follow steps.
Thanks again for your help.
I also dont get how to make use of the "post as" function on my new posts since it doesn't exctract the members while I'm typing well known WordPres members names:
I do have few hundred members previously registered in WordPress that also show in SP in the Member Info window.
Do I have to activate or map members in a certain way in order for them to show in my "post as" little window?
Thanks again
Brandon C said
It looks like we have not gotten to that one in the Codex yet.
To display only the badge and not the title would require changing the way the rank function is called.In the spTopicView.php file in your Simple:Press theme there is a template function sp_PostIndexUserRank()
In supplied themes it looks like thiis:
sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');Changing it to
sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showTitle=0');should remove the title text but leave the badge showing. You should have a custom theme if you are changing code in the files. See Creating a Themeif you haven't created one yet.
OK, this worked out great.
Did the same thing for : sp_PostIndexUserSpecialRank.
Thanks for this.
I'm trying to work out the last issue regarding the "post as" plugin but so far no success
no, the post as does not need any special configuration... it does use jquery autocomplete functionality so possible you have some sort of js conflict on your site...
see: http://codex.simple-press.com/.....-conflict/
if you gave us a link to site, we could look for obvious conflicts...
Visit Cruise Talk Central and Mr Papa's World
Shure here it is:
PM in case you need to get deeper inside ...
thanks Mr Papa
I am seeing this error when trying to use the Post As, changing author and entering any text in the form.
Timestamp: 11/3/2012 7:52:03 PM
Error: TypeError: b.element.propAttr is not a function
Source File: http://cuffiehifi.info/wp-incl.....ver=1.8.20
Line: 5
Don't know if your theme or one of you plugins is loading it but when testing your blog link problem and deactivating plugins I would check that too.
1 Guest(s)