Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Template Modifications

Reply
 
Thread Tools
Add new phrase to unread topics Details »»
Add new phrase to unread topics
Version: 1.0.0, by yilmaz yilmaz is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 5.5.5 Rating:
Released: 12-01-2020 Last Update: Never Installs: 18
Supported Template Edits
 

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

Screenshots

File Type: png screenshot-vb5.ozbeceriksizler.co-2020.12.02-23_07_55.png (51.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-22-2021, 09:08 AM
carmine3838's Avatar
carmine3838 carmine3838 is offline
 
Join Date: May 2009
Location: napoli
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for 4.2.5 does it work?
Reply With Quote
  #13  
Old 02-22-2021, 09:26 AM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carmine3838 View Post
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 {
Reply With Quote
  #14  
Old 02-22-2021, 12:46 PM
eroyka eroyka is offline
 
Join Date: Apr 2008
Location: Pisa
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On vbulletin 5.6.4 it work perfectly!
Thanks!!

www.energeticambiente.it
Reply With Quote
  #15  
Old 02-22-2021, 02:31 PM
carmine3838's Avatar
carmine3838 carmine3838 is offline
 
Join Date: May 2009
Location: napoli
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing doesn't work sin
Reply With Quote
  #16  
Old 02-22-2021, 03:15 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey yilmaz, can you do a vb3 version? thx
Reply With Quote
  #17  
Old 02-22-2021, 03:26 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carmine3838 View Post
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;
}
Attached Images
File Type: png screenshot-www.yilmaztv.com-2021.02.22-18_25_28.png (47.5 KB, 0 views)
Reply With Quote
  #18  
Old 02-22-2021, 03:27 PM
carmine3838's Avatar
carmine3838 carmine3838 is offline
 
Join Date: May 2009
Location: napoli
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you my friend i try it right away
Reply With Quote
  #19  
Old 02-22-2021, 03:40 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carmine3838 View Post
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;
}
Reply With Quote
Благодарность от:
carmine3838
  #20  
Old 02-22-2021, 04:34 PM
carmine3838's Avatar
carmine3838 carmine3838 is offline
 
Join Date: May 2009
Location: napoli
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great works thank you
Reply With Quote
  #21  
Old 07-07-2021, 11:08 PM
cirdok2 cirdok2 is offline
 
Join Date: Feb 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11518 seconds
  • Memory Usage 2,333KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete