Search Results for 'theme'
-
AuthorSearch Results
-
October 25, 2010 at 3:49 am #96388
In reply to: New theme – now available
pcwriter
ParticipantLittle progress update for y’all who’re interested in this fun little baby.
A great many changes have been made to the default theme in BP1.2.6:
https://trac.buddypress.org/changeset?old_path=/tags/1.2.5.2/bp-themes/bp-default&new_path=/tags/1.2.6/bp-themes/bp-default/This brought up a question, and an answer I was hoping to avoid:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/what-necessary-changes-should-be-made-to-bp-themes-for-bp-1-2-6/#post-76879To sum up, as the BP1.2.5-based theme I’ve been working on is pretty much complete, we’ll have 2 versions of the freebie release by the end of this month: the 1.2.6-compatible version will be downloadable from the repo, while the 1.2.5-compatible version will still be available from my site.
I’ll post links to both when the time is right.
I’m also putting together a nicely illustrated manual with all kinds of examples to help get you started on customizing the theme.October 25, 2010 at 2:27 am #96389pcwriter
ParticipantHave you seen this thread? It looks like there may be a solution to your problem near the end:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-1-2-6-adds-extra-padding-top/October 25, 2010 at 1:30 am #96385anindyaray
Member@karmatosed
Thanks for your reply …
Yes all files and folder structure is intact , I have copied adminbar.css and both ajax.php/js files
But no I am not using custom admin bar, haven’t change anything related to adminbar colour , text etc. from the theme option
actually I don’t understand what exactly is causing the issue..October 24, 2010 at 11:59 pm #96379Brandon Allen
ParticipantIt is, indeed, a theme issue. You should be able to fix things based on the info here: https://trac.buddypress.org/ticket/2679#comment:1
October 24, 2010 at 9:09 pm #96352In reply to: functions.php and bp-custom.php
ovizii
Participantwell, my idea was this:
reading through the forums and the codex I found a couple of settigns that seemingly can be used from wp-config.php BUT I don’t want to clutter it too much.
Alternatively I can use bp-custom.php or make a small plugin and pop it into mu-plugins.here is my collection of lines, please let me know where I can find more (built-into BP as I know plugins also offer several of these). What is recommended for what? I try to use wp-config.php only for WP related stuff, mu-plugins only for stuff that really needs to be running on every page and functions.php for stuff specific for my theme (and in this case the main page)
`/*add user with ID as group admin, alternatively change to mod*/
define( ‘BP_RESTRICTGROUP_AUTOADD_ADMIN_USER_ID’, 1);
/* disable the admin bar*/
/*define( ‘BP_DISABLE_ADMIN_BAR’, false);*//*customize all slugs*/
/*define( ‘BP_ACTIVATION_SLUG’, ‘activate’ );*/
/*define( ‘BP_ACTIVITY_SLUG’, ‘activity’ );*/
/*define( ‘BP_BLOGS_SLUG’, ‘journals’ );*/
/*define( ‘BP_FORUMS_SLUG’, ‘discussions’ );*/
/*define( ‘BP_FRIENDS_SLUG’, ‘peeps’ );*/
/*define( ‘BP_GROUPS_SLUG’, ‘gatherings’ );*/
/*define( ‘BP_MEMBERS_SLUG’, ‘chefs’ );*/
/*define( ‘BP_MESSAGES_SLUG’, ‘messages’ );*/
/*define( ‘BP_REGISTER_SLUG’, ‘register’ );*/
/*define( ‘BP_SEARCH_SLUG’, ‘search’ );*/
/*define( ‘BP_SETTINGS_SLUG’, ‘settings’ );*/
/*define( ‘BP_XPROFILE_SLUG’, ‘info’ );*//*customize more stuff*/
/*Put profiles in the root � http://example.org/username/*/
/*define ( ‘BP_ENABLE_ROOT_PROFILES’, true );*/(btw. since I have decided upon the final theme to use, I guess I will be going via the functions.php route)
/*Change the default tab opened when looking at a user’srofile (default is activity):*/
/*define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );*/
`
Also if you want yo ucan give some more information about order of invocation?October 24, 2010 at 9:00 pm #96350In reply to: Default Theme going widget
modemlooper
ModeratorYou can add the login form to one of the columns after
<div id="third-section" class="widget">
login code:
<?php if ( is_user_logged_in() ) : ?><?php do_action( 'bp_before_sidebar_me' ) ?>
<div id="sidebar-me">
<a href="<?php echo bp_loggedin_user_domain() ?>">
<?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?>
</a><h4><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></h4>
<a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a><?php do_action( 'bp_sidebar_me' ) ?>
</div><?php do_action( 'bp_after_sidebar_me' ) ?>
<?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
<?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
<?php endif; ?><?php else : ?>
<?php do_action( 'bp_before_sidebar_login_form' ) ?>
<p id="login-text">
<?php _e( 'To start connecting please log in first.', 'buddypress' ) ?>
<?php if ( bp_get_signup_allowed() ) : ?>
<?php printf( __( ' You can also <a href="%s" title="Create an account">create an account</a>.', 'buddypress' ), site_url( BP_REGISTER_SLUG . '/' ) ) ?>
<?php endif; ?>
</p><form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo site_url( 'wp-login.php', 'login_post' ) ?>" method="post">
<label><?php _e( 'Username', 'buddypress' ) ?><br />
<input type="text" name="log" id="sidebar-user-login" class="input" value="<?php echo esc_attr(stripslashes($user_login)); ?>" /></label><label><?php _e( 'Password', 'buddypress' ) ?><br />
<input type="password" name="pwd" id="sidebar-user-pass" class="input" value="" /></label><p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ) ?></label></p>
<?php do_action( 'bp_sidebar_login_form' ) ?>
<input type="submit" name="wp-submit" id="sidebar-wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" />
<input type="hidden" name="testcookie" value="1" />
</form><?php do_action( 'bp_after_sidebar_login_form' ) ?>
<?php endif; ?>
<?php /* Show forum tags on the forums directory */
if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>
<div id="forum-directory-tags" class="widget tags"><h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3>
<?php if ( function_exists('bp_forums_tag_heat_map') ) : ?>
<div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
October 24, 2010 at 8:40 pm #96347In reply to: functions.php and bp-custom.php
Roger Coathup
ParticipantYou should set your slugs in wp-config.php
Comments should be fine in bp-custom.php – there must some error in the way you have the file set up
Ps you are right that functions.php is theme specific, and bp-custom.php is install wide. However there are also order of invocation issues.. They don’t happen at the same place in the initialisation.
For slug and URL mods have a read of the documentation on here
October 24, 2010 at 7:18 pm #96339pcwriter
ParticipantHmmm… OK, so here’s what I’ll do: as I’ve created this, my first, theme based on 1.2.5, I’ll make it available for die-hard 1.2.5 users on my site. But I’ll update the theme to 1.2.6 before shipping it off to the theme repo with a heads-up that a 1.2.5 version is available for download at http://…
However, I think the advice given by @karmatosed is sound, so I’ll ensure future themes are in sync with latest version of BP.
Thanks guys!
October 24, 2010 at 6:20 pm #96320Tammie Lister
Moderator@AnindyaRay: Hmmm you got a link for your site? My thoughts are maybe a javascript error (try in firebug to see that) or something like error in files (did you copy over the adminbar.css and also both javascript files (ajax.php / js)? I certainly don’t get any issues with the default or my themes that don’t use custom admin bars – perhaps the custom admin bar code. Worst case maybe you could remove that feature (hate to suggest that but if it’s causing issues).
@pcwriter: General rule is last supported version is latest with BuddyPress / WordPress or at least that’s the way I work with themes myself. Can’t really speak for others. I myself choose that route as there are generally security and other reasons for upgrades.
@Roger: I get the frustration but to be truthful I’m a theme designer and I don’t have these issues as said before I go with latest version support and I think you will find most do. This is of course a point of debate and maybe not the place for this said debate as a personal choice / company choice depending on your working situation. This happens with every release it gets better and more gets added… WordPress has same problem if you think of what happened around 3.0 for instance.
I do think it’s perhaps a point of note to those of us in themes to get more involved and this is one point I myself have in the past few months realised. We can complain about things and claim them wrong but until we get involved can we be surprised over something getting changed. It’s a project we all can get involved in and perhaps this all should be a call to action rather than a soap box moment which I know myself I’m feeling. BuddyPress themes will I think truly benefit from those of us that work with them getting involved where we can. Please take this in the good nature it’s meant as I’ve also had this realisation.
October 24, 2010 at 5:31 pm #96330Roger Coathup
ParticipantNo, any new template tags will not be recognised by your 1.2.5.2 installations.
I’m dismayed by the 1.2.5.2 -> 1.2.6 decision making – with users unable to use 1.2.5.2 themes on 1.2.6. You’d expect some new features in a minor subversion upgrade, some additional template tags you could take or leave, but not for the behaviour of key regularly used functions to be changed overnight (e.g. the multiple friend button issue).
It’s been an issue for us with how on earth we can handle existing bespoke client implementations, but you raise another problem for generic theme developers – you’d have to have two versions of your theme.
October 24, 2010 at 5:13 pm #96329pcwriter
ParticipantI’m putting together my first soon-to-be-released theme package for BP (yay, I’m popping my cherry again!
) and have a n00b question.Once I’ve updated all required files in my theme to 1.2.6 (using the aforementioned “calm methodical copy and pasting session”), will users who are still running 1.2.5 be able to use the theme? In other words, will the new 1.2.6 tags, functions, etc be recognized by 1.2.5?
October 24, 2010 at 5:06 pm #96328anindyaray
Member@karmatosed
Thanks again Tammie for your valuable time , and helping me out …
and yes I was facing some problems
, and I did an update to the blogs-mu theme and trying it out on a demo install … Thanks for your valuable suggestions 
Now it seems to work ok except ….
now I am jumbled up with a single issue , and yet it became a nightmare …
After updating to buddypress 1.2.6 from 1.2.5.2 , my site does not show admin bar for guest user(as admin is disabled for loggedout users) , instead inplace it shows a white space …
Logged in users can view the admin bar correctly , but non-loggedin users or guest users cannot see the admin bar , instead of the admin bar there is a white space in place … !!!
http://img153.imageshack.us/img153/4278/whitespaceu.jpg
check this image, see in image, just below the address bar there is a white space , its the 25 px padding for the admin bar …
This started happening just after upgrading to bp 1.2.6 , (with and without updating blogs-mu theme)if the admin bar visibility is turned on for loggedout users , the admin bar is displayed correctly , otherwise a white space of 25px…
It was not happening with bp 1.2.5.2 , then it was fine.
Can you kindly help me out with this issue , Please tell me what needs to be done, I would be very greatful …
Thanks Tammie ….
October 24, 2010 at 3:02 pm #96319Tammie Lister
ModeratorI would say all things should be required by Blogs-Mu to be honest. However, it’s going to be a case of you’re only going to know as do. You definitely will have template changes otherwise have the magical double button issues on friends and blogs

Not sure what you mean about php file … it’s a case of finding the file and replacing the content with the updates should be pretty much a copy and paste job with Blogs-Mu.
Are you sure your site works correctly? I’m fairly sure you’re going to find some issues about the site and to be honest I’d always recommend updating. Ultimately it’s up to you but my recommendation is a calm methodical copy and pasting session
October 24, 2010 at 2:58 pm #96318In reply to: create theme
Tammie Lister
ModeratorThe question of ‘how to create a custom theme’ is a fairly open ended one. My advice would be start with creating child themes of the parent theme. As Chouf1 already said the codex is a great place to start. You may also want to look at how others have done things and learn by example for instance here: https://buddypress.org/extend/themes/. If I was going to advise someone on how to learn I’d say you have to first off do a child, add a widget area.. learn about what CSS does what maybe using something like firebug to do inline changes and learn. If you’re looking to do a total fresh take non default theme then you want to follow the more methodical process of creating image > XHTML / CSS > theme when learning. By having your end goal from the start you can focus the things you will need to learn and apply.
October 24, 2010 at 2:53 pm #96316In reply to: What is this theme?
Tammie Lister
ModeratorYou may find the widget version of default by modemlooper https://wordpress.org/extend/themes/buddypress-widget-theme gets you on the right track otherwise you can fairly easily add widget areas to your theme or use something like the 3 column or other default themes. Have you checked out a few of the default variations right here: https://buddypress.org/extend/themes/ ?
October 24, 2010 at 2:22 pm #96313In reply to: Widget-Logic & Default theme not working?!
fracanz
ParticipantI changed the syntax for the one BP uses and the plugin is working so far.
For example, instead of using the standar conditional tags !is_page(‘register’) try !bp_is_register_page() in order to prevent a widget to show up in the sidebar when a user gets to “yourdomain.com/register”
A full list of functions to determine the current page can be found at https://wordpress.org/support/topic/buddypress-and-widget-logic (thanks to alanft)
I hope this may helpOctober 24, 2010 at 12:36 pm #96301In reply to: Blocks on Frontpage
pcwriter
ParticipantIf I’m not mistaken, I believe you’ve been inspired by http://www.workathomemommies.com/

If you want to learn how to widgetize a page so you can put whatever you want on it, here’s a great tutorial:
http://wpmu.org/how-to-widgetize-a-page-post-header-or-any-other-template-in-wordpress/If you just want to style the appearance of blog posts on your frontpage, you can do that through CSS.
There are any number of great resources and tutorials in the vast wilderness of cyberspace to help you learn what you need to know. To help you identify exactly what you need to change in your theme’s CSS to get the effect you want, I highly recommend installing the Firebug for Firefox addon:
http://getfirebug.com/Hope this helps!
October 24, 2010 at 11:22 am #96294In reply to: Editing profile redirects to homepage?
Jamie Taylor
ParticipantHi Roger,
Yes it is the activated theme and all other links works well including the creation of groups.
The url for edit profile is http://www.ohracing.net/buddy/profile/theduke/edit
October 24, 2010 at 11:01 am #96292In reply to: After bp 1.2.6 upgrade No admin bar for guest
Hugo Ashmore
ParticipantIt is likely padding creating the white space as you see it to preserve an area for the adminbar, sadly it’s difficult to help further with a static image, you will need to probably contact the theme authors? and see if they are aware of the issue, whether they have fixes or an update for the theme.
October 24, 2010 at 9:39 am #96287Paul Wong-Gibbs
KeymasterYou probably need to update your theme. If you built it yourself, take a look at https://codex.buddypress.org/extending-buddypress/bp-default-theme-changelog/, otherwise ask the person who built it for you.
October 24, 2010 at 8:38 am #96285In reply to: Editing profile redirects to homepage?
Roger Coathup
ParticipantAnd is it the activated theme on your BuddyPress site?
Do the other BuddyPress links work.. Members, groups, activity?
Hover over your profile link – which URL is it trying to send you to?October 24, 2010 at 8:22 am #96283In reply to: Editing profile redirects to homepage?
Jamie Taylor
ParticipantThat is the theme I’m currently using Roger.
October 24, 2010 at 8:16 am #96281In reply to: Editing profile redirects to homepage?
Roger Coathup
ParticipantHave you installed / activated a BuddyPress compatible theme, eg bp-default, on your BuddyPress site?
October 24, 2010 at 8:08 am #96279In reply to: Forum Topics Missing (in FF not Opera)
Roger Coathup
Participanthave you used firebug to inspect?
Which theme are you using? Have you tried with bp-default?
Does it show in safari / ie / chrome?
One thought.. Is the table marked up correctly? V4 of firefox is much stricter re: table markup needing to be valid. Have a search of firefox site for details on that one
October 24, 2010 at 7:40 am #96278In reply to: Change default theme
Hans-Joachim Brosch
Member@ modemlooper: thanks for your reply. Sounds to difficult for me. I am not able to create a child theme. Anyway, any idea how to remove additional pages like “imprint” or “contact” from the top navigation of the default theme? Plugin?
Thanks
Joachim -
AuthorSearch Results