Search Results for 'wordpress'
-
AuthorSearch Results
-
April 30, 2010 at 1:59 am #76104
In reply to: SVN for BuddyPress plugins?
Jeff Sayre
ParticipantMany BuddyPress developers use the WordPress Plugin Repository to host their BP-based plugins. Just make sure that you include the tag “buddypress” as one of the tags in your plugins header section.
April 30, 2010 at 1:38 am #76097In reply to: Extra Page’s in BuddyPress
stwc
Participantwordpress will load page.php for every page you create so you cant really customize it..
Not necessarily.
Echoing modemlooper, you don’t need any of that code above. If you want Pages you create in WP to have different layouts, create a template file (https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates), upload it to the root of your theme, and when you add the new page in WP, just select the template you wish to use. Arbitrary PHP, HTML, stylesheets, whatever.
April 30, 2010 at 1:32 am #76091In reply to: Extra Page’s in BuddyPress
modemlooper
ModeratorYou don’t need any of that code above. You can easily create a page using WP page templates.
April 29, 2010 at 10:01 pm #76061In reply to: individual/user BLOGS
Mr. Bigsby
ParticipantThanks. I’m really sorry about the bumping, I didn’t know you could edit your posts.
I don’t really do forums much. Sorry if I’m not using proper etiquette.I read throught the FAQs for everything and I installed quickpress but I don’t think it did anything.
I just want each user to have their own blog with wordpress and buddypress installed is that possible?
or do i need wordpressmu to do that?
April 29, 2010 at 9:00 pm #76065In reply to: individual/user BLOGS
r-a-y
Keymaster@holgria – Try reading each plugin’s documentation or their corresponding support forum to find out more.
eg. Posthaste FAQ – https://wordpress.org/extend/plugins/posthaste/faq/You might have to change the user role to “Author” in order for those plugins to work.
“Bumping a post” means replying to your own post in an attempt to get a response.
April 29, 2010 at 8:54 pm #76058In reply to: Extra Page’s in BuddyPress
dre1080
Memberadd this to your bp-custom.php or functions.php file:
/*Define slugs*/
define(‘BP_EXAMPLE_SLUG’, ‘example’); /* this will show up as http://yourdomain.com/example *//*Add slug as a root component*/
function page_setup_root_component()
{
bp_core_add_root_component( BP_EXAMPLE_SLUG );
}
add_action( ‘plugins_loaded’, ‘page_setup_root_component’, 2 );/*Show defined slug*/
function bp_show_page() {
global $bp, $current_blog;if ( $bp->current_component == BP_EXAMPLE_SLUG && $bp->current_action == ” ) {
bp_core_load_template( ‘example’, true ); /*replace example with the name that of the template you upload*/
}
}
add_action( ‘wp’, ‘bp_show_page’, 2 );/*For extra functionality you can add a title for that page*/
function page_titles( $title, $b ) {
global $bp;if ( $bp->current_component == BP_Example_SLUG && $bp->current_action == ” ) {
$title = __( ‘Example’, ‘buddypress’ ); /*change Example with what you want the title of your page to be*/
}
return $title;
}
add_filter( ‘bp_page_title’, ‘page_titles’, 10, 2 );now create an example.php file and add this to it:
get the header with the get_header() bp function
Hello im an example page
testing to see if this works
get the footer with the get_footer() bp function
then upload it to the root of the bp-default theme, it should be at the same level as where the header.php, footer.php files etc.. are
now go to http://yourdomain.com/example and see if it shows..remember to replace ‘example’ throughout the code with what you want your slug/page to be, the template (example.php or whatever you will call it) that you upload to the theme should be the same as what you call on this line above>> bp_core_load_template( ‘example’, true );
if its working, go ahead and customize as ud like
hope this helps, it works for me, dont know a way to do it through wordpress though as wordpress will load page.php for every page you create so you cant really customize it..April 29, 2010 at 8:29 pm #76053In reply to: individual/user BLOGS
r-a-y
KeymasterThat means you’re using standard WordPress. So you won’t see a link to blogs.
If you set up your new users with the role of “contributor” or higher, they can post.
Login to the WP backend and navigate to “Settings > General” and select “Contributor”.Then download a plugin like:
Posthaste:
https://wordpress.org/extend/plugins/posthaste/or Quick Post Widget:
https://wordpress.org/extend/plugins/quick-post-widget/Also please refrain from bumping your own post every hour. Bumping your thread every 24 hours is enough.
April 29, 2010 at 6:35 pm #76032In reply to: BBpress setup through buddypress plugin?
Josh
ParticipantWell how do i get the keys for wordpress so i can integrate? Also is there a guide with links to what i need for it, on how to setup bbpress so it can be used in wp with buddypress?
April 29, 2010 at 6:05 pm #76010Tmort
Participant@r-a-y I need a little bit of help with this. My site is officialmancard.com and I’ve got wordpress running in a folder (officialmancard.com/omc/). Same issue as everyone else, all of my BP related links (My Profile, activity stream, etc) all have the /omc/ folder.
I’ve put your code into a bp-custom.php as well as my child themes function.php but I’ve had no luck. Can you offer any suggestions?
April 29, 2010 at 5:25 pm #75997In reply to: individual/user BLOGS
r-a-y
KeymasterBP Quickpress is a possibility:
https://wordpress.org/extend/plugins/buddypress-quickpress/If you’re using WPMU, you could also try BP Groupblog:
https://wordpress.org/extend/plugins/bp-groupblog/Though you need to create a group before you can enable a blog.
April 29, 2010 at 5:14 pm #75994In reply to: Buddypress and wp-wishlist help
Marj Wyatt
ParticipantThis thread is quite interesting to me, and I do appreciate everyone’s thoughtful posts.
I may sound silly asking some of these questions so I would like to beg your forgiveness in advance,
1) Is WPMU still a base requirement for BuddyPress?
2) When a membership site is using BuddyPress, WordPress or WPMU (if required), 1ShoppingCart, and Wishlist Member, is the login seamless?I guess further questions are relatd to the answers to these. Thanks in advance for your responses!
April 29, 2010 at 3:53 pm #75975In reply to: Function Details
Brajesh Singh
Participanthi try this plugin for redirecting to profile page after login
https://wordpress.org/extend/plugins/bp-redirect-to-profile/
It should work with single wp too, if it does not, please let me know, I will update the plugin.For clicking on home link, please create a child theme, copy the header.php from bp-default to your child theme and modify it.
Change the line which says Home in the navigation, It’s anchor url to bp_loggedin_user_domain() from site_url().Hope that helps.
April 29, 2010 at 3:39 pm #75973In reply to: Function Details
JPS Bhullar
Participantredirection after login in WOrdpress not wordpresss mu..which function to use
April 29, 2010 at 2:18 pm #75949Ipstenu (Mika Epstein)
ParticipantIt took me a while to think about this.
I mostly like it, but the ‘faded’ quality of the colors is weirding me out.
- Text in the forums is a little … small. Compare it to wordpress.org and notice how their text is a little darker and larger. That is much easier to read for the majority of people, I’d think.
- The blue for links should be darker
- The grey for alternate posts is a great background color. Don’t change.
- The TEXT in the post-reply form is too light.
- The text in the Post Reply button is similarly too light.
The other thought I have is hard to quantify, but I’m going to say it anyway. Something about the GROUPS makes it feel like a hobby site, rather than a serious ‘business’ site (yeah, I said it). I’m not sure if it’s the rounded corners missing, or the general paleness of the site, but something feels off. Casual.
Yeah, that were crap feedback. Sorry.
(Oh and the fact that HTML isn’t working? Like I put LI and UL in this post and it’s borked? Is frustrating.)
April 29, 2010 at 6:28 am #75908In reply to: BuddyPress.org’s Unified Search – How can I get it?
Andy Peatling
KeymasterI did it with just a template. Copy and paste the members, groups, forums, and activity loops into a new template file. Add the parameter ‘search_terms=’ . esc_html( $_GET ) to each of the loops and then create a new WordPress page called search and assign the template file to it. Then just pass ?f=searchterms to the URL and bob’s your uncle.
April 29, 2010 at 2:54 am #75891In reply to: [New Plugin] CubePoints Buddypress Integration!
Tosh
Participant@vee_bee I’m using the BuddyPress Template Pack Plugin with my Single Install WP. So I updated my:
wp-content/themes/fusion/members/single/member-header.php file with this and it works great. Shows the points for the member your viewing at the moment. Tried to get the donate link to work as well. But no success just yet.These forums don’t allow you to embed code like the wordpress.org forums I guess. In the echo’s I’m just surrounding it with a bold tag
<?php
// Cubepoints for current user
echo ““;
if(function_exists(‘cp_displayPoints’)){
global $bp;
cp_displayPoints($bp->displayed_user->id);
}
echo ““;
// END Cubepoints
?>So how it displays on mine is:
User @user
1635 pointsactive 6 hours, 32 minutes ago
Cancel Friendship
Mention this User
Send Private MessageApril 28, 2010 at 11:56 pm #75859In reply to: Extending Groups
John James Jacoby
Keymaster@techguy The philosophy for wide-spread adoption is to not create any additional tables, and use meta whenever possible. This way you can rely on the internal functions of WordPress and BuddyPress to get and set that data, and you don’t have an upset site admin that needs to figure out where to put that table, how to cache it, how to serve it across multiple servers, etc…
I also think it depends on the scope that you need to achieve. The Groups API works really well for just about anything that you would want to plug into the groups component, but at the same time there can also be a need for totally 100% custom jobs where even the built in functionality doesn’t work for your application, in which case a totally custom theme might be in order.
All in all, I usually start with a custom plugin, that relies on the Groups API and group meta, and only use wp_sitemeta/wp_options if it’s a blanket default setting for all groups that can be changed by the site administrator.
April 28, 2010 at 10:03 pm #75827In reply to: put some conditions and redirection upon login
Brajesh Singh
ParticipantEither .htaccess or if that is uncomfortable, you can use some code and checkout for referrer at any of the wordpress actions like “wp” or “init” or anything else. Check for the original referrer and then redirect if the origin is not your site.
April 28, 2010 at 9:15 pm #75819In reply to: BuddyPress.org’s Unified Search – How can I get it?
r-a-y
KeymasterIf you don’t mind dabbling with BP code… sitewide search could be implemented like this (I say “could” because I haven’t tried it yet).
First a form needs to be created with an input field. Then, you’d need to create a new page (in BuddyPress or a page in WordPress with a page template) and add a bunch of BP loops that checks for the same input field variable.
April 28, 2010 at 9:02 pm #75818In reply to: Can you customize the Activity stream page?
pcwriter
ParticipantTry Modemlooper’s widgetized theme as a child theme of bp-default. It might be just what you’re looking for.
April 28, 2010 at 7:35 pm #75789manitas
ParticipantThanks for your reply.
I have tried with this line
define(‘COOKIE_DOMAIN’, ‘localhost.localdomain’);but unfortunately it doesn’t work.
By the way, it doesn’t seem to come from buddypress because wp3 has the same behavior without buddypress. That’s why i just post the same topic on wordpress.org
Thanks again
April 28, 2010 at 7:30 pm #75788In reply to: Forums setup is empty
Mika H
ParticipantHI again and thanx for supporting,
I really dont see where u say i can find the ” groups” in my admin panel of wordpress site.
See picture, where should i go exactly to find this though i cant find anything in the logical place for me to look, as in “Buddypress>>Forums setup”see picture:
http://yfrog.com/jqwpprobljPlease advice.
April 28, 2010 at 7:08 pm #75774In reply to: Hide Admin
Brajesh Singh
Participanthi @r-a-y is_site_admin() and is_admin() are very different. is_admin() checks whether you are inside wordpress admin or not.
@scotm
How about making the activity of admin user private
`add_filter(“bp_activity_hide_sitewide_before_save”,”make_admin_activity_private”,10,2);
function make_admin_activity_private($hide_sitewide,$activity){
//get the current activity
if(current_user_can(‘manage_options’))//user is admin
return 1;
else
return $hide_sitewide;}
`
Hopefully the code goes through this forum.April 28, 2010 at 7:06 pm #75772In reply to: since installing bp new users can not sign up
José M. Villar
Participant@Anthony why don’t you check if “allow new registrations” is enabled at “options” under “site admin” in your wordpress backend ? Read the same question today and provided the same answer, let’s hope it is the same problem !
April 28, 2010 at 6:58 pm #75769NY Law
ParticipantI am really a big fan of buddypress.
-
AuthorSearch Results