Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,151 through 18,175 (of 32,506 total)
  • Author
    Search Results
  • #107054

    In reply to: double post toolbar?

    master5o1
    Participant

    Yeah, I figured. It’s because I’m using a hook that is pretty general for the templates, ‘bbp_template_notices’ or something.

    If I could use a hook that is only going to insert the bar just above the post form then I would, but I haven’t seen one. Below the post form could work, but I don’t like that much -_-

    It seems that your theme is missing the <?php do_action( 'wp_footer' ); ?> at the bottom of your (probably) footer.php file.

    I used this action hook to insert the deletion javascript that i mentioned on the ‘ive just made…’ thread ;)

    In fact, from viewing the source to your site, your entire footer.php doesn’t seem to be loaded. The HTML structure stops at:

    </div><!-- #content -->
    </div><!-- #container -->

    #106785
    nubber
    Member

    Same here.. users cant reply or create new topics.. not even the administrator of the multisite.. only the super admin can see forums in the admin and create topics/replys

    im using subdomain multisite.. and using bbPress plugin Version 2.0-beta-3b

    im gonna start tinkering with the code =P any insight on what classes should be modified would be useful thanks!

    #39007
    hrclinic
    Member

    Hi, Ive just installed the bbpress plug in into my WordPress installation and I get an error.

    I’m guessing its a template issue but wondered if anyone could suggest a fix.

    If I add the short code for the forum index it works fine, but if you click a link to the forum itself I get the following:

    Catchable fatal error: Object of class WP_Error could not be converted to string in PATHTOTHEFOLDER/wp-content/themes/rttheme7/functions.php on line 290

    Can anyone recommend anything to fix this?

    Regards

    David

    #107061
    catlawsonNHS
    Member

    Seems that this line of code is stopping the plugin from being activated:

    bb_register_plugin_activation_hook(__FILE__,’report_post_install’);

    When I remove this it the plugin activates, but doesn’t work. Can anyone identify what the problem is?

    #39004
    catlawsonNHS
    Member

    Hi I have installed the report-posts plugin and added the code to the page (http://bbpress.org/plugins/topic/report-post/#post-493).

    Pasted the code as specified:

    <?php report_post_link(); ?>

    But I keep getting this error:

    Fatal error: Call to undefined function bb_current_user_can() in /opt/lampp/htdocs/wp-content/plugins/report-post/report-post.php on line 38

    Anyone know why?

    #106030

    @Carsten.M – You need to use the numeric ID of the forum. I realize this isn’t the easiest for everyone, but it’s the easiest and fastest way to develop it for now. In the future we’ll open this up to other things and build a UI for it all.

    @Nate – I updated the instructions at the top with more details. Give them another go. All you need to do is copy the contents of bbp-twentyten into your theme, and merge the style.css and functions.php files together so they fit what you need – this I can’t help with because it involves code only you probably know. :)

    #106029
    Nate
    Member

    @John

    Thanks for responding. I thought I followed every step. Let me clarify since I messed up my earlier clarification.

    I initially copied the default theme put it in the same plugin directory and renamed it to bbp-empt. I included the function code in my main theme “Cost” directory function.php file. After some fooling around I realized nothing was working so I came here and followed every step in this thread instead of half-assin it like it did before.

    I would prefer not to use a child theme since I’m the Author of the “Cost” named theme I’m using. I guess I don’t quite understand how I get bbpress to use bbp-empt when it’s sitting in my Cost directory. Is there a instruction manual that describes that process?

    Or is it a simple function name change or is there a place in the WP admin area I missed which allows you to chose the which template bbpress uses?

    #100277
    Razva
    Participant

    Great. Now if only we would have bbPress 2… :)

    #105377
    Razva
    Participant

    Great. Now if only we would have bbPress 2… :)

    #106999

    In reply to: Move Forum

    Anything is possible :) but sadly there isn’t an importer from IPB yet.

    #106027

    @nate – Seems you’re only following some of the steps outlined above. :) To start you’ll want to research WordPress child themes and how to make one. If you decide to go that route, then your new theme doesn’t go inside the old one, it goes in the /themes/bbp-empt/ folder that you create. It kinda sounds like you figured that out, but it’s hard to tell from your comment if it’s working for you.

    #106026
    Nate
    Member

    I’m having an issue and not understanding how to fix it is driving me bonkers. I’ve followed the steps above but let me explain how I did it.

    Once the plugin was installed I copied the bbp-twentyten folder from the plugin directory;

    C:xampphtdocsempt-wpwp-contentpluginsbbpressbbp-themesbbp-twentyten

    and put it into my main themes directory and renamed it to bbp-empt.

    C:xampphtdocsempt-wpwp-contentthemescostbbp-empt

    I opened the bbp-empt style.css and changed the Template name to;

    Template: cost

    and added an import for the css.

    I have every file in the “bbp-empt” folder than was in the original “bbp-twentyten” folder plus files like archive.php, page.php and single.php from my “cost” folder.

    I’m confused as to how I get the forums to use the template files in “bbp-empt” and not the files in the “cost” main directory. Which is what is happening right now.

    Small update

    After some experimenting I changed the bbp-empt folder style.css in the plugins folder to say cost in the template name and changed other details. Noticed the change in the Appearance menu so I clicked to activate the template and now I’m using a child theme of my main theme with the bbpress using the bbp-empt files.

    So now I’m honestly just confused, if this works whats the point of moving it to your main themes directory?

    #38989
    mbiernat
    Member

    Am I missing a line of code?

    I am using a theme called the ‘Stallion theme’. It is based on the old Talian theme which was popular in WP a few years back. Stallion has a lot of options that I really like, in terms of flexibility, design etc.

    However, it does not work with the bbPress plugin.

    It creates forums and topics fine.

    However: if you look under a topic post or forum (I created some sample ones) – a viewer or user can not reply or create new topics. In fact the only thing you see is my related post plugin underneath the post.

    http://peopleandlanguages.com/ is the website I am testing this out on.

    It does work with 2010, but not this theme. Is there so line of code that needs to be juggled to make this work with my theme?

    Thank you,

    Mark

    #106808
    Treebeard
    Member

    I’ve been researching for hours, trying to find a way to import bbpress standalone to bbpress 2.0 in wordpress. First I imported posts from phpBB to bbPress standalone, looks like it worked, then I installed the WP plugin.

    I came across this topic but it was closed so I can’t post a question there:

    bbPress Standalone to Plugin Converter Beta 2

    In the last post you said:

    Closing this topic, as the importer is now bundled with bbPress 2.0

    I can’t seem to find an importer there anywhere, I checked the Settings under the Settings > Forums menu, and all I can see are the main forum settings. Checked the Readme file with the plugin, there’s no mention of it.

    Can you tell me where to find the Importer? I need to get this huge site up and running by 7/1 and I don’t want to use the Standalone version because that means 2 admin pages.

    Thanks!!! :)

    #106025

    @mbiernat – Since your question is about theme help with your site specifically, would you mind creating a dedicated topic for assistance? bbPress itself appears to be running fine there.

    @ejw – I am unable to find bbPress on your site anywhere, which might be a bigger problem. :) I’d ask that you do the same and open a dedicated support topic for your issue.

    #107041

    It wouldn’t be anymore bogged down than a site with 1 million blog posts, which is to say that once you have that kind of traffic and data store, you are probably backed by the proper hardware to handle it. :)

    #107014

    @bradsucks – So, I’ve put some thought into the situation that you’re in, and RC1 will include some tweaks to how this works which will hopefully help.

    The issue, is that we want to make it easy to get forums up and running, without a bunch of configuration, and the easiest way to do that is let WordPress handle things naturally, and display the forum archives when you navigate to:

    domain.com/%forum_slug%/

    But… everyone wants to customize the way their forums look and work (even me) so that isn’t always optimal, and there is only so much you can do before the real answer involves creating your row custom theme.

    Anyways, before the archive templates were created in bbp-twentyten, a page-template was used to let you put your forums anywhere in the page hierarchy of your site that you want, but that wasn’t obvious enough and not everyone wants to use the hardcoded template file either.

    So then I introduced shortcodes, which allow you to put your forums and topics in any post or page you choose, but if you do that, there’s no real way for bbPress to *know* where you put your forum root in the breadcrumb without you manually telling it in the forum settings.

    As you can see, it’s gotten complicated to try to satisfy the golden 80%, including myself.

    Part of the change that is coming in RC1 is a check to see if a WordPress page exists where you have configured your forum index to be. Normally WordPress would override and show the forums archive, but I make it dump out your page instead. This way you’re able to setup a WP page with whatever you want in it, and have it do whatever you tell it to. The potential caveat here is when people try outsmart the software, create a page with the ‘forums’ slug, and wonder why bbPress doesn’t automatically make forums appear there.

    Hopefully RC1 and beyond will satisfy the needs of 80% of users. If so, I’m satisfied supporting the other 20% that want something more tricked out.

    #107018
    Tom Lynch
    Participant

    i suspect to code it from scratch again?

    Erlend
    Participant

    I think one of bbPress’ biggest strengths is its potential to extend upon and empower WordPress’ commenting system. Another side of this is the P2 theme used to enable real-time conversations, but that’s a different topic.

    ‘Distributed conversations’ should facilitate persistent on-topic discussion.

    The basis of this idea has already been put to the test on the TED.com website. For an example, follow this link to the Beware online “filter bubbles” video and scroll down to see the “TED CONVERSATIONS”. That is, in essence, what I’m proposing here, along with a new idea (comment conversion).

    How would this work?

    A) Create conversation directly from a blog post. (TED way)

    B) Create conversation from a blog post’s comment(s). (new way)

    See mockup:

    https://gomockingbird.com/mockingbird/#tcky31h/qjXSc0

    http://i.imgur.com/fS4Yo.png

    A:

    Every blog post should come with a “start a new topic” link. Clicking this link would start a standard ‘new post’ prompt. The only difference would be the link to the discussed blog post, which could be incorporated in a number odd ways. The easiest way I can think of would be a shortlink with blog post ID. (Although it’s outside of the initial scope, this should also be compatible with forum posts).

    B:

    Comments can be converted to forum threads. A conversion would:

    1) Lock the thread of comments

    2) Create a new forum thread with the comments.

    3) Link to the new forum thread from the locked comment thread.

    This option would only be available to moderators and above.

    Maybe not in core, but I could see this being a super handy plugin.

    #107011
    bradsucks
    Participant

    Hmm. Well, I came up with a hack for my hard coded archive-forum.php. I threw:

    $wp_query->query_vars = null;

    in before any of the bbPress code and that seems to make it stop thinking it’s in a forum. It works but it’s ugly.

    Thanks again Andre.

    #107009
    bradsucks
    Participant

    Okay, new problem:

    I made a /forums/ page with those two shortcuts in it and it works fine as long as I rename my forums base archive slug to something other than forums. Otherwise the contents of archive-forum.php display instead of my shortcode page.

    This would be fine except it replaces /forums/ in all the URLs with whatever I specify as my forums base archive slug. Any ideas?

    #107008
    Andre
    Participant

    I’m not enough of a coder to be much help, but I would start here https://bbpress.trac.wordpress.org/browser/branches/plugin/bbp-includes/bbp-core-shortcodes.php

    #107007
    bradsucks
    Participant

    I hard coded it so I could get some more control over it but perhaps that’s the issue, good to know it’s in there though. I’ll hack around and see.

    #107006
    Andre
    Participant

    I created a page and put [bbp-topic-index] and [bbp-topic-form] as the content. It’s letting me choose the forum and topic type. Is this the method you used or did you hard code it?

    (I’d give you the URL to the page I created, but I don’t think it would do any good since you can’t login so you won’t see the create a topic form.)

    #88329

    In reply to: Avatar size

    Don Alex
    Member

    work great for me :)

    one question is it possible to make different sizes for height and width ?

    i want 120 for width and 160 for height :)

Viewing 25 results - 18,151 through 18,175 (of 32,506 total)
Skip to toolbar