Search Results for 'theme'
-
AuthorSearch Results
-
March 30, 2009 at 4:12 pm #41390
In reply to: How to make “about me” kinda profile field?
Burt Adsit
ParticipantWe have to workaround this issue.
function my_fix_linking(){
remove_filter( 'bp_the_profile_field_value',
'xprofile_filter_link_profile_data', 2 );
add_filter( 'bp_the_profile_field_value',
'my_filter_link_profile_data', 2, 3 );
}
add_action('bp_member_theme_functions', 'my_fix_linking');
function my_filter_link_profile_data($field_value,
$field_type = 'textbox', $field_id){
if ( 'textbox' == $field_type)
return $field_value;
else xprofile_filter_link_profile_data($field_value, $field_type);
}That will stop linking any field that is a text box.
function my_filter_link_profile_data($field_value,
$field_type = 'textbox', $field_id){
if ( 999 == $field_id)
return $field_value;
else xprofile_filter_link_profile_data($field_value, $field_type);
}That will stop linking for the field whose field_id is 999.
Your choice. I haven’t tested the above code but it should work. Add the code above to your bp-custom.php file. If you don’t have one create one in /mu-plugins.
March 30, 2009 at 3:20 pm #41382In reply to: Blog link in top bar returns “not found”
Burt Adsit
ParticipantOK. Here\’s the solution. You have to update to the latest trunk again. At least rev 1286. Put this in wp-config.php:
define(\’BP_ROOT_BLOG\’, X);
Where X is the blog id for the blog you are running the bp home theme on. Gotta be an integer there for X. 1, 99, 207 whatever it is.
March 30, 2009 at 3:11 pm #41381In reply to: FaceBuddy free theme for BuddyPress
Sgrunt
Participantas you wish, however i’ve published a new version of the theme compatible with the latest trunk
March 30, 2009 at 2:32 pm #41379In reply to: Blog link in top bar returns “not found”
Burt Adsit
ParticipantIf you are running the latest trunk for everything then I don’t know what the problem could be. When that options is chosen in the home theme nav bar bp detects the /blog url and simply loads the template index.php in your document root.
Cancel all that. You are running the home theme on a subdomain right? I just got that error when I activated the home theme on a subdomain.
Ok, now I understand. Hmmm. Be back.
March 30, 2009 at 2:11 pm #41377In reply to: Forum not displaying in the topmenu?
Burt Adsit
ParticipantBefore we go to far with this what menu are you talking about? The admin bar menu or the member/home theme’s button bar menu?
March 30, 2009 at 1:58 pm #41375In reply to: FaceBuddy free theme for BuddyPress
halfpint
ParticipantThanks for all of your input on the theme. I have decided to go a different route and installed a diff home theme and just making some small css changes to the members theme.
March 30, 2009 at 1:43 pm #41373In reply to: Blog link in top bar returns “not found”
Wcastillo
ParticipantBy the way, the blog link is served using the home theme so I think the member theme is out of question regarding this issue (just MH opinion… I only have a few hours playing with BP)
March 30, 2009 at 1:08 pm #41368In reply to: FaceBuddy updated to the latest trunk
Sgrunt
Participanti’m not sure to have understood: you want that home, blog, members etc will appear on the top of your page, and then the search and login will appear down of it?
In this case you should edit the header.php file in the theme folder inverting the order, and then hacking a bit with the css.
March 30, 2009 at 12:24 pm #41365In reply to: FaceBuddy updated to the latest trunk
gpo1
Participant@Sgrunt, How do you replace the login-in tab/button area with the home,blog,members& groups tabs / buttons in the member theme of facebuddy?
March 30, 2009 at 12:03 pm #41363In reply to: create my own home page
Burt Adsit
ParticipantI really don’t understand what you are trying to do. You want to create a new member theme?
https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-theme/
March 30, 2009 at 11:52 am #41362Joss Winn
ParticipantSocialpreneur is quite right. The plugin works very well. The issue is changing the template so users are directed to wp-login.php as an alternative to normal signup in the way that the fb-connect plugin is integrated into the default themes.
March 30, 2009 at 11:50 am #41361In reply to: Blog link in top bar returns “not found”
Burt Adsit
ParticipantMember theme or home theme?
What version of bp?
The 404 error when trying to access the blog posts on the main blog is usually due to not using the most recent functions.php file in your theme. Make sure that your theme is using the functions in functions.php distributed with the bp home theme.
March 30, 2009 at 8:22 am #41356In reply to: How can I remove Logout link from the userbar?
Robert
ParticipantIn case others are curious here’s what I did:
I copied the function bp_get_nav removed the lines with the logout link and renamed it to bp_get_nav_no_logout as suggested above by jjj. Then I put this newly created function in the functions.php file in my theme and I changed the userbar.php file to call bp_get_nav_no_logout.
That way I keep it with my custom theme and leave the core files untouched.
Thanks again John.
March 30, 2009 at 7:35 am #41354gpo1
Participant@Socialpreneur, How do you display the widget on the home theme for sign-in like facebook connect?
March 30, 2009 at 7:14 am #41352In reply to: FaceBuddy free theme for BuddyPress
Sgrunt
Participantok solved the registration problem!
March 30, 2009 at 7:00 am #41350In reply to: FaceBuddy free theme for BuddyPress
Sgrunt
Participantok, we’re gonna to see the light, i’m making all required changes and keeping them working, if you wish i could write a little documentation after this. I’ve only a question: the signup button now leads to the WMPU registration page and not to the buddypress register. Could you tell me if i’m doing something bad or if this is an upgrade issue?
Thanx Andy, i’m sure that the final version will be a great success.
March 30, 2009 at 6:16 am #41347In reply to: FaceBuddy free theme for BuddyPress
Sgrunt
Participanthi Andy, after having this issue i’ve rembered your mail that anticipated the changes. But in my opinion downloading the latest trunk with no indication in sticky posts or in the readme.txt is a pain (yes,i’m receiving a lot of emails from theme users).
I hope to see a sticky post with documentation for this upgrade: it will be very useful. I think that directories must be styled from directory.css in the bp-theme?
March 30, 2009 at 4:50 am #41343In reply to: Are bp_get_optionsbar & bp_get_userbar swapped?
Wcastillo
ParticipantA hat? Where should I claim for it???

@Dace: Your best bet is start a new theme out of the buddypress_home and _member theme, rename it and place the custom.css from the FaceBuddy guys…
Take a look at Emigrando.info… It worked like a charm (I even manage to adapt Andy’s BP-Facebook Connect plugin with “Invite Friends” capabilities! A very dirty workaround… but it works anyway! still needs some polishment though)
March 30, 2009 at 2:29 am #41335In reply to: trouble with rev 1268
Jeff
Participantbp-themes folder was used, and directories was there. Tried trunk1281 and that caused more issues with nav links (HOME_BLOG_SLUG & MEMBERS_SLUG appeared on /groups page) and same issue as before.
I reverted to trunk1248 and all is back to normal… except I was liking the new page title tags in trunk1268.
March 30, 2009 at 2:05 am #41333In reply to: !! BuddyPress Theme Folder Changes !!
Shelley Keith
ParticipantThe readme in the trunk hasn’t been updated to reflect this change, just FYI.
March 30, 2009 at 1:32 am #41331Burt Adsit
Participantbenny this has nothing to do with bp itself. It’s a theme thing that is happening here only.
March 30, 2009 at 1:20 am #41330Burt Adsit
ParticipantIf you are trying to edit your member profile and are getting some error about groups then something is very wrong. Since this is a custom member theme I can’t help because I have no idea what the code looks like. I can help you if you are having problems with the standard member theme.
March 29, 2009 at 11:40 pm #41327hotandrei
ParticipantSorr but can you tell me how to do it exactly because i m a super noob and don t know too much PHP also.
Thank you
March 29, 2009 at 11:37 pm #41326In reply to: Vertical Members Directory
Andy Peatling
KeymasterFor anyone who has this problem —
1. Copy the /directories/ folder from the default BuddyPress member theme into your own BuddyPress member theme.
2. Copy the /css/directories.css and /css/loader.php from the default member theme to your own theme’s /css/ directory.
3. Reload the page, but make sure you have cleared your browser cache.
These changes will make it much much much easier to change the design of the directory pages.
March 29, 2009 at 11:15 pm #41325In reply to: FaceBuddy free theme for BuddyPress
Andy Peatling
KeymasterSgrunt: not sure if you got my message mentioning the changes?
The directories have moved to the member theme instead. They have proper template files now that you can skin far easier. You should be able to copy your styles from the blog to member theme.
Be aware of constant name changes in the functions.php too.
MEMBERS_SLUG is now BP_MEMBERS_SLUG.
There should be no more changes like this – it was a necessary change to help theme designers ready for 1.0.
-
AuthorSearch Results