My users are complaining that the RSS feeds are cluttering the convenient "New Posts" search. I looked in the Forum manager setup for each forum and did not find a way to exclude the forum that the posts are sent to either. Am I missing something or is this not something included in vb? Has anyone found a way to exclude the RSS posts?
How to exclude RSS posts from "New Posts" search?
Collapse
X
-
Not sure if it works the same way in 4.0, but I had this working on 3.8.X.
Code:<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew&exclude=x,y" accesskey="2">$vbphrase[new_posts_nav]</a></td>
I drank WHAT?! - Socrates -
Thanks - I have a couple of questions though. I'll search for the teamplate, unless you know and refering to (exclude=x,y) do I enter multiple IDs separated by commas after Exclude= ? or does (x,y) mean something else?WestCoastGearHeads.com vb 4.1.10Comment
-
I wasn't able to find the template... Anyone with vb4.x ever do this?WestCoastGearHeads.com vb 4.1.10Comment
-
I'm still trying to figure it out. I got a little side tracked though with some other things. It would be nice if the answer "magically" appears here, otherwise I'll be back to trying to figure it out after I finish some other stuff.Comment
-
I didn't modify the original search link. I just added another using the code I provided above. That way everyone was happy. Those that didn't want the feeds could search without the forums showing up that contain them, and those that don't care could still use the original link to get everything.I drank WHAT?! - SocratesComment
-
That makes sense... thanks Biker. I'll tinker a bit to figure-out how to add another link using your code.WestCoastGearHeads.com vb 4.1.10Comment
-
We created another button to skip any forum that contains RSS posts, (using the &exclude=X,y option) specifically for two forums that pull news threads from a content provider.To be updated...Comment
-
-
Was the button created in the control panel? I could probably figure-out how to create it with my limited programming skills but, Biker... since you original post mentioned you only had it working in 3.8, I'm not yet sure which template to look in. Since we are in the vb4.x forum, I am hoping ENF is referring to a button "we" created in vb4.xWestCoastGearHeads.com vb 4.1.10Comment
-
This particular option to 'exclude' certain forums can be done by editing your current navbar template. You can also make a button with a modification from vbulletin.org or your own self modification. The following information is related to the default buttons in the basic vBulletin Package.
Example: (AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> Navigation / Bread Crumb Templates -> navbar)
Find these lines in that template:
Code:<a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a> <a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a> <a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a> <a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a> <a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a> <a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a> <a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a>
Code:[COLOR=Blue]<a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew[/COLOR][COLOR=Red]&exclude=5,7[/COLOR][COLOR=Blue]&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}[/COLOR]</a>
Red = New Code Added
I don't have the time right this moment to tell you which each of those lines relates to, but you should be able to figure it out. (As to which button goes to each line...)
Good Luck.To be updated...Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment