e107help.org Q&A
0 like 0 dislike
Not sure if this should go under core, theme, or plugin, but I chose themes.

Anyway, I know how to set up rank images, but I can't seem to get them to display under the user avatar in the forum post message display screen. Thise seems to be related to bootstrap, but I can't seem to find a way to over ride this. Any bootstrap theme simply ignores my uploaded rank images and uses some css image witha white text on colored background followed by a black fontawesome star.

On older themes that are not bootstrap, the user rank image shows up fine, which is why I believe this is being caused by bootstrap, yet I can't seem to find how/were to edit things to stop this behavior. I don't want the bootstrap rank image, I want the one I uploaded.

Any suggestions or ideas?
e107 version 2.1.9
closed
in Themes by (69 points) 2 7
edited by
Not sure where ranks_cl is located. Could you give me a path? Looked in handlers, system, and plugins/forum for it.

As for images/ranks, I copied it to the theme folder (e107_themes/BS_Gaming_01/images), and no dice. Still not displaying rank images. I suppose I could post to the github page.
I seem unable to use github. I sign in, then go into issues to make a topic, it wants me to sign in again and gives me the something wrong happened message... So unfortunately I can't post an issue regarding this. Sigh...

Its this one i refereed to (maybe shoundn't have stripped it ) wink handlers/e_ranks_class.php

Well have to take/make some time to setup forum and ranks to see what it does.. please hold on ( i can not guarantee a time point ; have to earn a living too)

Yes, the handlers/e_ranks_class looks as you have posted it above. I was confused by your ranks_cl statement. My appologies.

And no worries, I'm patient. I too have a day job :).

1 Answer

1 like 0 dislike
Best answer

I hope this answer your question:

https://www.e107.sk/knowledge_base/how-to-use-display-rank-images-in-forum/?content.90

You need to custom your template. Those shortcodes works with bootstrap too.

by (1.7k points) 11 37 50
selected by

You need to customize forum view template, if you want any different output.


What if the theme doesn't have a forum view template? Being a bootstrap theme, I'm guessing I can change another template that exists?

https://e107.org/developer-manual#overriding-core-templates

Overriding Core Templates

  • All templates that are used in e107 can be overridden by copying them into specific folders within your current theme folder. 
  • ....
  • Plugin templates should be copied into e107_themes/YOURTHEME/templates/PLUGIN-FOLDER
    Note: Older plugins may look for templates in the root folder of your theme. ie. e107_theme/YOURTHEME/  
Thank you so much! That solves it!
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
853 questions
1,249 answers
2,171 comments
5,902 users