Search Results for 'buddypress'
-
AuthorSearch Results
-
February 13, 2011 at 9:12 pm #105332
In reply to: The Forum Topic’s Second Post’s Position
r-a-y
KeymasterThere’s no such function.
You could try something like this in your theme’s functions.php:
`
function my_not_first_post() {
global $topic_template;$current_page = $topic_template->pag_page – 1;
$post_position = $current_page * $topic_template->pag_num + $topic_template->current_post;
if ( 0 != $post_position ) {
// do your business here… eg.
echo ‘Re: ‘;
}}
`Then you can shove this function in topic.php:
“Disclaimer: Untested.
February 13, 2011 at 8:58 pm #105327In reply to: Making Buddypress a Social Network for non-bloggers?
r-a-y
KeymasterThesis is only a WordPress theme.
—
You don’t need to create a WordPress network if you don’t want users to create full-blown WordPress blogs.
If you want your users to post on a single WordPress install without creating a WP network, you might be interested in this thread:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/user-blogs-without-multisite/February 13, 2011 at 8:50 pm #105326In reply to: Creating custom link in menu to profile page
r-a-y
KeymasterCurrently, this isn’t possible to do in the dashboard, you have to manually add some template tags into your theme.
Template tags can be found in the /plugins/buddypress/ directory. Look for files suffixed with -templatetags.php.
—
I’ll get you started with a link to the logged in user’s profile page.
Add this to your theme’s functions.php:
`
function my_profile_link() {
global $bp;if ( $bp->loggedin_user->id )
echo ‘loggedin_user->domain . $bp->profile->slug . ‘/”>Profile‘;
}
`Then add the following in your template:
`
if ( function_exists( ‘my_profile_link’ ) )
my_profile_link();
`The rest is up to you!
February 13, 2011 at 8:41 pm #105325In reply to: HTML/Javascript in Admin bar
r-a-y
KeymasterRead this codex article:
https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/February 13, 2011 at 8:38 pm #105324In reply to: Uninstall Problems
r-a-y
KeymasterIf you used the BuddyPress Template Pack plugin to add BP support to your theme, the plugin copies over template files to your theme’s directory.
You can remove these template files by deleting these directories in your theme:
/activity/
/members/
/groups/
/forums/
/blogs/
/registration/Also make sure you have BuddyPress and anything BuddyPress-related deactivated.
February 13, 2011 at 8:35 pm #105322r-a-y
KeymasterYou can also try the instructions listed here to increase your memory limit:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHPFebruary 13, 2011 at 8:32 pm #105321r-a-y
KeymasterTo find the profile group id, navigate to “BuddyPress > Profile Field Setup”.
Then under the profile group you want, hover over the “Edit” or “Delete” link.
You should see a link that looks like this:
`/wp-admin/admin.php?page=bp-profile-setup&mode=edit_group&group_id=2`“group_id” is the variable you’re looking for.
—
The alternative is to remove the `’profile_group_id=1’` declaration in the register template, that should show all profile fields that you have created.
February 13, 2011 at 7:41 pm #105315In reply to: Making Buddypress a Social Network for non-bloggers?
TimCarey
ParticipantDo I need to have the network and super admin with buddy press. I didn’t because I don’t want individual blogs. Is there another way to deactivate blogs? And above the mention something called thesis. What is that? I have a test site and everything seems to be working great. And but it is network activated. My production site has everything installed correctly except the network is not activated. But this production site doesn’t send a activation emails. If I had network activated, how do I deactivate blogs? I also wonder about having group pages. Something that can explain the group in the march larger page. And then have all the other group pages be subordinate.
February 13, 2011 at 5:43 pm #105311davemoppert
MemberI was having the same issue with my test site: http://epicgeniusmedia.com/fmp2/. All of the members or activity links just re-directed to the homepage. I had bbPress installed and integrated with my WordPress site beforehand and was having login issues with that as well, so I deleted that forum and used BuddyPress forum setup to create a new one. Everything seems to be working fine now!
February 13, 2011 at 5:37 pm #105310aces
ParticipantYou look like you are using 1and1 shared hosting which has very low memory allowances for running buddypress….. see https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/rss-error-in-dashboard#post-88690 if you are.
1and1 have also disabled any tricks I have found that were supposed to increase memory….
They say on their uk website that even if wordpress reports more than 30mb it won’t be accurate – and my experience shows it should be less than that!
February 13, 2011 at 1:46 pm #105305In reply to: How do I uninstall Buddypress on standard WP blog
WisTex
MemberSo basically I have to redo all the changes I made to the theme after installing buddypress? That sucks. I tried restoring some of the files, but the buddypress installation screwed it up so that when I edit certain template files, like index.php, the changes do not take effect at all. It simply ignores it. I can’t figure out why.
February 13, 2011 at 11:56 am #105304Hugo Ashmore
ParticipantThis is a support forum for a WP plugin, BuddyPress – you are asking a question related to WP blog posting, you need to take this to the appropriate forum https://wordpress.org/support/ but before you ask check through their Codex pages to ensure that the question you ask isn’t already covered by a guide and also search the forum for previous related threads in case your question has already been covered there.
February 13, 2011 at 9:19 am #105303In reply to: How to add MarkItUp! Is there an easy way?
ewebber
Participant@svc yup it did have issues, which seems because the developer didn’t create it for buddypress, but he did come up with a solution that seems to work for me. I have been through the guide on etivite and I couldn’t get it to work, I will try again through
February 13, 2011 at 6:46 am #105300@mercime
ParticipantRemoving adminbar in blogs except where BP is installed – see this. Add opening `<?php` and replace BP_ROOT_BLOG with id # of blog where BP is installed.
February 13, 2011 at 6:25 am #105299In reply to: Sidebar profile data
Virtuali
ParticipantNot really in the forums-loop, more if you want to add it under the widget, go into your sidebar.php.
These $bp-global strings are always available for use, in your case here: https://codex.buddypress.org/developer-docs/the-bp-global/
so where you want the links to appear (view profile, etc) , you will need to add the strings `$bp->loggedin_user->domain`
So:
`<a href="/profile/edit”>Edit Your Profile`
February 13, 2011 at 4:41 am #105291In reply to: Changing default (Core) field in buddypress
goinsurgency
MemberThanks, this was very helpful
February 13, 2011 at 4:21 am #105289In reply to: [HowTo] Buddypress & Tumblelog
modemlooper
ModeratorYou may be able to use gravity forms plugin
February 13, 2011 at 4:05 am #105288In reply to: [HowTo] Buddypress & Tumblelog
txs
ParticipantOr should I create a options for user to sign up a category on the main blog so they can post their posts on their blog tab after member’s profile
and let the category not show on the main blog post stream?February 13, 2011 at 4:02 am #105287In reply to: Choosing pages to be in the top navigation
pcwriter
ParticipantThe bp-default theme does not yet support WP3 custom menus, but it will with Buddypress v1.3. In the meantime – and this is a good idea at all times – use a child-theme that does support custom menus.
February 13, 2011 at 3:30 am #105286justinwhall
ParticipantYa, i know. But I want it there for the main site. Easily taken care of with CSS or a function… Thanks for the help. I’m getting there.
February 13, 2011 at 3:13 am #105285modemlooper
ModeratorYou can turn off the admin bar easily. codex.buddypress.org there is info on customizing components and such. Forgot activity registers blog posts from other sites.
February 13, 2011 at 2:59 am #105284justinwhall
ParticipantWell, the admin bar propagates through all sites no matter what theme I have activated. I’m sure I can find a way to disable that, just wasn’t sure if there was a way via the GUI.
That, and all the registration links lead to the site that is installed in the main directory. This isn’t likely a BP thing but a shared DB thing I suspect?
February 13, 2011 at 2:24 am #105283Boone Gorges
KeymasterThe one thing that is truly network-wide about BuddyPress is that posts from every blog on the network will get tracked in the activity stream by default. If you turn off blog tracking (Dashboard > BuddyPress > Component Setup) then it’ll be functionally equivalent to having BP installed on a single blog. If you want to exclude single blogs, you could write a little plugin that unhooks the bp_blogs activity actions, and activate it on the blogs that you don’t want tracked.
February 13, 2011 at 2:23 am #105282justinwhall
ParticipantIt is installed on the main site and consequently the blog. However, the buddypress admin bar is visible on the other sites…
February 13, 2011 at 2:13 am #105281modemlooper
ModeratorIf you install BP it will install on the main blog. It will not install on other blogs in a MU installation. You can only have it installed on one blog at a time. BuddyPress is very much tied to a theme. So if your main site doesn’t have a BP enabled theme then you really don’t even see it as you need special template files to output BP content
-
AuthorSearch Results