Search Results for 'buddypress'
-
Search Results
-
Topic: Filter gifts by user
I’m using an older gifts plugin with buddypress to allow users to send gifts to each other. I’m currently trying to make it so if you’re logged in, you can see all the gifts you’ve been gifted, while if I go to someone’s page, I will only see the gifts I gifted them.
I’ve pasted my code below. Logically to me this makes sense; each
<li>is a different gift from a user. I am trying to make it so if the returned result has the sameidas the current user, display that<li>. I am beginning to think I am on the wrong file (before anyone says not to edit plugin files, this plugin has deprecated 2 years already).Any idea?
<?php global $wpdb; global $bp; $cur_user = $bp->loggedin_user->id; $profile_user = $bp->displayed_user->id; $result = $wpdb->get_results("SELECT * FROM wp_bp_activity WHERE item_id=" . $profile_user . " AND component='gifts'"); ?> <ul id="activity-stream" class="activity-list item-list" style="list-style-type: none;"> <?php //loop through ID's foreach ($result as $results) { ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php if ( $results->user_id == $cur_user ) { ?> <li class="<?php bp_activity_css_class(); ?> message" id="activity-<?php bp_activity_id(); ?>">...</li> <?php } //end if endwhile; } //end foreach ?> </ul>Hi,
I’m having the same issue as Torgrim describes in this post:
https://buddypress.org/support/topic/all-comments-being-displayed-on-user-profile-page/
I have same problem!
Need comments on some (other) pages/posts (but only those I set this for on a page/post basis). Have turned off comments in Settings > Discussion.
If I comment on a page/post, the comments somehow show up in my BuddyPress pages (Profile, Activity view, etc.)
This problem only occurs for the BuddyPress pages. When I go to a regulat post or page, only the comments (if allowed) for that page is showing.
Very frustratingâŚ
My BuddyPress pages says âComments are closedâ. But still show comments from other posts/pages.
The topic however does not state a solution for this.
Can anyone help me with this issue?
Thanks in advance.
Kind regards
Topic: Buddy Press Changes Theme
Hello
I am using BuddyPress with Salutation theme from Parallelus. After I install I found that BuddyPress pages change the theme to original theme layout instead of the layout design that I modified. How can I change BuddyPress pages to make them look like rest of the pages?
Thanks,
MyoTopic: Next Page is Showing
I installed buddypress.
Its okay.BUT what the hell!!!
Under each buddypress page i find ‘next’ and ‘previous’ link which taking me to next/previous page i have published in my Dashboard->Pages.
‘next’ and ‘previous’ link comes from my theme ‘modern’ by webman design.
It shows in case of blogs or posts. When reading one blog below there are two other links … ‘next’ and ‘previous’ link… leading to next and previous blog. Thats absolutely ok.But why is the same link showing under buddypress pages?
Please help immediately.
I am to launch my site in next 4 days.-thanks and regards
I’m following along with https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/ to add some group meta and it works great.
I’m wondering if the second code block “wrapper function if BP is activated” is still the preferred way and if it’s required. I haven’t seen that in other plugins with robust hooks and filters recently like Woo (where it just uses Woo based hooks and filters) so I wasn’t sure if the wrapper here was required, suggested, or completely optional at this point in BP development.
Thanks!
AndrewHello BP-Supporters,
I set up a Blog on a private link: http://emxampel.com
I changed my Blog url / place to: http://example.com
All worked without one:
Buddpress worked on http://example.com/beispielbeitrag/
But my URl changes i need to change perma link:http://example.com/index.php/beispielbeitrag/
all worked but buddypress dont took these URL on the groups and members.
I want to load a BuddyPress member file template in a plugin. Can you please let me know the right API that I can use to do this job. For example, I want to load members-loop.php file.
Should I use bp_get_template_part or locate_template or anything else?
Thank you.
Topic: bbp-register layout
Running WordPress 4.6.1
Running BuddyPress 2.7.2I have inherited the site byoguild.com
I am having trouble editing the pages in it. I am not sure of how to edit the [bbp-register] element.
That is the register page
That is how it looks.I have found in the database the names of the races in the drop down box but have yet to find somewhere where it has the actual pagelayout
Any help would be greatly appreciated