PDA

View Full Version : Mini Mods - Add new phrase to unread topics


yilmaz
12-01-2020, 10:00 PM
Description:
Adding "NEW" icon on unread topics as I mentioned in the topic


How to install:
If you add the following CSS code to the css_additional.css template of the style you are using, it will look like the screenshot.


tr.topic-item.unread.js-topic-item .js-topic-title:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}

If you installed this mod and/or you want get support, please "Mark as Installed".

for vb4.2.x https://vborg.vbsupport.ru/showpost.php?p=2606414&postcount=16

USC
12-02-2020, 11:53 PM
hey bro .. i added the code but "New" is not showing up ?

yilmaz
12-03-2020, 04:52 AM
hey bro .. i added the code but "New" is not showing up ?
New icon will appear if there are unread posts for you.

USC
12-05-2020, 02:59 PM
New icon will appear if there are unread posts for you.

thank you bro ..working perfectly ..

Chicoynano
12-13-2020, 06:47 PM
Dear I can't get it to work in 5.5.5 any suggestion

yilmaz
12-13-2020, 10:52 PM
Dear I can't get it to work in 5.5.5 any suggestion

This is how it works in version 5.5.5



tr.topic-item.unread.js-topic-item .js-topic-title:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}



https://vborg.vbsupport.ru/attachment.php?attachmentid=158180&stc=1&d=1607907299

If you installed this mod and/or you want get support, please "Mark as Installed".

ahmed85
12-14-2020, 06:42 AM
work great, thank you

Chicoynano
12-14-2020, 04:31 PM
Now if perfect thanks

tahir436
01-06-2021, 11:42 AM
Thanks man working like a charm

DamasGate
02-22-2021, 07:26 AM
Great and wonderful addition.

Thank you very much, Loved ❤ .

carmine3838
02-22-2021, 09:08 AM
for 4.2.5 does it work?

shka
02-22-2021, 09:26 AM
for 4.2.5 does it work?

You can try it with .threadtitle_unread:after {
instead of tr.topic-item.unread.js-topic-item .js-topic-title:after {

eroyka
02-22-2021, 12:46 PM
On vbulletin 5.6.4 it work perfectly!
Thanks!!

www.energeticambiente.it

carmine3838
02-22-2021, 02:31 PM
nothing doesn't work sin

puertoblack2003
02-22-2021, 03:15 PM
hey yilmaz, can you do a vb3 version? thx

yilmaz
02-22-2021, 03:26 PM
for 4.2.5 does it work?
for vb4.2.x

/* For threadbit */
li.threadbit.new h3.threadtitle:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}
/* For Search Results */
li.threadbit.new h3.searchtitle:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}

carmine3838
02-22-2021, 03:27 PM
thank you my friend i try it right away

yilmaz
02-22-2021, 03:40 PM
thank you my friend i try it right away

I've seen it work:up:

For search results

/* For Search Results */
li.threadbit.new h3.searchtitle:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}

carmine3838
02-22-2021, 04:34 PM
great works thank you

cirdok2
07-07-2021, 11:08 PM
is there any way to add an icon to the post that have been subscribed? Same concept, but subscribed post rather than new posts.

Please PM me if you can help, I also have a couple of other small changes (and willing to pay for that). Thanks!

OPD
05-28-2023, 09:33 AM
unfortunately in vbulletin 5.7.4 the writing unread and not New appears to me