Search Results for 'theme'
-
AuthorSearch Results
-
March 5, 2009 at 10:23 pm #39328
In reply to: Where to start theming
Andy Peatling
KeymasterIt’s okay to do anything you want with the theme files, just as you would do in WordPress.
You don’t need the loader.php stuff if you don’t want to, however, it does add some extra functionality, such as cross theme CSS and the ability to selectively load styles.
You should also read this:
https://codex.buddypress.org/getting-started/using-the-buddypress-themes/
March 5, 2009 at 5:01 pm #39314In reply to: Google Map Integration
Lsm_267
ParticipantHi bergsten
thanks for the plugin, essential for any network
I installed the 2.0b2 version on my BP, put the php code you gave above (add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6)
in the index.php from the directory /wp-content/member-themes/buddypress-member/profile, exactly here :‘<?php if ( function_exists(‘bp_send_message_button’) ) : ?>
<?php bp_send_message_button() ?>
<?php endif; ?>
</div>
<?php add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6); ?>
<?php bp_custom_profile_sidebar_boxes() ?>
</div>
<div class=”main-column”>’
It’s working but a little buggy : the map shows two time as you can see here :
http://vivre-en-autarcie.com/members/admin/profile/public
something else is bugging.
the button update your position leads to a page that doesn’t exist with slug: update-position
the integration function works fine : I can edit a map where all markers my users are shown ; that’s great
thanks for any help
March 5, 2009 at 2:57 pm #39313In reply to: THEME ISSUE with LDAP Plugin – Simple Question!!!!
dpsweb
MemberSORRY!!! I did this and the error went away:
WPMU Admin Options > Allow New Registrations : Disabled.
WPMU Admin LDAP Options > Disable Public Signup : NO
What happens now is when a user clicks on the signup button it takes them to the WPMU login page. They login and it uses LDAP. There is no local user account signups as everything appears to be going through the LDAP plugin to authenticate.
March 5, 2009 at 12:01 am #39292In reply to: Using BP widgets with a non-BP WPMU theme
Per Søderlind
Participantfwiw: I’ve written a widget for ahp_recent_posts
March 4, 2009 at 11:42 pm #39290In reply to: one theme, one widget setup
filan
ParticipantThank you Trent, this works nicely!
March 4, 2009 at 11:36 pm #39287In reply to: one theme, one widget setup
Trent Adams
ParticipantTo get the theme that you want all users to have, just make the theme you want the default WPMU theme. This can be done by naming the folder of your theme “default” or looking at a plugin like this plugin.
To get all the widgets that you want in there, It would be best to actually hardcode the widgets you want into the theme itself. If you look at the code of certain themes that do this already, it shows you how to do that. Then, finally if you don’t want users to be able to change around widgets, there is a plugin that limits what menu’s users can see, but don’t have the link off hand. You will have to search for that one.
That is what I would do anyways!
Trent
March 4, 2009 at 11:18 pm #39283In reply to: Displaying RSS Feeds on Home Page?
Trent Adams
ParticipantThe buddypress home them you mean? Just treat it like any other theme and put in an RSS widget to display your feed. Since the member theme isn’t editable in the admin, it requires more, but the buddypress home theme doesn’t.
Trent
March 4, 2009 at 7:41 pm #39276In reply to: Making Member Theme Header Match Main Theme
Simon
ParticipantWordPress detects the currently enabled theme’s root and css directories via the bloginfo(‘template_directory’) and bloginfo(‘stylesheet_directory’) functions.
To call the css and images from the home theme in a member theme template you would have to hard code the path references as “/wp-content/themes/buddypress-home/styles.css”.
Personally, as hard coding is generally a bad idea, I would suggest simply copying the elements you wish to use from the home theme directory to the member theme directory and reference them the usual way.
March 4, 2009 at 7:27 pm #39274In reply to: BuddyPress Showoff: Post your links
Adam W. Warner
ParticipantMBP is a social community meant for those of us who wear artificial body parts, and those that love us. If you own a body part that’s made of acrylic, steel, plastic, or any other man-made material, you’ll probably want to have a look around. You can learn more about why MyBodyPart.org exists here. MBP is completely free. Why not sign up for a profile and start connecting with others who have had, or are having similar experiences?
(still needs branding and theme changes, oh, and also users, so why not sign up and help me create this community?
March 4, 2009 at 3:37 pm #39261In reply to: Making Member Theme Header Match Main Theme
mkgold
ParticipantBasically, I think I’m having problems with paths — the buddypress member page isn’t accessing the css/image files for the main theme. For some reason, I’m having trouble getting my head around this.
Here is the actual error that I’m seeing:
Warning: include(C:xampplitehtdocs/wp-content/member-themes/buddypress-member/options.php) [function.include]: failed to open stream: No such file or directory in C:xampplitehtdocswp-contentmember-themesbuddypress-memberheader.php on line 53
Warning: include() [function.include]: Failed opening 'C:xampplitehtdocs/wp-content/member-themes/buddypress-member/options.php' for inclusion (include_path='.;C:xampplitephppear') in C:xampplitehtdocswp-contentmember-themesbuddypress-memberheader.php on line 53I want the header to match the header on this
March 4, 2009 at 2:00 pm #39252In reply to: Google Analytics
Trent Adams
ParticipantIt is just a WPMU plugin that adds the code to every page, not theme specific so it works with BP as well.
Trent
March 4, 2009 at 1:14 pm #39249In reply to: Making Member Theme Header Match Main Theme
Burt Adsit
ParticipantWhat kind of problems are you running into?
Burt Adsit
ParticipantIt’s better to start a new topic for your kind of issue lorenzocoffee. I flipped the support red light on in this topic. We can do this here. When you start a new topic *you* have the ability to designate the topic as a support question and people will notice.
OK. You’re trying to upgrade from the beta version of bp to RC-1. After uploading and replacing all the files in /mu-plugins and then moving the new themes to the proper locations in /themes and /wp-content, things don’t work.
What does your apache error log say when you try to access your site. What is the url to your site?
March 4, 2009 at 1:03 pm #39246In reply to: Groups wont let me edit
reprocessor
ParticipantHi Burt,
Thanks for getting back to me. I upgraded the themes but i’m using my own themes, I read on the forum that you have to copy functions.php for them to work and I did this. It worked yesterday fine but today when i tried to edit a group I created it went tits up
I’m no php techie by any means so if you can show me where and how to fix this i’d be greatly appreciative.Cheers,
Phil
March 4, 2009 at 12:55 pm #39244In reply to: Groups wont let me edit
Burt Adsit
ParticipantThat message “Are you sure you want to do this? Please try again” is a nonce failure message. Did you upgrade and not upgrade the bp themes? All bp code is now ‘nonce security’ aware. If your themes don’t send these ‘nonce’ values to bp everything comes to a screeching halt.
For example:
<p><input type="submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?> »" id="save" name="save" /></p>
<?php wp_nonce_field( 'groups_edit_group_details' ) ?>That’s taken from the edit group details form. wp_nonce_field() creates a little hidden field with an access key for ‘groups_edit_group_details’ that gets compared in to a similar ‘nonce’ value generated in the actual function that does the validation and saving of group details. If they don’t match, the security check fails with that cryptic message from wpmu.
March 4, 2009 at 4:01 am #39226In reply to: What file is the Members page based on?
Trent Adams
ParticipantThe entire content for members pages is from the member theme itself. Without knowing what your specific question would be, the README for the member themes (creating your own) is a nice start to figuring out where the content comes from:
https://trac.buddypress.org/browser/trunk/buddypress-theme/member-themes/member-themes-readme.txt
Trent
March 4, 2009 at 12:55 am #39210In reply to: Group Members You May Know
Andy Peatling
KeymasterAs long as you make a template function, then people can include it in their theme. I will add some hooks to the directories though.
March 3, 2009 at 9:41 pm #39187In reply to: Where to find custom themes ?!
alainhc
MemberWell, i began working on my own theme, but not in the best way. I´m modifing the css files (by example, base.css) of the buddypress-home theme, to change the appereance of the pages. I just wanted to know if there is a tool or something that help me with this stuff. Because the API functions will not help me with my new theme (i think)
March 3, 2009 at 6:35 pm #39167alainhc
MemberWhen I activate the WordPress MU homepage theme it still happens.
March 3, 2009 at 4:26 pm #39149In reply to: How do I clear the menu bar?
Burt Adsit
ParticipantThe admin bar gets triggered on every ‘wp_footer’ action that your theme triggers. Which is on every page load. There is no function call from a php file that does it. bp is almost completely driven by wp ‘actions’. Everything gets loaded, defined and ready for the events that are defined to make things happen.
Everybody is posting around each other here.
The ‘wp_footer’ action is triggered by your theme’s usage of (normally) get_footer()
which calls wp_footer()
which does do_action(‘wp_footer’)
which triggers bp_core_admin_bar() in bp-core-adminbar.php
which gets you the admin bar.
*deep breath*, let it out slowly now…
March 3, 2009 at 3:54 pm #39140Burt Adsit
ParticipantAlain, try activating the ‘WordPress MU homepage’ theme. See if it happens.
March 3, 2009 at 3:27 pm #39138In reply to: Where to find custom themes ?!
alainhc
MemberHi, I´m interested in making my own buddypress-home theme and buddypress-member theme, to fit my web site. I´ve been looking for information on the web, but I have not found anything good. Anyone has some kind of tutorial about it?
Alain
March 3, 2009 at 3:10 pm #39137alainhc
MemberHello everyone. Hi Burtadsit. I´ll try to explain using my poor English, I´m cuban. The error occurs in a Clean install, when you activate the home theme and try to visit the root blog, or the blog of any user previously created.
The page show the following error:
Warning: require_once(C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php) [function.require-once]: failed to open stream: No such file or directory in C:sitiossitiosocialwp-includestheme.php on line 822
Fatal error: require_once() [function.require]: Failed opening required ‘C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php’ (include_path=’.;C:xamppphppear’) in C:sitiossitiosocialwp-includestheme.php on line 822
How you can see, the application doesn´t found a buddypress-home directory inside member-themes. So, we solve this making a copy of the buddypress-member and renaming it to buddypress-home.
Changing the topic (I know this is out of forum). I´d like to make my own buddypress-home theme, and buddypress-member theme. Do you have any documentation about it???
Alain
March 3, 2009 at 2:55 pm #39136In reply to: How do I clear the menu bar?
John James Jacoby
KeymasterWell, it could really go in a few different places. Let me take a look when I get to work to see where will work the best.
Here on BuddyPress, the “admin bar” has been nick named the “buddy bar.” It actually replaces the typical “admin bar” from a normal WPMU install.
The files for it can be found in the bp-core directory if you needed to modify it for any reason.
The buddy bar is actually loaded very last in the DOM, and it is absolutely positioned to top 0, so its essentially hovering over the body contents. Because there are at least two active themes at any given moment (home and member) you could either throw the css into homethemedir/css/site-wide.css, or all of the base.css for each theme.
But let me double check for certain.
March 3, 2009 at 2:04 pm #39135In reply to: A little help with member theme
Sgrunt
Participantsorry John it’s me again. I’m working on css but i need to change the page that shows a single group. Can you tell me what is that page? thanx again
-
AuthorSearch Results