Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `
…
` or `
..
` to `
// Titles Of Respective BP Page Templates //
`, just watch out when you do this in the /activity/index.php page.
Save files.
Do u know what you have deleted???
What files were you deleting?? Was you deleting your theme files ??
Does the same behavior occur when you change theme back to bp-default theme?
Have you checked possible plugin conflict by deactivating other BP plugins?
If you only have one group, then you can just hardcode the group name in the member-header.php file. Copy over this file from bp-default theme https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-themes/bp-default/members/single/member-header.php into your theme i.e., wp-content/themes/YourThemeFolder/members/single/member-header.php
Open up member-header.php file and right beside
`<a href="”>` , add `(Microsoft)` for example
B. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
`
`
with the following for registration/register.php:
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});
`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/canyon/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
@brainiacwebdesigns you need to go to Step 3 of the BP Compatibility process, fix alignment of the BP template files to mesh with your theme’s HTML structure.
Based on the HTML structure of your theme, you need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your canyon theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.
Download the 6 clean BP folders to your computer hard drive.
A. At the top of each of those 16 template files I linked to above, replace
`
with
`
Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `
` or `
` to `
`, just watch out when you do this in the /activity/index.php page.
Save files.
ok so i found the file youre talking about in root/lib/css, and this
.container_12,
.container_16 {
margin-left: auto;
margin-right: auto;
width: 960px;
}
on line 47. i switched 960 to 1020, but i see no difference. any other ideas/
i have no css folder in my themes root folder. the style.css file is right in the root
if i can make it look good then yes, id like a sidebar. like i said, im no css pro lol, very novice
Your welcome. and im sorry, it is 960.css.. in your theme files, /themeroot/css/960.ss line 94. it should look like this.
.container_12,
.container_16 {
margin-left: auto;
margin-right: auto;
width: 960px; // switch 960px to 1020px
}
also, do you plan on having a sidebar in the buddypress pages?
i know basic css and have firebug lite installed and all that, im just no expert. Which css file, i opened my themes and line 94 i dont think is right for that. if its a buddypress css theme, where is it located? i also buddypress template pack installed, which i thought was supposed to make it all fit together better. thanks again for your help yadigit
on line 94 in style.css of your theme change it to
.container_main {
width: 1020px; // this is the change.
background-color: #FFF;
margin: 0 auto;
padding: 20px 0;
}
(does not fix the sidebar)
Your best bet is to install buddypress template (plugin) and follow the steps ( it seems that your buddypress css is already linked to your theme)
Hint: If you are using google chrome as your browser right click on the page and click inspect element, to your right and side there is the layout of the css, you can edit the css to see what you need to change, it will show you what line and what file to change it in. ( you must have some knowledge of css/html)
Hello, im going to tell you a quick easy way to do step number 1.
Create a field called School or w.e you want to make it and make a drop down field of all the schools that you can think of.
I would also download buddyprress-better-directory ( it may not scale well with your theme depending on what theme you are using )
so now onto question number 2. As I said for your answer for number one, using the drop down menu for the schools will make it easier to search rather then having the members type in their school. as far as searching for UNC and University of North Carolina, Im sure the search would list all the UNC first, then list the University of North Carolina,
I would also suggest installing s2Members (plugin) and follow the steps to help make your buddypress/wordpress more secure,
@vuiet914
Best of Luck,
Ps, this is just a suggestion and it really isn’t a FULL answer to your questions.
thank you @mercime !
I found that the problem come from the theme ‘photum’… I checked it out and found its author doesn’t look like a bad guy to me so it should be mostly the compatibility problem I think… but I’ll take your advice especially the backup one!
@turfnet Code posted for page.php are re dynamic sidebar widgets and not a page. Please double-check if what you posted above is correct. If not, then post new pastebin.com URL for page.php with correct code.
If it was indeed the code the theme author posted there, I want to see the codes for index1.php, index2.php, index3.php and index4.php
Please note what I posted above re not posting large blocks of code here.
The problem is with your Snazzy theme. Rename snazzy theme folder in server via FTP/cPanel/FileManager, etc. from wp-content/themes/snazzy to wp-content/themes/snazzy-xxx to gain access to your wp-admin
== The Issue is, when setting a Front page different from BLOG in the WP reading menu, I get the “too many redirects” error. ==
@gnoric Create a special WP template file named home.php, add content you have in /home/, remove the Home page you created before, and upload home.php to your current theme folder. Whatever content/code you place there will automatically show up in home page.
@Deleted User on post 7
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/this-group-does-not-have-a-forum-setup-yet-1/?topic_page=1&num=15#post-127372
Solved my problem.
I can ad that I had to disable and then enable the “Enable discussion forum” on each Group Setting logged in as Admin after following the steps in the above post.
Thx, for an amazing plugin / maintheme for WordPress.
Best regards, and a lot of happy thoughts from Copenhagen, Denmark.
If anybody drops by Copenhagen, please feel free to visit our roofgardening project at Nørrebro. http://www.tagtomat.dk
WP/BP versions? What theme are you using? Have you changed to bp-default theme and checked if issue is corrected?
1. BuddyPress is not activated in your installation per my check at this time.
2. You need to make your WP theme compatible with BuddyPress by installing and activating the BP Template Pack plugin, then go through Appearance > BP Compatibility and changing/adding some files https://buddypress.org/community/groups/installing-buddypress/forum/topic/mystique-theme-from-digitalnature/
== but you are right…it shouldn’t touch the functions.php file of other themes… ==
Deactivate all plugins and change to default theme.
Follow the info posted in codex article.
Install/Run the Exploit Scanner plugin right now in your site.
Install/Run Theme Check plugin (check each theme) and Log Deprecated Notices plugin with WP_DEBUG true.
Backup DB and server files regularly.
Thank you @mercime! I’ll be more careful with the themes in the future.
I’m really worried when you said it might be hacked…I downloaded those three themes(iphoto/photum/graphictheme) from this website http://devstand.com/design/pinterest-wordpress-themes/ Is that a suspicious website?
I personally feel it’s more like a incompatible issue rather than a malicious attack because pinterest style theme seem to have some special feature for example showing more images when you drag down to the bottom of the page etc. but you are right…it shouldn’t touch the functions.php file of other themes…Anyway I don’t have any experience in dealing with hackers at all so maybe I’m just trying to comfort myself I’m not hacked…
@caf12 sorry, Canvas theme is a different beast to make compatible with BP altogether
We did some template pack compatibility in this thread https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/woo-canvas-child-theme-customization-and-ajax/ but the ajax issue with Canvas (no problem with other themes from woo) is not resolved.
WP/BP versions? Where are you hosted – Windows, Linux, XAMPP, etc? Site URI? Did you go through the Installation Wizard? https://codex.buddypress.org/getting-started/setting-up-a-new-installation/buddypress-1-5-installation-wizard/
Did you install and activate the BP Template Pack plugin to make your WP theme compatible with BuddyPress? After which you need to go the Appearance > BP Compatibility process and fix the HTML structure of the BP template files.
== I just uploaded 2 or 3 pinterest like themes and was testing them ==
1. Delete those themes. Before installing any theme in your live site, check it out first in a test installation using Exploit Scanner plugin, Theme Check plugin and Log Deprecated Notices plugin with WP_DEBUG true.
2. You may have been hacked. https://codex.wordpress.org/FAQ_My_site_was_hacked
No theme nor plugin should be adding anything in your themes’ functions.php file without your express permission.
Deactivate BuddyPress and BP/WP plugins and concentrate on getting your site clean.
3. https://codex.wordpress.org/Hardening_WordPress
Before activating BuddyPress, make sure your WP install is finally rid of issues.
For more assistance please post at https://wordpress.org/support/forum/how-to-and-troubleshooting
Does anyone know how I can search and delete that same virus code in all my themes conveniently? I have hundreds of themes in my site so it will take me a long time to delete that code one by one….
“virus code”:
`<?php
include_once (‘includes/custompost.php’);
?>`