Search Results for 'buddypress'
-
AuthorSearch Results
-
July 30, 2009 at 7:56 pm #50363
In reply to: Homepage Left and Right widget bars throughout site
Mariusooms
ParticipantThis is the code for the right bar:
<div id="right-column">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('right-column') ) : ?>
<div class="widget-error">
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-3"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>This is the code for the left bar:
<div id="left-column">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('left-column') ) : ?>
<div class="widget-error">
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-1"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>This code is taking from the bphome theme…I believe it should work in your member theme, but haven’t tested it.
Also check out the bp-dev widget plugin which adds new widget areas for your member theme:
You only need the bp-dev core and bp-dev widget from that list though. I hope that helps get you in the right direction.
July 30, 2009 at 2:18 pm #50355In reply to: BuddyPress VIP Hosting by Automattic?
thebloghouse
ParticipantThanks for the further comments Jeff.
I realise that the VIP service is for larger / select clients but sometimes us small time developers might stumble onto managing the next Facebook for a client and not be able to scale such a site quickly enough

I have already explored some other avenues myself but maybe a BuddyPress site that could be considered high profile / having a great deal of potential could get Automattic to trial such a BuddyPress management service?
Will let you know whether this goes anywhere via the Automattic route!
July 30, 2009 at 2:18 pm #50354In reply to: BuddyPress and Shared Hosting
David Lewis
ParticipantThanks for that Jeff. Disclaimers noted

