Search Results for 'buddypress'
-
AuthorSearch Results
-
July 6, 2012 at 1:43 pm #136874
pawriter
ParticipantWhy not simply invite your contacts to use the normal registration process at the point of contact?
July 6, 2012 at 1:13 pm #136873In reply to: Show list of members filtered by profile field.
pawriter
ParticipantFor simple purposes can set up an extended field (say ‘Country’) in Buddypress without need for any particular plugin and have it included, even ‘required’, then you can use the ordinary WordPress search to filter the list of members to reflect only those matching the country of search. However I am not certain if you can restrict the content of that field to a particular known dataset of countries (ie you would have to rely on members correctly listing their country).
If you want to go further you could use a plugin like the BP Avatar Map ( https://wordpress.org/extend/plugins/bp-members-avatar-map/ ) which needs a ‘Location” extended field using various depth of location eg. just USA or Sydney,Australia or Sydney, NSW, Australia – the WordPress search should then find all from Sydney or all USA etc. The plugin includes a map for the Directory page but you could probably exclude that if you wanted.
Hope this helps.July 6, 2012 at 11:34 am #136870In reply to: Avatar crop preview wrong
thirstcard
Member@ikosweb this CSS is essential for the avatar cropping feature. If anyone is developing their own theme and has decided to disable the default BuddyPress CSS then try adding this CSS snippet to your theme’s .css
July 6, 2012 at 8:19 am #136868In reply to: [Resolved] A Way to Redirect Member Login Page?
danbpfr
ParticipantJuly 6, 2012 at 8:16 am #136867In reply to: Really need help on privacy. Complete noob here
valuser
ParticipantSee and test https://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-1-6-beta-2-is-ready-to-test/
SOME privacy issues have been addressed. But not to the extent of being able to (out of the box) hiding members profile, groups, pages from visitors.
Just, now, visibility of individual profile fields can be allowed to be toggled/or fixed by admin between
> Anyone, Logged In Users or My FriendsJuly 6, 2012 at 7:47 am #136865lakhlu
MemberCan anyone hep me out with this one?
July 6, 2012 at 7:04 am #136864In reply to: Really need help on privacy. Complete noob here
neononcon
Member@dan77 that code doesn’t seem to work anymore. It gives the following error:
Warning: Cannot modify header information – headers already sent by (output started at /site/wp-content/plugins/bp-custom.php:50) in /site/wp-includes/pluggable.php on line 881
July 6, 2012 at 6:24 am #136861In reply to: New install & no folders
Paul Wong-Gibbs
KeymasterGo to the TwentyEleven theme. Remove BuddyPress. Create a page. Go to the page. Does the page load?
If it doesn’t, what’s the URL to that page? This is probably a permalink or rewrite rule problems, and creating a page is the easiest way to find out what’s going wrong.
July 6, 2012 at 12:21 am #136858socialrocketship
MemberAll good to go!!!
Thank you very much for your patience and help! Can’t thank you enough!
July 5, 2012 at 11:18 pm #136855In reply to: Getting a php fatal error with bp-core-functions
12sp
MemberWhat seems to have worked as least not errors today. The buddypress addons (BP Group Hierarchy, BP Group Organizer, BP Registration Groups) I activated them to the main site not network activate. The mymood stopped working so I deleted it.
I also discovered two plugins were throwing errors (theme my login and contextual related post). So, deleted them too.
Now, I’m not doing anything for a good 24 hours (other than add posts) and see it that holds.
July 5, 2012 at 6:17 pm #136845modemlooper
Moderatorfixed error in version 1.2.1
July 5, 2012 at 5:23 pm #136842candy2012
Memberconclusion: no improvement with this forum, as dead as always …
July 5, 2012 at 4:40 pm #136837In reply to: User still can’t register – lower case issue
isabeauesby
MemberI have and they keep telling me to go to the BuddyPress Default theme and to ask you guys. I feel ignorant. But I don’t know what they mean. I suspect they are talking about the templates I can choose from when creating or editing a page (Default template or bb-press template)??
Sorry… really missing something here and it is most likely simple.July 5, 2012 at 3:25 pm #136831shanebp
ModeratorYour answer is in the codex:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/You need to pass the actual user id. Try this:
loggedin_user->id ) ) : ?>July 5, 2012 at 1:31 pm #136828In reply to: Link To Profile, Messages, Friends, and Settings
Roger Coathup
Participanttake a look at this page for details of accessing the logged in user domain:
https://codex.buddypress.org/developer-docs/the-bp-global/
There are also some wrapper functions you can use – e.g. bp_loggedin_user_domain()
July 5, 2012 at 11:27 am #136827In reply to: I might be showing zero intelligence here.
Roger Coathup
Participant@mike00m – first thing: if you want support on a particular problem, it really helps to give your thread a meaningful title that says something about the sort of problem you are experiencing.
Showing a list of latest posts from blogs around a WordPress multisite install is actually surprisingly challenging because of efficiency concerns. Polling lots of blogs takes a large amount of CPU time.
However, in BuddyPress, you can implement this relatively easily using a custom activity stream loop (which avoids the efficiency concerns):
Each time a post is saved, an entry with the details of the post is added to the activity stream.
You can then write a custom activity loop that just pulls out the latest blog post related activity.
Unfortunately, BuddyPress saves the info (thumbnail, excerpt, etc.) in a monolithic chunk that’s cumbersome to manipulate later (e.g. to pull out and style the thumbnail as you want). Therefore, you might also want to look at modifying the action hooks on post save, to set up the activity stream entry in the correct format for your site to begin with.
It’s relatively easy to set this up, but you do need to be a competent PHP / WordPress developer.
[it’s possible that someone else might be able to point you to an off the shelf plugin / widget for this]
July 5, 2012 at 2:29 am #136820BlinkyBill01
Participant@karmatosed, the issue is that, for me at least, the template pack instructions are too vague. It basically says that if you have issues with alignment, to look at your themes page.php and your activity/index.php (and all other buddypress created indexes) and figure it out.
The template pack instructions give you a second option: copy and rename your themes header.php, footer.php, and sidebar.php to header-buddypress.php, footer-buddypress.php, and sidebar-buddypress.php.
Well, then what? There are no files in buddypress to replace a header-buddypress.php. The instructions just end and don’t give the average user any idea of what needs to be replaced and where. Granted, every theme is different, but they don’t even give you a general idea. Just a vague description of a solution.
The theme I’m using, and it’s subject to change, is called “The Secret World” and is located here. http://l3cdn.funcom.com/tsw/download/wordpress-template.zip
I tried editing what I thought the template pack asked to do wut it didn’t work. I tried other methods posted that worked for others. None worked. I’m not sure where to go.
A link to a live-test site I’m tinkering with is http://forcedreality.net/members
Thanks for looking into it.
July 4, 2012 at 10:44 pm #136817In reply to: Calling last_active outside of member loop
Roger Coathup
ParticipantIt’s stored in the wp_user_meta table, and there are some BuddyPress wrapper functions around the standard WordPress get_user_meta() functions.
You should be able to use:
$activity = bp_get_user_meta( $user_id, ‘last_activity’, true );
Let me know if that works.
Cheers, Roger
July 4, 2012 at 10:34 pm #136816Roger Coathup
ParticipantDo you mean, you want to send an email to everyone when a new (blog) post is posted, or when any kind of item is posted to the activity stream?
For the first you can hook a function on to the WordPress ‘save_post’ action. In that function, you can iterate over every member (see https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/ for guidance), and for each member you use the BP messaging API ( messages_send_message() ) to send them an email.
For the second – you can’t seriously want to email everyone, any time anything is posted to the activity stream: the system and your users would be swamped – However, if you still do, check out some of the action hooks that are called when activity items are saved: https://codex.buddypress.org/developer-docs/action-reference/activity-streams/
July 4, 2012 at 10:23 pm #136813Roger Coathup
ParticipantIt’s standard WordPress syntax for including templates (e.g. sidebars, footers, template parts).
If you have a template called header-buddypress.php defined it will include that, if not it will fallback to header.php.
July 4, 2012 at 8:38 pm #136809edgarcia78
MemberBump
July 4, 2012 at 4:49 pm #136804In reply to: Getting a php fatal error with bp-core-functions
Tammie Lister
ModeratorProbably a good first step would be to ease some of the load and one by one remove those plugins – or remove them all add back in one by one. I find with errors like this often stripping back will help.
You could also ‘sanity’ check your theme by setting to the default BuddyPress theme – of course if a live community you may not be able to do this.
July 4, 2012 at 4:47 pm #136803Tammie Lister
ModeratorIt’s a little hard to follow but my suggestion would be to follow the template pack instructions and not dip into two tutorials which unless I’m mistaken you are a little. The guide to the template pack also is just a guide there are so many ways of doing it theme wise that your theme may be structured differently.
If you are still having issues a good help may be to let us know what theme are you using and maybe a link so we can see the issue (if that is possible) for ourselves?
You should be fine with the last method as you say if that appears in your index.php. I do have one question on that though – did that appear after you did steps in template pack? If it was always there perhaps your theme is designed for BuddyPress anyway and won’t need the template pack? You only need it if your theme doesn’t support BuddyPress.
July 4, 2012 at 3:59 pm #136801candy2012
Membercome on guys, nobody ?!?! no php gurus here ?!? only desperate BP users !??!
July 4, 2012 at 1:13 pm #136791workingman
MemberFooter: http://pastebin.com/xADvMKaz
Header: http://pastebin.com/gsEAmsKH
Page: http://pastebin.com/quKdw4z1
Sidebar: http://pastebin.com/D2kGkkjU
Thanks @mercime for the help, I very much appreciate it. -
AuthorSearch Results