Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 23,551 through 23,575 (of 32,561 total)
  • Author
    Search Results
  • #89190
    Hugo Ashmore
    Participant

    Accessing the menu names is sadly as difficult as I had first thought, I have two arrays that respectively hold the menu regions and menu object parts but finding a method to check one against the other is proving allusive. What I have established is that the menu name attached to a particular menu region does not belong to the nav-menu.php functions but more to the theme functions and makes things problematic, as a new method needs to be written to check a menu region for an explicit but unknown menu name and that isn’t proving simple to theorise let alone start writing.

    At this moment it is something that will have to, sadly, go on the back burner as the cost in time so far outweighs the end result, I’ll revisit as and when I get any inspiration on an approach to try but it may require someone far more familiar in the WordPress API than I am.

    #89181
    @mikey3d
    Participant

    “Don’t just cut and paste my comment and edit in the word “NOT” – it will confuse people.”

    Not true, I edit words “the post”, “BUT” and “NOT.”

    I’m sorry that you thought it will confuse people. I didn’t cut and paste your comment so therefore I altered your comment to my comment without quote. The quote means it’s your comment. Without quote it means my comment.

    “On my default installation post titles DO work correctly, but page title don’t work.”

    My post titles DO NOT work correctly. The post title is “My blog | Home”

    My page title DO NOT work correctly. The page title is “My blog | Home”

    “If they don’t work on your installation, please make this clear in your reply. I’ll have to leave you to figure out why that is giving a problem on your install, or someone else to step in with thoughts.”

    There is no problem in my installation. The WordPress is fine and after install BuddyPress is fine too but the title tag is incorrectly. So that means it is BuddyPress problem. You just admitted:

    “You are right about pages though: pages such as About are not getting the correct title tag set. I’ll report this as a separate thread.”

    I use:

    WordPress 3.0.1
    BuddyPress: Version 1.2.5.2
    Theme: BuddyPress Default 1.2.5.2

    Thanks, Mikey3D

    PS: There is some confusing with words “post title” and “page title.”

    My thought of “post title” is after you click the headline link on the FrontPage to see the page and the title tag is the post title tag.

    My thought of “page title” is after you click the “About” navigation link to see the page and the title tag is the page title tag because it‘s a static page.

    I’m not talking about H1, H2 for title.

    #89176
    Roger Coathup
    Participant

    @tubruk

    in your child theme, wherever you want to hide fields that have no data, you can put a simple if statement, something like:

    if (bp_get_profile_field_data(‘field=your-field-id’) === “”) :
    // don’t display code
    else:
    // display code
    endif;

    Which file to edit, all depends where it is you are wanting to display / hide the profile field. The most likely file for displaying profile fields is profile-loop.php in members/single/profile, but that already skips blank fields (using a call to bp_field_has_data(); that function has to be used inside the profile field loop).

    #89171
    Roger Coathup
    Participant

    @djpaul – I think this might be a wider problem – I investigated this for another user.

    I’ve installed the default BuddyPress installation, and using the default theme. If I click on the “about” page, the title tag still displays “home”

    #89165
    Roger Coathup
    Participant

    I don’t know what you mean by “headline post and pages”? You’ll have to explain further.

    Do you mean meta title = “..” ? In which case, I recommend installing “all in one seo” in your blog.

    If you mean the h1, h2 tags, etc. on a page … then that will all be in your theme’s template files (header.php, single.php, page.php)

    #89159
    Roger Coathup
    Participant

    You’ll have to give your function a different name, e.g. mikey_page_title(), and change the call in header.php (in your child theme) to call mikey_page_title() instead of bp_page_title.

    If you are not using your own child theme, you will have to use the filter approach, or edit the parent theme (which will lead to upgrade problems in the future)

    #89151
    Matthew Hui
    Participant

    My other theme is buddypress-widget-theme and I need to add the sidebar to the third column of my widgets

    Look at the column here http://glumbo.com

    #89149

    Sounds to me like the theme needs to be upgraded too, as it’s trying to use the old news functions.

    #89148
    @mercime
    Participant

    Installation – https://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/

    Theme – themes at rocketthemes look good and if you have HTML/CSS mojo, you can make it work with https://wordpress.org/extend/plugins/bp-template-pack/. If not, a BP compatible theme or a BP child theme would be the way to go.

    #89145
    Jeff Sayre
    Participant

    Before performing such a major upgrade (both WordPress and BuddyPress), you should backup your database. Next, it is always best to be safe than sorry. Deactivate all plugins. This means BuddyPress too, as it is a WordPress plugin. Once WP is up and running, it is time to upgrade BuddyPress. You should read the additional details here: https://codex.buddypress.org/getting-started/upgrading-from-10x/ See the “Upgrading from 1.1.x to 1.2.5” section, paying special attention to the notes on the theme files.

    Finally, you need to upgrade any BP-dependent plugins before reactivating them. If any of these have not been upgraded to work with at least BP 1.2.5, then they should not be reactivated. Nicola’s plugins are very outdated and will not work with the current version of BP.

    #89138
    Matthew Hui
    Participant

    i’m using the buddypress widget theme which is based on the default theme.

    #89137
    Matthew Hui
    Participant

    I have the same problem except that my theme has wp_footer() on footer.php

    #89135

    In reply to: search-login-bar

    @mercime
    Participant

    @balkanpeople
    1. create a child theme of bp-default theme
    2. copy header.php and sidebar.php from bp-default theme to your child theme folder
    3. Copy line 84 through line 102 of header.php to your sidebar.php wherever you want it to appear and save sidebar.php
    https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/header.php#L84
    4. Delete search code you copied to sidebar from header.php

    #89128
    Roger Coathup
    Participant

    You should have signed up for the 24 hour priority support plan – drop @apeatling a line and ask him to upgrade you.

    You can change the structure of the page title by implementing your own version of the function: bp_page_title(), or by implementing a filter on bp_page_title. ( You’ll find these functions in bp-core-templatetags.php)

    Put your modified function (or filter) in your bp_custom.php file

    If you go the modified function route, remember to update your header.php in your bespoke theme to call the modified function instead of the core bp_page_title().

    You might also want to suggest a change request for a future version of BuddyPress to output title in a more SEO friendly way by default.

    If you have any problems with filters, bp_custom.php, or writing your own bespoke theme, you will find plenty of support threads in these forums

    #89122
    Thorsten
    Participant

    Ok Guys! I found the solution for IIS Server! There is a problem with the ‘mod_rewrite’ function, it does not work. Here is the solution and I tried it and it works. Please take a look at http://www.kylecaulfield.com/permalink-for-wordpress-iis-6-mod_rewrite-fixed-free

    The result of my new Buddpress can be viewed here http://www.unitedcasting.de/

    Sorry for the try above, but it’s no really good solution, so I switched into the original theme file of Buddypress theme.

    Many hours today for this result and nobody knewed that. Maybe a problem of Windows worker like me ;-)

    #89118
    Roger Coathup
    Participant

    @nirok, @jasperespejo

    The activity content is written out by the function bp_activity_content_body() called from activity/entry.php in your bespoke BuddyPress theme.

    You could try implementing your own version of bp_activity_content_body(), and changing your entry.php to call the new function. Or you could try implementing a filter on bp_get_activity_content_body. Either way you’ll want them to output the link to the blog and blog title. Have a look at these in bp-activity-templatetags.php.

    I’m not sure quite how (you’ll have to dig in the activities_template structure), but you should be able to pull out the blog_id and query for blog link and title as well. Any core gurus got a pointer or two here?

    To make it a bit more efficient, and restrict it just to blog post activity updates, you can check whether the activity is a blog post in your loop in entry.php with:

    If (bp_get_activity_type() == ‘new_blog_post’) :

    Good luck… let me know how you get on.

    #89092
    Roger Coathup
    Participant

    @jamieea – you might want to check this one out:

    http://www.dnxpert.com/2010/06/11/mark-blog-post-as-favorite-in-buddypress/

    For it to work, you’ll need to have control over the themes being used for the member blogs (as it requires some code adding to single.php to create the favourite / unfavourite button.

    Possible thoughts on enhancing this into something really special, borrowing ideas from del.icio.us: creating and sharing lists of favourites, annotating them with notes, and perhaps even allowing for links from outside the site to be added.

    #89081
    umberrella
    Member

    hmm I noticed… the urls point to: the-url.com/members/admin/activity/ while that plugin have moved the members folder into my theme folder. I think this moving did not go as it should be?

    #89080
    umberrella
    Member

    Yes, I run into this problem too. I used the plugin to make my theme compatible with bp. and step 1 was succeeded, files were moved. Then I could go to step three. There it tells me to check links under “my account”. nothing works. :(

    #89034
    Chris O’Brien
    Participant

    @r-a-y Thanks. Do you mean I need to do the same thing I did to /pages and /posts? I did make the change in posts, but not pages. I didn’t see any reference to time in on pages.php or index.php. Any suggestion where I put it?

    #89024
    Builder
    Participant

    In BP function reference list I have just found bp_group_description and bp_group_description_excerpt , maybe there is even more useful stuff (does anyone know more about this?). I’ll play with these two today.

    *Edit: Does anyone know; HOW could this be used in a function, and are there any more of such useful for adding SEO mainly in head title and meta description (for example taking first 160 characters from a first paragraph of a forum post and adding these to meta description in head template in the theme)?:
    function my_bp_title_tag( $title )

    #89023
    Builder
    Participant

    Yes it would be great if title and meta description were possible to tweak in BP just like in WP, so many options there. E.g. in WP there’s no need for All in one seo plugin in WP for adding meta description in posts because excerpt for feeds can be used in the head of a theme. If it’s not in the BP core, who knows what a plugin developer will do tomorrow, upgrade the plugin or not it’s entirely up to them. The “SEO buddypress plugin” wasn’t upgraded a while back and it didn’t work 100%, people needed to use it together with the WP plugin so the installation worked also with pages in this title/description sense. I think if this was only a little more friendlier in BP it would become such a huge help. Maybe all this is in the BP code and can be simply placed in the head of any BP theme file like in WP installations (I wouldn’t be surprised if it was already there if the plugin exists) … but where to look? This is the major why I might not install in the root due to main pages and posts can not be nicely SEOed.

    #88990
    Mark
    Participant

    I’m also getting “There was an error when banning that user, please try again” when removing a member from a group. The member does get banned from the group.

    WP 3.0.1, subdomain, upgraded from 2.9, functioning prior to upgrade
    BP 1.2.5.2, upgraded from prior version, BuddyPress Widget Theme 1.2, no modified core files,
    Custom Functions = custom_adminbar_dashboard_button, bp_ga_analytics
    bbPress built in, NO errors in logs related to removing group member
    host = TMD Hosting on Apache
    Plugins=
    Bad Behavior
    BP Groupblog
    BP Group Documents
    BP Group Management
    BP MPO Activity Filter
    BuddyPress Group Email Subscription
    External Group Blogs
    Invite Anyone
    Kimili Flash Embed
    Webmast Tools Verification
    wordTube

    #88989

    In reply to: inside group subnav ?

    modemlooper
    Moderator

    I’ll add some more options. I’ll have to look at the code for adding to subnav. Id this for tweeting a group home page? One of the challenges of doing a plugin like this is accommodating various themes and making the placement fit in.

    Beck B
    Participant

    Technically, you should probably be creating a directory named activity in your active theme’s folder (i.e., Unplugged) and copying the original bp-default’s index.php file (that you finally located) into that folder, then modifying the copy. I think.

    Or, arguably, I guess you could even make a…grandchild theme? EDIT: Actually, I don’t think making a child of a child is really an option, but I don’t know for sure.

Viewing 25 results - 23,551 through 23,575 (of 32,561 total)
Skip to toolbar