p.s. I got the server in a clearance sale… so the RAM was pretty low and there wasn’t an option to upgrade anything (as-is sale). It’s only $29/month though! Hard to beat for a dedicated box. And more than sufficient for the sites I’m hosting (so far). I don’t have unlimited disk space. All I have is what’s in the box… no upgrade options. That could be a concern if the WPMU users start uploading media files… but we’ll see. My freelance work may go full time within the year… so if that happens I’d bite the bullet and upgrade to a newer box anyway… and my client base would cover the costs.
July 30, 2009 at 2:05 pm #50352In reply to: BuddyPress VIP Hosting by Automattic?
Jeff Sayre
ParticipantAlso, Automattic’s VIP hosting is provided to just a very few, select, large clients. It is not something you can simply decide to purchase.
So, my guess is that, yes, Automattic will offer BuddyPress installs to their very few VIP clients, but it will not be available to the vast majority of users.
July 30, 2009 at 2:01 pm #50351In reply to: Upgrade confusion.
Jeff Sayre
ParticipantI downloaded the zip file in March 2009. It’s 1.0 by the look of it.
Actually, you are using a pre-release version of 1.0. In fact, you are using the first release candidate (RC1). Before version 1.0 was officially released, there was even an RC2. So, you are five versions behind. There have been significant changes in the BP codebase since then.
As DJPaul states, do a backup of your Database (DB). Your MySQL DB files are stored in a different place than where you have WPMU and BuddyPress installed.
Also as Paul states, you will need to switch from /mu-plugins/ to /plugins. This is not an option.
Here are some detailed instructions. I would read these just so you know how things have changed since RC1.
https://codex.buddypress.org/getting-started/installing-buddypress/upgrading-from-rc-1/
https://buddypress.org/forums/topic/how-to-upgrade-from-rc2-to-10
https://codex.buddypress.org/getting-started/upgrading-from-10x/
July 30, 2009 at 1:43 pm #50350In reply to: BuddyPress and Shared Hosting
Jeff Sayre
ParticipantDavid-
As you say:
I know this is all very hypothetical and hard to judge…
So, given that as a premise, this is just my opinion. It seems to me that your current setup should be fine for what you’ve described. The physical memory seems low for a dedicated server, but you more than likely have sufficient virtual memory allocated to help alleviate some of that inadequacy.
The server’s physical HD space is not an issue since I assume that you have unlimited storage space with your dedicated hosting account. After all, hard drive space should be cheap.
When WPMU sites get to 1000 active users or so (or fewer very active users), many people find that they need a dedicate VPS or even dedicate server to handle just that single site. But, as I’ve said above, it depends on too many variables to accurately provide a detailed set of guidelines. One site may have little issues with several thousand users whereas another has issues at 500 users.
July 30, 2009 at 1:22 pm #50349In reply to: Widget for bbPress/forum discussions
José M. Villar
ParticipantA custom loop is the most direct way, instead of a widget
https://buddypress.org/forums/topic/custom-loops-for-forum-topics#post-17240
July 30, 2009 at 12:58 pm #50348In reply to: BuddyPress and Shared Hosting
David Lewis
ParticipantOkay… so what might be some example of server recommendations for different installations? For instance… I have a dedicated server but it’s not exactly high-powered. The specs are:
– 3.06 Ghz Celeron
– 80GB HDD
– 512 MB RAM
– 1000 GB Traffic
– 10Mbps uplink
Nothing fancy! But I’m only serving half a dozen small blog sites now with very low traffic. Mostly just small personal sites. It’s awesome for that and being dedicated allows me total control and I don’t have to worry about my ‘neighbours’ getting my IP blacklisted… etc.
Now… let’s say I launch a public BuddyPress site with 250 registered users, pretty low traffic from non-registered users, the bpPicture plugin, chat plugin, bbPress and NO personal blogs allowed (just the main blog). Is it gonna go boom? This client can probably afford to pay more for hosting if needed.
I have another potential BP project which would probably also be a low traffic site… but where the client wants users to be able to create blogs. It will be a true community site. It could have… let’s say 20-30 blogs. It would also have forums, photos and chat. This client is a friend. It’s a simple pro bono thing with no custom theming or coding. Problem is, she has no money for more ‘iron’. Not a cent.
I know this is all very hypothetical and hard to judge… but even a rough idea of server recommendations for a few different scenarios would be extremely helpful.
July 30, 2009 at 12:36 pm #50345zkwc
ParticipantAll this stuff that was going wrong after the 1.0.3 auto install:
The bad stuff:
4. The admin bar is missing when you click on someone’s profile and if you click to view a group. The admin bar is active everywhere else, including the backend of blogs.
5. Profile Wires and Forum Wires aren’t working anymore.
No buddypress plugins are active. Haven’t set any of them up yet. Just checking out the install. Not sure why wires aren’t working. hmm.
WPMU 2.8.2 + buddypress 1.0.3 + bbPress
On the wires of the profiles the Avatar is put in replace of the wire with an error message:
Warning: require_once(/home/mysites_org/htdocs/wp-content/bp-themes/bpmember/activity/activity-list.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysites_org/htdocs/wp-includes/theme.php on line 843
On the wires of the “groups” a huge avatar is plucked out of nowhere and I’m getting this message:
Warning: require_once(/home/mysites_org/htdocs/wp-content/bp-themes/bpmember/activity/activity-list.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysites_org/htdocs/wp-includes/theme.php on line 843
This was all fixed by uploading my backup from 1.0.2 of the wp-content – bp-themes – bpmember
There were some files missing from the 1.0.3 auto install that was causing the wires not to work, and the admin bar not to show up in places.
PROBLEM SOLVED!
Thanks to everyone for their very helpful tips!
July 30, 2009 at 12:17 pm #50344In reply to: Member part doesn't exist
coldjippie
ParticipantSuprise, suprise! It’s running. I’ve installed WordPress MU in a folder in a folder and now it’s running. But don’t ask me why the root installation doesn’t work with buddypress in a folder.
July 30, 2009 at 11:00 am #50341zkwc
ParticipantThanks Paul – I’m past that now – site is running but not fully functional and I’ve logged where I am currently in posts after this one.
Plugins have been turned off. Only buddypress is running.
July 30, 2009 at 10:45 am #50340In reply to: BuddyPress VIP Hosting by Automattic?
thebloghouse
ParticipantHave emailed Paul – thanks!
July 30, 2009 at 10:42 am #50339Paul Wong-Gibbs
KeymasterWhen you are installing Buddypress, the only plugin you want in your /plugins folder is buddypress itself. Nothing in /mu-plugins either. Your plugins which run on buddypress are causing this error.
I have a few plug-ins running, but without the admin back end working, I can’t deactivate them. Can I place them in a separate folder temporarily without causing even more havoc? i.e. welcome pack, monty spam, wp ban, limited log in attempts, askimet, etc.
July 30, 2009 at 10:28 am #50335In reply to: BuddyPress VIP Hosting by Automattic?
Paul Wong-Gibbs
KeymasterEmail is probably going to get you a quicker answer. Only a couple of Automattic employees lurk here afaik.
July 30, 2009 at 7:44 am #50328In reply to: Upgrade confusion.
KevinHeath
ParticipantI downloaded the zip file in March 2009. It’s 1.0 by the look of it.
Version number:
BuddyPress Version Numbers
Core: 1.0-RC1 / Activity: 1.0-RC1 / Blogs: 1.0-RC1 / Friends: 1.0-RC1 / Groups: 1.0-RC1 / Messages: 1.0-RC1 / Wire: 1.0-RC1 / Profile: 1.0-RC1 / Forums: 1.0-RC1 /
Readme was in the zip and can be found here:
http://coastalnet.co.uk/wp-content/mu-plugins/INSTALL-README.txt
What should my plan be to get the install running as currently intended? I’m a novice with database driven sites and PHP.
July 30, 2009 at 5:56 am #50325zkwc
ParticipantFatal error: Cannot redeclare bp_activity_install() (previously declared in /home/mysites_org/htdocs/wp-content/plugins/buddypress/bp-activity.php:27) in /home/mysites_org/htdocs/wp-content/plugins/buddypress/bp-activity.php on line 101
Fatal Error after activating new install of Buddypress 1.0.3
The good stuff:
1. It sees all of the profiles.
2. It sees all of the friends.
3. It’s showing all the blogs recent activity.
The bad stuff:
4. The admin bar is missing when you click on someone’s profile and if you click to view a group. The admin bar is active everywhere else, including the backend of blogs.
5. Profile Wires and Forum Wires aren’t working anymore.
No buddypress plugins are active. Haven’t set any of them up yet. Just checking out the install. Not sure why wires aren’t working. hmm.
WPMU 2.8.2 + buddypress 1.0.3 + bbPress
On the wires of the profiles the Avatar is put in replace of the wire with an error message:
Warning: require_once(/home/mysites_org/htdocs/wp-content/bp-themes/bpmember/activity/activity-list.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysites_org/htdocs/wp-includes/theme.php on line 843
On the wires of the “groups” a huge avatar is plucked out of nowhere and I’m getting this message:
Warning: require_once(/home/mysites_org/htdocs/wp-content/bp-themes/bpmember/activity/activity-list.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysites_org/htdocs/wp-includes/theme.php on line 843
July 30, 2009 at 5:23 am #50323In reply to: Live Chat for BuddyPress
ajonesma
ParticipantJust go to http://ww2.toksta.com and create an account and setup your chat the way you want it and click ‘Create Script’ and choose ‘WordPress’, upload it to the /wp-content/plugins dir and follow the readme file directions. It does work because I have it working on my site right now.
July 30, 2009 at 3:47 am #50322In reply to: Live Chat for BuddyPress
Gunjan Jaswal
ParticipantThe plug-in does not working any more.
July 30, 2009 at 2:50 am #50321In reply to: BuddyPress Showoff: Post your links
Andy Peatling
KeymasterWannanetwork.com was running a very old version of BuddyPress, they are taking it down for upgrades and the benefit of a lot of improvements.
July 30, 2009 at 2:31 am #50320zkwc
ParticipantOK – here’s where I’m at. *deep breath*
I’m kind of scared to install buddypress 1.0.3 fresh, which is probably the only way I should do it at this point since that last install totally went awry. Thing is… WPMU is working great right now – and bbPress is still working great too. Will a fresh install of 1.0.3 pick up where I left off? Or do I need specific files from 1.0.2 in order for all the friends lists to work in the bp? I’m terrified that if I do a fresh install that it won’t pick up all that information automatically. OR… is all that information stored in the database and not a file? If it’s stored in the database I should be good to go, right? Or will there be malfunctions with bbPress and will I need to input the required cookie codes in order for things to pick up again? Or will the database (if it’s all stored in there) just be intelligent and see it?
Just wondering if anyone has ever done this before and knows the answers. Sorry for all the questions, just scared the blogs will flame up again and cause even more user emails to me asking why this and that. LOL
Thank you thank you!!!
July 30, 2009 at 2:01 am #50317In reply to: Upgrade confusion.
Jeff Sayre
ParticipantWhich version of BuddyPress are you running? Where did you find those instructions?
I don’t think BP has been installed in /mu-plugins/, and has been referenced that way in the readme.txt file, for over four months. I just looked back at 1.0.1, 1.0.2, and 1.0.3 and all three of those versions have in their readme.txt file what I excerpted above.
Always read the readme.txt file that comes with the installation package.
Here’s the readme.txt file from v1.0.1: https://trac.buddypress.org/browser/trunk/readme.txt?rev=1621
Here’s the one from v1.0.3: https://trac.buddypress.org/browser/tags/1.0.3/readme.txt?rev=1614
Here’s the installation directions located in the BuddyPress codex.
July 30, 2009 at 1:51 am #50316In reply to: BuddyPress and Shared Hosting
Jeff Sayre
ParticipantThere is more overhead with WPMU, but the biggest issue is whether a site allows its members the option to create blogs and how many active blogs the site has. So, running single-version WP could help reduce the load in theory.
But, BuddyPress can also be a bandwidth, memory, and harddrive-space intensive plugin suite. It all depends on a site’s user activity and what additional BP-dependent plugins a site installs and activates.
For instance, if a site uses a media plugin that allows users to upload photos, mp3, and video files, then a low-powered hosting account could get swamped even if it is “just” running single-version WP.
July 30, 2009 at 12:34 am #50315In reply to: Trying to stop spam email
r-a-y
KeymasterI liked this idea, so I implemented it on my BP install.
I decided to do step #2.
Here’s what I added to my /wp-content/plugins/bp-custom.php:
function bp_send_message_to_friend_button() {
global $bp;
if ( bp_is_home() || !is_user_logged_in() || !friends_check_friendship($bp->loggedin_user->id,$bp->displayed_user->id) )
return false;
$ud = get_userdata( $bp->displayed_user->id );
?>
<div class="generic-button">
<a class="send-message" title="<?php _e( 'Send Message', 'buddypress' ) ?>" href="<?php echo $bp->loggedin_user->domain . $bp->messages->slug ?>/compose/?r=<?php echo $ud->user_login ?>"><?php _e( 'Send Message', 'buddypress' ) ?></a>
</div>
<?php
}Then I edited the template files mentioned above with the new function call – bp_send_message_to_friend_button().
Now, the “Send Message” button only shows up if you are a friend of said user.
I’ve added a trac ticket about this issue as an enhancement, so maybe the above change will be built into the bp_send_message_button() function in the next BP release instead of having to add your own function.
—
There’s still the autocomplete feature in the “My Messages > Compose” area, as well as the wire and group wire to worry about though… one step at a time!
July 30, 2009 at 12:27 am #50314In reply to: BuddyPress and Shared Hosting
Greg
ParticipantHow much of a difference should we expect to get when using WP single user (when this is an option in future)?
And if it is significant, why is this the case? And is it also true for WPMU with a single blog, or is the difference that people are expecting a WPMU installation to have multiple blogs?
July 29, 2009 at 11:29 pm #50313In reply to: Trying to stop spam email
r-a-y
KeymasterIs this a bot or a manual signup who manually sends messages to the users?
Anyway, the way I see it, there are two ways to combat this problem in the interim:
1) do a check to see if the logged-in user is a friend of that user, if so run the bp_send_message_button() function
2) code own function based on bp_send_message_button() and do the check within this function
Either option will require modifying the Buddypress member theme template in three places:
* /bp-themes/bpmember/activity/just-me.php
* /bp-themes/bpmember/wire/latest.php
* /bp-themes/bpmember/profile/index.php
(I’m using the default BP member theme as an example)
This is only for the “Send message” button though… how did the person spam your users?
-
AuthorSearch Results