vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=259)
-   -   Mini Mods - Add new phrase to unread topics (https://vborg.vbsupport.ru/showthread.php?t=328390)

yilmaz 12-01-2020 10:00 PM

Add new phrase to unread topics
 
1 Attachment(s)
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.

HTML Code:

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....4&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

Quote:

Originally Posted by USC (Post 2604993)
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

Quote:

Originally Posted by yilmaz (Post 2604994)
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

1 Attachment(s)
Quote:

Originally Posted by Chicoynano (Post 2605162)
Dear I can't get it to work in 5.5.5 any suggestion

This is how it works in version 5.5.5

HTML Code:


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/attachmen...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

Quote:

Originally Posted by carmine3838 (Post 2606408)
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

1 Attachment(s)
Quote:

Originally Posted by carmine3838 (Post 2606408)
for 4.2.5 does it work?

for vb4.2.x
HTML Code:

/* 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

1 Attachment(s)
Quote:

Originally Posted by carmine3838 (Post 2606415)
thank you my friend i try it right away

I've seen it work:up:

For search results
HTML Code:

/* 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


All times are GMT. The time now is 06:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01172 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete