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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2009, 11:35 PM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default RSS Threads, not showing them as new posts.

I have some RSS feeds that are posted as threads. I would like to set them so that they don't show in the "New Posts" list. Is this possible?
Reply With Quote
  #2  
Old 01-10-2009, 11:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have them going to their own forum? If so, then 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" in your navbar template (or wherever you have your navbar links).
Reply With Quote
  #3  
Old 01-10-2009, 11:52 PM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Do you have them going to their own forum? If so, then 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" in your navbar template (or wherever you have your navbar links).
Wow Lynne, that was a quick answer! Thank you!

I'm pretty new at vB. I do have them going to their own forums.

Where do I find the location of where to exclude them? I'm not far enough along to understand where the New Posts button is or the New Posts URL.

Is there a procedure explained in the manual?

Thanks for your help!

EDIT: I think I can find the nav bar template. I'll see if I can find the string you've mentioned. I'll edit again with my results.

No, I couldn't find the navbar template. I haven't modified it, so it should be wherever it is in the stock 3.7.4 version.

Can you give me some directions? I'm such a newbie....

--------------- Added [DATE]1231641974[/DATE] at [TIME]1231641974[/TIME] ---------------

I did find what I think is the correct template. In the navbar template, I found two strings that were similar to what you mentioned. Am I in the correct place?

<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>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
Reply With Quote
  #4  
Old 01-11-2009, 01:03 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want to change both of those instances of the search to:

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

where x is the forumid of the forum the rss feed threads are located. Get the forumid in Forums & Mods > Forum Manager > find the forum > hover over it and see f=x or click to edit and find the id at the top of the page.
Reply With Quote
  #5  
Old 01-11-2009, 01:12 AM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You want to change both of those instances of the search to:

"search.php?$session[sessionurl]do=getnew&exclude=xx,xx,xx,xx,xx"
The quotes would go where I've put them?

Thanks! I can't believe I found the correct strings! Lucky
Reply With Quote
  #6  
Old 01-11-2009, 03:59 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the quotes would go around that whole link as you've shown above.

And, actually, even though what I wrote will work, it is probably better to replace the & with &amp; so....

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

(I need to get myself into the habit of doing that!)
Reply With Quote
  #7  
Old 01-11-2009, 12:03 PM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Yes, the quotes would go around that whole link as you've shown above.

And, actually, even though what I wrote will work, it is probably better to replace the & with &amp; so....

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

(I need to get myself into the habit of doing that!)
****EDIT:I also found two *do=getdailey* instances within the navbar code that I added the same alterations to. That kept the *Quick Links* "Today's Posts" from showing the same forums. It worked, however, when there are no no posts, a message box appears with the text "You may search for threads updated during the previous 24 hours, here." and the "here" link shows the same "do=getnew" code. I couldn't find where to change it.

Can you tell me where the "do=getnew" code is for that instance?

*****

Thank you again Lynne. You've been a great help to me. I'm sorry I didn't answer last night. I'm an old guy and it was way past my bedtime . I'm going to go in and try that right this moment.

In case anyone wishes to know why I would want to do this, it's because I have a group that is primarily forums for member posts. I have 300 posting forums so far, for that. The newspaper RSS feeds are for two reasons; first, to expand my SEO presence. Secondly, to give the members something to do until there is enough postings to interest them. None of the news feed forums allow posting. They are read only. That's why I don't want to show them in the "New Posts" results. It's obvious where they are, and seeing several hundred new RSS posts every day would make seeing the human posts more difficult.

The group is brand new and as a result, quite empty. If you'd like to look over what I've done, check out www.cityfactnow.com and you'll see how I've arranged the format. Join if you don't mind the echos....

A million thanks, Lynne!
Reply With Quote
  #8  
Old 01-11-2009, 04:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To find the "You may search for threads..." phrase, do a Search in Phrases and put in "You may search for threads" and the phrase will come up and you may edit it.

Your link to your forum isn't working right now.
Reply With Quote
  #9  
Old 01-11-2009, 05:03 PM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
To find the "You may search for threads..." phrase, do a Search in Phrases and put in "You may search for threads" and the phrase will come up and you may edit it.

Your link to your forum isn't working right now.
If I understand, in the phrases, it'll give me a way to exclude the forums I wish to as the templates did? Yikes, that's the first time I'll be in there...

(I misspelled my own site name....what a shame! I fixed it! The link will work now. )
Reply With Quote
  #10  
Old 01-11-2009, 05:05 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, try the same edit to the link in the phrases that you did for the template. I think it will work, but I guess you can test it and see.

edit: Nice forum. When you get more comfortable with vbulletin, it might be fun to change the banner based on what 'city' you are in. Find an image of the skyline for each city and incorporate that. Just a thought.
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 09:24 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.04100 seconds
  • Memory Usage 2,253KB
  • 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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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