Forum Replies Created
-
Almost!

Check this out:
http://pastebin.com/JXpucxwa (commented the code so hopefully you can learn from it!)In reply to: Activity Stream – “XYZ User has a new avatar”Hey Rich, this is a better hook: xprofile_avatar_uploaded
Okay file count isn’t working, but we’re getting somewhere

I’ll reply back with a better filecount function.Yeah sorry, didn’t mean to sound harsh! We all start out somewhere!
You’d have to “explode” the input variable. Look up “php explode” on Google.
Then you’ll have to run a cool foreach loop… good thing about building a plugin is you learn!
In reply to: Alternative to FacebookAlways good to have options. Four coders on the project sound good.
Here’s one thing that caught my eye when the Diaspora coders were talking about similar projects that failed (DiSo):
http://joindiaspora.com/2010/04/30/a-response-to-mr-villa.htmlTo answer directly, I am pretty sure DISO failed because:
1) They tried to add on to WordPress, a project which was not designed from the ground up to be a distributed network.
2) (a guess) they quickly tried to support all sort of features without building some sort of common infrastructure before trying to add functionality.
I would have replied and mentioned BP of course

But I also get their point.Try echoing $filecount see if anything outputs.
Also echo the $path to see if it correctly outputs the upload path.In reply to: What’s happened to my background?Try this in your stylesheet:
#content #leftSidebar, #sidebar .padder {padding:0 !important;}In reply to: Modified Admin BarTry this:
http://pastebin.com/8KEwCPnBWhy are you separating the functions for the same action?
Look how cleaner this is:
http://pastebin.com/XUZuS7k8That’s a pretty messy conditional – it’s not great to have functions within functions.
I took a little deeper look at the BP code for avatars and the following should work, though I haven’t tested it:
http://pastebin.com/KvsL9svwIn reply to: Here come the spammers!!!This thread should be developer-focused and less “why aren’t you guys doing anything about it?”.
I don’t want to start moderating this thread, but please keep comments focused on combatting spam instead of bickering about it.
We are all aware of the problem.In reply to: Understanding bp_core_load_templateIf you’re using your plugin internally, you don’t really have to worry about loading a template.
Loading templates are useful for other BP themes.
In reply to: Web Shop or E-Commerce with BPIf you’re using standard WP, you should be able to use any ecommerce plugin that’s available for WP.
https://wordpress.org/extend/plugins/tags/ecommerceIn reply to: Adding a background imagetechguy is right.
In reply to: Adding a background imageRemember that style.css file you created for your child theme?
Open style.css in a text editor and add the snippet above to the end of style.css.
Nice job, Mr. Pratt!
In reply to: Regular wp theme to a buddypress theme?Did you get to step 3 of the plugin?
It gives explicit instructions on how to modify the template to match your WordPress theme.
—
If BuddyPress pages are not aligned correctly then you will need to modify some of the templates to match your theme’s HTML structure.
Then open up the page.php file (if this does not exist use index.php). Make note of the HTML template structure of the file, specifically the [div] tags that surround the content and sidebar.
You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file. The files that you need to edit are as follows (leave out any folders you have not copied over in step two):
* /activity/index.php
* /blogs/index.php
* /forums/index.php
* /groups/index.php
* /groups/create.php
* /groups/single/home.php
* /groups/single/plugins.php
* /members/index.php
* /members/single/home.php
* /members/single/plugins.php
* /registration/register.phpOnce you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.
—
If you can’t get this to work, just use a pre-made BuddyPress theme.
In reply to: Regular wp theme to a buddypress theme?That link only gives you the latest bleeding build of BuddyPress.
It has absolutely nothing to do with building a theme.—
I hate to repeat myself, but…
If you want to customize or make changes to the default BP theme, read the following article to create a child theme:
https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/If you’re using an existing WordPress theme, then only use the BuddyPress Template Pack plugin with your WordPress theme:
https://wordpress.org/extend/plugins/bp-template-pack/It helps if you know the basics of developing webpages and/or creating a WordPress theme. If you have no idea how to do either, you might find theme customization challenging.
In reply to: Is there actually an ‘elegant’ way to use an iframe?Check out any type of jQuery lightbox script for WP:
https://wordpress.org/extend/plugins/tags/lightboxIn reply to: installing bbForums on existing buddypress siteNew version of the oEmbed plugin will allow you to define a fixed width in the activity stream and activity permalink. I guess I could add a resize option for forum posts.
In reply to: Customize Porifle pageRequires a custom plugin. Such a plugin doesn’t exist at the moment.
In reply to: installing bbForums on existing buddypress siteEither add the snippet to /_inc/ccs/custom.css or add it directly to style.css.
In reply to: Members only@cdmmcg – Just add a conditional WP tag to the bp_is_register_page() line.
is_page('your-page-slug')In reply to: installing bbForums on existing buddypress siteAdd the following to your theme’s stylesheet:
div#topic-meta h3 {padding-bottom: 1em;}I just talked things over with Andrea; I’ll be releasing a plugin shortly with the code snippets posted above.
I’ll add private message username overrides as well. Is there any other place where display names are used?However, I do see some benefit with leaving the “Name” field on the registration page. The name gets displayed on a BP profile – eg. http://testbp.org/members/andy/profile/.
Also Twitter does something similar; they add the “Name” field to the sidebar of each profile.
FYI, first name, last name and nickname fields are not added to the registration page unless you manually created them as xprofile fields. Look at testbp.org’s registration page for an example: http://testbp.org/accounts/