[Resolved] Compatibility issue with Mammoth Theme
-
Hello
First of all im sorry for my bad english..
i can’t complete step 3 of bp compatibility plugin like many buddypress user.
This is page.php of my theme : http://pastebin.com/n4jaeme2Screenshot of how my buddypress looks : http://imageshack.us/f/195/bpscren.jpg/
-
i replaced
`
`with
`
`
But nothing changed :S Also there is no “sidebar” word or smt like tht in my html structure :S So i couldnt change bottom part of activity/index.php file
Help pls
@PrimeSuspect there’s a second method now in BP template pack to make your theme compatible with BP and it would be appropriate for your theme. I need you to go to a page on your site and View Source Code. Copy all and paste in pastebin.com and post the generated URL here. I need it to compare HTML with the source of page template you posted.
Thanks for your reply and help…
This is source code of my home directory ;
@PrimeSuspect the pastebin code for your page.php is full-width for the content with no sidebar. The source of one of your pages per pastebin above shows two columns including sidebar. Which layout was it you wanted? If two columns (with sidebar), open up index.php and paste it to pastebin.
This is index.php file of my theme (mammoth theme) ; http://pastebin.com/nbnHupxr
Btw every page of my theme is 2 column as default.So i want to use buddypress with sidebar like my other pages.
Thank you…
1. Just to be sure we have a clean slate,
– if you’ve only revised activity/index.php, then upload a clean copy of activity/index.php from this page https://buddypress.trac.wordpress.org/browser/tags/1.5.1/bp-themes/bp-default/activity/index.php
– If you’ve revised some other files already, deactivate BP Template pack plugin. Then delete the 6 folders transferred to your mammoth theme folder in server – activity, blogs, forums, groups, members, and registration. Then activate BP Template Pack and run Appearance > BP Compatibility again to the end. Fresh BP template pack folders will then be transferred to your mammoth theme folder.2. Open up mammoth theme’s header.php and Save As header-buddypress.php in mammoth theme folder. Open up header-buddypress.php and add the following at the very bottom of the file:
``3. Create a new file in your mammoth theme folder named sidebar-buddypress.php and add the following within:
``
4. Finally, you might want to tweak the default BP styles enqueued by BP Template Pack – check out some basic tweaks in this page
Thanks for your help mercime.My sidebar looks perfect now…
I have a last question..BuddyPress’ layout and css is not look good with my theme.How i find a new layout or edit css ?Thank you very much again…
== How i find a new layout or edit css ? ==
Not sure what you mean by finding new layout. As for edit CSS, open up mammoth theme’s style.css file and add some or all CSS given #4 link above. If you’re using Firefox, you should add on Firebug to help you tweak your stylesHi mercime
im sorry for my poor english
Yes im talking about .css
I have already done step 4 but nothing changed in apperiance of my theme..i thnk its about BP Template Pack CSS of BuddyPress compatibiliy plugin.(/wp-content/plugins/bp-template-pack/bp.css)when i disable bp template pack’s css : http://imageshack.us/photo/my-images/836/bp2c.jpg
when i enable bp templates pack’s css : http://imageshack.us/photo/my-images/88/69319545.jpgi just want to make fonts , colors , size and other .css things compatible with my theme.
Btw ajax/js of my buddypress doesnt load anything..
i mean “Show box” doesnt work.
For example i choose “Everything” or “Updates” from the Show box , it doesnt show anything.This ajax’s loading gif is turning.i know i ask so many question… Thank you very much for your support…
== I have already done step 4 but nothing changed in apperiance of my theme..==
First, do not disable BP Template Pack CSS. Also, the link I posted above in #4 for styles to add to your style.css file was wrong and corrected now to https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/Re: image attached. Some minor tweaks you could add to your style.css
`span.activity, div#message p {
background: #202020 none !important;
}
div.item-list-tabs {
background: #202020 none !important;
}
div.item-list-tabs ul li.selected a, div.item-list-tabs ul li.current a {
background-color: #cccccc !important;
}
div#subnav.item-list-tabs {
background: #cccccc none !important;
margin: -22px -19px 15px !important;
}`
Note: there are a lot of !important declarations there to override bp.css enqueued after your stylesheet.== Btw ajax/js of my buddypress doesnt load anything ==
Make sure you didn’t disable the BP Template Pack JS/Ajax, i.e. no check marks on this page https://mercime.files.wordpress.com/2011/10/2011-09.gifThank youuuu mercime !! Perfect support !!
All my problems solved..
Cool. Glad it worked out for you.
- The topic ‘[Resolved] Compatibility issue with Mammoth Theme’ is closed to new replies.