Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,401 through 23,425 (of 32,522 total)
  • Author
    Search Results
  • #79598

    In reply to: Pagination

    span .page-numbers .current should work

    #79597

    In reply to: Pagination

    Billy Wilcosky
    Participant

    That didn’t work for me. I event added !important to it and emptied my cache. :(

    That’s actually one of the things I tried last night. Anyone have any other ideas to make the following bold?

    <span class=”page-numbers current”>1</span>

    If it helps, .page-numbers {font-weight:bold;}, works! But, it changes all the pagination links bold and not just the current page. So, you would think the .page-numbers .current code would work but it doesn’t. I also tried .page-numbers #current and .page-numbers current

    #79563

    In reply to: First Poster

    OMG thank you so much Ashfame!

    Will try your code right now and will let you know if i encounter problems.

    Thanks thanks thanks!

    the Process.

    #79481
    kirpiit
    Member

    Ok, this one works smooth!

    :-)

    Thanks again.

    #79605

    In reply to: Avatar Problem

    brad_langdon
    Member

    Perfect :)

    Thanks man, saved me a headache!

    #79604

    In reply to: Avatar Problem

    johnhiler
    Member
    #79595

    In reply to: Pagination

    Olaf Lederer
    Participant

    it must be

    .page-numbers .current {font-weight:bold;}

    otherwise “current” becomes and element and not a pseudo class ;)

    #79533
    chrishajer
    Participant

    WordPress sidebar code will not work straight away.

    You can find themes that use sidebars here and maybe find something you can copy from:

    http://bbshowcase.org/forums/view/available-themes

    Or, you can find professional help with programming for bbPress here:

    http://bbshowcase.org/forums/topic/bbpress-professionals-advertise-in-this-topic

    Or, anyone familiar with modifying WordPress should be able to help as well since they’re very similar.

    #31836

    Topic: Pagination

    in forum Themes
    Billy Wilcosky
    Participant

    Where is the pagination code?

    This is being very picky, but, I want the current page number to be <b>bold</b>.

    Could someone tell me where the code is so I can add bold tags around the current page OR can someone tell me the CSS code that I can add to my style sheet that will make the current page number bold?

    Just from viewing the source of one of my view pages I found the following:

    <span class=”page-numbers current”>1</span>

    So, I tried adding .page-numbers current {font-weight:bold;} to my style sheet, but that doesn’t work.

    #79544
    johnhiler
    Member

    There’s a committee? :-)

    #79543
    gerikg
    Member

    Thank you Sam,

    What does it take to be in the committee? I want to get involved but I’m no coder. Just have ideas.

    #79440

    In reply to: bbPress Codex – lolz

    Sam Bauers
    Participant

    The plan for a second there was to run the codex from the BuddyPress.org site (which is WPMU). It didn’t pan out for some technical reasons, but the domain is still mapped there.

    #79542
    Sam Bauers
    Participant

    Thanks for your gratitude, I have indeed left Automattic. I decided it was time to move on and pursue some of my own ideas and other interests.

    I won’t have much time to contribute to bbPress now and I can’t report who is going to be taking over from me or if anyone is even being sought for the role.

    It has been great being so involved in this project and I appreciate all the help that people have given in peer support on these forums and with the code itself.

    #79570
    terryjsmith
    Member

    @chrishajer I believe I found originally that including only wp-load.php did not register the actions and filters in WordPress and I wanted to keep those for our specific installation. But generally speaking, it would carry quite a bit less load :)

    @AphelionZ I am very glad you solved the problem, congratulations!

    #79480

    <?php bb_profile_link( array( 'id' => get_post_author_id(), 'text' => get_post_author() ) ); ?>

    @bbback: you can avoid echoing get_ functions by dropping the get_, there’s always an echo alias function

    @kirpi.it: my bad, I left it using an echo function rather than returning the output

    #79479
    bbhack
    Member

    Do this:

    <a href="<?php echo esc_attr( get_user_profile_link( get_post_author_id() ) ); ?>"><?php echo get_post_author(); ?></a>

    #79532
    InvTrdr
    Member

    Can I get help with that? Can I get the code for the sidebar.php file in bbPress and anything else that goes with it? Will the WP sidebar code work?

    Thanks.

    #79568
    AphelionZ
    Participant

    So what I did to patch this was comment out the BPDB function on line 140 of /html-root/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress.php

    Not ideal, I know – but it allowed me to keep working. Here’s the paste. http://pastebin.ca/1574452

    I’m open to suggestions :)

    #31832
    Jim R
    Participant

    I know there are many topics out there dealing with this, but there doesn’t seem to be a set way of doing it. Right now, I have…

    require('/home/jwrbloom/public_html/wp-load.php');

    …in my bbconfig.php file. I have changed all of the bb_get_header to get_header in my bbPress theme, and I have done the same with my footer. What isn’t carrying over is my site’s navigation. I’m using the Hybrid News theme for WP and kakumei for bbPress.

    I’d like to have full or most of my WP functionality for my bbPress, but at this point, other than maybe adding some widgets to a sidebar, I’m not sure what my plan is there. I definitely need all of my header information.

    #79566
    AphelionZ
    Participant

    Ok, so I was mistaken – its a 200 response with either wp-load or wp-blog-header and the fatal error from the logs is:

    Fatal error: Cannot redeclare class BPDB in /Users/mrh/Sites/irrational.dev/community/bb-includes/backpress/class.bpdb.php on line 39

    #79556
    angelamaria
    Member

    I said change the database name since I’m changing it from the default entry in **-config-sample.php to the same database name as on my wp-config.php :)

    I found the error — basically I had copy-pasted the whole database name line, quite unthinkingly; hence the constant was also renamed. Fixed now :D

    #79562

    In reply to: First Poster

    I think all are covered now ;)

    #79561

    In reply to: First Poster

    view.php

    <?php bb_get_header(); ?>

    <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php view_name(); ?></div>

    <?php if ( $topics || $stickies ) : ?>

    <table id="latest" role="main">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Voices'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Author'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php bb_topic_voices(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><?php topic_author(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php bb_topic_voices(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><?php topic_author(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>

    <p class="rss-link"><a href="<?php bb_view_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this view'); ?></a></p>

    <div class="nav">
    <?php view_pages(); ?>
    </div>
    <?php endif; ?>

    <?php bb_get_footer(); ?>

    #79560

    In reply to: First Poster

    tag-single.php

    <?php bb_get_header(); ?>

    <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <a href="<?php bb_tag_page_link(); ?>"><?php _e('Tags'); ?></a> &raquo; <?php bb_tag_name(); ?></div>

    <?php do_action('tag_above_table'); ?>

    <?php if ( $topics ) : ?>

    <table id="latest" role="main">
    <tr>
    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Voices'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Author'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php bb_topic_voices(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><?php topic_author(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; ?>
    </table>

    <p class="rss-link"><a href="<?php bb_tag_posts_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> link for this tag') ?></a></p>

    <?php tag_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>

    <?php endif; ?>

    <?php post_form(); ?>

    <?php do_action('tag_below_table'); ?>

    <?php manage_tags_forms(); ?>

    <?php bb_get_footer(); ?>

    #79453
    chrishajer
    Participant

    Rather than add the plugin (which isn’t working, right?) to the Extend section, why not just post the code you need help with, unless I am misunderstanding your question.

    You can post your code at pastebin.com and post the link here.

Viewing 25 results - 23,401 through 23,425 (of 32,522 total)
Skip to toolbar