Search Results for 'buddypress'
-
AuthorSearch Results
-
May 12, 2012 at 12:04 am #134363
In reply to: Buddypres query_posts by user
yan.odnoralov
MemberWow, perfect! So simple and works @ChrisClayton! Thanks a bunch guys!
Cheers
May 11, 2012 at 11:22 pm #134362In reply to: Buddypres query_posts by user
@ChrisClayton
Participant`function my_profile_page_function_to_show_screen333_content() {
global $bp;query_posts( ‘author=’ . $bp->displayed_user->id );
// the Loop
if (have_posts()) : the_post();
the_content( ‘Read the full post »’ );
endif;
}
`If you don’t tell it to use the global data, then it will assume you have defined it inside the function (and since you haven’t defined it, returns it false)
But, as @hnla said – you can just use the function (which will do the same thing as the above, with less code and easier to use)
`function my_profile_page_function_to_show_screen333_content() {
query_posts( ‘author=’ . bp_displayed_user_id() );// the Loop
if (have_posts()) : the_post();
the_content( ‘Read the full post »’ );
endif;
}
`May 11, 2012 at 11:14 pm #134361In reply to: [resolved] Missing the join group button?
@ChrisClayton
ParticipantHave you registered the buttons in your theme?
https://buddypress.trac.wordpress.org/browser/trunk/bp-themes/bp-default/functions.php#L125
`add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’, 5 );`
May 11, 2012 at 7:37 pm #134355creaturis
Participanthave no idea i googled “bp_is_member” cause i knew this would probably be the main reason that it wouldn’t work. found a site called http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.html
went to my cpanel of the location it gave me and just changed it in the optionsbar.php.past picture was from a previous install but with this new installation i had the same issue until i changed it to user.
http://i1060.photobucket.com/albums/t451/Bastani/bpmagoptionsbarfixed.png
May 11, 2012 at 6:25 pm #134349In reply to: English is working fine but the netherlands isnt
Paul Wong-Gibbs
KeymasterIs WPML compatible with BuddyPress? Have you asked its authors?
May 11, 2012 at 5:50 pm #134347creaturis
Participantaha thanks Hugo. took a look at plugins/buddypress/bp-core/deprecated/1.5.php tried changing bp_is_member to bp_is_user and it works now. I only hope this is the right way to do it. oO
May 11, 2012 at 5:14 pm #134344In reply to: Buddypres query_posts by user
yan.odnoralov
MemberHmmm, buddypress won’t let me post the code. Telling me I already posted it… Here is my child-theme’s full functions.php code: http://pastebin.com/ADbF82xL
May 11, 2012 at 5:13 pm #134343In reply to: Member Profile – Settings Tab is Not Functioning
Boone Gorges
KeymasterCan you clarify which files you mean when you say “the settings folder from the core BP files”? Do you mean the following:
`buddypress/bp-themes/bp-default/members/single/settings/`
If so, these files *should* be getting copied over at the same time that the entire `members` directory is copied, during the BP Template Pack setup process. It could be that there is a bug in that plugin causing the problem.
May 11, 2012 at 5:11 pm #134342In reply to: Buddypres query_posts by user
yan.odnoralov
MemberOk, I believe I am on a bp screen. Here is my full code. This is the “functions.php” in my child theme. It displays 3 custom tabs and in the last tab is where y code struggle is. I think @ChrisClayton is right, I just need to have global $bp; inside the function. I just don’t know how I could code that. I appreciate the help guys, this has literally kept me up 5 hours of last night!
May 11, 2012 at 4:38 pm #134338glamor
Participantwith buddypress 1.5.5, there are two options once buddypress is installed. the left option to install group forums and the option on the right to install sitewide(global) forums. i first installed the group forums. i then returned to the dashboard to install the sitewide forums via the second option that buddypress provided. however, the solution you provided fixed my problem and i appreciate your help and quick response!
May 11, 2012 at 4:26 pm #134336In reply to: Buddypres query_posts by user
yan.odnoralov
Member@ChrisClayton I’m not so hot with php.. What exactly would my global code be in functions?
May 11, 2012 at 4:24 pm #134335In reply to: Fix Buddypress Template for my theme – Insignia
maraki
Memberguys i already posted the job to find a freelancer… honestly this is way above my level and I don’t have time to work on this

