Search Results for 'theme'
-
AuthorSearch Results
-
November 28, 2011 at 1:03 am #125112
In reply to: Buddypress network install issue
deonsa
MemberI’ve tested this on three sites:
Site one: WPMU, BP, BP Social Theme, s2Member installed
Site two: WPMU, BP, BP Social Theme
Site one: WPMU, BP, BP Default ThemeI’ve also gone through the rick-m-roll of deactivating all the plugins to see if it makes a difference.
No difference… The problem exists on all three sites.As soon as I add the bp-custom.php file under wp-contents/plugins, the Buddypress menu moves from the Network admin panel to all the admin panels in the network.
Surely this must be an issue pertaining to buddypress or at the bp-custom.php file…?
Or perhaps an issue with my hosting?
Should enable-globals be activated?November 28, 2011 at 12:42 am #125108In reply to: Converting a WP Theme
lwynne
MemberThank you very much for that info!
November 28, 2011 at 12:09 am #125104In reply to: Converting a WP Theme
@mercime
ParticipantThe index.php code in pastebin is from activity/index.php and not from your WP theme
In any case, no worries since your page.php code is enough for this project.Before anything else, open up your WP theme’s footer.php file. Move “ from top of footer.php to just above closing body and html tags like so:
``
Many plugins hook into wp_footer and if you have that placed elsewhere, it could cause you problems – layout and other stuff.To continue with the BP compatibility process:
1. Open up your WP theme’s header.php with text editor and Save > As header-buddypress.php in your WP theme folder.Open up the new header-buddypress.php file and at the very bottom of the file below other code, add:
``
Save file.2. Open up your WP theme’s sidebar.php and Save > As sidebar-buddypress.php in your WP theme folder
Open up sidebar-buddypress.php and at the very top of the file before all other code, add
``
then at the very bottom of the same file after all other code, add
``
Save sidebar-buddypress.php
3. Styling issues – use the style modifications used on BP Twenty Ten child theme and adjust to taste. https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/
4. Upload all modifications to WP theme in server.
November 27, 2011 at 10:02 pm #125099In reply to: Converting a WP Theme
lwynne
MemberRight now, I’m simply trying to get BuddyPress to fit my container width, the rest of my theme uses #container and #post_content for this – as you can see in page.php
I am using the BuddyPress plugin for this. Thanks for the help!
header.php – http://pastebin.com/NkXBha5r
index.php – http://pastebin.com/90ghgrKL
page.php – http://pastebin.com/kD2Kw8MV
footer.php – http://pastebin.com/VMnd4c96November 27, 2011 at 9:50 pm #125098In reply to: Converting a WP Theme
@mercime
Participanthttps://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
There’s a second method in above link which you can use for your theme. If you need further assistance, open up your WP theme’s header.php in text editor and copy all code, then go to pastebin.com and paste the code and click submit. Post the generated pastebin.com URL here. Do the same for your WP theme’s index.php, page.php, and footer.phpNovember 27, 2011 at 8:07 pm #125094In reply to: Changing log in menu-item (buddypress 1.5)
Shasta
MemberI did add that same code to the functions.php for the theme the subdomain is running — it didn’t work there.
As I continued to experiment, I thought it would be useful to disable something in the logged-in state so I could more easily see when it was working without logging in and out (to switch themes and such.) In doing so I figured out that I have to use the priority the menu-item was originally added with:
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6 );
becomes:
remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6);
Without the “6” it won’t work. I’ve tried it with the priority I found in bp-core-buddybar.php, but since it does work in one theme and not another I’m wondering if maybe a theme can change this somewhere?
EDIT: Yup, a theme can change it … if it overwrites the original function with one with a new name but exactly the same code. *headdesk*. Searching for a unique bit of CSS I tracked down where the login code was actually being generated — not by buddypress, but not visually distinct from it either.
November 27, 2011 at 7:49 pm #125092In reply to: Changing log in menu-item (buddypress 1.5)
modemlooper
Moderatorremove action bp_login
create you’re own function for login then add action
Then, remove it from sub themes
November 27, 2011 at 6:35 pm #125086In reply to: Can’t leave a reply on activity feed
lunaKM
MemberI’m using my own theme, it really sucks that so many are having the issue.
November 27, 2011 at 4:46 pm #125082In reply to: Can’t leave a reply on activity feed
@mercime
ParticipantWhat theme are you using? Change to bp-default theme to see if issue is corrected.
November 27, 2011 at 12:58 pm #125077In reply to: What’s is buddypress.org search plugin using at?
iRambo
Member@paul Gibbs i see.. can u give me the search code example? each theme have the different way right? i wanna look at the structure
November 27, 2011 at 12:54 pm #125076In reply to: [resolved] blog pagination in bp-default theme
4ella
Participantforget the question , it works now after installing “WP Page Numbers” plugin : http://www.jenst.se/2008/03/29/wp-page-numbers and putting the code instead default BP pagination code
November 27, 2011 at 12:35 pm #125074In reply to: Buddypress Default theme frontpage modifications.
4ella
Participant@mercime how can I implement to your expert’s code feature post image with for example fixed width=100 height=100?
November 27, 2011 at 12:07 pm #125072In reply to: Buddypress Default theme frontpage modifications.
blogsabout
MemberThanks a lot…
In my end I get a parse error
Parse error: syntax error, unexpected ‘{‘ in xxxxxxxx/index.php on line 41
?Thanks mercime for awesome help as always..and thanks Xevo. I’m learning:o)
November 27, 2011 at 12:06 pm #125071In reply to: [resolved] blog pagination in bp-default theme
4ella
ParticipantI need to bump this
, anybody knows ho can I change “previous entry – next entry” pagination code in index.php ‘‘ with 1 2 3 4 5 6 7 8 … 89 90 pagination , I have installed WP- PageNavi plugin but I can’t make it work in main index.php page
November 27, 2011 at 11:19 am #125070In reply to: Buddypress Default theme frontpage modifications.
November 27, 2011 at 4:04 am #125066In reply to: Problem installing BP
@mercime
Participant@buxton161 To make Graphene theme compatible with BuddyPress
https://buddypress.org/community/groups/installing-buddypress/forum/topic/where-are-my-sub-menus/?topic_page=1&num=15#post-115080
https://buddypress.org/community/groups/installing-buddypress/forum/topic/where-are-my-sub-menus/?topic_page=2&num=15#post-116148November 27, 2011 at 3:59 am #125065In reply to: Where are my sub-menus? – Graphene Theme
@mercime
ParticipantI got it working with the code I gave you.
A new version of Graphene theme came out since you last posted here. When you upgrade Graphene theme, you’ll lose all the BP template pack folders transferred before, and you’ll have to run BP template pack plugin’s compatibility process again via Appearance > BP Compatibility. Then follow the instructions I posted before https://buddypress.org/community/groups/installing-buddypress/forum/topic/where-are-my-sub-menus/?topic_page=1&num=15#post-115080
Per same instructions in that post, add the following at the very bottom of graphene theme’s style.css file after other styles.
`/* BuddyPress Compatibility Style Mods */
.post .avatar {
position: static !important;
}
table.forum {
margin: 0 !important;
}
table.forum tr > td:first-child, table.forum tr > th:first-child {
padding: 15px !important;
}
div#item-header h2,
form#whats-new-form h5 {
clear: none !important;
}
div#item-header ul {
list-style-type: none;
}
div.dir-search {
margin: -20px 0 0 !important;
}
div.item-list-tabs {
margin: 25px 0 20px !important;
}
div.item-list-tabs ul,
div#object-nav.item-list-tabs ul,
div#subnav.item-list-tabs ul {
font-size: 13px;
margin-left: 0 !important;
}
div.item-list-tabs ul li:first-child {
margin-left: 15px !important;
}
div#subnav.item-list-tabs {
margin: -15px 0 15px !important;
}
#activity-stream {
margin-left: 0;
}
.padder div.pagination {
margin: -20px 0 0 !important;
}
ul.item-list {
list-style-type: none;
margin-left: 0;
}
body.activity-permalink div.activity {
padding: 20px;
}
body.activity-permalink .activity-content {
padding: 0 !important;
}`November 27, 2011 at 1:51 am #125061In reply to: Where are my sub-menus? – Graphene Theme
@mercime
ParticipantHi there. Let me check this out again and I’ll get back to you.
November 27, 2011 at 1:15 am #125057In reply to: Buddypress Default theme frontpage modifications.
@mercime
Participant#1.
a) Copy over index.php file from bp-default theme to your child theme folder.
b) Open up index.php in child theme folder and make the following change. On line # 37 of that file, replace:
“
with
`<?php
if ( is_home() ) {
the_excerpt();
} else {
the_content( __( ‘Read the rest of this entry ?’, ‘buddypress’ ) );
}
?>`
c) If you don’t have one yet, create a blank functions.php file in your bp-default child theme folder, then add the solutions to excerpt length and “Read more” are at https://codex.wordpress.org/Function_Reference/the_excerpt#2. The avatar with username is wrapped in div.author-box lines 22 – 29 in the same index.php file you copied over
EDIT – took too long to answer. Didn’t see Xevo’s post
November 27, 2011 at 12:46 am #125055In reply to: Buddypress Default theme frontpage modifications.
Xevo
Participant1. https://codex.wordpress.org/Function_Reference/the_excerpt Since the default buddypress theme uses the_content.
2. http://www.wpbeginner.com/wp-themes/how-to-add-post-thumbnails-in-wordpress/ Should get you going.
November 27, 2011 at 12:35 am #125054In reply to: Where are my sub-menus? – Graphene Theme
junglejinge
Member@mercime I have followed your instructions but the results are still the same.
November 26, 2011 at 11:35 pm #125053In reply to: Buddypress Default theme frontpage modifications.
blogsabout
Memberbasically I can’t find the code that render out those summaries.
November 26, 2011 at 7:51 pm #125043In reply to: Tab or Menu: Settings
r-a-y
KeymasterYour custom theme needs to be upgraded to support the new settings templates:
https://codex.buddypress.org/releases/1-5-developer-and-designer-information/#themePlease pass this information to the theme designer.
November 26, 2011 at 6:20 pm #125040In reply to: [resolved] Thanks for the help Mercime and Xevo!
kwerri
Participant@Bikramglobal, can you do the following:
1. Set these options as follows in your wp_config.php file:
ini_set(‘display_errors’,1);
ini_set(“error_reporting”, E_ALL);
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_DISPLAY’, true);2. Switch to the buddypress default theme
3. Paste any warnings/errors that are displayed on your page when you attempt to send a message, friend someone, etc.
November 26, 2011 at 5:26 pm #125038In reply to: Tab or Menu: Settings
bwakad
MemberWP 3.2.1 / BP 1.5.1
I am using Theme Salutation.
As I change to standard BP theme it works fine. Any solution? -
AuthorSearch Results