vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   New Post Status Icon links to Getnew for that forum. (https://vborg.vbsupport.ru/showthread.php?t=104993)

lazyseller 01-12-2006 02:04 PM

I see it now... Nice addition

kregger 01-24-2006 08:41 PM

Doesn't work if the forum just has sub-forums. Any fix for that?

Craig

jeddah_eyes 01-25-2006 03:59 AM

thanks man .

it a geniss way .

Wayne Luke 01-25-2006 03:26 PM

Quote:

Originally Posted by kregger
Doesn't work if the forum just has sub-forums. Any fix for that?

Craig

Try this:
HTML Code:

        <if condition="$forum[statusicon]=='new'">
        <a href="search.php?do=getnew&include=$forum[forumid]&childforums=1"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></a>
        <else />
        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></a>
        </if>


oldford 01-31-2006 10:47 PM

Great little add on. Thanks!

Is there any way to do something similar and combine the "status icon" with the "go to first new post icon"?

beernuts 02-08-2006 07:59 AM

Great mod Wayne!

If it's not too much trouble, could you point me towards the templates to modify to add this hack to sub forum listings in forum displays, as well as to the sub-forum icons on the main forum page?

Thanks much,

-Nick

dcarr 02-09-2006 12:31 AM

This was very helpful, thank you.

Oblivion Knight 02-20-2006 09:54 PM

This definately should be considered as a standard feature option for future versions of vBulletin.. I hadn't even thought of doing this until coming across this mod!

Many thanks, Wayne.

Thomas P 06-21-2006 11:47 PM

Nice :)


All times are GMT. The time now is 10:28 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.01104 seconds
  • Memory Usage 1,730KB
  • 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)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (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
  • (9)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