Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of samm8158
    samm8158
    Participant

    @samm8158

    Hi there,

    I want a search plugin to retrieve data from various sites of courts in India about next hearing date

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @shanebp

    Please help me out…Its really urgent..Due to some reason I could not reply you please help me out.

    Warm regards and great thanks,
    Sumit Agarwal

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    its better to use social button plugin

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @shanebp

    Its nice to hear from you that’s possible in buddypress..Actually I am not a programmer…I know little bit of php and a plugin contains so much functions that I cannot write or understand such codes…So please tell me the code it would be a great help..I am just tired of finding a solution…You are the first one who gave me the solution

    Warm regards,

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    Hi there,
    I forgot to mention that restriction should be there that lawyer’s cannot add person with the account type “Lawyer”

    Thanks

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @aces
    Thanks for your reply..I think I was not clear with my question which is as follows:

    This is what I have done till now in functions .php file
    <?php
    if ( !function_exists( ‘bp_dtheme_widgets_init’ ) ) :
    function bp_dtheme_widgets_init() {

    register_sidebar( array(
    ‘name’ => ‘Right Sidebar’,
    ‘id’ => ‘sidebar-1′,
    ‘description’ => __( ‘The sidebar widget area’, ‘buddypress’ ),
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”widgettitle”>’,
    ‘after_title’ => ‘</h3>’
    ) );

    register_sidebar( array(
    ‘name’ => ‘Left Sidebar’,
    ‘id’ => ‘primary’,
    ‘description’ => __( ‘The left sidebar widget area’, ‘buddypress’ ),
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”widgettitle”>’,
    ‘after_title’ => ‘</h3>’
    ) );
    }
    add_action( ‘widgets_init’, ‘bp_dtheme_widgets_init’ );
    endif;
    ?>

    Then I created the sidebar-primary.php file with the following code:
    <?php do_action( ‘bp_before_sidebar’ ); ?>

    <div id=”sidebar-primary” role=”complementary”>
    <div class=”padder”>

    <?php do_action( ‘bp_inside_before_sidebar’ ); ?>

    <?php if ( is_user_logged_in() ) : ?>

    <?php do_action( ‘bp_before_sidebar_me’ ); ?>

    <div id=”sidebar-me”>
    <?php do_action( ‘bp_sidebar_me’ ); ?>
    </div>

    <?php do_action( ‘bp_after_sidebar_me’ ); ?>

    <?php if ( bp_is_active( ‘messages’ ) ) : ?>
    <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
    <?php endif; ?>

    <?php else : ?>

    <?php do_action( ‘bp_before_sidebar_login_form’ ); ?>

    <?php if ( bp_get_signup_allowed() ) : ?>

    <?php endif; ?>

    <form name=”login-form” id=”sidebar-login-form” class=”standard-form” action=”<?php echo site_url( ‘wp-login.php’, ‘login_post’ ); ?>” method=”post”>
    <?php do_action( ‘bp_sidebar_login_form’ ); ?>

    <input type=”hidden” name=”testcookie” value=”1″ />
    </form>

    <?php do_action( ‘bp_after_sidebar_login_form’ ); ?>

    <?php endif; ?>

    <?php /* Show forum tags on the forums directory */
    if ( bp_is_active( ‘forums’ ) && bp_is_forums_component() && bp_is_directory() ) : ?>
    <div id=”forum-directory-tags” class=”widget tags”>
    <h3 class=”widgettitle”><?php _e( ‘Forum Topic Tags’, ‘buddypress’ ); ?></h3>
    <div id=”tag-text”><?php bp_forums_tag_heat_map(); ?></div>
    </div>
    <?php endif; ?>

    <?php dynamic_sidebar( ‘primary’ ); ?>

    <?php do_action( ‘bp_inside_after_sidebar’ ); ?>

    <?php wp_meta(); ?>

    </div><!– .padder –>
    </div><!– #sidebar –>

    <?php do_action( ‘bp_after_sidebar’ ); ?>
    Then In sidebar.php on the first line I put in the code:
    <?php get_sidebar( ‘primary’ ); ?>
    Now what to do..

    Warm Regards,

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @modemlooper
    I know little bit of php so please if you can do me a favour..Just give left sidebar code from bp columns theme..It would be great help…Thanks a lot

    Warm regards,

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @modemlooper
    Please suggest a compatible theme. I want a similar look as of bp-default theme.. I just want to add a left sidebar.. That would be better to avoid similar problems in future..

    Thanks a lot for such a fast response

    Avatar of samm8158
    samm8158
    Participant

    @samm8158

    @Henry Thanks for your quick response…I have changed the default.css in my theme…Under the tag body, width 95% was set by default, I changed to 1000%…Will there be problem in viewing the site.. I dont want to use any other..I love this theme..It only has the above bug which needs to be resolved..

Viewing 9 replies - 1 through 9 (of 9 total)