Search Results for 'theme'
-
AuthorSearch Results
-
August 18, 2010 at 2:03 pm #89529
In reply to: Clear message to all users
Philip Hesketh
MemberThanks for the answers which answered the same question for me. However I don’t get the message in an orange box – cut and pasted the code into widget in my theme but had to take a couple of bits out – do I need to put anything back in?
<a href="”><a class="button" href="”>
<?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>
<form name="login-form" id="sidebar-login-form" class="standard-form" action="” method=”post”>
<input type="text" name="log" id="sidebar-user-login" class="input" value="” />
<input type="submit" name="wp-submit" id="sidebar-wp-submit" value="” tabindex=”100″ />
<?php /* Show forum tags on the forums directory */
if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>August 18, 2010 at 1:45 pm #89527In reply to: I need ideas for theme creation.
Nahum
Participant@modemlooper i’ve been starting working with a blog-as-forum theme, basically a QA theme. That could be something you could do. a Forum theme. I’m getting ready to leave the bb forums all together, because I’m not seeing a benefit in forums over a modified community QA theme blog.
August 18, 2010 at 1:40 pm #89523In reply to: Blog Theme / Buddypress Theme
Roger Coathup
ParticipantYes, you’ll have to either modify the CSS for the BuddyPress page templates, and / or actually modify the template files (PHP / HTML), depending on how much you want to change the default layout.
Don’t make the changes in bp-themes/bp-default though. Instead, it is best to create your own child theme: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
In the standard setup, the site administrator has to install the themes that will be available to the users for their own blogs. I don’t know if this can be overridden to allow the users to install their own themes directly.
August 18, 2010 at 1:32 pm #89522In reply to: display username in members directory
lenasterg
ParticipantIf you want to display both usernames and display names you can use this version in your theme’s functions.php:
/*Display Username and display name in Directory */
function my_member_username() {
global $members_template;
if ( empty($members_template->member->fullname) ) {
$members_template->member->fullname = $members_template->member->display_name;
}
$toReturn =$members_template->member->fullname .’ @’.$members_template->member->user_login;
return $toReturn;
}
add_filter( ‘my_member_username’, ‘wp_filter_kses’ );
add_filter( ‘my_member_username’, ‘stripslashes’ );
add_filter( ‘my_member_username’, ‘strip_tags’ );add_filter(‘bp_member_name’,’my_member_username’);
August 18, 2010 at 12:50 pm #89515In reply to: Blog Theme / Buddypress Theme
John
Participant@rogercoathup as you can see I use the term template/theme to talk about the same thing.
Thanks you for the correct utilization of the term.Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.
=> So I’ll have to modify the template of the buddypres pages ? This mean the css “attached” to each buddypress pages. this way I could have a network who look totally different than the main blog.Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.
=> The users can choose by themselves the theme for their blog, no ?Best regards,
August 18, 2010 at 12:46 pm #89514In reply to: Help with converting WordPress theme to Buddypress
alex
Participantif u don`t manage to rezolv your problem and u are tiered u can come at http://www.five-games.com and take a moment to relax by plaing one of the 4000 free online games ! is safe for kids too . hope to see u all there !
website is willing to do link exchnage . and if u come u can get games and have them posted on your blog for your friends to play !regards
August 18, 2010 at 10:15 am #89497In reply to: Blog Theme / Buddypress Theme
Roger Coathup
Participant@johnwinch42 – I think it is a terminology problem:
Each page in a WordPress / BuddyPress site can have it’s own template, so for example a template for posts (single.php), for categories (archive.php), etc.. You can even specialise it further, so that different types of posts have different templates and so on.
BuddyPress extends WordPress in the same way, adding new template files for groups, activity, members, profiles, etc.
A theme is a collection of template files, CSS, and javascripts, that are used together to give your site its design, look and feel.
A BuddyPress site typically has one theme that contains the template files for both the main blog and the social network parts. Although it’s one theme, you can style each part uniquely (e.g. the main blog and social network can look different), because you have different templates within that theme for each part of the site.
Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.
Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.
August 18, 2010 at 9:33 am #89494alcina22
Participantthank you hnla for you kind answer! and for the link too, interesting
I think you have right it’s not very important the home-seo-thing! but, I have yet a custom header.php in my theme, so maybe I’ll change the string… now you have reassured me, and try costs nothingthank you again, ciao!
alcinaAugust 18, 2010 at 9:03 am #89493In reply to: Blog Theme / Buddypress Theme
John
Participant@rogercoathup Thanks you very much for taking some of your time to help me !
You can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)
=> They must use the same theme ? Can’t I attribute a different theme to the buddypress pages ? I’ve read it’s possible to attribute themee to category, even posts, isn’t it possible to attribute a template only to the buddypres pages ? (activity, members, etc…)Best regards,
August 18, 2010 at 6:51 am #89485r-a-y
KeymasterI forgot to mention that this won’t fix existing blog posts in the activity stream.
See if new posts work.FYI, if you’re going to be making changes to the bp-default theme, it’s better to create a child theme:
https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/August 18, 2010 at 6:31 am #89482zanzaboonda
ParticipantOkay, I feel like a schmuck but I can’t seem to get this to work! I am using the MyBuddyPress child theme of the default, and whether I copy/paste all the code into a file called forums-loop.php and put it in the child theme folder or if I enter the code before the loop in the BuddyPress default theme files, nothing happens.
Am I doing something wrong? I’m so confused and I really need this to work.
I tried the s2Members plugin and it worked okay but I had some issues with it. Does anyone have any suggestions for me? I would be so happy if you do.
Thanks and best wishes,
KristenAugust 18, 2010 at 5:42 am #89478In reply to: EventPress
PJ
Participant@kunalb @johnjamesjacoby I get this error message in the wp admin side:”The plugin generated 294 characters of unexpected output during activation. If you notice ‘headers already sent’ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.” … I did but it keeps occurring.
Also, it pushes my “Jooc” theme header down when I click on the Events link: http://i34.tinypic.com/15dnmnb.png and the word “Called” appears in the upper left of the screen. Anyone know how I can overcome this minor issue? Thanks. If I overcome this I’ll use it on my live site!
August 18, 2010 at 5:26 am #89477In reply to: Hide Number of Friends
PJ
ParticipantAre you asking if there is a way to have a user’s friends only available to him or her? Adult dating sites and consulting groups/companies find the end users like a layer of privacy that doesn’t let site users see their friend connections. I dont know if it can be done in buddypress.
You could go line by line through the theme to remove pages that display friends, but I’ve never tried to see if it would work.
August 18, 2010 at 4:42 am #89473In reply to: Plugins required
modemlooper
ModeratorI’d use post types instead of using custom fields for using as a shop. Custom fields was the old way but now that post types are available it’s better to use those. You can create admin panels that are user friendly.
I’m creating a theme for ‘eshops’ that use post types. Basically a BuddyPress version of etsy.
August 18, 2010 at 3:50 am #89470Tatiana
Participantwell… I added the code to the functions.php in bp default theme…(I use 1.2.5.2 ) …nothing happened. Where this function will be called? maybe it should replace something, not to be just added? is there a specific spot in the functions.php where to put it? I place it here, in between these two, that were mentioning the activity stream:
/* Hijack the saving of page on front setting to save the activity stream setting */
function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
if ( !is_admin() || !is_site_admin() )
return false;if ( ‘activity’ == $_POST )
return ‘activity’;
else
return $oldvalue;
}
add_action( ‘pre_update_option_page_on_front’, ‘bp_dtheme_page_on_front_update’, 10, 2 );/* added function */
function my_bp_blogs_record_activity_content( $bp_excerpt, $content ) {
return $content;
}
add_filter( ‘bp_blogs_record_activity_content’, ‘my_bp_blogs_record_activity_content’, 1, 2 );/* Load the activity stream template if settings allow */
function bp_dtheme_page_on_front_template( $template ) {
global $wp_query;if ( empty( $wp_query->post->ID ) )
return locate_template( array( ‘activity/index.php’ ), false );
else
return $template;
}
add_filter( ‘page_template’, ‘bp_dtheme_page_on_front_template’ );Sorry for being such a dummy, I am not a pro, just an end user..
August 18, 2010 at 2:26 am #89467intimez
ParticipantDid you go to Appearance – BP Compatibility and then go through all steps to final page?
August 17, 2010 at 11:47 pm #89458In reply to: Blog Theme / Buddypress Theme
Roger Coathup
ParticipantYour option 1 is a standard BuddyPress install structure. (although themainblog is probably better referred to as sitename)
Your second option is in two parts – nameofablog.sitename.com is again the standard BuddyPress / WP subdomain install.
buddypress.sitename.com/members/ does not fit in though. It would be http://www.themainblog.com/members as per your option 1.
Each blog can have their own theme. The BP admin bar can be shared across the top of all blogs, or removed on a blog by blog basis (a call in the blog’s template file – functions.php)
So, to summarise, the standard BP / WP subdomain install is:
http://www.sitename.com – the main blog
http://www.sitename.com/members (etc.) – the social network elements – profiles, directories, etc.
anotherblog.sitename.com – a member’s or other blog on the siteYou can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)
Each additional blog can have it’s own completely independent theme
The admin bar can be shared across the top of all blogs
Hope that helps, Roger
August 17, 2010 at 11:42 pm #89457bb32
ParticipantTry http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/
I got it to work. Just download the zip file towards the end of the post and follow the instructions.August 17, 2010 at 11:29 pm #89455In reply to: Blog Theme / Buddypress Theme
christinarule
Membernoted! Thank you! sorry about that!
August 17, 2010 at 11:26 pm #89454christinarule
Memberhey yea thanks I tried that… I have it installed but when I try and click on My account or anything really on the main page is just goes to an “Not found “Page. I looked over all my stuff time after time making sure I wasnt missing a step or messing up my perma linking…. cant seem to get it!
August 17, 2010 at 10:26 pm #89445In reply to: bp_nav item values
erikshosting
MemberAnyway. Now that its all said and done. I’m still upset I cant affect the ‘posts’ bp_nav tab. I’ve got it down, I change the of any other tab and it works. just not the ‘posts’ tab.
I have tried this in a /plugins/ file, a /mu-plugins/ file and the child theme functions… no luck.
function erocks_change_bp_tag_position()
{
global $bp;$bp->bp_nav = 10;
$bp->bp__nav = 20;
$bp->bp_nav = 35;
$bp->bp_nav = 40;
$bp->bp_nav = 50;
$bp->bp_nav = 60;
$bp->bp_nav = 70;
$bp->bp_nav = 80;
}
add_action( ‘bp_init’, ‘erocks_change_bp_tag_position’, 999 );August 17, 2010 at 10:05 pm #89441In reply to: “Join Group” link does nothing on my site
kaspr007
MemberBingo. Default BuddyPress theme makes the “Join Group” button work. I totally forgot to put the default theme on. I’ve turned the “Early Morning” theme back on now.
How would I go about figuring out what the problem is? Any suggestions?
August 17, 2010 at 9:15 pm #89431r-a-y
KeymasterNotice how I’m linking to a specific post in the thread, rather than the beginning?
The post I’m linking to should allow you to override the BP-truncated excerpt with the original content.
I’ve updated the post above with a direct link to the code I’m referring to.Add the snippet to your theme’s functions.php.
August 17, 2010 at 8:50 pm #89426In reply to: Static Front Page, Blog Link Doesn’t Work
rayd8
MemberI found this fix and it appears to be working for me:
1. Open the index.php, save it to your theme as posts-page.php (or whatever template name you like).
2. Edit the newly created posts-page.php file and place the following at the top to create a page template:`<?php
/*
Template Name: Posts Page
*/
?> `3. Now scroll down in the posts-page.php to the beginning of the WordPress loop and just before the line “ add this one line of code “ Note: (5 == the number of post to show you can change this to whatever you want.)
4. Save the posts-page.php file.
5. In your WordPress/BuddyPress admin panel create a new page called “Blog” (or something similar) and select “Posts Page” under Template.
6. Publish page.You should now be able to go to your Settings -> Reading menu and set a static page and select your Posts Page to show your blog posts.
August 17, 2010 at 8:37 pm #89423In reply to: Future groundbreaking plugins
-
AuthorSearch Results