Search Results for 'theme'
-
AuthorSearch Results
-
March 28, 2009 at 12:40 am #41198
In reply to: How do you delete user profile text
Burt Adsit
ParticipantI don’t know what rev of bp you were using before but things have changed in that rev. The member theme are now located in /wp-content/bp-themes. See the readme in the bp-themes dir in that zip. Make sure you update the themes also.
March 27, 2009 at 10:26 pm #41192In reply to: !! BuddyPress Theme Folder Changes !!
Roy McKenzie
Participantworks great!
March 27, 2009 at 10:14 pm #41190In reply to: Different Styles… Same Input…
Lance Willett
ParticipantHey Moonviper,
In just a brief look at your site, it looks like you are missing some of the CSS rules that help clear floats and such, including
div.clear {clear: both;}
from the “base.css” file in your home theme.I’d recommend not removing that base.css file since it resets elements across the board to help with browser inconsistencies.
March 27, 2009 at 9:44 pm #41185In reply to: create my own home page
Lance Willett
ParticipantHi Jane_135,
You can add the messages, activity, and wire areas as Widgets to any page you want. Look at the file called “home.php” in your home theme to see an example of how BuddyPress does this by default on the home page.
If you don’t have a home theme, read up on the installation process at https://codex.buddypress.org/getting-started/installing-individual-components/ — look for the “Installing the default home theme” and follow the directions there.
Also, the explanation of how the themes work (and how the Widgets within the home page file work) see https://codex.buddypress.org/getting-started/using-the-buddypress-themes/.
March 27, 2009 at 9:30 pm #41182In reply to: Browser Title with custom Member-Theme
Lance Willett
ParticipantMichael,
Getting a custom slug into the page title involves adding something like this into the theme header template:
<?php wp_title('»', true, 'right'); ?>
You can see my notes / comments in https://trac.buddypress.org/ticket/126 for a better example — that was in the home theme, though.
March 27, 2009 at 4:35 pm #41170In reply to: I want to speak Spotlish
Burt Adsit
ParticipantThe reason I suggested the translation route is that modifying the theme causes people to hesitate when upgrading. They don’t want to lose any custom they have. If I’m operating off a working copy of the svn trunk I can take my chances on an svn merge going ok. That it will skip my custom. However if my upgrade process is to replace the old code with the new code, just upload to the server, then I’m less likely to upgrade bp.
If it’s possible to achieve a solution without touching *any* code, I’m all for it.
March 27, 2009 at 1:59 pm #41147In reply to: I want to speak Spotlish
trcwest
Participantits all good… i have sorted it by creating a duplicate wp-config file then deleting the orriginal then renaming duplicate.. ….
I am working on getting the theme intergrated.
March 27, 2009 at 11:10 am #41139In reply to: I want to speak Spotlish
Andy Peatling
KeymasterBuddyPress trunk, make sure you update again.
Put them anywhere in wp-config.php above the “stop editing” part.
No, just the template files in the /themes/ or /bp-themes/ directories.
It should take no time at all to edit the template files and add those two lines. It’s only a suggestion though, if you want to translate that is fine too.
March 27, 2009 at 11:02 am #41138In reply to: Project ideas for Google Summer of Code
zenseeker
Participant@jtbailey, I agree wp-classifieds might not have all the bells & whistles, but when I talked to the developer he was extremely responsive. I was thinking to get him more involved with bp if possible.
A photo gallery that pulled featured pics to the frontpage like some of the magazine themes do would be nice. Would that be possible?
March 27, 2009 at 10:59 am #41137In reply to: I want to speak Spotlish
trcwest
ParticipantQ1) Latest Buddypress Trunk or MU Trunk … I assume buddypress… i have it running of the latest buddypress svn ?
Q2) where do i put these in my wp-config.php [spotskenya/wp-config.php]
define( ‘BP_GROUPS_SLUG’, ‘spots’ );
define( ‘BP_MEMBERS_SLUG’, ‘spotters’ );
?
Q3) “Then just edit the other names in the actual template files, there is nothing wrong with that. The template is meant to be edited. “
what is the template files? are they the core things in [spotskenya/wp-content/mu-plugins/] or in the theme????
wont this take ages and be harder to do than the language thing??
Sorry for all the basic simple questions
March 27, 2009 at 8:40 am #41131In reply to: Recentally Active
Andy Peatling
KeymasterIf you’re using the trunk it’s much easier – take a look at the member theme and the file:
/directories/members/members-loop.php
That has the template loop you need to render recently active members.
March 27, 2009 at 8:21 am #41127In reply to: trouble with rev 1268
Andy Peatling
KeymasterMake sure you have done the following:
Changed your member theme folder to /bp-themes/ from /member-themes/
Copied the /directories/ directory from the default member theme to your currently active member theme.
March 27, 2009 at 4:02 am #41120In reply to: trouble with rev 1268
Burt Adsit
ParticipantIt seems that the directories have been removed from the home theme and they are now part of the member theme. That’s all I know at the moment from looking at the svn logs.
March 27, 2009 at 3:25 am #41116In reply to: Project ideas for Google Summer of Code
jtbailey
ParticipantOh no, @Enrico, classifieds are THE core function of every local newspaper, which is essentially what Buddypress is, when you think about it.
But if you want to do a photo gallery, take a look at this guy’s Drupal module: http://drupal.org/project/picasa
I was impressed at how seamless it was. Personally I’m nervous about being responsible for people’s personal photos, especially when Flickr and Picasa do such a nice job of it for free. That module made me realize It’s better to have a good “glue” module than an excellent standalone “gallery”.
@Zenseeker, I tried wp-classifieds and Classipress and both left much to be desired. No worries, I have a nice jQuery/ajaxy theme I may be able to ransom off to get what I need.
March 27, 2009 at 1:56 am #41115In reply to: Using Proloque Theme as Home theme
Burt Adsit
ParticipantYou can use any theme you’d like as a home theme. Are you talking about using the new prologue P2? That looks very cool.
March 27, 2009 at 12:53 am #41110In reply to: Securing components from non logged in users
mspecht
Participant@Imgoel in my bp-custom.php I put:
function js_restrict_access(){
global $bp, $bp_unfiltered_uri;
if (!is_user_logged_in() && (MEMBERS_SLUG == $bp_unfiltered_uri[0]
|| BP_GROUPS_SLUG == $bp->current_component || BP_BLOGS_SLUG == $bp->current_component)){
bp_core_redirect( get_option(\\\'home\\\') . \\\"/register?s=1\\\");
}
}
add_action( \\\'wp\\\', \\\'js_restrict_access\\\', 3 );Then in my theme I put the following in register.php:
<?php
if($_REQUEST[\\\"s\\\"]){?>
<script type=\\\"text/javascript\\\">
jQuery(document).ready(function () {
setTimeout(function(){ jQuery(\\\"#error\\\").fadeOut(\\\"slow\\\"); }, 3000);
});
</script>
<div id=\\\"error\\\" class=\\\"error\\\">
<p>You can only view this information if you are a registered user. Either login or register to continue.</p>
</div>
<?php } ?>
<?php bp_core_signup_do_signup() ?>March 26, 2009 at 11:36 pm #41104In reply to: !! BuddyPress Theme Folder Changes !!
oldskoo1
ParticipantYep makes more sense and working great now
March 26, 2009 at 4:34 pm #41078In reply to: sort_by_name() function
Andy Peatling
KeymasterYou’re better off using the new users template tags. Check out the members directory template loop in the member theme in the latest trunk.
bp-themes/buddypress-member/directories/members/members-loop.php
You can set specific ways to order members:
bp_has_site_members( 'type=alphabetical&per_page=10' ) )
type can be: active ( default ) | random | newest | popular | online | alphabetical
This is only in the latest trunk, not RC1.
March 26, 2009 at 4:19 pm #41074In reply to: sort_by_name() function
2222427
InactiveMy facebook inspired theme here http://bit.ly/VceH6
Any idea on how to implement a sort_by_name functionality to the members widget on the home page?
Thanks
March 26, 2009 at 2:31 pm #41060In reply to: member theme not showing
zenseeker
ParticipantThanks Burtadsit,
Idiot me. Probably shouldn’t have taken that hiatus from BP. All is well and working. I shall discipline myself to reading the docs before posting next time. Glad there’s docs now!
March 26, 2009 at 2:20 pm #41056stefk
ParticipantHi Guys
I am having the same problem and im totally new to this. To Matto: Thanks for the advice but il be honest-im still lost. How do i do what you just wrote…creating php etc? I would really appreciate the help. Regards Stef
March 26, 2009 at 2:14 pm #41055In reply to: member theme not showing
Burt Adsit
ParticipantA new user gets the blog they signed up with or the main wp blog. The member theme is not a normal wp theme: https://codex.buddypress.org/getting-started/using-the-buddypress-themes/
March 26, 2009 at 1:23 pm #41046In reply to: “BuddyPress” logo on the top left hand side
nicolagreco
ParticipantIf you’ve BPDEV plugins installed go in WP-ADMIN => BPDEV-ADMIN => PLUGINS => BPDEV Theme and change the logo link
March 26, 2009 at 1:09 pm #41043In reply to: Global Variable – Username not ID
Burt Adsit
ParticipantHowdy, We\\\’ve got several ways of referring to a user:
In code:
1) The user id from the wp_users table.
2) The users *login* username
Pretty stuff that gets displayed:
3) The user name that wp has for the user (Display name publicly as: in wp profile)
4) The bp user\\\’s full name
bp uses the user id in most cases to refer to a user. Most of the core template tags take a user id as a parameter. The var $bp->loggedin_user->username doesn\\\’t exist. Nor does the var $bp->displayed_user->username. They aren\\\’t currently being set to anything.
I\\\’m kinda guessing you were shooting for the login username there. The global wp var $userdata->user_login and $current_user->user_login have what you want there.
One thing you have to be aware of is that the $bp->loggedin_user is available throughout bp no matter where you are. The var $bp->displayed_user is only available when the user is in the member theme.
Instead of using the vars directly it might be best to use the template tags in bp-core.php that are like bp_get_user<somthing>() or the template tags in bp-core-templatetags.php for some other user related items: bp_loggedinuser_<somthing>() functions. If things change in bp and the vars change then the wrapper functions just mentioned should shield you from rewriting code.
March 26, 2009 at 12:39 pm #41035In reply to: Admin nad Member Blogs to look the same
Burt Adsit
ParticipantYou can always as site admin disable all themes except the theme you want for your users. If you put that theme in the /themes/default folder it will be the default theme when new blogs are created.
-
AuthorSearch Results