Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 44308
Total Topics: 7676
Most Online Today: 282
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 295
Total: 295

Author Topic: Badge Icon on Board Index  (Read 4438 times)

0 Members and 0 Guests are viewing this topic.

Badge Icon on Board Index
« on: »
How difficult would it be to add the badge icon to the Latest Badges Awarded section of the Board Index?

[ Guests cannot view attachments ]
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Visit my Creative Anime Role Playing Community
SMF 2.1.4

Re: Badge Icon on Board Index
« Reply #1 on: »
Not super hard. What SMF Version?

Just requires edit to the BoardIndex.template.php file


The image column data is already present in variable $pic
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Badge Icon on Board Index
« Reply #2 on: »
2.1.4.

I found the section, I'm just not sure what the variable/data is called.
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Visit my Creative Anime Role Playing Community
SMF 2.1.4

Re: Badge Icon on Board Index
« Reply #3 on: »
Something like

Code: [Select]
global $modSettings, $boardurl;

if (empty($modSettings['badgeawards_url']))
$modSettings['badgeawards_url'] = $boardurl . '/badges/';

echo '<img src="' . $modSettings['badgeawards_url']  . $pic['image'] . '" alt="' . $pic['title'] . '" title="' . $pic['title'] . '" />';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Badge Icon on Board Index
« Reply #4 on: »
Thank you!  Works beautiful!

[ Guests cannot view attachments ]
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Visit my Creative Anime Role Playing Community
SMF 2.1.4
Love Love x 1 View List

Re: Badge Icon on Board Index
« Reply #5 on: »
Great job that looks a lot better!!
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
38 Replies
51534 Views
Last post July 26, 2007, 01:48:58 pm
by v.jenner
2 Replies
7568 Views
Last post July 12, 2007, 03:58:51 am
by bullguy
4 Replies
10640 Views
Last post September 08, 2010, 03:06:44 am
by Molly
6 Replies
8892 Views
Last post February 26, 2012, 01:44:52 pm
by SMFHacks
2 Replies
5224 Views
Last post May 03, 2011, 10:52:31 am
by sirkiu

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as &#39; in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal