BuddyPress Scholar Theme

I Like the theme however the menus are a bit touchy. They don’t always drop down on hover or click. I notice that if I change pages they work once then stop again. Behavior is the same in Firefox and IE. This may be an issue with the fade…

Any Ideas before I start building out a site on this theme?

WordPress MU 2.9.1.

Version 1.2.1

No Plugins yet

  • Tammie
    • WordPress Wizard

    @aspdNoble: What version are you using if you can update to the latest version and clear your browser cache to see if you still get the issues. Also if you could provide a link to your site along with which versions of Firefox and IE you are having issues in that would help me diagnose this. Do you have javascript turned on in your browser as the fade is dependent on those. If you can let me know I’ll have more of a look for you.

  • andre7
    • Flash Drive

    @tlister

    I’ve updated the Scholar theme, following the instructions carefully. I now have two ‘Home’ tabs on the front page and the ‘blogs’ tab looks exactly the same as the homepage. I’ve deleted both the Blogs and Home page, reset all the theme option, then added them again and I still have the same problem. WP 2.9.2 & BP 1.2.1

    your help is appreciated.

    andre

  • Tammie
    • WordPress Wizard

    @andre7: Hmm you have to assign the template to the blog page for it to work (it’s the news / blog one). However, with the latest version of Scholar you no longer need to set a home page so just delete that and then you will be fine about it working. You also do not have to do anything with settings > readings anymore since the last update. If this doesn’t resolve it can you please provide me a link to have a look.

  • Tammie
    • WordPress Wizard

    @andre7: Hmm just updated a new version of this theme with a fix for long site messages can you try that version please, but couldn’t find an issue with using the blog template. Can I check a few things please.

    1. You are using the template for blog / news by setting it.

    2. You have nothing set under settings > reading

    3. You have nothing like a custom blog slug in wp-config or anywhere else?

    If you can let me know this as I can’t replicate this issue so need to if possible also have a link to see this site to diagnose if the problem isn’t resolved.

  • blancdememoire
    • Flash Drive

    Hi hello, I’m a new member ! Good to read you andre and tlister.

    Did anyone correct the error of magazine theme being contained in the latest download of scholar instead of scholar’s latest version ?

    Also, if someone can explain why does wordpress tell me there is a missing style sheet in nelo and magazine making it impossible to set the theme as active I’d appreciate as this maybe will save me from the same happening on the scholar version. Would that have to do with the fact that update notification php is placed in mu plugins ?

    Again I have the latest versions of wordpress mu and bpress installed.

    Thanks,

    – Simon L

  • Tammie
    • WordPress Wizard

    @blancdememoire: The download for scholar is working so not sure about magazine being included it’s just showing scholar for me but a new version was put up today so if you get that one it could resolve it for you. I do not get that error in magazine if you try the download I put up today perhaps that will resolve it for you. I can upload and get working both versions if you want to try them.

  • blancdememoire
    • Flash Drive

    I got the lastest version of scholar you've uploaded today and it's the good one I've found contained in the download.

    Still though, after I've installed it I get a message that this theme is damaged and that I can't install it because there needs to be a style sheet.

    I've attached an image to show you what I get.

    Do you have any clue has to how to fix this ?

    – S

    [attachments are only viewable by logged-in members]

  • blancdememoire
    • Flash Drive

    Dunno if this is clearer for you but I meant by install upload and then installing it by setting it as the site theme.

    The feedback the system gives me after upload is: that the theme is installed but incomplete and under descrition it reports a missing style sheet.

    I’ve looked in some folders of the theme and the only file or document I saw so far with style on it wasn’t with a .css . Is there a style sheet you could give me ? For sure it’s strange, why would it be only me and why would you have forgot to put a style sheet in a theme that works for others. Could it be cuz of a language issue ?

    Other than that my site is in french and translated for the most part but if you could help me understand how to translate everything in french such as bpress and other addons i’m getting from wpmu dev that would be realy great because the users will only be french speaking people. (?)

    Finaly, as I hope not to bog you too much, does the ultimate translation plugin having to do with google work for content only or all site wide interface and admin languages config ? Is there some other folder where I should get .po and .mo files flown to ?

  • Tammie
    • WordPress Wizard

    @blancdemoemoire: What install path do you have for the theme it should be wp-content/themes/bp-scholar not wp-content/themes/themes/bp-scholar or anything before bp-scholar

    The stylesheet is in the theme I just checked again for you I think it is your install path possibly.

  • blancdememoire
    • Flash Drive

    I believe it is so. but see attached pic again to confirm.

    I'll try a few things such as putting it in buddytheme and trying to take of the wpmu before wpmu-bp-scholar. I dunno I too find this unusual though I'm not realy a pro.

    Thanks ! I hope you are paid for doing this job because you are a very nice patient person.

    [attachments are only viewable by logged-in members]

  • Tammie
    • WordPress Wizard

    @blancdememoire no problem I’m here to get it sorted for you. I can see your problem there you have it under wpmu-bp-scholar-1.1 what you need to do for all themes is make sure you go into the unzipped file and go to the themes/ directory. Grab both the folders under there but not the themes/ directory itself. So in this case you would have bp-scholar/ and bp-scholar-child/ and put those under wp-content/themes. So what you should see rather than wpmu-bp-scholar-1.1 are 2 folders under there: bp-scholar/ and bp-scholar-child/

    That should sort it just do the similar process for nelo and everything should work. Let me know if you get any other issues.

  • andre7
    • Flash Drive

    Hi @tlister

    One more formatting issue: at the point where membership of a group is requested, there is a space missing in the message. See image.

    Also could you point me in the right direction for changing the text from 'Request Membership' to 'Request Enrollment'

    Thanks

    Andre

    [attachments are only viewable by logged-in members]

  • Tammie
    • WordPress Wizard

    @andre7: I’ve just updated version 1.1.1 with a fix for that actually so you should be ok now. I’ve also added a fix for the meta running into the groups description when it was very long in some browsers – that should solve your other issue. If it does not however please can you send me a link and / or what browser you are seeing the issue in along with it’s version for diagnosis.

  • Tammie
    • WordPress Wizard

    @andre7: To change that text you would want to edit ajax.php under _inc.

    echo 'id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '';

    } else if ( 'private' == $group->status ) {

    echo 'id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_send_membership_request' ) . '">' . __( 'Request Membership', 'buddypress' ) . '';

    You want to edit around line 428 – 432 to change these messages. Just make sure you ONLY edit Request Membership and not request-membership the key to knowing what is a ‘message’ and what is actually something important would be looking for __( that is saying ‘show text’. I will note I have not tested changing this message so keep a copy of the file before the change incase it does impact anything.

  • Tammie
    • WordPress Wizard

    @andre7: Scholar is doing just like the default 1.2 BuddyPress theme for that. I am not sure if this is a bug in BuddyPress as it should be replacing that value logic would assume for me on that however for now it will be using the same call for username. You could look into hacking into the code to change / get that value but it won’t be added. I had a wander around BuddyPress track and forums over it and a few tickets have been raised and this one http://trac.buddypress.org/ticket/1569#comment:2 sort of sums up where they basically say that’s the way buddyPress works.

    This aside. You could look at the function call for instance in activity stream of bp_activitty_content_body() and see about adding a filter to that. However, you would either have to go the filter route in a function or you’d have to change every instance – quite the task.

    I’m not 100% dismissing it but for now it won’t get implemented, but I will look to see if I can report it to BuddyPress and see if there is a response regarding it being implemented. I suspect as WordPress 3.0 is coming up and WPMU (that is the part that is setting the display name / show as) this could be changing as part of that though rather than BuddyPress.

    If you do though have it working under the default BuddyPress 1.2 theme just let me know as that is the best method of testing if it’s a Scholar theme issue or core problem.

  • andre7
    • Flash Drive

    @tlister

    Thanks for the explanation – I’ll wait and see what wp3 brings. Another question: I want to remove the ‘Categories’ tab from the main navigation – could you tell me which file to look in to edit this.

    Thanks

    Andre

  • Tammie
    • WordPress Wizard

    @andre7: You’d want to edit main-navigation.php under includes to remove that. Off the top of my head I think around line 11 in that file. If you are only using wordpress without buddypress it would be in the header.php file but I assume from your previous queries you’re running BuddyPress also. I think if you are not though (say it’s on a different installation or something) it’s under header.php around line 166 maybe a bit further on.

  • andre7
    • Flash Drive

    @tlister. I really didn’t expect you to know the line numbers off hand, but that was very helpful – thanks.

    Some more guidance please. When a user chooses a group, the default selection under the group is home. I want to change the default to show ‘forum’ as that is where the action is …. could you tell me which file to go look at?

    BP1.2.1 & WP 2.9.2

    Andre

  • andre7
    • Flash Drive

    @tlister

    I’m new to buddypress programming, so I’m still finding my way around the files…could you help with the following query please.

    When a user chooses a group, the default selection under the ‘group’ is ‘home’. I want to change the default to show ‘forum’ as that is where the action is …. could you tell me which file to go look at?

    BP1.2.1 & WP 2.9.2

    Thanks

    Andre

  • Tammie
    • WordPress Wizard

    @andre7: hmmm that’s quite a complex order I think. Unless I’m wrong what you want is to change the menu order itself – is this right (see screenshot of area I think you’re referring to).

    If this is the case then it’s time to get your Sherlock hat on a bit and investigate :slight_smile: You’d be starting to look at groups/single/home.php with the bit of code being:

    <div id="item-nav">

    <div class="item-list-tabs no-ajax" id="object-nav">

      <?php bp_get_options_nav() ?>

      <?php do_action( 'bp_group_options_nav' ) ?>

    </div>

    </div>

    The key here would be bp_get_options_nav. This is not something that is easy to customise though one method suggested here: http://buddypress.org/forums/topic/how-to-edit-user-and-options-nav#post-30242 involves core file editing which is a little bit of a hacky version but you could also explore a custom function to get this done. I will note I’m not sure the method I linked would even work for BuddyPress 1.2+

    There could even be a plugin for it – haven’t explored it so I’d suggest some google time to research also the forums over at BuddyPress.org are great if you’ve not explored those and are starting to dabble deeper into BuddyPress.

    Hope that helped get you on the track to at least finding a solution that works for you. Just remember if you update core files / change them you will have to bare this in mind if / when you update BuddyPress and take back ups of the files before you do the work – always keep a clean copy. Also be prepared for some trial and error. Alternatively you may get a better suggestion from someone else in this forum as there are many bright sparks here :slight_smile:

  • twodeuces
    • Flash Drive

    @Tammie – you mentioned earlier in this thread the idea of removing the category listing from the Nav Bar. I found the code and can easily remove it from the file, but my question lies more in the parent / child theme side. Is it possible to use a child “main-navigation.php” file? If so, where would I place it in the child theme folder?

  • Tammie
    • WordPress Wizard

    @twodeuces: You have to do an extra step to use it with a child theme.

    1. Copy file into child keeping folder structure if it’s in one (it’s in includes/)

    2. Copy the file that calls it

    3. Where it’s called you will see something includes and a call to it using TEMPLATEPATH just change that to STYLESHEET path.

    <?php load_template (TEMPLATEPATH . '/includes/main-navigation.php'); ?>

    becomes

    <?php load_template STYLESHEETPATH . '/includes/main-navigation.php'); ?>

    That should get it working.