Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,276 through 17,300 (of 32,506 total)
  • Author
    Search Results
  • #110014
    Gautam Gupta
    Participant

    Thesis is a paid theme and we can’t say anything about it unless we have access to its source. :)

    #106124
    ddlg2007
    Member

    Hi I have a question. How can I edit style.css without affecting my theme. So use the firebug to make changes but when I inspect objects the style is wp-content/themes/mytheme/style.css and i dont wanna edit my style of theme, only style of bbpress.

    I try this:

    Copy Files

    If this is not a custom theme under your control (meaning you are not the author) you’ll want to copy the entire “/bbpress/bbp-themes/bbp-twentyten” folder into your “wp-content/themes/%YOURTHEMENAME%” folder, and modify your style.css to make it a custom Child Theme of whatever your current theme is. This is so theme updates don’t wipe

    Add Theme Support

    Now that you’ve got the files copied over, you’ll need to tell bbPress that you are in control of the theme situation. You do this by adding this to your functions.php file:

    add_theme_support( ‘bbpress’ );out all your hard work later.


    But dont work good because some subforums disappear and change the order. I like to stay like this with bbp-TwentyTen and modify aspects of my theme style.css without affecting primary.

    #40393
    jez101
    Member

    Has anyone been able to get bbPress 2.0 and the Thesis theme to work together?

    I have tried a number of things but I just can’t get it to work.

    If I do nothing and rely on the default theme the forum is totally unusable. Not only is there no styling but none of the functionality works (no links appear for a start!).

    I have tried creating a child theme as per instructions on this forum, tried using shortcodes and I have also tried copying the relevant parts of the default theme over to the thesis theme folder.

    This seems to get slightly better results in the sense that I get the forum functionality, but there is no styling. You can see my current attempt here:

    http://www.jezza101.co.uk/forums

    It seems to me like part of the theme’s framework is somehow breaking bbPress, there must be some fundamental incompatibility in there somewhere – but I really don’t know enough to debug this.

    I have asked over at the Thesis support forum but there seems to be little understanding of what’s going on over there. Is there anyone over here who has any suggestions?

    #109795
    amirsaam
    Member

    jus’ add a link to where you need and make the url to the div of the new topic/reply form. I used this one for myself to new topic in the forum page:

    <?php if(bb_get_forum_is_category() != bb_is_user_logged_in()) { echo "— <a href='#post-form' class='jAdd'>Add new »</a>"; } ?>

    The a class is for a jQuery thing I used, you don’t need that.

    #40391
    silverks
    Member

    Hi,

    I’m currently implementing bbPress compatibility support for my theme (Graphene). I chose to go the route of using the default theme that comes with bbPress 2.0, and just add additional styles to make bbPress compatible with my theme.

    Since I’m not using the add_theme_support( 'bbpress' ) switch in my theme, bbPress displays a persistent nag in the Appearance section of WP Admin:

    Your active theme does not include bbPress template files. Your forums are using the default styling included with bbPress.

    How can I disable this nag? It doesn’t matter that the forums are using the default styling included with bbPress, since the additional custom stylesheet I implemented in the theme takes care of integrating the styling into my theme’s styles.

    Thanks!

    #109148
    David
    Member

    I’d rather do it with a template tag but I did realize that I can use the shortcode and do_shortcode to pull topics by forum on the forums index:

    <?php echo do_shortcode('[bbp-single-forum id=$forum_id]') ?>

    For those who are interested but not completely clear, a forum’s id can be found easily by viewing the source code in your browser and looking for the id or class of a forum listing’s containing element (for example: id=”bbp-forum-2536″ or class=”post-2536″).

    rossagrant
    Participant

    I know this sounds basic guys, but adding a topic to favourites doesn’t seem to do much on my install.

    It adds it okay, but when you then click on the resulting link which changes to ‘favourites’ it just takes me to my BP profile.

    The favourite doesn’t appear under the ‘favourites’ tab in my profile or under the ‘forums’ tab in my profile.

    What is supposed to happen and what is the forums tab on my profile supposed to show?

    This is happening over on testbp.org too?

    Surely these tabs should be populated by my topics started and favourite topics?

    Cheers guys!

    Ross :)

    #109875
    antonchanz
    Member

    Well I can confirm that the latest and compatible versions of both these plugins are now definitely available on wordpress.org

    I’ve set up a test forum with pretty much just these two plugins active and you can see the results here:

    http://bbpressbbcode.chantech.org/forums/topic/testing-shortcode-whitelist/

    janoochen great website nice work and thanks for the rating code could you an other favor for us could you tell what plugin are you using especially for topic reply toolbar and image upload thingy in profile editing if you are not using any plugin could you please shear the code for what ever you did there

    MishaOLS
    Member

    Hello, I would like to convert existing punbb forum into bbpress, I already have a script https://bbpress.org/forums/topic/punbb-gt-bbpress but I really don’t know how to import the data when bbpress is now using wp_posts table instead of wp_forum_forums etc. tables :(.

    Is there any way how to configure bbpress to use its standard tables so that the import would be possible? If not, then I would have to do everything manually through excel but I would still appreciate if you could help me with the wp_posts structure for forums, posts, etc. How do I specify what is a forum, what a category, what a topic, etc.?

    I have to add that I am absolutely inexperienced in forum conversion, php scripts and have some limited knowledge of the database (was already able to convert data from nucleus to WP). I however really need to accomplish this conversion asap and I am willing to play with the tables, lol.

    Would very much appreciate your help! Thank you!

    #109983

    Well, not really. See there’s smart people here and I was merely using the Welcome Pack as an example. I want to know how to insert the users name into the URL path, that’s actually the question. And since there’s just a few folks here who use WordPress, BuddyPress, and yes bbPress, I really think I’m in the right place to ask smart people questions. :)

    #109874
    antonchanz
    Member

    Oops!

    Embarrassing user error with svn. Checked the project in without adding the files! Then assumed wordpress was being slow updating the plugin page like it was when I checked in the first version of bbpress2-bbcode.

    I have checked it in successfully now. It still isn’t showing up, but I suspect it will now shortly…

    #108842

    Regarding setting bbPress up and changing the “Forums” title to “Discussion” simply make a page in WordPress titled Discussion with the slug as ‘discussion’ and make sure your forum index is set to ‘discussion’ in your forum settings. Done. :)

    #108841

    bbPress 2.0 uses the same database and tables as your WordPress blog. Do not scale to plan, plan to scale. I.E. don’t worry about how big you think your forums will be, worry about how big they need to be. 1gig is plenty huge for a DB, and will be difficult to manage without a dedicated sysadmin. At which point, it’s no longer your issue to labor over. :)

    #108638

    Don’t modify the core function. Makes a plugin and make your own Shortcodes instead. You’ll need to look into how switch_to_blog works. You’ll also need to see how my Switch Site Rewrite plugin reloads the permalinks for each switch. The reason this isn’t in core is its a labor intensive set of requests for the server to pull off, particularly across multiple servers or data centers in large installations.

    #109986
    selise
    Participant

    you can use short codes listed here:

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

    but even easier, if you are ok with the default layout, is to just use the template, “bbPress – Forums (Index)” for the blank forum page you’ve created (under page attributes on the edit page).

    #40360
    simtic
    Member

    Hello bbpress gurus,

    First, thanks a lot for this wonderful plugin :)

    Now please forgive my French looking English…

    I’m using bbpress on a site where I’d like to show up on some template page a list of recent posts in the forum. get_posts is my friend and that’s ok.

    But I’d also like to show a nice picture of the categories in which those recent posts where posted. Well, “regular” posts on WP now can have a “Featured Image”. And I looked to add this to my forums as well.

    And I think I made it

    But not sure ^^

    Anyway

    I added this line in bbp-admin/bbp-forums.php :

    add_meta_box(‘postimagediv’, __(‘Featured Image’), ‘post_thumbnail_meta_box’, $this->post_type, ‘side’, ‘low’);

    in function attributes_metabox() (~ l.190)

    And it seems to be working.

    But as far as I can tell, there’s maybe 50% luck this code not doing some very bad things in the same time ^^

    PLease advice, if there is a better way to achieve this…

    #40342
    Martin Ting
    Member

    Hi, Im a newbie, actually have no insight on coding.

    I have made a forum throogh bbpress. Right now Im only using the ‘tventy ten’ theme.

    The forum, categories, recent posts, and so on keep standing in the sidebar. I cant move it to the content area.

    Any ideas? would probably save me a week if I compare the problem with my processing speed the last days :)

    #108637
    Trobee
    Member

    Well, I am currently modifying the bbp-forum-index shortcdde so that it will take a site id as an optional parameter.

    This is the method I have so far, but I am not sure how to call the bbp_has_forums() on the other site, as I do not know a huge amount of php

    Any help would be appreciated

    public function display_forum_index( $attr, $content = '' ) {
    global $bbp;

    if ( !empty( $content ) || !is_numeric( $attr['id'] ) ) )
    return $content;

    if ( empty( $attr['id'] )
    {
    $current_site = get_current_site();
    $site_id = $current_site->id;
    }
    else
    {
    $site_id = $attr['id'];
    }
    // Unset globals
    $this->unset_globals();

    // Start output buffer
    $this->start( 'bbp_forum_archive' );

    // Breadcrumb
    bbp_breadcrumb();

    // Before forums index
    do_action( 'bbp_template_before_forums_index' );

    // Load the forums index
    if ( bbp_has_forums() )
    bbp_get_template_part( 'bbpress/loop', 'forums' );

    // No forums
    else
    bbp_get_template_part( 'bbpress/feedback', 'no-forums' );

    // After forums index
    do_action( 'bbp_template_after_forums_index' );

    // Return contents of output buffer
    return $this->end();
    }

    #40357
    cmceezee
    Member

    Is there a shortcode like, [bbPress] or should my installation have created a “Forums” page?

    It seems ridiculus that I’d have to create a separate page, with hyperlinks to each of the seperate forums. Can anyone help? Sorry for being slow at this but I have been wasting time, searching forums and watching horrible YouTube.com videos just to get my users access to your Forum. I heard it was the “best ever” and “simple” so I’m worried maybe that something didn’t install right.

    Would love help! Thanks in advance!!

    #109858
    thetbasket
    Member

    By the way, Travis, after implementing the code the way you said it rather than the way I read it it worked for what it was intended, so thank you.

    This still does not solve the sidebar issue I have been having, but it does solve an issue I would have had to acknowledge afterword, so it’s a great help.

    I still need to work on getting this 100% with the sidebars, and it will certainly require some alterations of the theme. Well, I may be back to ask some more questions, but thank you for clearing up how I completely misread your original post on this.

    BTW, where in the bbpress code does it refer to the page template it is using to make it’s decisions? Right now with the buddypress install I cannot work with within the WP framework to use an alternate template. My theme creator – Artisteer – does not create a full page option, but I could create it. The problem is that I do not see where to point to, say, page-full.php within the bbpress code.

    I’m a bit of a hack-beginner at this. As previously stated, I am a content creator more than a programmer, so perhaps it’s a stupid question. But I cannot figure it out.

    Best,

    James

    #109857
    PureRover
    Member

    Could not have put it any more professional than illustrated by ‘thebasket’. That is the frustration I was having with bbpress. Pushing my deadlines up against the wall until I finally had to look toward alternatives.

    PLEASE ADD A SHORTCODE THAT WILL ENABLE THE PLUGIN TO WORK WITHIN A FULL-WIDTH PAGE JUST LIKE SIMPLE PRESS.

    #109856
    thetbasket
    Member

    Hi Travis,

    Thanks for the response. My theme was different, as you had suggested, and I am working on it. Although I’m now in a little bit more of a complicated predicament because I am trying to use bbpress through buddypress, and on the buddypress install the forums options is not pointing the indicated page to the bbpress forums.

    Anyway, I did misread or misunderstand your first suggestion – sorry about that. As far as creating a full-width template, I am nearly positive I did so (I created a template specifically for that page to be full width), but nevertheless I will double check next time.

    I don’t want to get too deeply into this, but the fact that we use the word “blog” and “forum” already indicates that they are different even though they are both CMS’s. The issue is not that one is a CMS and the other is not, it is a matter of how the content is managed and it’s purpose.

    A blog is a blog because, generally, one user is contributing the content that a multiplicity of users is commenting on. So a standard blog Write-and-Respond system works nicely, and works nicely even in a narrow space because it usually contains one article with comments on the article.

    A forum, on the other hand, is a multiplicity of users creating multiple threads all scaffolded by an overarching structure of the forum and subforums. The way forums have been built thus far has been usually in a wide content format so users can see 1) The Thread title 2) The amount of replies 3) The last user that replied etc. etc. In other words, it is build upon a more horizontal management format, whereas the blog can get away with a more vertical format.

    Of course now and into the future there will be all sorts of variations on this. But for the end user, I want a forum that is a forum, not a forum that is a blog. In other words, wide-formatted with the expected information that forums have traditionally contained up to this point.

    The strong point of bbpress is its integration and especially it’s style integration. Anyone who has attempted to create themes for phpBB knows what a nightmare it can be. However, if you try to smush a phpBB forum in-between two or even besides one sidebar, see what happens. Not only that, but those sidebars from the blog are almost inherently irrelevant to the function of the forum. In other words — useless screen real estate being taken from what otherwise would be a smoothly functioning, articulated forum.

    And I can understand that WordPress vanilla functions fine, and being opensource one could reprogram it into Duke-Nukem 3D, almost. As a user of wordpress, the most frustrating thing consistently is that I feel like I am hacking CSS and PHP files more than I am creating content, and perhaps this is because I am a bit persnickety and want a particular look, but a full width forum from a forum plugin? To me things like this (and there are enough) are just plain flaws in development. I shouldn’t need to hack anything to get a forum to operate in full width because that is how forums best operate according to contemporary standards. Perhaps you should need to hack to get something to operate somehow unique and fascinating, but hacking code to get something to perform as you would expect it to – from your hours and hours and hours of forum experience? To me this is on the development teams shoulders.

    Again, thank you so much for taking the time to reply. I may be back after I have a chance to try what you had suggested.

    By the way, after installing buddypress all of the groups, member pages, activity pages, etc. were ALL operating on full width. The only part of the entire install that persists in operating between my sidebars is bbpress, and it is the only one I am dissatisfied with. So now I have to go through hours of who knows what to get something working the way it always has worked.

    Again, bravo for bbpress, it’s a great project with a great future, and there is a lot to be said for it. But that doesn’t excuse it from what needs work, and for those of us who want to deliver content, we would much rather spend our time on managing the delivery of content than on managing the content management system.

    I’d rather be spending this time developing the forum, not on developing the forum development software.

    #109976

    I’ve actually just noticed that if I changed the author tag on blog posts on wordpress to:

    <?php the_author() ?>

    It doesn’t display there either. I guess its not a BBP problem after all, but leaves me even more confused.

    #109873
    master5o1
    Participant

    First one isn’t ready to view yet :(

Viewing 25 results - 17,276 through 17,300 (of 32,506 total)
Skip to toolbar