I'm currenty using UBB.threads forum software and I like how they have indicators when somebody posts a new topic such as hot topics that have fire and new column colors. I was wondering if SMF has anything like this as a default or would it be possible to add something? I think it helps forums from looking like they are stale and gives them a bit of life.
Here is a screen grab of what I mean. The top colors are recent post and its hard to see but hot topics have a "fire" animate gif.
http://forum.surfermag.com/forum/postlist.php?Cat=0&Board=UBB1&page=0 (http://forum.surfermag.com/forum/postlist.php?Cat=0&Board=UBB1&page=0)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi56.tinypic.com%2F20h28m1.png&hash=58dd12d58ea183840f8a3efae069eae426a2e90c)
**** And, are there any good recommended photo hosting sites/mods that work with SMF?
Lainaus käyttäjältä: MrCrude - toukokuu 22, 2011, 01:40:54 AP
I'm currenty using UBB.threads forum software and I like how they have indicators when somebody posts a new topic such as hot topics that have fire and new column colors. I was wondering if SMF has anything like this as a default or would it be possible to add something?
In "Topic Settings" you can define the number of posts for a "hot topic" and "very hot topic" :
http://docs.simplemachines.org/index.php?topic=116.0
Is this what you mean?
Can also be found below the topic list : http://www.simplemachines.org/community/index.php?board=147.0
i think part of what you are asking is covered in the attached image. for the image hosting part check the mod site there are a few gallery mods.
No I don't think you understand what I mean. Visit the Surfermag forum link and I think you will get the idea. When there are new postings, the rows turn to a different color at the top. Is this possible with SMF?
So you want the rows for New topics/replies to be a different color? I think that's what your screen shot is indicating. The MessageIndex.template.php would likely be the place to have a look. That's the equivalent of your screen shot anyway. You'll see from here how the "new" image gets generated:
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
You could apply something similar to the entire row which is just a line above that.
Lainaus käyttäjältä: mashby - toukokuu 22, 2011, 11:16:30 AP
So you want the rows for New topics/replies to be a different color? I think that's what your screen shot is indicating. The MessageIndex.template.php would likely be the place to have a look. That's the equivalent of your screen shot anyway. You'll see from here how the "new" image gets generated:
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
You could apply something similar to the entire row which is just a line above that.
OK so is that PHP I have to edit? in the Ubb.threads forum its just CSS. I'll have to learn PHP it looks like.
Maybe UBB has some built-in feature then? And yes, the display of the rows is certainly CSS, but the logic to apply it is within the PHP file.
It is a built in feature - all you have to do is modify the css.
Also, where can I change this image?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.crudebehaviour.com%2Fforum%2FThemes%2FCurve_Minimal_Multicolor_RC5%2Fimages%2Ftopic%2Fmy_hot_post.gif&hash=98c736b04c9b5e82987b14e62a86dcfd064e35fa)
Using FTP, overwrite that image with a file of the same name and format (GIF). Should do the trick.
Per the highlighted rows, you could ask in this board for one (http://www.simplemachines.org/community/index.php?board=79.0).
Lainaus käyttäjältä: MrCrude - toukokuu 22, 2011, 11:10:27 AP
When there are new postings, the rows turn to a different color at the top. Is this possible with SMF?
What theme are you using?
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 12:06:04 IP
Lainaus käyttäjältä: MrCrude - toukokuu 22, 2011, 11:10:27 AP
When there are new postings, the rows turn to a different color at the top. Is this possible with SMF?
What theme are you using?
BAD COMPANY
Yes
Currently, lines don't have one color, topic name, number of replies and times read have the same color, depending on sticky, locked or normal, other cells have a default color.
What is it exact that you want? Do you want to keep all those different colors or don't you care about sticky etc?
Also, I'd like to have a link to your forum.
Lainaus käyttäjältä: MrCrude - toukokuu 22, 2011, 01:04:59 IP
sent via PM thx
Ok, and what about this question?
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 12:46:27 IP
Currently, lines don't have one color, topic name, number of replies and times read have the same color, depending on sticky, locked or normal, other cells have a default color.
What is it exact that you want? Do you want to keep all those different colors or don't you care about sticky etc?
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 01:19:09 IP
Lainaus käyttäjältä: MrCrude - toukokuu 22, 2011, 01:04:59 IP
sent via PM thx
Ok, and what about this question?
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 12:46:27 IP
Currently, lines don't have one color, topic name, number of replies and times read have the same color, depending on sticky, locked or normal, other cells have a default color.
What is it exact that you want? Do you want to keep all those different colors or don't you care about sticky etc?
I want a new "hot topic" to turn a darker color and the next hot topic alternates to a similiar color. If you look at the surfer mag forums, you can see how this works. When the topic dies out after interest, they go back to being a lighter color. The link is posted above. I think this gives more life to a forum. ;) Its also cool how the subjects go bold too like in the stickies.
I'm not sure if this helps, but here is the CSS from their forums on how this works.
}
.lighttable {
background: #EAF4F4;
color: #000000;
}
.darktable {
background: #D0E8E8;
color: #000000;
}
.newlighttable {
background: #418383;
font-weight: bold;
color: #FFFFFF;
}
.newdarktable {
background: #214141;
font-weight: bold;
color: #FFFFFF;
I understand what you want, but that doesn't answer my question completely. What I need to no, do you still want to see any difference between sticky and normal postings, and do you want the entire line to be the same color? Default (also in your MessageIndex), the cells on one line have different colors. The most easy solution is to have lines only one color. If you want to keep current alternation also, that is possible but abit more difficult.
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 02:37:44 IP
I understand what you want, but that doesn't answer my question completely. What I need to no, do you still want to see any difference between sticky and normal postings, and do you want the entire line to be the same color? Default (also in your MessageIndex), the cells on one line have different colors. The most easy solution is to have lines only one color. If you want to keep current alternation also, that is possible but abit more difficult.
sticky should be the same as the rest of the normal forum postings, and the entire line should be the same color. Alternation is key. :D
man lots of captchas in these forums
Try this one.
You have to edit the CSS yourself.
I haven't tested it yourself (so backup the old one!), but it should offer you 3 classes :
.normal_topic
{
background-color: blue;
}
.hot_topic
{
background-color: yellow;
}
.veryhot_topic
{
background-color: red;
}
Or ofcourse, other colors.
thx mang I'll try it out
what method do you use to find code? I'm using the web developer firefox plug-in but man does it suck :laugh:
Lainaus käyttäjältä: HunterP - toukokuu 22, 2011, 03:35:18 IP
Try this one.
You have to edit the CSS yourself.
I haven't tested it yourself (so backup the old one!), but it should offer you 3 classes :
.normal_topic
{
background-color: blue;
}
.hot_topic
{
background-color: yellow;
}
.veryhot_topic
{
background-color: red;
}
Or ofcourse, other colors.
hmmmmm I can't seem to find those tags anywhere
You were supposed to add them yourself, but I added them for you in this attachment.
thanks mang :laugh:
Hi MrCrude, are we ready to mark this solved or is there something you still need help with? :)