Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 16,226 through 16,250 (of 31,073 total)
  • Author
    Search Results
  • nilssvz
    Member

    thank you a lot, it worked!
    =w=

    aces
    Participant

    To find out what css to change, you can examine your web pages with firebug (download) in firefox or developer tools in internet explorer 8 or 9 and google chrome – it’s built in so just press F12. There are similar features in other browsers…

    nilssvz
    Member

    yay, that works.
    thank you.
    now i only need to figure out how to fix the widgets, but that should be no problem.

    aces
    Participant

    `display:none;` does what it says….

    Just remove that line and it will come back again…. nothing else will have changed….

    Actually going back to re-read your original message, it’s not clear what you want to do and how you expect to do it?

    Chris Clayton also suggested an alternative line for your style.css file:
    `
    div#header { background-image:url(‘This-is-the-path-to-an-image-file.gif’); }
    `

    nilssvz
    Member

    it removed the header and the background.
    how can i add them again?

    I’m sorry, I really don’t know anything about css.

    aces
    Participant

    The best way to deal with it is in a child theme! This is the way that buddypress is designed to work so that when buddypress / bp default get upgraded you won’t lose your edits…

    Create a subdirectory under themes and create a simple text file called style.css inside the directory. Then add something like the following at the top of style.css:

    `/*
    Theme Name: nilssvz
    Theme URI: http://example.org/themes/nilssvz/
    Description: nilssvz theme for BuddyPress.
    Version: 1.0
    Author: nilssvz
    Author URI: http://example.org/
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */`

    Then put what Chris Clayton suggested immediately below:

    `
    div#header h1 { display:none; }
    `

    and see what happens when you preview or activate your new child theme…..

    nilssvz
    Member

    I am sorry for bumping this again.

    #128748
    Marcella
    Participant

    hey dude, all depends on how many people would want it as a plugin and it may have already been done before.

    with David having a very specific case it was ok here but would need some more work to be practical.

    if you need some help getting something like this working you could describe what you need, what theme you have etc and maybe take it from there.

    #128746
    @mercime
    Participant

    There have been tons of bug fixes since BP 1.2+ to current BP 1.5.3.1 version but I don’t recall a bug on who’s online avatar. On the other hand, could be simply conflct with theme and/or plugins.

    #128744
    @mercime
    Participant

    Open up 13floor header.php, copy code and post to pastebin.com, click submit button and post the generated URL here. Do the same for your index.php, page.php, single.php and sidebar.php.

    #128742
    doctorwhobbc
    Member

    I am up to step three in that article but like i said i dont actually know what to do. If i post my page.php or something could you or someone give an a example of what needs to be done so i can repeat the process for each file?

    The theme i am using is 13floor by elegant themes (http://www.elegantthemes.com/gallery/13floor/)

    Thanks

    #128734
    @ChrisClayton
    Participant

    @doctorwhobbc without knowing what exact theme your using, all we can suggest is to follow the steps written on the codex.

    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/

    #128729
    Marcella
    Participant

    @djpaul it’s already in trac :)

    In ajax.php there is a function

    `function bp_dtheme_new_activity_comment()`

    On line 194

    `check_admin_referer( ‘new_activity_comment’, ‘_wpnonce_new_activity_comment’ );`

    In activity/entry.php The Nonce matches here.

    In buddypress/bp-activity/bp-activity-functions.php Line 912
    function `function bp_activity_new_comment()`

    Which later calls on line 937

    `bp_activity_add($args)`

    $args being sent from the form.

    Within the same file there is the function above which preps the data by merging and ostracising into var names.

    It then used the BP_Activity_Activity class located in buddypress/activity/bp-activity-classes.php

    and checks if the data could not be saved otherwise return the id of the entry.

    BP_Activity_Activity instantiates all expected parameters initially with the id if passed. (i’m guessing for an output method).

    Saving is the issue here and the method save() on line 62 has 3 global vars $wpdb, $bp and $current_user.

    Saving allows for additional filters (to which extent is beyond me here) (… along with the rest).

    *gets hairier here

    Then…
    It checks if some specific filters failed to return a value and if so returns false.
    It checks for more specific filter return values and if false sets them to that of the matched user. (primary_link) specifically. How this is used in saving, can only hazard a guess that it’s for outputing a url to the activity stream for permalink.php

    http://site.com/members/admin/activity/6060842 for example.

    Then using WPDB inserts or updates accordingly.

    Maybe we can gain some movement with this here.

    Anyone else please do chime in with corrections of the above PSEUDO interpretation, where to go from here is the next one.

    #128711
    Marcella
    Participant

    Have done some further digging and keep hitting the 404 issue.

    The same issue is effected when adding a user as a friend, joining a group and favoriting.

    Have created a quick and dirty button generator function that can be used throughout this WordPress theme.

    However with the dead landing page these will never work. Are there any other approaches considered a best practice?

    #128706
    Marcella
    Participant

    Hey @davidveldt this should do it if you are using the default theme. Otherwise you should integrate as you see fit.

    theme/registration/register.php

    You can add any groups or fields as you require. The groups and fields here are arbitrary.

    ` ‘player’, 4 => ‘coach’, 5 =>’parent’, 6 => ‘instructor’); ?>

    $role) : ?>
    <div id="” class=”role-fields”>

    <label for="”>

    <textarea rows="5" cols="40" name="” id=””>

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />

    `

    Create some profile groups to cater for each role. You can find the group id within the BuddyPress admin… In the url bar or investigate your database.

    You should set-up the $roles array above to match your requirements.

    Within the loop you can show any fields you have created within that xprofile group. If you have a select box within that group you would add the following code as outlined in the bp-default register.php

    `

    <label for="”>

    <select name="” id=””>

    `

    Finally add the following jQuery where you house any other code of similar ilk.

    `
    jQuery(“.role-fields”).hide();
    $roles = jQuery(“#roles”);
    jQuery(“#field_2”).change(function()
    {
    $role = jQuery(this).val().toLowerCase();
    jQuery(“.role-fields”).hide();
    jQuery(“#” + $role).toggle();
    });
    `

    Here’s a pastebin for all that above. http://pastebin.com/QFdTdstz

    No need for tabs or accordion this time.

    Hope that helps you on the Road.

    #128704
    @mercime
    Participant

    Basic troubleshooting – change to bp-default theme and deactivate all plugins except BuddyPress and see if issue is corrected.

    #128703
    @mercime
    Participant

    What did you activate before this happened? If it’s a theme, rename theme folder in wp-content/themes/ . If it’s a plugin, then rename the plugins folder in wp-content/

    Paul Wong-Gibbs
    Keymaster

    Just remove the buttons in your theme templates.

    peeld
    Participant

    Ha, I removed it at one point and now can’t remember how to add it BACK :) I did it in the theme’s CSS somehow…

    #128690
    @mercime
    Participant

    What theme are you using? If it’s bp-default theme that’s missing those files, download another copy of BuddyPress, unzip and upload the /registration/ folder which contains the register.php and activate.php files

    #128689
    @mercime
    Participant

    WP Framework theme has not been updated since April 2011 and therefore the BP Template files included therein have not been updated as well. Change to bp-default theme and the issue will be corrected.

    #128686
    @mercime
    Participant

    Basic troubleshooting – change to bp-default theme and see if issue is corrected. If not, deactivate all plugins except BuddyPress and check registration.

    #128673
    r-a-y
    Keymaster

    For a workaround, to stop BP from purging WP Super Cache, add the following in your theme’s functions.php:
    `remove_action( ‘wp_login’, ‘bp_core_clear_cache’ );`

    nilssvz
    Member

    bump.
    Help, I really need to get this done soon.

    #128662
    4ella
    Participant

    are you sure that you have sent it to the correct address? I didn’ get anything :-(
    edit: sorry i have found it now :-) , will try to take a look now

Viewing 25 results - 16,226 through 16,250 (of 31,073 total)
Skip to toolbar