Forum Replies Created
-
In reply to: Is there a widget available for recent forum topics?
I don’t know about an off the shelf widget, but you could write one easily enough using the activity loop and filtering for forum posts:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
In reply to: Blogs on my BPsite@Bonlu – make sure you have WordPress set up for multisite: https://codex.wordpress.org/Create_A_Network
Then take a look at the recent site wide posts widget (in your wp-admin backend: appearance… widgets)
You need to develop your child theme so that it allows for the widget to be embedded on the home page, or take a look at the code in the widget and implement your own version in your home page template;
Developing your own child theme: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
In reply to: wanted to setup a network for my college@adiljaved – yes, each individual having their own blog is a standard BuddyPress setup.
You’ll need to install WordPress 3.0 and configure it for multisite: https://codex.wordpress.org/Create_A_Network
Then install the BuddyPress plugin (from the plugins menu), and it’s as simple as that. You’ll have a default installation, default theme, and the ability for each individual to have their own blog.
Ask the hosting question separately – there are lots of possibilities (we use hostnine – a US company with servers in a few countries). Type of server you need will depend on the amount of traffic you get to your site.
In reply to: How do I detect whether I’m on a BuddyPress page?@zamoose – you can use the function: bp_current_component() that returns a boolean
To detect specific pages, you can use bp_is_page() as @modemlooper points out. Use it like this:
bp_is_page( BP_MEMBERS_SLUG )
bp_is_page( BP_ACTIVITY_SLUG )
bp_is_page( BP_GROUPS_SLUG )
bp_is_page( BP_FORUMS_SLUG )
bp_is_page( BP_BLOGS_SLUG )Other functions (look in bp-core-templatetags.php) include:
bp_is_activity_front_page()
bp_is_activity_component()
bp_is_directory()
bp_is_home()
…
etc.there are lots of them
In reply to: Paid Help?Yes, I don’t know why the job board was taken down, nor why the forum threads get locked (almost crusade like). If the threads are locked they quickly disappear off the front page, so are never seen by the vast majority. It’s a really valuable service for more than a few BuddyPress users and developers.
We’ve resorted to posting in our status about opportunities. It’s frustrating, we have some great opportunities to augment our BuddyPress development team, but no way to advertise them effectively.
@techguy – please add us to your list on twitter (@21inspired)
other than the check for mod_rewrite.c, you have the same .htaccess that I have in a default install, with permalinks set to /%category%/%postname%/ (http://playground.21inspired.com is a simple default install).
My .htaccess:
# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
Unfortunately, this is beyond my area of expertise. Hopefully, someone else can help you get rid of index.php in your urls, and get the blog & BuddyPress urls resolved correctly.
Other quick thoughts: is your .htaccess in your site’s root directory? Do you have other .htaccess files in the subdirectories? Does your server support mod_rewrite?
Anyone able to help?
In reply to: How do you edit the header file?@geekoftodd is that really all you have in the header.php file in bp-default? If you site looks ok with the default install, that can’t be the case.
If the default install isn’t displaying correctly, try deleting and then reinstalling the theme.
As the guys point out – just type the basic URL of your pastebin snippet in your message here, don’t embed as an iframe@christinarule – also, do you have anything in the category base field on the permalink page?
@christinarule – if you post your .htaccess and wp-config.php files (use pastebin.com). It might help pinpoint the problem.
I think there is something wrong in your basic install / wp-config.php / .htaccess setup. I’m surprised to see your blog pages have index.php in the url, even though you’ve set /%category%/%postname% as the custom structure.
I suspect the problem is not in BuddyPress, but perhaps in the basic underlying install structure.
Unfortunately, I’m not an expert on fixing this though. Anyone else able to help?
Some pointers, but not a solution:
@ipstenuThe featured image is referenced by _thumbnail_id . It’s not stored in the $post data structure, instead it’s held in the postmeta table.
There are look up functions to get the featured image from the post_id of course, but not sure how efficient these would be… I guess you still have to have to switch to the correct blog (switch_to_blog()), before using the post_id in the 3.0 multisite world?
Maybe I’m taking it off track here
In reply to: How do you edit the header file?@geekoftodd: Post your code using pastebin (pastebin.com) as it’s not showing in the forum
The header.php file for the default BuddyPress theme is in /plugins/buddypress/bp-themes/bp-default
Keep that theme where it is, and develop your child theme (derived from bp-default) in the standard themes directory
In reply to: What template does this use?@hnla – yes, a lot of the ‘disproportionates’ probably just need the API / template tags stripping back to something finer grained. Leaving the control on string building, content and presentation in the front end templates.
In reply to: What template does this use?@lunakm – You see all the comments in the activity stream anyway… but, ok… having the link to give someone is useful in your use case.
Part of the annoyance, is that the view link is there by default, gives a poor user experience, is useless 99% of time, and difficult to remove (it’s not as simple as an edit in a template file).
Keeping the permalink page is fine, but the view link to it probably shouldn’t be included as part of the default long activity header string that’s generated by the core activity files.
i.e. the view link should be opt-in, not ‘re-implement’ a core function (or write a ‘very clever’ string parsing filter) if you want to remove it
In reply to: EventPress@kunalb – I suspect EventPress is going to be a very important plugin – congrats on the work.
Given this – It might an idea to make a specific group for EventPress, rather than posting in the general third party components and plugins group
Looking forward to using it. Cheers, Roger
In reply to: What template does this use?I think it’s using permalink.php in member/single/activity
IMHO – it’s the most useless page in the standard BuddyPress set up, serving only to look bad and frustrate users who are expecting to see some “added value” when they click on the view link for a status update.
Perhaps there’s a good use for it?
In reply to: BuddyPress good for Feedback forums?@jeherve – I don’t know about a development blog for the bbPress plugin. You are probably best to ask John James Jacoby directly.
It might be a good idea to ask the question directly in this support forum about reviews / voting. Do a search first to see what other threads are around.
In reply to: Blog Theme / Buddypress ThemeYes, you’ll have to either modify the CSS for the BuddyPress page templates, and / or actually modify the template files (PHP / HTML), depending on how much you want to change the default layout.
Don’t make the changes in bp-themes/bp-default though. Instead, it is best to create your own child theme: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
In the standard setup, the site administrator has to install the themes that will be available to the users for their own blogs. I don’t know if this can be overridden to allow the users to install their own themes directly.
In reply to: BuddyPress good for Feedback forums?@jeherve – there are some exciting developments happening with bbPress, which should help you build your site.
A new version of bbPress will work better with BuddyPress to provide the one main forum solution you are looking for, backed up by all the advantages of the BuddyPress social platform for looking after the user base.
A beta of the new bbPress (installed as a plugin in your WordPress site alongside BuddyPress) is due around the middle of September. @johnjamesjacoby is leading the development.
Not sure on the reviews / voting, but there are bound to be some good plugins out there.
In reply to: Blog Theme / Buddypress Theme@johnwinch42 – I think it is a terminology problem:
Each page in a WordPress / BuddyPress site can have it’s own template, so for example a template for posts (single.php), for categories (archive.php), etc.. You can even specialise it further, so that different types of posts have different templates and so on.
BuddyPress extends WordPress in the same way, adding new template files for groups, activity, members, profiles, etc.
A theme is a collection of template files, CSS, and javascripts, that are used together to give your site its design, look and feel.
A BuddyPress site typically has one theme that contains the template files for both the main blog and the social network parts. Although it’s one theme, you can style each part uniquely (e.g. the main blog and social network can look different), because you have different templates within that theme for each part of the site.
Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.
Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.
In reply to: Plugins requiredAs @justbishop touched on, posts with Paypal buttons are fine for occasional sales, but don’t cope with all the reporting, inventory control, complex pricing & delivery rules, tax calculations, configurable products, etc … That you might expect an ecommerce extension to handle for you.
An etsy type site might well work though with custom post types – depending on the reporting needs of the site owner. @modemlooper – we should maybe touch base on this one, as one of our current client projects has some etsy on BP characteristics
@christinarule : unfortunately, I don’t know how to set your links to include index.php, but confused why you would want that? Without the index.php will give you better search engine performance, as well as being more human readable
In reply to: Blog Theme / Buddypress ThemeYour option 1 is a standard BuddyPress install structure. (although themainblog is probably better referred to as sitename)
Your second option is in two parts – nameofablog.sitename.com is again the standard BuddyPress / WP subdomain install.
buddypress.sitename.com/members/ does not fit in though. It would be http://www.themainblog.com/members as per your option 1.
Each blog can have their own theme. The BP admin bar can be shared across the top of all blogs, or removed on a blog by blog basis (a call in the blog’s template file – functions.php)
So, to summarise, the standard BP / WP subdomain install is:
http://www.sitename.com – the main blog
http://www.sitename.com/members (etc.) – the social network elements – profiles, directories, etc.
anotherblog.sitename.com – a member’s or other blog on the siteYou can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)
Each additional blog can have it’s own completely independent theme
The admin bar can be shared across the top of all blogs
Hope that helps, Roger
In reply to: Need to check if bp_profile_field_data() has dataIs your field definitely called “skills” – no spaces, same capitalisation?
Things to try (one at a time):
1. use == instead of ===
2. use strcmp() to compare the strings instead of ===
3. use the field id function instead of the field name functionGood luck.
p.s. I’d change your ‘else if’ to ‘elseif’ as well
@r-a-y: will give you that one!
