Search Results for 'theme'
-
AuthorSearch Results
-
October 27, 2015 at 3:18 pm #246058
In reply to: Error Logs with BuddyPress
Fobulis
ParticipantYes, i’ve discussed this with the theme creators and was told it was an issue with the plugin. However, I cannot seem to isolate the problem. I imported the theme using the .zip file and activated it. Then activated the associated plugins after that, including BP. But BP cannot be deactivated and keeps mass producing these error logs.
October 27, 2015 at 9:44 am #246050In reply to: Buddypress in multisite
mc9625
ParticipantThanks for your reply.
Actually what I miss is the custom post type “share” between the main site and the sub blog. I’ve installed Social Chef (I well known theme for foodblogger community). It let’s you write a custom post type “Recipe”. Actually I’ve installed the same theme for all sub blogs and I expected to see, in the member activity stream every recipe added in the blogs (Actually they are shown but not counted, I mean in the top tab “recipe” the count for the user is always 0, even if he had just posted a recipe in his blog, I can even see it in the stream). Is there something I miss?
Basically what I want to achieve is to let every single post (or custom post) be present in the main site, in order to search for it globally, and at the same time to be shown in the member’s blog.
Or, from another point of view, I could let every member publish their post from the main site, and then simply “group” every post from a specific user in a kind of “customised” view, like if it where his own blog, with custom background, colours, ecc.
Does it make any sense?
October 27, 2015 at 5:26 am #246048In reply to: Login page
Rimon Habib
ParticipantIf you want to redirect all users(admin,subscriber,all roles) to homepage after login, just use this line at your theme functions.php file
add_filter( 'login_redirect', create_function( '$url,$query,$user', 'return home_url();' ), 30, 3 );Or if you filter a bit, like Admin users will redirected to dashboard, and all others to home page, you can place this code instead of that
function wp_bp_custom_login_redirect( $redirect_to, $request, $user ) { global $user; if ( isset( $user->roles ) && is_array( $user->roles ) ) { if ( in_array( 'administrator', $user->roles ) ) { return $redirect_to; } else { return home_url(); } } else { return $redirect_to; } } add_filter( 'login_redirect', 'wp_bp_custom_login_redirect', 30, 3 );October 27, 2015 at 2:00 am #246042In reply to: Buddypress in multisite
mrjarbenne
ParticipantIt doesn’t work like that. In a multisite instance, your users can all have their own blogs (think wordpress.com). What BuddyPress does is allow you to see all of the activity from those subsites in one Activity feed (among other things).
I have set up the categories in the main site, and I expected to see the same categories on every site, but it doesn’t work.
Although this isn’t a BP feature, there is a plugin that does this. It hasn’t been updated in a while, but you could test it out, or purchase support from Brajesh and request a fix if you run into issues:
http://buddydev.com/plugins/mu-global-terms/. There’s a write-up on the plugin here: http://wptavern.com/wordpress-multisite-global-terms-plugin-share-taxonomies-across-a-networkAlso in the user activity stream I cannot see the posts the user has written in his own blog.
That SHOULD work. You mention a custom post type though: is that the activity you are hoping to see? By default BP only shows posts and comments, not custom post types. You can register custom post types: https://codex.buddypress.org/plugindev/post-types-activities/
If the subsite that you are hoping registers activity is set to discourage search engines in Settings/Reading then it won’t register on the main site.
You may also want to try one of the default themes (twentyxx) to see if it’s your theme screwing things up. Many themes that tout themselves as BuddyPress-Ready, are doing some funky things best left to plugins in their functions.php file.
October 26, 2015 at 8:58 pm #246035In reply to: Error Logs with BuddyPress
Henry Wright
ModeratorI’ve recently installed Buddypress to my WP theme
Can you explain exactly the steps you took?
October 26, 2015 at 7:47 pm #246032In reply to: Error Logs with BuddyPress
Venutius
ModeratorHave you tried raising this with your theme’s creators, this seems more like a theme problem than a BuddyPress issue.
October 26, 2015 at 6:50 pm #246027In reply to: Activity stream font size
life5000
ParticipantThank you so much @henrywright and everyone too. Henry’s solution worked great for me. I do have a custom css in the design setting of my theme that allows customization without having to create a child theme. I added Henry’s code to the custom css section.
I now have a challenge of hiding some of the tabs on my buddypress profile page; like notification tab and forum tab. I’d like to hide those tabs without having to deactivate the plugins. I would so appreciate a solution.
Thanks so much again.
October 25, 2015 at 11:05 am #246001In reply to: Is Buddypress’ “Username” field mandatory?
Henry Wright
ModeratorWhich theme is that? BuddyPress doesn’t ask for 2 usernames. The WordPress username and the BuddyPress username are one and the same. It looks as though your theme is asking for it twice
October 25, 2015 at 4:59 am #245988In reply to: Registration process
Rimon Habib
ParticipantIf you want to redirect all users(admin,subscriber,all roles) to homepage after login, just use this line at your theme functions.php file
add_filter( 'login_redirect', create_function( '$url,$query,$user', 'return home_url();' ), 30, 3 );Or if you filter a bit, like Admin users will redirected to dashboard, and all others to home page, you can place this code instead of that
function wp_bp_custom_login_redirect( $redirect_to, $request, $user ) { global $user; if ( isset( $user->roles ) && is_array( $user->roles ) ) { if ( in_array( 'administrator', $user->roles ) ) { return $redirect_to; } else { return home_url(); } } else { return $redirect_to; } } add_filter( 'login_redirect', 'wp_bp_custom_login_redirect', 30, 3 );October 25, 2015 at 4:50 am #245987In reply to: Grid and List options Members and Groups
Rimon Habib
ParticipantFrankly saying, This is something concern of theme, not plugin, as plugin developer won’t know theme structure and styling users are using, unless they use BuddPress default template parts. I did that thing actually in one of my other plugin, BuddyPress User Account Type, It wasn’t good as I said, Its theme dependent.
But It is a nice feature to have actually, I am considering to develop a separate plugin soon for this feature, tho I need to see the feasibility first.
October 25, 2015 at 1:11 am #245985In reply to: Activity stream font size
Henry Wright
ModeratorOctober 24, 2015 at 6:22 pm #245981In reply to: Activity stream font size
William
ParticipantMy opinion: For simplicity, Let the user figure out that he/she needs a child theme. Period.
October 24, 2015 at 6:08 pm #245980In reply to: Activity stream font size
Paul Bursnall
Participant@venutius Good advice yeah. From WP admin – plugins > add new, search for ‘child theme creator’. Plenty of options that will do the job.
October 24, 2015 at 5:48 pm #245979In reply to: Activity stream font size
Venutius
ModeratorI’ve not tested it myself but there are plugins such as “One Click Childtheme” available, maybe for newbies we should be recommending that?
October 24, 2015 at 5:37 pm #245978In reply to: Activity stream font size
Paul Bursnall
ParticipantThemes which make use of option panels may allow you to only use the parent theme. If you can cover the changes you need by using that panel. But if you need make custom changes to css or add additional functionality, save yourself potentially big headaches and use a child theme. They don’t exist for fun.
October 24, 2015 at 5:29 pm #245977In reply to: Activity stream font size
Paul Bursnall
ParticipantThe ‘active’ theme should always be the child theme. That’s not my opinion, that’s fact. And you don’t need to be a developer to use, or create one. Most premium themes are packaged with a child theme, and if you don’t have one, just add a plugin and create one. Then activate it. You will find no WordPress developer that doesn’t recommend the use of a child theme.
Maybe this will help – https://www.elegantthemes.com/blog/resources/wordpress-child-theme-tutorial
October 24, 2015 at 3:46 pm #245974In reply to: Activity stream font size
William
ParticipantBy the way @henrywright is one of the BuddyPress Core developers who joined team recently but look at where he said that the code should be put. He actually meant “style.css” not “function.php”. What do you say about this @style960? Even the core developer himself is not recommending the child theme!
October 24, 2015 at 3:17 pm #245972In reply to: Activity stream font size
William
ParticipantI know @style960. Look, probably not all members are using default themes such 2015 which get updated every now and then OK? Some themes will never get updated anyway. Some people just want to get the work done as soon as possible and once they realize that they are loosing the changes with updates then they can find a solution to that. What’s the use of giving these people lengthy tutorials that are going to get them frustrated and they quit half way? They should start small then improve on that. If you’re a programmer at all, you first started by writing a very simple program that says “Hello World!” not a super complicated program. This is what I’m doing here!
October 24, 2015 at 3:00 pm #245971In reply to: Activity stream font size
Paul Bursnall
Participant@william_oneb Please stop giving members advice to edit their active theme. All changes of this nature should always be made in a child theme. Check the codex – https://codex.wordpress.org/Child_Themes
October 24, 2015 at 2:07 pm #245967In reply to: Bps_display shortcode
William
ParticipantPaste this code in your theme’s functions.php
function bennyhoang ($atts) { // Start by checking if the user if logged in if ( is_user_logged_in() ) { // Let's grab the user id $user_id = bp_loggedin_user_id(); // Let's find a field called name. (REPLACE "NAME" WITH THE NAME OF THE FIELD YOU WANT) $Name = xprofile_get_field_data( 'Name' ,$user_id); // Let's output that field return $Name; } } add_shortcode( 'benny', 'bennyhoang' );[benny]is your shortcode! Use it your pages/posts!October 24, 2015 at 1:41 pm #245961In reply to: Activity stream font size
William
Participant@life5000, Please find a file called style.css in your active theme, put this code there, save the file and reupload that file. Of course 300% is way too large but hey, I want you to see that your changes are actually working. Please adjust that size accordingly e.g 140%
#activity-stream p { font-size: 300%; }October 23, 2015 at 6:20 pm #245933shanebp
ModeratorScenario 1 is easy:
Create a template overload of this file:
\buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.phpUse
bp_get_the_profile_field_name()to determine of the current user should be able to see the field – based on the current member’s PMP level.October 23, 2015 at 2:35 pm #245924In reply to: CSS for Registration Form
Paul Bursnall
ParticipantThat is incorrect. Always use a child theme for such changes, whether in style or amended/additional functionality.
The advice above will mean css changes you have made will be lost when your theme is updated. Make all edits in a child theme, every time.
October 23, 2015 at 10:03 am #245910In reply to: CSS for Registration Form
William
ParticipantYou don’t really need a child theme. You can just “inspect element” with your web browser and find the class or element you want to modify with CSS. Once you find it, go to your active theme’s style.css and write new code to change the appearance.
If I’m not wrong, you need the child theme if you just want to modify the registration form layout or template. Hope that points you in the right direction.
October 23, 2015 at 8:55 am #245904In reply to: Problems with TopBar
flopfeil
Participanti ask there weeks ago. the only comment i got was look if your theme is updated.
-
AuthorSearch Results