vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need help modifying "New Posts" (https://vborg.vbsupport.ru/showthread.php?t=274500)

shibby2 11-23-2011 04:13 AM

Need help modifying "New Posts"
 
Hi, was wondering if someone could help me modify which forums return results to the "New Posts" link in the menu bar?

Basically I want to be able to choose which forums results are taken from, so certain posts from certain forums aren't displayed.

Any help is appreciated! :)

Lynne 11-23-2011 05:22 PM

Have you tried just adding "&include=x,y,z" or "&exclude=a,b,c" to the end of the search url?

shibby2 11-23-2011 07:48 PM

No, I havent...Im not exactly good with any of this. lmao


So what would I do exactly (be thorough)? :D

Lynne 11-24-2011 03:55 AM

You would edit the template and try adding that to the end of the URL. I'd test it first on your site though.

shibby2 11-27-2011 07:23 AM

Which template exactly? search.php?

Lynne 11-27-2011 04:23 PM

I would guess the navbar template - isn't that the link you are talking about?

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)


All times are GMT. The time now is 11:24 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.01051 seconds
  • Memory Usage 1,709KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (6)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