Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,126 through 17,150 (of 32,519 total)
  • Author
    Search Results
  • #110688
    zofar143x
    Member

    Ok, so I managed to quite easily to integrate the /author/username archive into the /forum/users/username but that’s actually not what I want. Can someone tell me which code call the “forum topics created”, “Favorite Forum Topics” etc.? I can’t seem to find it.

    #40891
    zofar143x
    Member

    When you click on someones profile in the forums you’ll be taken to the forum/users/username which shows what you’ve entered in the about section as well as your forum activities. However, when someone clicks on the when when viewing a (blog) post that the same user has written you’ll be taken to the /author/username page showing which articles that user has written.

    What I would like to do is to integrate the /forum/users/username page with the /author/username page so that every user has only one uniform profile page. Would this be possible? Are there any shortcodes to display “forum topics created” etc. so I can try modify the /author/username page?

    #107365
    Smatthee
    Member

    I think I may have figured it out.

    If I add a topic through the WP dashboard it creates this wierd “comments are closed” thing, but if I add them directly through the blog it seems to work…

    Strange.

    #107364
    Smatthee
    Member

    Thanks for the post, it has been a great help!

    I am still struggling to get the topics to work. When I click on the topic it has my description an then it says “Comments are closed.” and there is no way to post anything…

    Have a look here: http://urbanbeeguild.org.au/?page_id=227

    Any help would be GREATLY appreciated :)

    Thanks,

    Simon

    #110263

    In reply to: CubePoints

    Tosh
    Member

    Created a CubePoints module for bbPress this morning :)

    http://blog.slyspyder.com/2011/11/25/cubepoints-bbpress-2-0-together-at-last/

    Ed
    Participant

    I hate to nag, but I would really like to know if this will work with punBB anytime in the near future?

    If not, I will just move to a different system – my current setup is just spam infested – no punBB plugin can stop it. I really need to jump ship soon :(

    #40883
    Trobee
    Member

    Hi all,

    I am adding ratings to forum topics for a single forum, using this plugin

    http://wordpress.org/extend/plugins/wp-postratings/

    I have added the required code to loop-topic.php and loop-single-topic.php to get ratings showing up in the topic list.

    I am now trying to restrict these ratings to a single forum but I have not been able to find a way to get the current forum id to check if it is the right forum to display the ratings

    Just_Lea
    Member

    Hello

    I’m creating a WP site vith a “3 colums” style. (http://skylanders.ancykien.fr/)

    But I want a “one column” model for my forum ^^

    So I’ve created a page which only contains this short-code :[bbp-forum-index].

    This page is a “one column” model.

    => works fine

    But when I clik on a forum link from this page, it opens the forum and the list of topics on a “3 columns “model :(

    Does someone know how to keep the model of the parent page (a “one column” here) when clicking on a forum link ? or another way ?

    Thanks in advance (and sorry for my english, I’m french^^)

    #110675
    Trobee
    Member

    I have a similar situation, although I will have forums on other subsites eventually, so I have it enabled over the whole site, but I only created forums on one subsite.

    The only thing I think I had to do was set up rewrites in .htaccess from all other subsites and the main site to view user profile pages.

    For the main page:

    RewriteRule ^users/(.*)$ /forums/users/$1 [L,R=301]

    For subsites:

    RewriteRule ^[subsite]/users/(.*)$ /forums/users/$1 [L,R=301]

    Also, I am using the “Move Privacy Options” plugin to make the subsite private, and I noticed that the bbpess rss feeds are not private. I am currently woking on fixing this and so far this is what I have got, which is by no means perfect.

    You will need to find the functions bbp_display_topics_feed_rss2 and bbp_display_replies_feed_rss2 in bbp-topic-functions.php and bbp-reply-functions.php respectively, and add this code to the beginning of each fuction

    if (!isset($_SERVER['PHP_AUTH_USER'])) {
    header('WWW-Authenticate: Basic realm="My Website"');
    header('HTTP/1.1 401 Authorization Required');
    exit;
    }
    $user = wp_authenticate($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']);

    if ( !$user || is_wp_error($user) ) {
    header('WWW-Authenticate: Basic realm="My Website"');
    header('HTTP/1.1 401 Authorization Required');
    }

    Which should limit who can read the rss feeds to people who have a login to your wordpress site.

    #110191
    doy1914
    Member

    if you have not try shortcodes here are they:

    * Forums

    [bbp-forum-index] – Show the forum index/archive

    [bbp-single-forum id=$forum_id] – Show a single forums topics

    * Topics

    [bbp-topic-index] – Show the topics index/archive

    [bbp-topic-form] – Show the new topic form

    [bbp-single-topic id=$topic_id] – Show a single topic

    * Topic Tags

    [bbp-topic-tags] – Show a tag cloud of all topic tags

    [bbp-single-topic-tag] – Show the topics within a specific tag

    * Replies

    [bbp-reply-form] – Show the topic reply form

    * Views

    [bbp-single-view] – Show topics associated with a specific view

    * Account

    [bbp-login] – Show the login screen

    [bbp-register] – Show the register screen

    [bbp-lost-pass] – Show the lost password screen

    *this codes post by johnjamesjacoby in his forum

    https://bbpress.org/forums/topic/bbpress-20-shortcodes

    #110190
    doy1914
    Member

    Hello mr. globetrotterdk, for your first question unfortunately there is no available documentation for bbpress 2.0 up to now.. pray that developer will update this soon. Thanks for them who makes their effort to update.

    for your second question, have you try using bbpress shortcodes?

    #110663
    benfrain
    Member

    Sure, I have a custom theme and this sits in the functions.php and loads in a block of HTML for single posts that aren’t in certain categories. However, since installing bbPress, this block of HTML is also showing on the forums (it shouldn’t) so I need to exclude it. Someone offered some help on another forum so I now have:

    if ( 'forum' != get_post_type() && !in_category(array('54', '55', '56', '57', '58')) && !is_category(array('54', '55', '56', '57', '58')) ) { ?>

    Which means my forums now show but this chunk of HTML is now showing on pages too (it shouldn’t show there either) so I need to now exclude pages as well! Any idea how I might do that?

    #57002

    I need that code. PLease send me! Thank you.

    #110659
    CaptainN2
    Member

    I should also mention – backup your database before doing any of this! :-)

    #106170
    maxfaction
    Member

    I was able to get it working after 4 hours of manipulating css code… which isn’t uncommon when bending code to suit your theme design. I’m still working on a few bugs, nothing serious but its tedious nonetheless… so I’ll contribute my discoveries when I’m done. It’s not for the faint-hearted to be sure, but its do-able. At least you won’t have to invest as much time as I did to “get it”. More to come…

    Resident newbie

    #110657
    tgiokdi
    Member

    I have over 200,000+ users on one of my sites, most of them due to spammy spammers spamming up the place, is this an all in one thing that will try to load all 200,000+ or does it do them a chunk at a time?

    thanks for the code, this something that should be baked in, along with email verification of accounts before they can post.

    #40852
    benfrain
    Member

    Hi,

    I’m trying to exclude all forum post types within my main WordPress theme’s functions.php file using this sort of syntax:

    $post_type != 'forum'

    However it doesn’t seem to work. Here is the full if statement I’m using:

    function single_post_nav() {
    if ( is_single() && !in_category(array('54', '55', '56', '57', '58')) && !is_category(array('54', '55', '56', '57', '58')) && $post_type != 'forum' ) { ?>

    Some stuff

    However, it is still displaying the content on forum pages. Does anyone know the correct way to exclude the forum posts within functions.php?

    Any help much appreciated.

    Cheers – Ben

    #110613
    tosteri
    Member

    Anyone?

    Could this be achieved with shortcodes somehow?

    ebharding
    Participant

    I want to display in a RSS widget just the topics (not the replies) in a specific forum.

    right now I have

    feed://www.westsac.com/forums/forum/west-sacramento-discussion/west-sac-1a/ask-westsac/feed/

    Which display all the posts in a forum, I want just the topics and not the replies. is that possible?

    Or is there a short code that will give me this?

    tia

    #110625
    hscoder
    Participant

    check this link if you want to get forum_id:

    http://www.authorcode.com/forums/topic/how-to-get-forum-id-in-bbpress/

    #110623
    honski
    Member

    Thanks, hscoder! That did it.

    #108230
    ljrjue
    Member

    I’ll do my best to try and find some time this weekend to install the plugin and report back what I find. I did read through the code, but have not yet done anything with it.

    Sorry, no idea about devs, everyone I know is absolutely slammed right now. Will keep an ear out though.

    *I’ve got my hands absolutely full with the new importer and building the supporting site for it. After that, projects are still lined up…

    http://www.madeinflatable.com

    #110405
    Andre
    Participant

    There’s not an easy way to do it yet because there isn’t a shortcode to display the latest topics. I’m sure there’s a way to code it, but I haven’t looked into how to do that.

    Also, bbpress.org doesn’t uses bbpress 2.x yet.

    #40802
    CaptainN2
    Member

    Hi,

    I just restored a very old bbpress 1.x install to use bbpress 2.0 plugin, and it worked great! Thanks so much.

    There are a few issues though, that I could use help with. Here they are:

    1. I’m getting a ton of spam. Some of these get caught by akizmet, but most get through, and there’s no way to do a “rescan for spam” thing like there is in wordpress comments. Is there any way to clean this up, to reduce the spam (I’ll continue to troll the forums to find solutions, but I’m not sure how most of the suggestions there work, until I know how registration and new topics work)?
    2. If not logged in, I can’t see any way to post to the forum, or any register links in the forum area. Is a setting for this (I have it set at defaults, only registered users can post, and anyone can register), or do I have to add theme support? (I’m using 2011.)
    3. Does registration go through normal WP reg process? I can’t find it from the forums, but the spam bots sure can!
    4. there is no preview button – here or in my forum – I hope the formatting I put in here works! :-)

    On an unrelated note, I couldn’t get my old account to work here on bbpress.org (CaptainN) – When I try to log in it says my username doesn’t exist. But I can’t register with either my old username, or old email – they both exist! Also, when I start the reset password process, I get the link to click, but when I click on it, it says I can’t change my password. :-/

    Any help is appreciated. Thanks!

    Kevin N.

    #110622
    hscoder
    Participant
Viewing 25 results - 17,126 through 17,150 (of 32,519 total)
Skip to toolbar