Search Results for 'buddypress'
-
AuthorSearch Results
-
July 5, 2012 at 3:25 pm #136831
shanebp
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.July 4, 2012 at 12:56 pm #136788In reply to: Theme to support private messaging
Roger Coathup
ParticipantBuddyPress supports private messaging ‘straight out of the box’ by default (‘send message’).
Do you mean ‘instant messaging’?
July 4, 2012 at 12:53 pm #136787In reply to: Buddypress forum search glitch
Roger Coathup
Participant@mercime – you, me and everyone we know is aware of the issue
!July 4, 2012 at 12:48 pm #136786In reply to: Buddypress forum search glitch
@mercime
ParticipantWe are aware of the issue. Google has indexed buddypress.org pretty well, so you can use Google in the meantime … search “buddypress.org key words or phrases and/or username”
July 4, 2012 at 12:42 pm #136785In reply to: White screen after inserting image
polle001
MemberThat’s exactly what I did to catch the problem.
I deactivated everything and it works fine, I just activate BuddyPress plugin and then the white box problem.
So its the plugin, because its the only thing active.
Any ideas ?
July 4, 2012 at 11:35 am #136783Alberto Rivera
MemberYou can check this issue at aula.naturcoach.es thanks : )
July 4, 2012 at 11:28 am #136781Alberto Rivera
MemberGood morning! I´ve reinstalled at a new subdomain and now I´ve got a similar problem but not exactly the same.
Once I´ve configured my Buddypress I can´t acces to my admin panel but I can navigate the web. The only page that works fine is the home, the buddypress pages are blank pages.
Any idea? Thanks!
July 4, 2012 at 11:26 am #136780In reply to: Theme Help – News / Magazine Style Theme
Roger Coathup
Participant@michaeljdornan – there’s a job board group on this site (not easy to find though!)
It makes sense to post your requirement there: https://buddypress.org/community/groups/bp-jobs-board/forum/
Your costs could vary considerably – from just a few hours work to add basic BuddyPress capabilities to an existing ‘news’ theme (dependent on amount of HTML restructuring, styling), through to several weeks development to build a fully fledged news site with full backend workflow support and tight ‘site function related’ BP integration.
Having an indicative budget when you add to the jobs board would help.
If you don’t get it sorted through the job board, feel free to drop me a line.
Roger
July 4, 2012 at 11:15 am #136777In reply to: in spanish
Roger Coathup
Participantlos detalles que necesitas estan aqui: https://codex.buddypress.org/translations/spanish-espanol-generico-es_es-correctedcorregido-by-buddypress-esorg/
July 4, 2012 at 11:05 am #136776In reply to: User blogs not created
@mercime
Participant@rickpowell you would need to resolve your multisite issue first –> https://wordpress.org/support/forum/multisite
July 4, 2012 at 10:52 am #136775In reply to: [Resolved] Compatibility with InStyle Theme
July 4, 2012 at 10:50 am #136774@mercime
Participant@workingman just so we can align the structure in one go, please post the codes for header.php, page.php, sidebar.php and footer.php as well.
July 4, 2012 at 3:54 am #136767In reply to: Theme Help – News / Magazine Style Theme
Aron Prins
Participant@michaeljdornan Email me at pwf.aron@gmail.com and i’ll be glad to help you out

Cheers,
AronJuly 4, 2012 at 2:51 am #136766In reply to: Looking for hired help getting this fluid!
@mercime
Participant@patrickhitches neither BuddyPress nor bbPress are installed in your site. If you’re still want to hire someone to fix the layout for you, do post at
– https://buddypress.org/community/groups/bp-jobs-board/forum/
and/or
– http://jobs.wordpress.net/ -
AuthorSearch Results