Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2006, 06:18 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default turn off get new posts per forum...

Hi peeps

I know there is a hack for this but what i am wanting to do is
permenatly turn off a couple of sections, I have a RSS news and a Google Alerts
and its a bit much when the members have to troll through the the news to get to the normal posts....

Is there away to permenantly do this please?
Reply With Quote
  #2  
Old 05-21-2006, 06:53 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YES! I am also looking for this as well as the option to discretely search such a forum as well (show new post for this forum) option.

Pleas someone look into this.
Reply With Quote
  #3  
Old 05-21-2006, 06:57 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one is a user selectable one, which is controlled via the usercp.

https://vborg.vbsupport.ru/showthread.php?t=91025
Reply With Quote
  #4  
Old 05-21-2006, 07:06 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
This one is a user selectable one, which is controlled via the usercp.

https://vborg.vbsupport.ru/showthread.php?t=91025
Thanks I saw this however is it still possible to search new posts in that forum only afterwards? I want to make a drop down in the forum section header so users can forgo the new posts for that forum, however if they wish they can descretely get all new posts for the said forum if they wanted to.
Reply With Quote
  #5  
Old 05-21-2006, 07:12 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this one stops all new posts from that forum, but then if they want to search it at any point, they can remove it from the block list in the ACP and then it will show in the searches.
Reply With Quote
  #6  
Old 05-21-2006, 07:14 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah to bad there is no overide it would of been perfect!
well I know you were answering the initial post but thanks anyways.
Reply With Quote
  #7  
Old 05-21-2006, 07:34 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah this is a shame thanks Peterska, Love the new name colour not sure what it means mind lol

Its a shame we can sepcifically opt out 1 or more forums as standard so that the user can deslect it should they wish...

Oh well thanks anyway peeps
Reply With Quote
  #8  
Old 05-21-2006, 07:50 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll have a think Bashy as I'm sure there is another way of doing it.

(BTW, I'm staff now )

Ok here we go

Code:
search.php?do=getnew&exclude=X,Y
Replace the X and Y with the forumid numbers that you wish to exclude from your search. You can add more id's by just seperating them with commas.

To add this to your current navbar

find

Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
replace with

Code:
<td id="navbar_search_new" class="vbmenu_control"><a href="search.php?$session[sessionurl_q]do=getnew&exclude=X,Y" accesskey="4" rel="nofollow">$vbphrase[new_posts_nav]</a> <script type="text/javascript"> vbmenu_register("navbar_search_new"); </script></td>
making sure you make the X and Y replacements.

find
Code:
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
above add

Code:
	<div class="vbmenu_popup" id="navbar_search_new_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
<td class="vbmenu_popup"><a href="search.php?$session[sessionurl_q]do=getnew&exclude=X,Y" accesskey="4" rel="nofollow">Limited Search</a></td>
</tr>
<tr>
<td class="vbmenu_popup"><a href="search.php?$session[sessionurl_q]do=getnew" accesskey="4" rel="nofollow">$vbphrase[new_posts_nav]</a></td>
</tr>
</table>
</div>
Reply With Quote
  #9  
Old 05-21-2006, 08:16 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks peterska2....

Although i i have the have for the get new posts, by days, hours, minutes and so on
I aint too sure about where to add this to it...
On another note, I also have the hack that shows in the navbar that says

Welcome, Bashy.
You last visited: 27 Minutes Ago at 09:48 AM
3 New Posts since your last visit.

Its this 1 that shows up the all the posts from all sections and its this one that
the members have complained about showing the 200 posts from the news section lol

I aint 100% sure on adding your code to said hack
Reply With Quote
  #10  
Old 05-21-2006, 08:26 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok in your navbar find the code for the new posts dropdown menu, and add the &excludeX,Y to the end of all the links in that section then add this to the very bottom of that code, just above </table>
Code:
<tr>
<td class="vbmenu_popup"><a href="search.php?$session[sessionurl_q]do=getnew" accesskey="4" rel="nofollow">All new posts</a></td>
</tr>
Also in your navbar find the search code near
Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
and again add the &excludeX,Y to the end of this.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07: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.04161 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete