vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding 'New' next to threadtitle (https://vborg.vbsupport.ru/showthread.php?t=210725)

Powlo 04-09-2009 02:55 AM

Adding 'New' next to threadtitle
 
Anyone know a way of having 'New' next to a new thread title?

I'm doing away with the statusicons but i still wish to have an image if the thread is new so it would look like this

New Thread Title New

'New' would be an image.

Lynne 04-09-2009 01:43 PM

You'll probably need to a plugin to define whether the thread is 'new' or not (look at the users last time online versus the postdate of the thread?). Then you can use the output from that to put the image in your threadbit.

Powlo 04-09-2009 08:34 PM

Good thinking, thanks ;)

TimberFloorAu 04-09-2009 08:42 PM

Why not just use the status icons.

But customize them.

in edit forum, look for image prefix.

change to lets say new_

then create a graphic called new_forum_new.gif
and one called new_forum_old.gif

Then upload those two images to forum/styles/yourstyle/statusicon/ folder

Then just repeat for each forum, with either same prefix or a new prefix.

We use it on our forums, but with different images.

Ste

Powlo 04-09-2009 09:07 PM

i thought about that but wont it show up if there is a new post within the thread when i just want it to show when there is a new thread?

TimberFloorAu 04-09-2009 09:21 PM

Yep sorry.

Misinterpreted your initial request.

Perhaps you could invoke a new column in thread view, and add a specific graphic to that.

Ste

Powlo 04-09-2009 09:25 PM

its calling the graphic thats the problem.

TimberFloorAu 04-09-2009 09:37 PM

Yes I can Imagine.

Wouldnt it be called via showthread_list

then phrase it.

Powlo 04-09-2009 09:44 PM

umm i not sure i understand what you mean,

TimberFloorAu 04-09-2009 09:53 PM

AFAIK Showthread_list displays all the threads within a particular forum.

So if you were to add a new column, with a trigger graphic in each thread row, that was either NEW or OLD that would solve your issue wouldnt it.

Its beyond my skills, Im just thinking out loud lol.


All times are GMT. The time now is 09:07 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.01998 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete