Search Results for 'theme'
-
AuthorSearch Results
-
February 15, 2009 at 9:50 am #37968
In reply to: Theme not showing correct template file
John James Jacoby
KeymasterAlright, so I went through and triple checked all of my site_url related settings, they were fine. So I moved all of the plugins from mu-plugins to _temp (except the core) visited the site, then moved them back, and all appears to be well. Is it possible that BuddyPress just got confused? I’d say it’s probably more likely that I’m going crazy…
Next up… If I use the above blog_to_news function, I’ve got it working in the navbar, but the widgets in the blog still point to “blog/…” rather than “news/…” Funny thing is that they load just fine because I never updated the permalink structure to say “/news/%category%/%postname%/” but once I do that, it goes back to post 1 and doesn’t work again.
So even if the permalink and HOME_BLOG_SLUG match, filtered or not, if it doesn’t route to “yourdomain.tld/blog/…” then it doesn’t want to use anything but index.php.
February 15, 2009 at 8:14 am #37963In reply to: Theme not showing correct template file
John James Jacoby
KeymasterSeems the answer to this problem was much simpler than my above psychotic rant, but I don’t quite have a good fix yet…
The problem comes from using this function in bp-custom.php:
function blog_to_news() {
return 'news';
}
add_filter( 'bp_home_blog_slug', 'blog_to_news' );Using that, it seems, causes the whole thing to be a mess. I’ve echo’ed the HOME_BLOG_SLUG, and it is in-fact “news” so that isn’t to blame, but if I remove that little snippet of code, problem solved. But I really want my “/blog” to be “/news” without problem. Hrm…
Also, and this might be common knowledge that I just now am figuring out, it seems that to switch from subdomain to subdirectory (in the event you only have the 1 main blog installed, editing wp_config.php
define('VHOST', 'yes');
todefine('VHOST', 'no');
will switch that over for you. Phew!)February 15, 2009 at 8:09 am #37961In reply to: Error in Profile Page
Sgrunt
Participantyou have modified the base.css in the css folder here: wp-contentmember-themesbuddypress-membercss
the 2 overlapping divs are: #optionsbar and #userbar: maybe a problem of width
February 15, 2009 at 7:44 am #37959In reply to: Theme not showing correct template file
John James Jacoby
KeymasterYes sir, this is exactly how I have mine. It is from the latest RC1 functions.php file it appears. (Side note: what does it do about archives, etc…?)
Back on topic (mostly)… Here’s a question, and maybe this is the culprit. I’ve asked over on the WPMU forums and so far no one has bitten so maybe I’ll theorize here.
I have two domains, testdomain.com, and testdomain2.com. testdomain.com originally had wordpress.org 2.7 installed on it, integrated with bbpress.org 1.0a6. I backed up my database and started my conversion process.
When I installed WPMU and BuddyPress, I did so at testdomain2.com and I am confident I used the subdirectory option. Then when it was working and I had the test database all restored from my afore mentioned backup, and working with all the integration and everything, I moved all of the files from testdomain2.com, to testdomain1.com. With a few hours tweaking, everything appears to be working, but this and the fact that it is now installed as a subdomain install instead of subdirectory.
Now, I can’t tell what the difference is between the two installs (subdirectory and subdomain.) The .htaccess files are the same, the database is the same, and the files all appear to be the same as well. What the heck does WPMU do where to have it know the difference? Could that be part of my problem? Ah!
February 15, 2009 at 7:29 am #37958In reply to: Theme not showing correct template file
Burt Adsit
ParticipantI just ran a little test and bp is using single.php. In the functions.php file for the home theme there is a fn called bp_show_home_blog() which is where it detects what to load. Yours should look like this:
function bp_show_home_blog() {
global $bp, $query_string;
if ( $bp->current_component == HOME_BLOG_SLUG ) {
$pos = strpos( $query_string, ‘pagename=’ . HOME_BLOG_SLUG );
if ( $pos !== false )
$query_string = preg_replace( ‘/pagename=’ . HOME_BLOG_SLUG . ‘/’, ”, $query_string );
query_posts($query_string);
$single_check = strpos( $query_string, ‘&name=’ );
if ( $single_check === false )
bp_core_load_template( ‘index’, true );
else
bp_core_load_template( ‘single’, true );
}
}
add_action( ‘wp’, ‘bp_show_home_blog’, 2 );
February 15, 2009 at 5:42 am #37953In reply to: Missing the Obvious With Themes
jodyw1
ParticipantAndy, I found if I drop that into “wp-content/member-themes/buddypress-member/css/custom-components/” it loads as you say.
It’s changed things somewhat … http://doorqtech.com/members/jodyw1/… but I still have to figure out how to get to look like this: http://doorqtech.com/groups
February 15, 2009 at 5:18 am #37950In reply to: Announcing BuddyPress Group Forums for bbPress
Burt Adsit
Participant@john, I included some template tags in the bbGroups package that demonstrates some of that theme’s use of bp centric features. I didn’t include the forums feature because it was specific to the theme. I’ll just zip up that theme and post it on my blog for you to look at the code. Gimme a few.
OK. It’s here: http://ourcommoninterest.org/downloads/oci.zip
You should just be able to unzip that in my-templates. One thing though. bbPress doesn’t seem to have a functions.php file that gets run in each theme/template as wp does. So I had all the template specific code being launched from my oci_bb_group_forums.php plugin. I’ve got all the template code living in oci_bb_custom.php so it get loaded up automatically. I included my oci_bb_custom.php file in the template zip. Just drop that in my-plugins and it’ll be loaded by the bbGroups plugin in bbpress.
If you look at the front-page.php file you’ll see how the forum list is generated.
<?php oci_forum_list('open', 'Community Forums', false); ?>
<?php oci_forum_list('readonly', 'Group Forums', true); ?>
<?php oci_forum_list('hidden', 'Private Forums', true); ?>That fn is a little out of date. I used to have an option in there to generate identicon avatars for all forums. Even the forums that weren’t bp related. I took that capability out. What it does do now is display avs for the currently logged in user’s groups only.
February 15, 2009 at 5:09 am #37948In reply to: Missing the Obvious With Themes
John James Jacoby
KeymasterWow no way? Crap I just spent two days modifying all of the CSS from every little plugin and file! Arg haha!
Does site-wide.css get loaded last in order, so that it can over-ride any of the previous stylings?
February 15, 2009 at 4:33 am #37942In reply to: Rec Blog Posts widgets causes error
peoriapundit1
MemberThis is the error
Fatal error: Cannot use object of type stdClass as array in /home/blogpeor/public_html/wp-content/member-themes/buddypress-member/functions.php on line 13
February 15, 2009 at 4:14 am #37938In reply to: Modify BP links
Burt Adsit
ParticipantIf I understand you correctly you have mu installed with the subdomain option and you want to run the bp home theme on a subdomain. That’s not a problem. Just activate it for that subdomain’s blog.
That’s about all I understand in your question or problem.
February 15, 2009 at 4:06 am #37937In reply to: Upgraded and BP now completely Sporked
John James Jacoby
KeymasterMake sure you’ve replaced your functions.php with the new ones from the theme in the combo pack. That did it for me.
If you’ve modified your functions.php, then obviously just take your personal additions, add them to the new one, and replace the file with the new one.
February 15, 2009 at 3:13 am #37934In reply to: Missing the Obvious With Themes
Andy Peatling
Keymasterif you put a css file called site-wide.css in your home theme in the folder css, it will load across themes.
For example: /wp-content/themes/my-theme/css/site-wide.css
This will basically let you apply styles to both your regular home blog theme and the member theme currently active.
February 14, 2009 at 11:19 pm #37927In reply to: Missing the Obvious With Themes
jodyw1
ParticipantIf I modify “Custom.CSS” so that it includes the color scheme from the rest of the site, is that going to work?
February 14, 2009 at 10:27 pm #37924In reply to: Missing the Obvious With Themes
nicolagreco
Participantyou should adapt the default member theme in your one,
editing css and if needed the code
Nicola
February 14, 2009 at 9:26 pm #37917In reply to: “News” vs. “Blog”
markb1439
Member>> Basically in RC1 you can just edit the nav directly in the theme
>> header.php to have the text be whatever you’d like. Easy!
Perfect! I was also operating under the impression that the methods listed to change this were not easy or didn’t work. So problem solved.
February 14, 2009 at 2:48 pm #37888In reply to: bbpress theme
Burt Adsit
ParticipantI’m developing a theme for bbpress that is more bp centric but it’s not going to look like the bp themes. There’s gonna be lots of new themes being developed for bbpress soon.
February 14, 2009 at 9:05 am #37870In reply to: “News” vs. “Blog”
John James Jacoby
KeymasterAfter diving a little deeper into the theme, I was able to figure it out, and it’s quite straight forward actually. Basically in RC1 you can just edit the nav directly in the theme header.php to have the text be whatever you’d like. Easy!
February 13, 2009 at 10:10 pm #37857In reply to: bbpress theme
MartinNr5
ParticipantIt sure is!
I just want to make sure that A) no-one else is doing it already and
that it’ll be used.
February 13, 2009 at 9:53 pm #37855In reply to: bbpress theme
Burt Adsit
ParticipantIt doesn’t exist yet people. What an opportunity!
February 13, 2009 at 9:50 pm #37854In reply to: bbpress theme
MartinNr5
ParticipantI’ve been googling for this without any luck.
If I would take a stab at creating a BuddyPress theme for bbPress, would that be interesting or just a waste of time?
February 13, 2009 at 5:32 pm #37823In reply to: Profile Sidebar
MartinNr5
ParticipantI’m not sure but I’m guessing he modified the BuddyPress member theme.
February 13, 2009 at 12:28 am #37790In reply to: Does BuddyPress have a General Forum?
Burt Adsit
ParticipantRight now I’m not sure how to handle the group deletion on the bbpress side. I can delete the forum if the group gets deleted ya. However, when I thought about it I decided to let the site admin/keymaster handle that now manually. The situation I thought of was a group admin gets bent out of shape, deletes the group and there goes a huge group asset if I just blindly kill the forum. So that action in bp is just being ignored now.
The only major problem I have now is that group join/leave in the group directories doesn’t work. Doesn’t even join/leave the group much less do what it’s supposed to in xmlrpc to talk to bbpress. It works in the member theme fine. Some sort of conflict in that context I have to track down.
February 12, 2009 at 5:52 pm #37767bobman024
ParticipantYeah I agree that there should be a MU pass-through for the Buddypress plugins to work on bbpress. I don’t see why they wouldnt since everything is fully integrated, but for some reason they are not. This also, makes me wonder how Nicola gets avatars to show up on the bbpress side. I am having some issues with that as well! Any ideas? I would love to see the forum theme that Nicola is using and make my modifications off of that!
February 12, 2009 at 3:14 pm #37757In reply to: Graphics integration 4 forums
nicolagreco
Participantyou should edit the header.php of the default theme of bbpress, as i’ve done on buddypressdev.org/forums
February 12, 2009 at 2:54 am #37739In reply to: Announcement: BuddyPress RC-1
Andy Peatling
KeymasterI should also note a few things here for people to be aware of when upgrading:
– If you upgrade from a previous version and are using your own custom theme, you will need to copy over the functions.php from the latest buddypress-home theme.
– Nonce security has been added. This means input forms now have hidden “_wpnonce” fields that ensure that the user has intent when submitting information. You will need to add these fields to the forms if you are using a custom theme. You can see where to add them by looking here. Look for <?php wp_nonce_field( … ) ?>
– You may find some activity stream items around blog posts will take some time to re-cache and update properly. Give it a few days.
– If you get a white screen. Check your logs, this will tell you the error. More often than not, it’s because you haven’t updated the functions.php file in your theme.
– “News” in the home theme has changed to “Blog”. Update your permalinks if necessary.
-
AuthorSearch Results