Forum Replies Created
When the activity update is posted, there is the “Cleared by Akismet” text on the right. I think that means it’s working.
Thank you. So to know if akismet works, I will have to wait until the first spam is marked by akismet?
Thanks for the response. I will do that. Just a quick question, after getting the Akismet API kay and installing Akismet, how do I know if Akismet works against activity spams? Is there a way for me to test that?
Thanks for the response ray. I will hook into the filter bp_get_activity_action.
Just one quick question, how do I detect whether the user is using HTTPS or normal HTTP connection? Are there some standard buddypress or wordpress codes to do so?
Just thought it might be a bug, so I also submited the ticket there. Sorry about that.
>>> “I would say generally that whatever the behaviour should be, it ought to be consistent.”
If deletion doesn’t require user confirmation all the time, it is not consistent. Right?
Thank you for the response. Yes, it’s a theme customization issue.The testbp.org doesn’t have a filter for activity comments. I added the following code to the bp-default theme, under the drop down list of filters:
and added “display_comments=stream” to “bp_dtheme_ajax_querystring” so activity comments show up as a separate activity post.
I can see all activity comments by selecting “activity” and the filter “comments”. But the activity comments don’t show under a specific group page.
anyone? sorry about bumping my own post. Just wanted to get some help here. Thanks.
hi ray, thanks for the post. I tried to use hooks in /_inc/ajax.php, but it didn’t seem to work in my case. Here is what I would like to achieve:
When an activity post is DELETED, an image will be automatically updated right below the group admin avatar.
I added some code in /_inc/ajax.php, pass on the new image url by json. In /_inc/global.js, when the “delete_activity” action is fired, the new image url is returned as response. Then show the new image. The code at /_inc/global.js is like: jq(‘#myimage’).attr(“src”, new_image_url);
If it is not recommended to override /_inc/ajax.php, is there a better way to do so? Thanks again.
Mr Brainz, i have just tested it. It works! Thanks again.
Do you happen to know how to override bp-default/_inc/ajax.php in child theme?
thanks for the kind response. that makes sense. I will try your way.
Currently I am customizing bp-default theme to be used for my project. Is the theme buddypress-mobile compatible with bp-default? If it does,it saves me a lot of time. Thanks.
thank you for the kind response. I just tried buddypress quickpress and it didn’t seen to work. Just like what you said, it is out dated. I understand that it takes time. Just can’t wait for your plugin to be available, so we can use it for our project!
If there is no current plugin available, could you please suggest where shall I start? I just wanted to move the blog post feature to the activity update area, probably by adding a new button and a popup window. Users can be confused if they have to go to the dashboard (the wordpress control panel) to create a single post.
Also I have installed the plugin “buddypress groupblog”. Can the same thing be done to a group so group members can post group blog post the same way?
It’s nice to learn that. I guess we will just forget about gMaps for now. Since the schedule of 0.2.6 is not quite set, we will try writing our own codes to implement features including route planing, checkin, and events.
I have been reading gPress source code and get confused sometimes. For me, maybe the best way is to use the hooks, filters and shortcodes of gPress without changing any of the core files. Not quite sure though, I guess we should just add our own codes in the file “custom.php”? What about starting a new plugin? I don’t know if the “place” defined in gPress can be used in my new plugin? I have no idea how the hooks and filters in gPress can be used from outside gPress. Could you help me with the best way to start?
Thank you for the quick response Mark. I really appreciate it. It’s so nice to know that the polygon creation and route-planning will be included in the next version of gPress. Just can’t wait to see it!
I found the code for gMaps 1.0.3. It seems you were one of the developers of gMaps. Here is the link I found:
Has thepremiumpress stopped supporting gMaps?. Between gPress 0.2.5 and gMaps 1.03, which would you recommend? gMaps is richer in features, but I don’t know where to get the most recent gMaps codes.
Thanks again for the help.