Forum Replies Created
@espellcaste thanks for the response. No, I don’t want to transfer the activity in a group to the user activity. I need to recreate a new “history” activity post using any text. Sorry I might got people confused by saying group description, even though it’s what I want to use for the activity text.
@modemlooper thanks, but I don’t want to recreate the group creation notice, I need to create a new activity update. Forget about the group thing, do you happen to know how I can do that? Think about it this way, if a user deleted one of his activity post (posted 4 weeks and 3 days ago), how do I recreate one for him?
@modemlooper thank you for the response. No, I don’t need to turn group activity into user activity. Just want to manually create activity posts for users using the groups they created (using the group description). Never mind the group stuff, I can copy the group content myself.
So maybe it’s better to put my question this way:
How do I manually create an activity update for a specific user and keep it at the right place in the activity loop?
For example, I need to create an activity update for user “tony”, and when it shows on the activity loop, it says “tony posted an update 4 weeks and 3 days ago”. It needs to be shown before any updates added 4 weeks and 4 days ago, and after 4 weeks 2 days ago.
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.