MyBB Support

How can i add this to mybb?

Submitted by redd, , Thread ID: 22493

Thread Closed
redd
Active Member
Level:
0
Reputation:
-1
Posts:
363
Likes:
9
Credits:
60
24-07-2016, 06:59 PM
#1
I want that if there are new posts in a section it will show like this.

[Image: 277653d05caa36d7c5c490bb60a671f4.png]

The new posts tag itself is what i made in cssreal quick. but i want when new posts are posted in the section to show this tag any idea how i can implant this?

RE: How can i add this to mybb?

GamesPuff
I <3 Dabs
Prime
Level:
0
Reputation:
21
Posts:
275
Likes:
17
Credits:
13
24-07-2016, 10:45 PM
#2
24-07-2016, 06:59 PM
redd Wrote:
I want that if there are new posts in a section it will show like this.

[Image: 277653d05caa36d7c5c490bb60a671f4.png]

The new posts tag itself is what i made in cssreal quick. but i want when new posts are posted in the section to show this tag any idea how i can implant this?

I cant remember the template atm but i have this when i find it il post
[Image: pcX8d00.gif]
Thanks for you're contribution! : PenguinGuy
[Image: pcX8d00.gif]

RE: How can i add this to mybb?

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
24-07-2016, 10:53 PM
#3
forumbit_depth2_forum

Code:
<span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>


CSS:

Code:
.forum_on {
  padding: 2px 4px;
  color: #fff;
  font-size: 11px;
}

.forum_on:before {
  content: "\New";
}

Didn't try it out :>

RE: How can i add this to mybb?

GamesPuff
I <3 Dabs
Prime
Level:
0
Reputation:
21
Posts:
275
Likes:
17
Credits:
13
24-07-2016, 10:58 PM
#4
Aoki's should work gl let me know if it doesnt
[Image: pcX8d00.gif]
Thanks for you're contribution! : PenguinGuy
[Image: pcX8d00.gif]

RE: How can i add this to mybb?

redd
Active Member
Level:
0
Reputation:
-1
Posts:
363
Likes:
9
Credits:
60
OP
24-07-2016, 11:02 PM
This post was last modified: 24-07-2016, 11:05 PM by redd
#5
24-07-2016, 10:53 PM
Aoki Wrote:
forumbit_depth2_forum

Code:
<span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>


CSS:

Code:
.forum_on {
  padding: 2px 4px;
  color: #fff;
  font-size: 11px;
}

.forum_on:before {
  content: "\New";
}

Didn't try it out :>
Any way i could still keep the ficons?

24-07-2016, 10:58 PM
GamesPuff Wrote:
Aoki's should work gl let me know if it doesnt

It doesntit shows in front of the section where the ficons were. But not like in the pic

RE: How can i add this to mybb?

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
24-07-2016, 11:05 PM
#6
24-07-2016, 11:02 PM
redd Wrote:
Any way i could still keep the ficons?

I assume your ficons use the same classes and therefore they're not working anymore.

Just replace the code I gave you with:

Code:
<span class="forumstatus_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>

Code:
.forumstatus_on {
padding: 2px 4px;
color: #fff;
font-size: 11px;
}

.forumstatus_on:before {
content: "\New";
}

This should work.

RE: How can i add this to mybb?

GamesPuff
I <3 Dabs
Prime
Level:
0
Reputation:
21
Posts:
275
Likes:
17
Credits:
13
24-07-2016, 11:09 PM
#7
24-07-2016, 11:02 PM
redd Wrote:
24-07-2016, 10:53 PM
Aoki Wrote:
forumbit_depth2_forum

Code:
<span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>


CSS:

Code:
.forum_on {
  padding: 2px 4px;
  color: #fff;
  font-size: 11px;
}

.forum_on:before {
  content: "\New";
}

Didn't try it out :>
Any way i could still keep the ficons?

24-07-2016, 10:58 PM
GamesPuff Wrote:
Aoki's should work gl let me know if it doesnt

It doesntit shows in front of the section where the ficons were. But not like in the pic



PM me your skype and il help its just faster
[Image: pcX8d00.gif]
Thanks for you're contribution! : PenguinGuy
[Image: pcX8d00.gif]

RE: How can i add this to mybb?

redd
Active Member
Level:
0
Reputation:
-1
Posts:
363
Likes:
9
Credits:
60
OP
24-07-2016, 11:10 PM
#8
24-07-2016, 11:05 PM
Aoki Wrote:
24-07-2016, 11:02 PM
redd Wrote:
Any way i could still keep the ficons?

I assume your ficons use the same classes and therefore they're not working anymore.

Just replace the code I gave you with:

Code:
<span class="forumstatus_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>

Code:
.forumstatus_on {
padding: 2px 4px;
color: #fff;
font-size: 11px;
}

.forumstatus_on:before {
content: "\New";
}

This should work.

This just removed the ficons and is not showing new or anything :(

RE: How can i add this to mybb?

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
24-07-2016, 11:12 PM
#9
24-07-2016, 11:10 PM
redd Wrote:
This just removed the ficons and is not showing new or anything :(

Then you've done something wrong. Not going to spoonfeed you, so try it out yourself. The code is working fine.

RE: How can i add this to mybb?

fdigl
the actual smol girl ?
Õ░åµØÑÒü«Þ¿╝õ║║
Level:
3
Reputation:
253
Posts:
3.44K
Likes:
652
Credits:
3.7K
25-07-2016, 02:21 AM
#10
24-07-2016, 11:12 PM
Aoki Wrote:
24-07-2016, 11:10 PM
redd Wrote:
This just removed the ficons and is not showing new or anything :(

Then you've done something wrong. Not going to spoonfeed you, so try it out yourself. The code is working fine.

Just confirmed it on a dummy setup. There's something conflicting in your templates or stylesheets, you might want to take a look by inspecting the elements.
| | |Zenith | Senpai | Username | | |

[Image: unknown.png]

Users browsing this thread: 2 Guest(s)