vb.org Archive

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

wobbly 01-19-2009 01:21 PM

New Posts
 
I've searched the forums but can't seem to find what I want to know.

What I want is to be able to do is stop my hidden forums from showing in the New Posts page.

Is this possible?

Marco van Herwaarden 01-19-2009 01:33 PM

They should not show if the user doesn't have permission to them. But what do you call "New Posts page"? The new posts link in the navbar?

wobbly 01-21-2009 11:03 AM

Yes.

What I have is a forum that is not shown on the forum home and would like to omit it from the new posts page so any new posts on this forum don't show. I want this forum to be freely available for all to view but for it to be seperate and available via a link only.

Is this possible without making it a user class?

Lynne 01-21-2009 02:13 PM

To exclude forums in the New Posts button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the New Posts url... ie. "/forums/search.php?do=getnew&exclude=xx" This would be in the navbar. I think it occurs in a couple of places there.

wobbly 01-21-2009 06:24 PM

Thanks for the replies and help.

Code:

if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>

Is this what I need to edit in navbar?

And if so how do I edit the line without buggering up the code?

<td class="vbmenu_control"><a href="search.php?&exclude=xx,yy,zz$session[sessionurl]do=getnew " ??????

Lynne 01-21-2009 07:19 PM

I said to add it to the end of the url, not the middle:

HTML Code:

search.php?$session[sessionurl]do=getnew&exclude=xx,yy,zz

wobbly 01-21-2009 09:48 PM

Sorry for being a muppet :(

Lynne 01-21-2009 10:09 PM

I like muppets. :D

wobbly 01-21-2009 11:38 PM

Hehehe, many thanks Lynne.

Dismounted 01-22-2009 02:53 AM

You should also use "&amp;" in place of "&" in the URL. :)
Code:

search.php?$session[sessionurl]do=getnew&amp;exclude=xx,yy,zz


All times are GMT. The time now is 03:48 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.00990 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_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
  • (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