Forum Replies Created
-
In reply to: Suggest friends by IP Geo Location
Shoot, just use predictive txt. Problem solved, lol.
Ok, So hello again NiceCap. So what I see is that your activity link in the “Community” drop down menu link in the header there is actually being sent to the current /logged-inMmembers (Current User’s)/profile /activity page. Not the “Community Sites” activity page.
What your getting is this
https://www.cb-riding.com/members/leog371/what you want is this
https://www.cb-riding.com/activityThis is probably due to either having your menu setup wrong or your pages in settings/buddypress set up with the wrong pages. I would start by going into your menus. Its under appearance in your wp dashboard and make sure that link gores to https://www.cb-riding.com/activity.
Then go to Settings/buddypress and make sure that the pages are set up correctly. Meaning “Activity Page” should be set to “Activity Page”.
It appears that the activity stream is not taking on your header and your theme stuff. Not sure whats going on there, you should check that out. Anyways, your activities page is here
Hi Nicecap, just saw your post;. 12:55 am north carolina time. I will check it out in just about 5 minutes. Have to feed the cats you know, lol.
In reply to: How to re-direct Login page@dopeboy No worries, if there is anything else I can help you with, please let me know.
In reply to: How to re-direct Login page@dopeboy and @saz25. Here you go, I created a tutorial for you. Let me know if its helpful. Create Modal Login
In reply to: How to re-direct Login pageHey Sorry @dopeboy I didn’t see that last post. Well, I can do that but you will have to wait a couple hours. Busy building a custom front end dashboard right now. Will get back to you tonight sometime or early morning. Like 1 2 or 3 am North Carolina time.
I completely Disagree! BuddyPress has served me well in over 250 projects. I only use 3 plugins on average and never use any pre-made themes. I have developed over 250 perfectly working and extremely customized communities and learning websites as well as intranet sites using BuddyPress and have never had any issues with it. I have never had any issues making it do just exactly what I want to to do “Well, there maybe one or 2 items I would change”.
Anyways, my point is, if you know how to work with WP’s flavor of messed up PHP, if you know how to use the codex, the extensive list of attributes and hooks, actions and filters that are listed all over the web, BuddyPress is a pretty puppy that can pretty much act, do or become anything you want without all the plugins.
As far as the help goes around here, Well, yes, It has a lot to be desired. When you post a question, you must realize that not everyone here can help. A lot of the members here are looking for help themselves. The guys who can help are often times bogged down trying to help others and along with having work of their own to complete for their jobs at the same time. So yes, the help here is sparse but no one ever said that this was the help desk or the help line. Its just a forum for people to ask questions and get replies from other members and sometime staff that will help out someone when we can.
And Finally……
Wordpress and BuddyPress are basically developers platforms. It just so happens that its simple enough that basically anyone who has a desire to learn or are at least brave enough to look into some files can make changes and even figure out how to make a theme if they want. No one ever said it was easy for everyone which is why a lot of people pay other people to do the work for them. If you fall into this category, please just pay someone to do the work and stop whining about not getting help because you dont know what your doing.In reply to: Buddypress Avatar Cropping Mobile – PortraitHi TFord06, It looks like this is a duplicate post of your other post “Buddypress Avatar Cropping Mobile – Portrait”. I have replied on your other posting.
Please try to limit your queries to just one post please. It helps keep the clutter down in the forums. Thankscan you provide me with a link to your site please? If possible I will join your site temporarily and take a look at what is going on. Just allow me to sign up as a basic user.
That is the default behavior. Under “lets say” http://yoursite.com/members/amember, this is the members personal area. If you are on the activity page there, you will only see your activity. To see all users activity, go to this link, http://yoursite.com/activity. This is where you see the activity for all members.
In reply to: Buddypress Avatar Cropping Mobile – PortraitJust curious, but when you say “Cuts off the right half of the image” do you mean that once the upload finishes and is displayed on the profile, that half the image is gone “OR” do you mean that during the upload process, when you select image, you can only see half of it before you upload it?
If the second is the case, I would recommend some css and media queries to assist the area to be responsive and display properly on mobile during landscape and portfolio views.
Maybe?
In reply to: How to Install BuddyPress1. go into your WP dashboard
2. go to “Plugins” tab just below “Apperance” and Just above “Users”
3. Hover Over “Plugins” and click “Add New”
4. You Should see the “Buddypress Plugin” card right there. Click Install
5. If not, simply use the search feature there to search for BuddyPress
6. Once you find the “BuddyPress Plugin” click install
7. After Install, Activate it
8. After you activate it, go to the “Settings” tab at the bottom of your WP Dashboard
9. Under “Settings” you will see a “BuddyPress” Tab
10. Got thru the 3 tabs of settings to set it up. Its easy and quick
11. Check the new pages that you and BuddyPress Just added and see what kind of adjustments need to be made for your visual theme.
12. Viola! you have BuddyPress.
Should take less than 10 minutes for everything except any minor or major adjustments or tweaks in your theme if you even need any.In reply to: i want to edit buttons.put in bp-custom.php and change them how you like
In reply to: i want to edit buttons./** * Output the Add Friend button. * * @since 1.0.0 * * @see bp_get_add_friend_button() for information on arguments. * * @param int $potential_friend_id See {@link bp_get_add_friend_button()}. * @param int|bool $friend_status See {@link bp_get_add_friend_button()}. */ function ct_add_friend_button( $potential_friend_id = 0, $friend_status = false ) { echo get_add_friend_button( $potential_friend_id, $friend_status ); } /** * Create the Add Friend button. * * @since 1.1.0 * * @param int $potential_friend_id ID of the user to whom the button * applies. Default: value of {@link bp_get_potential_friend_id()}. * @param bool $friend_status Not currently used. * @return false|string HTML for the Add Friend button. */ function get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) { if ( empty( $potential_friend_id ) ) $potential_friend_id = bp_get_potential_friend_id( $potential_friend_id ); $is_friend = bp_is_friend( $potential_friend_id ); if ( empty( $is_friend ) ) return false; switch ( $is_friend ) { case 'pending' : $button = array( 'id' => 'pending', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button pending_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ), 'link_text' => __( 'Cancel Friendship Request', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button pending_friend requested' ); break; case 'awaiting_response' : $button = array( 'id' => 'awaiting_response', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button awaiting_response_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/', 'link_text' => __( 'Friendship Requested', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button awaiting_response_friend requested' ); break; case 'is_friend' : $button = array( 'id' => 'is_friend', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'friendship-button is_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ), 'link_text' => __( 'Unfriend', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button is_friend remove' ); break; default: $button = array( 'id' => 'not_friends', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button not_friends', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ), 'link_text' => __( 'Add Friend', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'add', 'link_class' => 'btn btn-danger' ); break; } /** * Filters the HTML for the add friend button. * * @since 1.1.0 * * @param string $button HTML markup for add friend button. */ return bp_get_button( apply_filters( 'get_add_friend_button', $button ) ); } ?>In reply to: i want to edit buttons./* Example to Change item names of user’s and group’s nav menus ... Profile Menu https://codex.buddypress.org/developer/navigation-api/#examples */ function bpcodex_rename_profile_tabs() { buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Forums', 'textdomain' ) ), 'forums' ); buddypress()->members->nav->edit_nav( array( 'name' => __( 'MY Groups', 'textdomain' ) ), 'groups' ); } add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );/* Example to Rename Group Menus https://codex.buddypress.org/developer/navigation-api/#examples*/ function bpcodex_rename_group_tabs() { if ( ! bp_is_group() ) { return; } buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() ); buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Members', 'buddypress' ) ), 'members', bp_current_item() ); buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Activity', 'buddypress' ) ), 'home', bp_current_item() ); } add_action( 'bp_actions', 'bpcodex_rename_group_tabs' );/* Example to Remove subnav tabs from Group Settings https://codex.buddypress.org/developer/navigation-api/#examples*/ function bpcodex_remove_group_manager_subnav_tabs() { // site admin will see all tabs if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) { return; } // all subnav items are listed here. // comment those you want to show $hide_tabs = array( // 'group-settings' => 1, // 'delete-group' => 1, // 'group-avatar' => 1, // 'group-invites' => 1, // 'manage-members' => 1, // 'forum' => 1, // 'group-cover-image' => 1 ); $parent_nav_slug = bp_get_current_group_slug() . '_manage'; //Remove the nav items foreach ( array_keys( $hide_tabs ) as $tab ) { bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' ); } } add_action( 'bp_actions', 'bpcodex_remove_group_manager_subnav_tabs' );In reply to: Suggest friends by IP Geo LocationSimple way would be to setup a mandatory x-profile field using a text-area with country or city. Have a template that queries members by that field for the members page. Whatever the members puts into that field is what the members page or search would return with. Make it a mandatory filed on registration and it should work that way.
So basically if a member typed in Poland, and saved his profile, everytime he went to see the members list, only people who typed in Poland would show up. Search can work that way too.
Hey Frank, I guess the best question to ask you after all this is how comfortable are you with digging into or working with html, css and basic php?
If a pre made theme is what your looking for, how comfortable are you with taking hours and days looking thru theme demos to find your golden pony or at least making child themes or customizing code?
And then to answer you more specifically to your “How long would it take to develop a theme like the one I described?” , I guess that just depends really. Over the years I have accumulated many libraries of code and theme snippets and I know where everything is in WP/BP core and template files. So for me, A fully custom and dressed out theme might take anywhere from 3 days to 3 weeks if I know exactly what I am working towards at the beginning and have a clear, though out, planned out idea. If I hen peck it or free hand it” like I do from time to time” It may take a day or it might take 8 months, lol.
As a bit of comfort to your quandary, everything you asked for in your opening inquiry is all ready done for you in BuddyPress “for the most part”. A theme like the one you describe sounds like a 3 day to 1 week job to me. Keep in mind however that with me saying that, things always have a way changing and evolving into monsters, lol.
So lets break down your theme and see how it look on paper…. He He, my favorite part…
1. I want users to come to my site, register, and log in…… (Its all ready there) just have to set it up to your liking. It can all be customized quite a bit as well.
2. I would love to be able to customize the way these pages look!(background image, logo, and content inside them)……… (The logo, background and most of the design items are easy breezy as long as your ok with basic html and css and not looking for flying dragons and wizards shooting lightning bolts across the screen. Alas, even those can be done with css, flash and JS, lol. )
3. I’m not looking for a full-blown social media site (yet)…….No need to have what you dont want to use. BP has a full host of controls to limit what can be done onsite by users or what is implemented frontend in its settings. WP Dash/settings/buddypress. Select what you want to use. You also have the ability to write functions, and use hooks and actions and filters to limit or build on anything you like.
4. I want to build a site that where users can log in, create a “blog” excerpt with media …… There are several ways to do this in buddypress, just have to plan it out and test the methods and see what works for you. Mu, Activity and Groups/Forums.
5. They should also be able to put a location tag on it. ….. it sounds like this is what x-profile fields are good for. Just create your custom location field and add it with a template tag in the loop you want to use it in. They fill out the filed on their profile page and it will display in that loop.
6. When they post it, the only people I want to see that are the people they added as friends or if they have their profile set to public……BuddyPress frontend “user profile area” has a settings tab, under it are quite a few privacy features, not fully comprehensive in my opinion but there are a few plugins that add on to this and you can code it in as well. either way. Easy task.
7. And when it shows up on their friend’s news feed it should just show a featured image, title, and the beginning of their text with a like counter….. Easy enough, just write the loop that way, lol. Easy to do.
8. When their friends click on that post it brings them to the full blog post, not just the featured image. Their friends can favorite the content or comment on it. …..The natural behavior of WP and BP posts so we are good there.
9. On a users profile, I would like to show their recent posts, and posts they’ve favorited…. Thats what the friends tab shows but you can add custom queries, and stuff and otherwise tear it apart and pick it of the pieces you want and use them in other places to make custom loops and queries and all kinds of goodness, lol. As long as you make sure things are firing in the right places and make sure certain things are in the loops where they belong, No worries.
10. Site homepage is basically just a file called front-page.php. Copy the page.php from the theme root and then customize the heck out it. Work it up however you like.
As far as the themes go, I never use premade themes. I do however make full use of the libraries of code I have accumulated, (_s) and bootstrap for a lot of my work. Cheesy I know but hey, it saves me time and money and gives me freedom. I rarely find the need to actually make a complete custom theme or write much in the way of custom code from scratch anymore. And I certainly never purchase any themes. So I am not the best person to ask about themes really. I know that there are tons of themes that do all kinds of stuff available around the web. Just have to give them the litmus test and see if they fit your project.
Let me know if you have any other questions or what have you. I will be around.
In reply to: Styling in (BuddyPress) Members widgetTry this, just change the hex value to the color you want. Place it at the bottom of your style sheet. Css that loads last gets viewed onscreen You have this class “widget ul li a” messing with it. Its being called on lines 1751, 109, 109, and the a tag on line 347 of your main stylesheet. So if you put that at the bottom of that stylesheet, it should run. simply change the hex color to what you want. .
.item-title.fn > a { color: #05a9c5 !important; }If that still wont work you can use this, but it will target all the links in the widgets sidebars
.widget ul li a { color: #777; }Fyi, be aware that if you are using or creating a separate or custom stylesheet, It must load after all the other stylesheets that have this class on them. So if your enqueuing it, make sure that it is the last style enqueue in your enqueue list. or if your just calling it by script tag then make it last in line so your css overloads the themed css.
Take a look here and see if this gets you going in the right direction
In reply to: Styling in (BuddyPress) Members widgetok, i see. the css for this should be “without actually going to your site and seeing it live”
.item-title .fn a{ color: <-- Your Color Here --> !important; }If you want a different hover color add this just below that on your stylesheet
.item-title .fn a{ color: <-- Your Hover Color Here --> !important; }This should work according to what your telling me but without actually seeing it live Its hard to say. Give this a try and see what happens.
In reply to: How can I show new activity for groups, per memberWell, dont know if this is what you need but from what I gather, I would say you need to add some template files to your theme to do that. Its not hard. But Since I dont know that theme, The first question would be… does that theme have a “/buddypress” directory in it? If not you would probably want to make one first.
This is where you would do the work. BuddyPress will look for template files there first. You would want to create template files for the parts of the theme that you want to change or re-arrange. Both of those features are all ready built into BuddyPress. If you look at the template files in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/ you can find all of your ideas and code parts or starter code there from those files.
You can copy over those files to your themes buddypress directory and break them down, tear them up or what ever you want to do with them there. I sometimes do it just to take code snippets and work with them.
Anyways, if you find the files that have the functionality you want on them, just take them and use them to create a new template or widget or whatever you need. Its not hard.
Hmmm, Generally I say if you want to hack a theme, just make your own. Of course you could always make a quick little child theme for theme x and that would be perfectly fine, but hacking into the themes files wouldn’t be recommended. If they were to update the theme all your changes would probably be wiped out.
As far as tutorials and theme development stuff goes for BuddyPress, simply google it. There are a lot of sites and pages on the subject. You do have to be aware that a lot of the tutorials out there are older and are using depreciated code snips and tags. You just have to study the codex and find relevant items, understand how to break files down and get a good handle on template parts and css. BuddyPress does have some hard coded functions that make certain filters, hooks and actions fire before or after certain template items. Not sure why they do that but it just means you might want to look into hooks, filters and actions, lol. Also be aware of the switch cases. They can be fun to play with. It can be over whelming at first but everyone I have ever taught to build themes picked it up quick and most on their own.
Everything your hoping for is well within the capabilities of Buddypress. It can be as simple or as complex as you make it. If your going to use a theme, remember that you would be locked into what that theme is setup to do for the most part.
With that said, depending upon your ability with code and all, its all pretty easy to do yourself. Buddypress itself is really easy to get around and work with in the template files and the php is really quite easy for most things. If you have no html, css or php skills though, it could be kind of tuff.For what your asking for I would simply code out my own theme for it. Or simply hire someone to do it for you.
In reply to: question on what a member seesAlmost, but you went one to far. Your target to put the file is in the plugins directory directly. not the buddypress plugin directory so the end would be
wp-content/plugins/ then add file here “bp-custom.php”
Basically in the root of the plugins directory
In reply to: How to re-direct Login pageWhat would really get you is what you would see it turn into when you login, lol. Oh boy it gets wicked after that. It basically changes from a login or register link to what I call notif links. Once you login that changes to 4 favicons that are links to profile, activity, messages and logout all with the counters on them, lol.
try it out with the username “testit” and password “1234567890”