• Welcome to Simple Machines Community Forum. Please login or sign up.

Colored Dot Next to New Thread Title?

Started by lordrene, January 14, 2015, 11:53:37 PM

Previous topic - Next topic

lordrene

Hello, Is there a mod or thread that will add a dot next to a new thread? Instead of a "NEW" icon

Example:


br360

You can change that new image to whatever you want. Upload the dot image you want to your server (place it in the same directory as the new.gif) and name it something like dot.gif

Then in messageindex.template.php

find:

<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['lang_images_url'], '/new.gif" alt="', $txt['new'], '" /></a>';

and where new.gif is in the code, change that part to dot.gif (or whatever you named your uploaded image to)

lordrene

Quote from: br360 on January 15, 2015, 12:27:14 AM
You can change that new image to whatever you want. Upload the dot image you want to your server (place it in the same directory as the new.gif) and name it something like dot.gif

Then in messageindex.template.php

find:

<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['lang_images_url'], '/new.gif" alt="', $txt['new'], '" /></a>';

and where new.gif is in the code, change that part to dot.gif (or whatever you named your uploaded image to)
Thank you, But is there a way to making the image be on the left side of the thread title? instead of the right

lordrene

NVM, Found a way to make the image float the the left of the thread title

<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['lang_images_url'], '/new.gif" alt="', $txt['new'], '" style="float:left;" /></a>';

Steve

Alternately, you could have done what I do and that is to rename new.gif to something else like newold.gif and then upload the image of the dot as new.gif. No coding changes required normally, except for your wanting it on the left, of course.

(I rename the original in case I want/need to go back to it.)
Please do not PM me for support.

stmaxx

+1 only i use a green dot... but that one look cool!

I think the new image is a bit old fashion :)

Maxx

Advertisement: