Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,751 through 21,775 (of 32,495 total)
  • Author
    Search Results
  • #86307

    In reply to: Hide topics

    johnhiler
    Member

    One option would be to install Hidden Forums, and designate one folder as hidden to all but admins:

    https://bbpress.org/plugins/topic/hidden-forums/

    Then if you wanted to hide a particular topic, you could just move it into your private forum… :-)

    #84563

    In reply to: bbPress mobile version

    I personally use the PHP class found at http://detectmobilebrowsers.mobi/.

    include(‘mobile_device_detect.php’);

    $mobile = mobile_device_detect();

    if(!mobile)

    {

    //echo TinyMCE code

    }

    I had this as a plugin on bbProgress, but i see they’ve even shut their doors (no more message on front page). I’ll try and boot up my old dev machine and find it as a plugin when i get home

    #83592

    As you’re on the forums Marius… Any chance of telling us if this code we’ve given you does work?

    Maybe even throw out a “thank you”, but I realise that’s asking a bit much, we’ll be happy for you to just give us feedback on the code that we’ve written for you to solve your problem.

    Thanks in advance for showing some manners

    Kev

    #85751
    Arturo
    Participant

    after the easter vacation i release the theme! now is working great and all the function are ok ;)

    ~12-15 april.

    sorry for the delay, a new post coming with the link to download the theme.

    #33870
    bramruiter1
    Member

    Is this thing on? Great.

    I’m currently updating my forum to a newer bbPress version and a nicer looking theme. Everything was going fine until I bumped into a few plug-in issues. I have searched the forums and came across this topic, which seems to mark my problem but never gets resolved.

    A recap: I have used the _ck_ plug-in Unread Posts on bbPress 0.9.0.2 and it worked well. I had a bug once in a while (with a topic staying unread, even though I have read it), but it did it’s work properly. When there was a new post, the title of that particular topic went bold. When I clicked on it, the link would lead me to the post which was my last read post. And when I got back to the frontpage, it stopped being bold.

    Now I have downloaded the Unread Post plug-in again and installed it on bbPress Version 1.0.2 for my new forum. Result: the topics stay unread until I logout and the bold titles don’t take me to the last read post.

    So I’ve tried the earlier version by fel64. Indicate New Post doesn’t do anything either. It mimics Unread Post’s bugs.

    Unread topics on the other hand trashed my front-page and won’t take me anywhere since topics does not have an URL like this http://www.domain.com/<div id=.

    I’m really lost here, since these are unresolved problems everywhere I look.

    Could someone please help me out? Please?

    #33868
    djsteve
    Member

    I was poking around in the theme, and in profile.php and have not yet found a way to remove the “website link” in user profiles. Can someone shed some light on this? I am considering taking out the web site link, or adding rel=nofollow to it.. and maybe taking out the email addy off the user profile pages, but no clue where to find this code.

    Help appreciated!

    Steve

    #85362
    Kevin Ryman
    Participant

    Nice find. :)

    #65342
    Kevin Ryman
    Participant

    No it’s not. The site I’m working on can be found at http://neodeviants.com/ :)

    Please should always check the headers, footers, and the main page’s source code for things like that (intrusive advertisement).

    Thankfully, i came up with a cunning solution.

    It’s a new thing some of the kids are using, called Google. I know, it might never catch on, but it’s worth a shot…

    New bbPress Theme: Black-Letterhead

    http://ulyssesonline.com/blackletterhead/

    BBPress Theme

    Now it appears that the theme has been removed entirely, but i’d suggest contacting the Author via his website. It’s a 2 year old theme that really just changes a few colours, so they’ve probably just forgotten about it.

    That said, the theme has been updated for WordPress so there is every chance that the code you need has just been rolled into one.

    Either way, it’s a good place to start :)

    Good Luck

    #85704

    Yes :)

    Just remember that users set tags, and users are notoriously useless.

    Especially if your forum / blog is not aimed at technical people (who have, to a certain degree, become used to the idea of tags for cross pollination).

    #86108

    In reply to: https problem?

    Gautam Gupta
    Participant

    You would need:

    define( 'BB_FORCE_SSL_ADMIN', true ); //force use of ssl in the admin area
    define( 'BB_FORCE_SSL_USER_FORMS', true ); //force use of ssl on user forms like login, registration and profile editing

    You can check the source here – http://xref.yoast.com/bbtrunk/nav.html?bb-settings.php.source.html#l458

    #86107

    In reply to: https problem?

    Kevin Ryman
    Participant

    Did define('FORCE_SSL_ADMIN', true); work?

    #85749
    gerikg
    Member

    and I don’t know what it means… I don’t code.

    #85748
    gerikg
    Member

    I’m working on it but I can’t get the admin bar to show in bbpress.

    I keep getting:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php  on line 339

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_add_js' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339

    #33856
    zaerl
    Participant

    Hi there. I’m writing a small plugin and I need to check if the actual page is the last page of a topic. I’ve seen that this is the standard way:

    if(bb_current_user_can('write_posts') && bb_is_topic())
    {
    global $topic, $page;
    $add = topic_pages_add();
    $last_page = get_page_number( $topic->topic_posts + $add );

    if($last_page == $page) do whatever you want
    }

    but I want to use this code during the bb_init callback. It doesn’t work and after some simple tests I’ve seen that $topic isn’t defined (yet). Is there a way to get last page during this callback?

    Thanks in advance.

    #85701

    This is fairly simple to do, but you have to define exactly what you want it to do.

    i.e. Are you looking for forum topics that include any of the Tags in the blog post? This means that there will be no ordering or weighting on relavancy.

    This line of WP code will help you on your way too:

    $tags = wp_get_post_tags($post->ID);

    #86105

    In reply to: https problem?

    royho
    Participant

    Although this is the code for WordPress it might be universal to BB Press as well. Open up your bb-config.php and add this line:

    define('FORCE_SSL_ADMIN', true);

    #86247
    absolutex
    Member

    simple

    —> how to increase topic length bbpress (2 posts) (2 voices)

    Topic title length :D

    #85911
    Kevin Ryman
    Participant

    Something people always seem to be asking around here… Integrating bbPress to an existing overall page design. In other words, how to create a matching bbPress theme for your site. :)

    #86123
    Gautam Gupta
    Participant

    Or you may use this, if the above doesn’t work for you:

    <?php
    function unset_arel( $tags ) {
    unset( $tags['a']['rel'] );
    return $tags;
    }
    add_filter( 'bb_allowed_tags', 'unset_arel', -1 );
    ?>

    #86122
    Gautam Gupta
    Participant

    Put this in your theme’s function.php (create one if it is not there):

    <?php
    function change_dofollow_to_nofollow( $content ) {
    return str_replace( array( ' rel="dofollow"', " rel='dofollow'" ), ' rel="nofollow"', $content );
    }
    add_filter( 'post_text', 'change_dofollow_to_nofollow', -1 );
    ?>

    #86214

    In reply to: IRC Chats

    Kevin Ryman
    Participant

    You probably haven’t miss anything… :/

    #86199
    royho
    Participant

    Try this, in your CSS, put a statement like this.

    table#forumlist tr.bb-child {
    text-indent:50px !important;
    }

    That will indent out the sub-forums…

    #65338
    Kevin Ryman
    Participant

    I know this is an old topic but this theme is available for download at http://www.bbpressthemes.net/genealogias/ :)

    #76031
    juboe
    Member

    Okay, so I found it. I opened it in WordPad, added my link code after this:

    <div id=”header” role=”banner”>

    saved it, and closed WordPad.

    I then browsed back to the forum and nothing has changed. Can someone shed some light on this?

    Thanks,

    juboe

Viewing 25 results - 21,751 through 21,775 (of 32,495 total)
Skip to toolbar