Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 31,901 through 31,925 (of 32,561 total)
  • Author
    Search Results
  • #37968

    Alright, 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.

    #37963

    Seems 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'); to define('VHOST', 'no'); will switch that over for you. Phew!)

    #37961

    In reply to: Error in Profile Page

    Sgrunt
    Participant

    you 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

    #37959

    Yes 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!

    #37958
    Burt Adsit
    Participant

    I 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 );

    #37953
    jodyw1
    Participant

    Andy, 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

    #37950
    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.

    #37948

    Wow 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?

    #37942

    This 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

    #37938

    In reply to: Modify BP links

    Burt Adsit
    Participant

    If 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.

    #37937

    Make 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.

    #37934
    Andy Peatling
    Keymaster

    if 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.

    #37927
    jodyw1
    Participant

    If I modify “Custom.CSS” so that it includes the color scheme from the rest of the site, is that going to work?

    #37924
    nicolagreco
    Participant

    you should adapt the default member theme in your one,

    editing css and if needed the code

    Nicola

    #37917
    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. :-)

    #37888

    In reply to: bbpress theme

    Burt Adsit
    Participant

    I’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.

    #37870

    After 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!

    #37857

    In reply to: bbpress theme

    MartinNr5
    Participant

    It sure is! :)

    I just want to make sure that A) no-one else is doing it already and B) that it’ll be used.

    #37855

    In reply to: bbpress theme

    Burt Adsit
    Participant

    It doesn’t exist yet people. What an opportunity!

    #37854

    In reply to: bbpress theme

    MartinNr5
    Participant

    I’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?

    #37823

    In reply to: Profile Sidebar

    MartinNr5
    Participant

    I’m not sure but I’m guessing he modified the BuddyPress member theme.

    #37790
    Burt Adsit
    Participant

    Right 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.

    bobman024
    Participant

    Yeah 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!

    #37757
    nicolagreco
    Participant

    you should edit the header.php of the default theme of bbpress, as i’ve done on buddypressdev.org/forums

    #37739
    Andy Peatling
    Keymaster

    I 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.

Viewing 25 results - 31,901 through 31,925 (of 32,561 total)
Skip to toolbar