i am not a programmer by the way, i am an accountant! having learned to create wordpress sites and install plugins, I have come far.
May 11, 2012 at 4:19 pm #134334In reply to: Buddypres query_posts by user
@ChrisClayton
Participant@yanodnoralov – You do have `global $bp;` inside the function, right? (Just checking, sometimes it’s the simplest things that get overlooked)
May 11, 2012 at 4:04 pm #134332In reply to: Buddypres query_posts by user
yan.odnoralov
Member@Hugo Thanks for the response. Reading this article and a few others, (http://stackoverflow.com/questions/4907350/php-help-with-using-variable-inside-code) I have to close out the tag after author=
I searched WP Codex in and out… How would I call or filter my query by the buddy press “displayed_user” variable?
Thanks so much!
May 11, 2012 at 4:02 pm #134330In reply to: Fix Buddypress Template for my theme – Insignia
Hugo Ashmore
ParticipantWouldn’t cost you that much although depends on the beautification that your required, however seeing as mercime will fix things for free, please consider a small donation to a worthwhile charity
May 11, 2012 at 3:54 pm #134329In reply to: Bug in Buddypress.org forum
@mercime
Participant== I received a note that said “It looks like you already said that.” ==
I’ve seen this happen when you post large blocks of code with at certain times. What I do is to post code at pastebin.com and post the generated URI here along with my text and it’s all good.May 11, 2012 at 3:47 pm #134326In reply to: Fix Buddypress Template for my theme – Insignia
@mercime
Participant@neodjandre Open up your theme’s header.php file, copy all, paste in pastebin.com, click submit and post the generated URI here. Then do the same for your theme’s index.php, page.php, sidebar.php and footer.php files.
May 11, 2012 at 3:45 pm #134325@mercime
Participant== i then tried to install the global forums ==
Please clarify, are you referring to the Sitewide Forums aka bbPress plugin 2.+ or are you referring to the Global Forums plugin by BuddyDev.com? In either case to gain back access to your wp-admin, rename the bbpress or global-forums folders via FTP/FileManage/cpanel to something like wp-content/plugins/bbpress-xxx or wp-content/plugins/global-forums-xxxMay 11, 2012 at 3:40 pm #134323In reply to: [Resolved] In the Beginning…Some advice Please.
@mercime
ParticipantSet which blog ID BuddyPress will run on if not on main site – add following to your bp-custom.php file:
`define ( ‘BP_ROOT_BLOG’, $blog_id );`
where you replace $blog_id with the blog ID number of subdomain/subdirectory site of your multisite installation – https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/As for themes – you can use a WordPress theme then install the BP Template Pack plugin and go through the BP Compatiblity process. Check if your WP theme has been “template-packed” in the list near bottom of this page https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
May 11, 2012 at 3:27 pm #134322@mercime
ParticipantDo you have Sitewide and Group Forums installed or just Sitewide Forums only?
May 11, 2012 at 3:03 pm #134319In reply to: Fix Buddypress Template for my theme – Insignia
maraki
Memberguys, this is beyond my skills…
I can pay £100 GBP to fix these issues and make some small CSS changes to beautify things.
If you are interested please email me at andreas (at) eupal.eu
thanks for trying to help,
AndreasMay 11, 2012 at 12:52 pm #134317In reply to: Buddypress query_posts
Hugo Ashmore
ParticipantDuplicate post, Please only post once!
Closing this thread; continued in:
May 11, 2012 at 12:32 pm #134315In reply to: Fix Buddypress Template for my theme – Insignia
Hugo Ashmore
Participantou still have those duplicate ID’s they are not really acceptable in fact they may well cause issues as ID’s must be unique to a page – it’s not a flexible rule.
Look at those two pages ‘group directory index’ and ‘single group display’ you are missing a fundamental class that gets added to the body tag ‘.right_sidebar’ without that class present your sidebar does not have the required ruleset applied.
You will need to work out how your theme ‘framework’? applies that class for a given view and ensure it’s applied in respect of your groups single view pages (and any others )
May 11, 2012 at 11:58 am #134314In reply to: Fix Buddypress Template for my theme – Insignia
maraki
MemberHi @mercime,
I fixed that but when you click on the group link things get messy.
http://community.eupal.eu/groups/politics/
any ideas there?
May 11, 2012 at 8:53 am #134313In reply to: Check if Member is logged in. (entry.php)
@mercime
Participant== looking to see if other people are online. ==
check out https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-core/bp-core-widgets.php#L162 -
AuthorSearch Results