vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Having 'New' show up when new posts.. (https://vborg.vbsupport.ru/showthread.php?t=195986)

Sawa Dee SohL 11-11-2008 03:11 PM

Having 'New' show up when new posts..
 
1 Attachment(s)
Basically, I'd like to have 'New posts' show up on the tab - once a new topic is created, or post is in that forum (basically so my members know, someone has posted there since they have)

I've attached what my Tabs look like. - Any suggestions would help a lot.

Thanks

UKBusinessLive 11-11-2008 04:32 PM

Not sure if this would be any good to you but heres a way of turning new unread posts red in the forum home...

In your threadbit find

HTML Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold" </if>>$thread[threadtitle]</a>
replace that with

HTML Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"><if condition="$show['gotonewpost']"><span style="color: red; font-weight:bold;"></if>$thread[threadtitle]<if condition="$show['gotonewpost']"></span></if></a>
Remember to backup your threadbit before changing anything

Not sure about adding the word "New" tho', perhaps a coder might like to shed some light here :erm:

Sawa Dee SohL 11-11-2008 06:39 PM

Awesome ty! - That'll help alot on the sub-forums, that are inside each tab.

Any coders got any ideas / suggestions?

MiSs MeOw 11-24-2008 03:12 AM

Quote:

Originally Posted by UKBusinessLive (Post 1663634)
Not sure if this would be any good to you but heres a way of turning new unread posts red in the forum home...

In your threadbit find

HTML Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold" </if>>$thread[threadtitle]</a>
replace that with

HTML Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"><if condition="$show['gotonewpost']"><span style="color: red; font-weight:bold;"></if>$thread[threadtitle]<if condition="$show['gotonewpost']"></span></if></a>
Remember to backup your threadbit before changing anything

Not sure about adding the word "New" tho', perhaps a coder might like to shed some light here :erm:


thank you so much ive been looking how to do that for ages cheers aye :up:

MiSs MeOw 11-25-2008 10:31 AM

um any idea how to make the forum titles highlight in red indicating new thread post??


All times are GMT. The time now is 03:53 PM.

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.01046 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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