巴迪preSS字preSS活动过滤器选项 [英] Buddypress for wordpress activity filter options

查看:205
本文介绍了巴迪preSS字preSS活动过滤器选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也问过的好友preSS论坛的几个问题,但我从来没有得到任何形式的回应或帮助的。我似乎总是得到一个有效的深思熟虑的回答对计算器的社区,所以我张贴我的问题也在这里。这是我原来的职位给好友preSS论坛,没有人回答。似乎是一个很好的问题,一些开发很容易回答。也许有人在这里有一定的经验和指导,可以在正确的方向指向我。

I have asked several questions on the buddypress forum but I never get any sort of response or help. I seem to always get a valid well thought out answer on the stackoverflow community, so I am posting my question here too. Here is my original post to the buddypress forum that no one has answered. Seems like a good question that some dev could answer easily. maybe someone here has some experience or guidance and can point me in the right direction.

嘿,我想知道,我发现这个网页<一个href="http://$c$cx.buddy$p$pss.org/developer-docs/custom-buddy$p$pss-loops/the-activity-stream-loop/" rel="nofollow">http://$c$cx.buddy$p$pss.org/developer-docs/custom-buddy$p$pss-loops/the-activity-stream-loop/在编辑活动流回路的一些信息过滤的主要活动墙,但我真的还是困惑,因为它似乎并不像所有可用的选项都在这里列出。例如下是正确的,它说,如果(bp_has_activities(类型=状态')):

Hey, i was wondering I found this webpage http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ on editing the activity stream loop with some information on filtering the main activity wall but I am really still confused because It doesn’t seem like all the available options are listed here. For example right under it it says if ( bp_has_activities( ‘type=status’) ) :

好类型=状态'是没有在那里上市这个页面上,我知道有一些还没有上市提供了一些其他的选择。所以我的问题是什么,我在哪里可以找到所有用于过滤的可用选项。我设置了一些自定义的选项,如我的网站,我喜欢一些帮助。我熟悉PHP的,所以如果有一个文件,我可以看一下那我很想知道这件事了。

Well ‘type=status’ is no where listed on this page and I know there are several other options available that are also not listed. So my question is what and where can I find all the available options for filtering. I am setting up some custom options for my site and I would love some help. I am familiar with php so if there is a file i can look at then I would love to know about it too.

请指教谢谢,

推荐答案

所有的过滤器,并接受参数是在<一个href="http://$c$cx.buddy$p$pss.org/developer-docs/custom-buddy$p$pss-loops/the-activity-stream-loop/"相对=nofollow>页,你引用(只是向下滚动它一点点)。出于某种原因,在他们使用的例子键入=状态当它应该是对象=状态因为这是正确的做法过滤仅供状态更新。

All the filters and accepted parameters are on the page you referenced (just scroll down it a little bit). For some reason in the example they use type=status when it should be object=status as that is the correct way to filter for status updates only.

您可以随时看看在实际功能本身,查看所接受的参数。巴迪preSS是更好的记录在code比在他们的网站。

You can always take a look at the actual function itself to see accepted parameters. Buddypress is much better documented in the code than on their website.

这篇关于巴迪preSS字preSS活动过滤器选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