vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Unanswered Threads Hack v1.3 (https://vborg.vbsupport.ru/showthread.php?t=63008)

SaN-DeeP 03-27-2004 11:28 PM

nice hack. i will love to install it :)

thnx :)

Boofo 03-27-2004 11:35 PM

Please, don't forget the install button, Sandy. When you install it, that is. ;)

Fi_InCogNiTo 03-28-2004 01:55 AM

Very nice hack.
*Clicks Install

Boofo 03-28-2004 04:39 AM

Quote:

Originally Posted by Oblivion Knight
Here's how I have it set up..
Bare in mind though, i've done it for each forum individually. As the instructions mention, you add the code to the template where you want to, I just thought the Forum Tools was a good place for it.

If you'll send me the code in a pm for adding it to the forum tools, I'll add it to the hack (for yet another option) and give you full credit for the addition. ;)

Oblivion Knight 03-28-2004 08:02 AM

Quote:

Originally Posted by Boofo
If you'll send me the code in a pm for adding it to the forum tools, I'll add it to the hack (for yet another option) and give you full credit for the addition. ;)

You've got mail.. :)
I've also given you the code to set up the board-wide link in the navbar via Quick Links.

Mone' 03-29-2004 02:44 AM

Great hack Boofo Installed and working perfectly :)

I changed the location of the search button to show in forumhome in the dhtml search box , see screen shot.

Just posting the code here in case other users would like to use it.

Edit the following template: Navigation / Breadcrumb Templates > navbar

look for:

Code:

<tr>
<td class="vbmenu_option">
<a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a>
</td>
</tr>


Below that code add:

Code:

<tr>
<td class="vbmenu_option">
<if condition="in_array($bbuserinfo['usergroupid'], array(5, 6, 7))">
<div class="smallfont">
<a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Unanswered Threads</a>
</div>
</if></td>
                </tr>

Done :)

Boofo 03-29-2004 02:55 AM

Nice touch. I'll add this to the install file and credit you for it. ;)

msimplay 03-29-2004 05:44 PM

Quote:

Originally Posted by Oblivion Knight
Here's how I have it set up..
Bare in mind though, i've done it for each forum individually. As the instructions mention, you add the code to the template where you want to, I just thought the Forum Tools was a good place for it.

what template is that in ?
i want to do the same

Oblivion Knight 03-29-2004 07:46 PM

Quote:

Originally Posted by msimplay
what template is that in ?
i want to do the same

Boofo's supposed to be adding it to the instructions, but here it is anyway.. ;)

In forumdisplay, find:

Code:

        <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]">$vbphrase[view_parent_forum]</a></td></tr>
Add below:

Code:

        <if condition="in_array($bbuserinfo['usergroupid'], array(5, 6, 7))"><tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1&forumchoice[]=$forumid">View Unanswered Threads</a></td></tr></if>

msimplay 03-29-2004 08:21 PM

Quote:

Originally Posted by Oblivion Knight
Boofo's supposed to be adding it to the instructions, but here it is anyway.. ;)

thank you that worked great :D


All times are GMT. The time now is 12:45 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.02510 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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