Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Default Post Icon
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Default Post Icon
Please remember that this trick is for MyBB Hacks Premium member only. If you are not a premium member, you will view a different message.

<!-- Start: For Non Premium Member -->

This is a template edit level to set a "default" post icon for an existing threads in threadlist.
We need Template Conditionals plugin for this.
Find this code in forumdisplay_thread template:

Code:
{$icon}

Replace it with:

Code:
<if $thread['icon'] > 0 then>{$icon}<else><img src="images/icons/smile.gif" alt="Default" /></if>

Change the icon as our wants.

<!-- End: For Non Premium Member -->

<!-- Start: For Premium Member -->

This message for premium member only

<!-- End: For Premium Member -->

09-18-2010 08:17 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Default Post Icon - RateU - 09-18-2010 08:17 AM
RE: Default Post Icon - ZiNgA BuRgA - 09-18-2010, 12:32 PM
RE: Default Post Icon - Imran - 09-18-2010, 02:58 PM
RE: Default Post Icon - LiNUX - 12-12-2010, 08:55 PM
RE: Default Post Icon - ZiNgA BuRgA - 12-12-2010, 10:09 PM

 Standard Tools
Forum Jump: