Search Results for 'buddypress'
-
AuthorSearch Results
-
March 11, 2011 at 11:08 am #107526
In reply to: Customizing profile page navigation strip
nigelanderson
MemberPartly answering my own question, from the default buddypress theme I’ve found that the navigation strip is generated by this bit of code:
<div class="item-list-tabs no-ajax" id="object-nav"> <ul> </ul> </div>Could someone explain a little about how this works? I’ve located bp_get_displayed_user_nav() in the bp-core-templatetags file. I’m not sure about the next line.
Thanks!
March 11, 2011 at 8:26 am #107511John James Jacoby
KeymasterNo support for child themes in the repo yet, at least not officially. I think a few old reliable ones may be in there as special cases.
Chances are for BP specific child themes to make it into the repo, it would also need to be a WordPress theme that would work just fine without BuddyPress active at all.
March 11, 2011 at 8:09 am #107509In reply to: BuddyPress throwing 404
r-a-y
KeymasterThese are not errors, but debug notices.
Most of these debug notices have been fixed in the forthcoming version of BuddyPress.
Do you have WP_DEBUG defined?
March 11, 2011 at 7:53 am #107505In reply to: How display login form on website
r-a-y
Keymastertest.php is not a WordPress page, therefore you need to call WordPress in your custom script before you can use WordPress / BuddyPress functions.
Read this:
http://wpengineer.com/1038/embed-wordpress-functions-outside-wordpress/There’s a bunch more articles like this on the web. Do a search on Google to find out more.
March 11, 2011 at 7:47 am #107504In reply to: How to display the User Post Count in Topic.php
r-a-y
KeymasterUse the Member Profile Stats plugin:
https://wordpress.org/extend/plugins/buddypress-member-profile-stats/It comes with a set of handy template tags you can use like post count.
March 11, 2011 at 6:09 am #107499In reply to: BuddyPress throwing 404
mwp
MemberI had to reinstall wordpress. I got tons of errors when I try to add buddypress plugin in the latest 3.1 wordpress:
Notice: Undefined offset: 0 in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 85
Notice: is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.) in /var/www/html/site/wp-includes/functions.php on line 3422
Notice: Undefined offset: 2 in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 158
Notice: Undefined property: stdClass::$loggedin_user in /var/www/html/site/wp-content/plugins/buddypress/bp-forums.php on line 530
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-forums.php on line 530
Notice: Undefined property: stdClass::$displayed_user in /var/www/html/site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Undefined property: stdClass::$profile in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 816
Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile.php on line 101
Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile.php on line 102
Notice: Undefined index: fileupload_maxk in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 35
Notice: Undefined property: stdClass::$current_group in /var/www/html/site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Undefined variable: count_indicator in /var/www/html/site/wp-content/plugins/buddypress/bp-messages.php on line 115
Notice: Undefined index: action in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 571
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/site/wp-includes/functions.php on line 3387
March 11, 2011 at 5:28 am #107497In reply to: BuddyPress throwing 404
@mercime
ParticipantDeactivate BuddyPress and BP plugins. Run Settings > Permalinks and choose permalink other than default. https://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F and next topic below that is content of htaccess for single WP installation
Resolve WP installation before activating BuddyPress. Also if you plan to allow blogs for your users, create a network i.e. go multisite and resolve any issues before activating BuddyPress.
March 11, 2011 at 5:09 am #107495In reply to: ERROR: There was an error when creating the topic
Virtuali
ParticipantWell, @hnla might be more insulted when you call that “silly” since she was the one who provided that solution that worked for many people.
Have you changed your database info ever? Changing database info can cause this to happen.
March 11, 2011 at 4:45 am #107493In reply to: BuddyPress throwing 404
mwp
MemberIt doesn;t really say what should be there in .htaccess file. Can you point me to some other doc that gives that info.
BTW: I am able to get the main home page but then none of the links work. They give that 404 error.
March 11, 2011 at 3:00 am #107492Luca Foss
MemberHello…sorry for the late response (was at work)…I’m using WordPress 3.0.2 and I’m also using BuddyPress Version 1.2.7
March 11, 2011 at 1:18 am #107490Rob Watson
MemberOk, I did finally realize that my problem of getting nothing at http://ip.address… was because I my index.php file went missing.
Duh.
But, despite the permalink update and correctly generated .htaccess file, I still don’t have access to posts and pages. Just the home page. BuddyPress isn’t installed yet. This is just the base WP 3.1 install.
March 10, 2011 at 11:38 pm #107486In reply to: Buddypress roles
larrysmith1000
MemberHere’s a little bump of requests, and reasons for added user capability management and/or user roles in buddypress. Sorry for the list, but it seems like there is some resistance in the BP community to doing this, while there are many requests for it.
This couldn’t be done without user roles:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sticky-a-group-in-the-directory/
Because clearly you won’t want to all anybody to make a group “sticky”A recommendation to hack buddypress to create roles:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/assigning-user-roles-to-members-cant-find-it/Crazy use of multiple wp plugins to create user roles for bp, with no success:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/setting-roles-for-registered-users/End of this thread about restricting group creation
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/forum-user-roles-and-moderator-ability-bp-12-rc2-wp-291/Another shaky attempt to restrict group creation
http://wpmu.org/how-to-restrict-buddypress-group-creation-based-on-user-roles-and-capabilities/Unanswered request for user capabilities management admin
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/better-user-management-capabilities/Another request not answered:
https://buddypress.org/community/groups/creating-extending/forum/topic/customizingadding-group-user-roles/March 10, 2011 at 10:58 pm #107481In reply to: Changing Group tab display defaults
ORyanMcentire
MemberThanks @r-a-y that code worked great!
Just a note, If you changed the group slug [via: define( ‘BP_GROUPS_SLUG’, ‘new_slug’ );] you will need to alter this code where it says ‘groups’ to match.
March 10, 2011 at 9:41 pm #107474In reply to: Can’t install plugins- Error message showing up
aces
ParticipantMarch 10, 2011 at 9:35 pm #107473In reply to: Restricting group creation to admins
March 10, 2011 at 9:10 pm #107471In reply to: How can I easily post images in the activity stream?
Avi M
ParticipantMaybe you can tweak oembed to also do images.
Also what about trying a wp plugin that creates a pop image of image links. Im sure there is something like that out there. Again not the perfect solution but maybe something for now while you sort it out.
March 10, 2011 at 8:56 pm #107469In reply to: Buddypress roles
larrysmith1000
Member“Providing that flexibility is nice. However, with the exception of groups, there is no reason that the current BP core components need to offer the ability to assign roles. Why would a user want to grant someone the right to control their personal content? Facebook and Twitter don’t offer users that option.” — Jeff Sayre
Hi Jeff, sorry to reopen this topic, but I think it needs a revisiting.
The ability to easily hook into wp user capabilities and extend them to buddypress user capabilities is useful in several social network contexts. And, I hope buddypress is trying to be a more flexible platform than facebook or twitter since it is an open source platform that developers would like to be robust and scalable. I understand the idea of an egalitarian social network like facebook, etc. However, there are many social contexts in which a hierarchical social network structure might be needed. Furthermore, adding the flexibility to developers as an additional component of buddypress would not complicate it’s egalitarian default settings.
One example of a hierarchical context is an educational institution with Administrators, Professors, Instructors, Teaching Assistants, Students, Prospective Students, Alumni, etc.:
As it is now, there are only bbPress roles within groups (which are needed). However, without the ability to assign capabilities within buddypress outside the scope of groups, it is nearly impossible to create capabilities restrictions such as:
user_may_create_groups
user_may_start_forum
user_may_delete_comment (e.g. spam or inappropriate comments)
user_may_assign_capabilities
and so on.In particular, the ability to restrict certain users from creating groups has been a topic in many other forums about buddypress. Yet, it hasn’t been well addressed.
March 10, 2011 at 8:55 pm #107468Rob Watson
MemberStill not fixed.
I did a ground-up uninstall and reinstall of all the components of the LAMP stack:
Uninstall
1) yum remove httpd (preserved my httpd.conf file in the /etc/httpd/conf directory, deleting everything else)
2) yum remove mysql
3) yum remove php
4) deleted everything out of /var/www/htmlThis puts the server back to its fresh install situation before I ever added any packages. This is a brand new RedHat Enterprise Linux install with nothing else running on it.
Install
1) yum install httpd
2) yum install -y mysql mysql-server
3) yum install -y php php-mysql
4) Copied wordpress files to /var/www/html, which is the DocumentRoot setting in my httpd.conf file, ensuring that chown -R apache:apache and chmod -R 755 on everything, including html directory
5) Restored /etc/httpd/conf/httpd.conf from backup
6) Started httpd using /sbin/service httpd start. It starts with zero errors. All ok.I type in http:// followed by the IP address currently standing in for my domain name (as yet undetermined). Earlier in our discussion thread, I used to get the wordpress install script. Now I just get the Apache server test page for RedHat Linux. If I put index.html with “
It Works!
” into /var/www/html, then I see that. If I remove the index.html, I still don’t see the install script starting up. Just that Apache RHEL default test page.
But, if I add /wp-admin to my URL, it DOES go into the install script. That was something I didn’t have to do before. But at least I’m getting this far. So I go through the install and get into the Dashboard.
I immediately go to the Permalinks menu and switch to a different scheme so as to generate the .htaccess file. That works just fine. I then immediately go to test the home page. Nothing but a 404. Earlier in this thread, I at least got the home page when none of the other links worked. Now that doesn’t even work.
This really sucks. I can’t figure out what’s wrong because this server is exactly like other servers our hosting provider has given us for the same thing, and those all work fine. They don’t troubleshoot WordPress installs because, well, they just don’t. Their business is server hosting. The app level is up to the customer.
What did I miss? How could this time through (the same as the first, second, third, and fourth time through) of the install have resulted in something so different?
Thanks.
March 10, 2011 at 8:12 pm #107466In reply to: Restricting group creation to admins
larrysmith1000
MemberI’m after it too vonkanehoffen. I’d have thought there would be lots of people in this boat.
It seems the buddypress developers are discouraging the use of user capabilities in buddypress. They don’t want it to be used for content management. I’m not sure why. I think it is a mistake. It makes buddypress look like a hanging appendage off of wordpress. It doesn’t allow buddypress to integrate seamlessly into wordpress’s blog engine.
March 10, 2011 at 7:43 pm #107460March 10, 2011 at 7:34 pm #107459In reply to: Missing Site Admin tab
Virtuali
Participant1st one Sounds like a wordpress issue: https://wordpress.org/support/
Second issue is already on the trac: https://trac.buddypress.org/ticket/3098 will be fixed for 1.3
March 10, 2011 at 6:30 pm #107450In reply to: BuddyPress throwing 404
@mercime
ParticipantYou need one or else you can’t use BuddyPress.
https://codex.buddypress.org/getting-started/before-installing/
https://codex.wordpress.org/Installing_WordPressMarch 10, 2011 at 6:21 pm #107447In reply to: BuddyPress throwing 404
mwp
MemberI don’t have .htaccess file
March 10, 2011 at 5:15 pm #107440In reply to: Update permalinks in activity stream
imjscn
Participant@pcwriter , I currently use otto’s /%year%/%postname%/ with some pityful feeling of missing the “category”, Now I see your new structure, I like the idea

By the way, you didn’t mention the default blog/ before the custom structure. Did you remove it already? I know there’s a way to remove the blog/ — from the site edit page. But I’m not sure if it is the correct way — what’s your opinion?March 10, 2011 at 5:09 pm #107439In reply to: Page not found
fesko
ParticipantI tired this but still no luck…I was working the index.php of my buddypress theme:
/wp-content/plugins/buddypress/bp-themes/bp-default
I save a copy before i began editing so i tried putting that back and still not working.
Thanks for any help you provide.Robb
-
AuthorSearch Results