Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 9 Months ago Adding a custom div under group image
#1
Solved: 11 Years, 9 Months ago
Hi guys.

I want to add a custom division under the group image that reaches into our database to pull certain information on that uid. (In our case, their Steam ID for those familiar with Steam).

How would I go about doing that?

Example;

[Image: 2Gt93.png]
Under the "OWNER" image, I want to add a custom div.
#2
Solved: 11 Years, 9 Months ago
Always remember to give as much info as possible - you didn't tell how the steam id is saved in databse. Profile field? Plugin?
#3
Solved: 11 Years, 9 Months ago
Yea, as Destroy said, you'd need to get the PHP function for that so you can call it in the proper template with the correct CSS Class and styling/layout.

You'd place it in Templates > {Your Theme} > Postbit > Postbit

It'd go under {$post['groupimage']}

<span class="smalltext">
   {$post['usertitle']}<br />
   {$post['userstars']}
   {$post['groupimage']}
   {$lang->steamprofile} //Example
</span>
#4
Solved: 11 Years, 9 Months ago
Sorry for my lack of detail. Didn't really need help with the PHP, just couldn't figure out what file to edit to add the division.
#5
Solved: 11 Years, 9 Months ago
You should add it to postbit and/or postbit_classic template as described above, not to any file.
http://docs.mybb.com/Admin_CP_Templates.html
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 2 Guest(s)