Search Results for 'theme'
-
AuthorSearch Results
-
June 5, 2015 at 1:35 am #240249
In reply to: Group tab questions
Klosurdo
ParticipantOk I just about got this sorted out.
So I have the forum icon in the picture below.
http://www.cmpg-annex.org/wp-content/uploads/2015/06/Home___Post_Processing_Group___cmpg-annex1.jpgIs it possible to send it to a different url? Below is the current code sending it to a forum. I would like to send it elsewhere. Is there something I can put into my child theme to accomplish this?
<a id="nav-forum" href="http://www.cmpg-annex.org/groups/post-processing-group/forum/">This weeks image</a>June 4, 2015 at 11:44 pm #240248In reply to: Logged in Links
Bradley Allen
ParticipantUsing the plugin above, I added the ‘members’ and ‘groups’ pages to the BuddyPanel (Boss theme) and only display them to users that are logged in.
I want people who are logged in to have an easy way to find all available groups, as well as the members of the site.
I’m new to using BuddyPress. Thanks for your assistance! I’m think I’m set for now. 🙂
June 4, 2015 at 10:40 pm #240238In reply to: xprofile_insert_field_group() ignoring ID
CodeMonkeyBanana
Participant@shanebp Thanks for the reply.
[…]in any relational table, if an item is assigned to a group ID and that group ID no longer exists in the table that holds group IDs, then that data will not be displayed, ie. orphaned.
I deleted through the admin panel so I am not sure what was deleted, that was what I meant by asking if is was standard behaviour. Possibly what I should have said is; when a user deletes a group by using the ‘bp-profile-setup’ page to click on the ‘delete group’ button, is buddypresses default behaviour to just drop the group and leave the profile data in the table or does it also iteratively remove the profile fields?
I can see the reason why you would want to leave the data in the table (and also reasons why you wouldn’t). I had a quick look at the code but I am not familiar enough with it yet to pinpoint the exact code block.
If fields are not deleted then I guess any fields directly referenced would still be visiable on the site. That may be misleading to user as they may assume deleting a group would also remove fields. However you wouldn’t want a group to be deleted by accident and then a large amount of data be lost. I would guess a system of deleting the group and then updating each profile field to explicitly notify calling functions that their parent has been deleted would be appropriate in the circumstance.
I have used a relational database before but I am unfamiliar with the logic employed by buddypress to interact with it.
The behaviour I was was getting was weird. When I deleted a group and created it again no fields were showing. Then when I added a field, it had a value immediately after creating so something weird was going on so I thought I would ask to see if you knew if the profile data gets deleted when a user clicks delete group in admin panel.
I am starting again now so will pay closer attention to all data as it goes into fresh tables but sometimes it is harder to see to absence of data compared to the addition of new data.
Why? BP will always create a Base group.
I am running a multisite where individual user blogs can create their own fields (https://codex.buddypress.org/themes/guides/segregated-x-profile-fields-for-multisite/).
As the article says:
This code will not create dummy content, so for every new site you will need to create a Profile Fields group and add profile fields to it manually.
When I create new site there are no field groups made at all which I assumed is what it was talking about. Also I wanted to have a default set of groups but allow subsite to edit them. If they want to get default groups back they can just delete all their groups and default will be restored. I could add a separate button for that but I just figured I’d do it like this, no particular reason, I am still in early stages of project.
I think there were other errors at play so starting from scratch with a little more understanding will hopefully enlighten me. I will be duplicating tables this time instead of using meta table.
June 4, 2015 at 4:52 pm #240212shaquana_folks
ParticipantOkay @henrywright, I’ll check about that error message with that bbPress plugin through their forum.
So I did what you recommended and turned off all the plugins (including the bbPress plugin) where I only have the BuddyPress plugin activated, with me still using the TwentyFifteen theme, went ahead and filled out the registration form once more, and it still took me right back to that registration page with my same information filled out that I did but left the password boxes empty and this is all still showing up each time the page loads up instead of creating the new user profile or redirecting me somewhere else.
June 4, 2015 at 3:13 pm #240202shaquana_folks
ParticipantHello @henrywright
Thank you so much for replying back so quickly. And yes, I even tried it with the TwentyFifteen theme (which is currently at the 1.2 version). In addition, I just noticed that my BuddyPress plugin has an upgrade to now 2.3.0 so I went ahead and updated that as well. So when I tried filling out the registration page again, it still did the same thing even with that WP default theme. Any suggestions on why that’s still happening?
June 4, 2015 at 3:06 pm #240199In reply to: Register page “name required broken”
Patryk
ParticipantHi @Henry Wright 🙂
I’d rather not reveal with what theme I use, but here you have form from comments.php
//Author 'author' => ' <div class="one_half_c"> <label for="author">' . esc_html__('Name:', 'graphic') . '<span>*</span></label> <input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" ' . $aria_req . ' /> </div>', //Email 'email' => ' <div class="one_half_last_c"> <label for="email">' . esc_html__('Email:', 'graphic') . '<span>*</span></label> <input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" ' . $aria_req . ' /> </div>',)), //Comment 'comment_field' =>' <div class="one_full_c"> <label for="comment">' . esc_html__('Comment:', 'graphic') . '<span>*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea> </div>',If this helps 🙂
if it does not help, please write which i must find file for you 🙂June 4, 2015 at 2:20 pm #240196Henry Wright
ModeratorIt sounds as though the problem is related to your theme. Do you see the problem happen with TwentyFifteen activated?
June 4, 2015 at 2:14 pm #240193In reply to: Register page “name required broken”
Henry Wright
ModeratorHi @patrykos360
This is most likely a theme problem. Which theme are you using?
June 4, 2015 at 2:08 pm #240191In reply to: This layout is insane…
Henry Wright
ModeratorCompanion stylesheets were introduced in 2.3. You can read more about them here.
If they’re not quite to your taste, you can dequeue them. Here’s an example of how to do it:
function dequeue_bp_twentyfifteen() { wp_dequeue_style( 'bp-twentyfifteen' ); } add_action( 'wp_enqueue_scripts', 'dequeue_bp_twentyfifteen' );June 4, 2015 at 1:34 pm #240190In reply to: End User Blog
Gnostic_Thought
ParticipantThanks for all your help. I don’t think I would need multisite at the moment, maybe when my site grows to have more dedicated bloggers. Can you give me your opinion on a plugin called Buddyforms http://themekraft.com/store/wordpress-front-end-editor-and-form-builder-buddyforms/
It looks better than BuddyBlog
Thanks once again
June 4, 2015 at 7:28 am #240179In reply to: Members Directory Page Broken After Update
jturet
ParticipantJust tried it with the default theme (not my child theme) and twenty fifteen. Same result, does not appear to be theme related.
June 4, 2015 at 7:21 am #240177In reply to: Members Directory Page Broken After Update
Hugo Ashmore
ParticipantHmm even though the page isn’t being nested under the parent I still have a correctly displaying members loop.
Is it possible for you to test and confirm how things behave under a WP theme – if you’re using a custom theme – just in case a custom theme is adding to the issue.
June 4, 2015 at 2:30 am #240163In reply to: Toolbar Empty for Mobile Logged Out Users
mrjarbenne
ParticipantAdd this to the style.css file of your theme:
/*Fix for hiding the Login menu on Mobile*/ #wp-admin-bar-root-default #wp-admin-bar-bp-login { display: block; }If you don’t want to have to edit your theme every time there is a theme update, you could use something like this to add the CSS from the dashboard: https://wordpress.org/plugins/simple-custom-css/
June 4, 2015 at 2:26 am #240162In reply to: Fatal Error When Plugin activated
mrjarbenne
ParticipantUse, or create, the bp-custom.php file in your plugins folder: https://codex.buddypress.org/themes/bp-custom-php/
Add this to it (make sure you add a
<?phptag if you are creating a bp-custom file for the first time.function bbg_change_profile_tab_order() { global $bp; // Change Menu Order $bp->bp_nav[‘profile’][‘position’] = 10; $bp->bp_nav[‘friends’][‘position’] = 20; $bp->bp_nav[‘groups’][‘position’] = 30; $bp->bp_nav[‘blogs’][‘position’] = 40; $bp->bp_nav[‘messages’][‘position’] = 50; $bp->bp_nav[‘settings’][‘position’] = 60; // Remove a menu item $bp->bp_nav['activity'] = false; } add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );I haven’t tested this. I hijacked it from here: http://themekraft.com/customize-profile-and-group-menus-in-buddypress/
June 4, 2015 at 2:01 am #240158In reply to: Fatal Error When Plugin activated
mrjarbenne
ParticipantSo, if you can comment out any references to the Activity Stream Permalink/URL in that buddpress.php file you should be able to deactivate the Activity Stream again.
Look in that file for references to
bp_get_activity_directory_permalink();and then put a /* at the beginning of the code and */ where the line seems to end. One of those support forum links suggested line 478, but that might be an older version of the theme, and the offending line may indeed just be 427 and nothing else.Glad to help.
June 4, 2015 at 1:54 am #240156In reply to: End User Blog
mrjarbenne
ParticipantMS integrates wonderfully with BuddyPress. When network activated on a Multisite, activity from across the network is recorded on the users Profile. Just be sure to check Site Tracking under Settings/Buddypress once you network activate BuddyPress (https://cloudup.com/i_-p1kJGUwd). Once upon a time, BP was ONLY compatible with Multisite: you couldn’t run it on a single WP install.
Note that this will give your users the ability to have their own blogs. This is separate from the ability to post from the front end. For this you would need to make a theme like P2 your network default. http://premium.wpmudev.org/blog/how-to-set-the-default-theme-for-wordpress-multisite/
June 4, 2015 at 1:45 am #240154In reply to: Comments on activity don’t work on my theme.
mrjarbenne
ParticipantGiven that you have been able to diagnose that this is a theme issue, particularly on a theme that you paid for, I would suggest going back to the theme author to see if they can help. X Themes seems to be a popular issue tonight. You’re the second one I’ve come across:
https://buddypress.org/support/topic/fatal-error-when-plugin-activated/#post-240153
June 4, 2015 at 1:43 am #240153In reply to: Fatal Error When Plugin activated
mrjarbenne
ParticipantIt’s hard to know what that file is doing without seeing the whole thing. It’s not a standard BP file, it’s something your theme developer has added to provide additional functionality to the theme (something that would probably be better left as a plugin, but that’s another argument entirely). BuddyPress has its own theme compatibility layer, that should make it look nice in any theme. Your theme is clearly trying to do something fancy with BuddyPress in a way that is messing things up.
A quick google search reveals a few different people having issues with the xTheme and BP.
https://theme.co/community/forums/topic/buddypress-error/
https://theme.co/community/forums/topic/buddypress-website-down/This topic seems to suggest that if the activity stream isn’t activated in Settings/BuddyPress/Activity Streams then there is an error:
https://buddypress.org/support/topic/buddypress-website-dowm/
You could try commenting out the line as suggested in the above link. You could comment out line 427. You could temporarily delete the entire buddypress.php file in your theme (use your FTP program to throw it on your desktop and then delete it).
In the end, the X themes developer should really be the one to fix this.
June 4, 2015 at 1:28 am #240151In reply to: /members/user & other page errors
mrjarbenne
ParticipantAny chance it’s a theme or plugin conflict? Have you tried one of the WP default themes, or tried deactivating all your other plugins, just to rule that out. That might help narrow it down.
June 4, 2015 at 1:22 am #240150In reply to: Fatal Error When Plugin activated
mackeykevin
Participant@mrjarbenne:
Thanks so much i forward my help to Theme X support, I thought it was a BuddyPress issue, that is why i came here. I do have access to my server and a FTP. What should line 427 say? I know silly question but it is a shot in the dark if it is supposed to be something specificagain thanks so much, i am excited to get buddy press working again
June 4, 2015 at 12:51 am #240144In reply to: Fatal Error When Plugin activated
mrjarbenne
ParticipantIf you change themes you will lose all the customization that your theme provides through that Cornerstone custom page builder (I assume this is your theme http://themeforest.net/item/x-the-theme/full_screen_preview/5871901)
I would suggest — because you have paid for the theme — that you go back to the theme developer and let them know that code in their theme is causing an error. The error message you provided shows exactly where the offending code is. It looks as though your theme has some additional customizations applicable to BuddyPress specifically.
If the theme author won’t help, and you have FTP access to your site’s server, you could go in under public_html/DRSTEPHANIEDANIEL.COM/wp-content/themes/x/framework/functions/global/plugins/buddypress.php and see what is on line 427 of that buddpress.php file that might be screwing things up.
June 4, 2015 at 12:12 am #240143In reply to: Fatal Error When Plugin activated
mackeykevin
ParticipantI will check, if i change themes and the problem goes away what are my fix options. I am currently running theme “X”. If i change themes with the pages be edited due to cornerstone?
June 3, 2015 at 7:07 pm #240117In reply to: Fatal Error When Plugin activated
r-a-y
KeymasterLooks like it is a problem with your theme.
Does this error occur if you switch your theme to the WP default theme, twentyfifteen?
June 3, 2015 at 6:00 pm #240113In reply to: Fatal Error When Plugin activated
mackeykevin
ParticipantFatal error: Call to undefined function bp_get_activity_directory_permalink() in /home4/ab49180/public_html/DRSTEPHANIEDANIEL.COM/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 427
June 3, 2015 at 12:43 pm #240092In reply to: Activity Loop Now Empty
Hugo Ashmore
ParticipantWhy from ‘bp-themes/bp-default/’ copy templates for theme compatibility from ‘bp-templates/bp-legacy/’ guides are in the codex for further reference.
-
AuthorSearch Results