Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,676 through 17,700 (of 32,499 total)
  • Author
    Search Results
  • #39882
    amirsaam
    Member

    I really need to instal bbPress 1.0.3 on localhost but I jus’ can do it with XAMPP that have 5.3.1. but bbP give me error :-( I really need help.

    These are the errors:

    Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-admin/includes/class.bb-install.php on line 1283

    Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-includes/functions.bb-l10n.php on line 484

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-admin/includes/class.bb-install.php:1283) in /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-admin/includes/class.bb-install.php on line 393

    Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-includes/backpress/pomo/mo.php on line 171

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-admin/includes/class.bb-install.php:1283) in /Applications/XAMPP/xamppfiles/htdocs/bbp/bb-includes/functions.bb-core.php on line 1136

    #100780

    bbPress 2.0 is a plugin with 40,000 lines of code, adding huge amounts of capability equal to WordPress posts and pages themselves. Sadly, it won’t work out-of-the-box with 100% of all themes, and it sounds like you’re one of those cases. It’s one of the first plugins to mix custom post types with theme compatibility, so you’re literally one of the first few people to use it.

    #105880

    bbPress 2.0 is a plugin with 40,000 lines of code, adding huge amounts of capability equal to WordPress posts and pages themselves. Sadly, it won’t work out-of-the-box with 100% of all themes, and it sounds like you’re one of those cases. It’s one of the first plugins to mix custom post types with theme compatibility, so you’re literally one of the first few people to use it.

    #100778

    Then don’t. :)

    Use the theme compatibility that it comes with.

    If you’re not happy with the vanilla configuration, you’re on your own to customize it. If you’re able to make a WordPress theme, you’re able to make it bbPress enabled. You just need to learn how like you did with WordPress.

    #105878

    Then don’t. :)

    Use the theme compatibility that it comes with.

    If you’re not happy with the vanilla configuration, you’re on your own to customize it. If you’re able to make a WordPress theme, you’re able to make it bbPress enabled. You just need to learn how like you did with WordPress.

    #108483
    GHOSTChoja
    Member

    I am?? Andre, can you please tell me a good combination of the two so I can get started… PLEASE!

    Mny thanks for your help sir :)

    #39877
    unisphere
    Member

    Hi everyone, I’ve got a new WordPress theme support forum ready but I’m stuck in something. Registered users of the forum (Subscriber role) aren’t allowed to post certain tags in topics for security reasons.

    My question is, is there any way all code is allowed in raw format if it’s inside a CODE html tag? I believe the previous standalone version of bbpress supported this.

    Best regards

    #39875
    mouridis
    Member

    I’m greek and I have a WordPress blog in greek running bbpress RC4.

    The problem with using greek in your blog is the use of non-latin characters in the titles of the posts. This leads to the creation of slugs with non-latin characters and consequently pretty-permalinks with non-latin characters. That -of course- is a problem because URLs look nice in the address bar of your browser i.e.

    http://deltahacker.gr/2011/08/19/πάρα-πολύ-καλά-νέα-αυτό/

    but when you copy the URL to paste it somewhere else -in an email for example-, the same URL becomes:

    http://deltahacker.gr/2011/08/19/%CF%80%CE%AC%CF%81%CE%B1-%CF%80%CE%BF%CE%BB%CF%8D-%CE%BA%CE%B1%CE%BB%CE%AC-%CE%BD%CE%AD%CE%B1-%CE%B1%CF%85%CF%84%CF%8C/

    To resolve this problem, greek blog owners can use the plugin Greeklish-Permalings (from the words Greek & English). This plugin adds a filter on the sanitize_title function of WordPress with a new function that converts every non-latin character to a similar latin. For example, the greek alpha character “α” becomes the latin alpha character “a” and so on. So when someone creates a new post, and wordpress tries to create a slug automatically, sanitize-title is called, which is hooked to the plugin, and so a slug with only latin characters is created, even if there are non-latin characters in the title.

    You can see the code of this very small plugin on my dropbox:

    http://dl.dropbox.com/u/1816074/greeklish-permalinks.php

    The problem is that the plugin does not work with bbpress titles. If a forum or topic title contains greek (non-latin) characters, they are not converted to latin even if the plugin is enabled. Does someone know why is this happening?

    Doesn’t bbpress call the sanitize_title function? Do not plugin function filters work for custom post types?

    #108756

    In reply to: Theme issue

    Gautam Gupta
    Participant

    You might want to remove the whole .reply itself, if it’s not used elsewhere.

    #108755

    In reply to: Theme issue

    Gautam Gupta
    Participant

    Just remove float:left from .reply in style.css. :)

    #108480
    GHOSTChoja
    Member

    SOrry Tom, I didn’t understand any of that mate :(

    #108478
    tomunthank
    Member

    The bbpress 2.0 install theme bbp-twentyten and not functioning properlly. the pgn seems to missing or corrupted and does show on the install theme page in wordpress. I have not looked any of the code so i do know if there is also a code problem.

    #108477
    GHOSTChoja
    Member

    Just to make your insight a bit clearer here’s what I’ve done thus far and the dead-ends I’ve encountered:

    Below I have used the instructions with the Static Red Theme:

    2. Installation


    Quick guide:

    1) If this is your first custom theme, you will have to create a directory called “my-templates” inside

    your bbPress root directory

    >>>The only BBPress directory I could find was in the WordPress ‘plugin’ directory. This gave me:

    /htdocs/wp-content/plugins/bbpress/my-templates<<<

    2) Upload entire static-red/ folder to your my-templates folder

    >>>Yep, did that<<<

    3) Activate the theme from your ACP under Appearance

    >>>This does not show anything relating to any of the BBPress themes I have installed :(<<<

    #108748

    In reply to: Forums not displaying?

    Adam
    Member

    No I said I managed to get it to work. How ever when visiting the page with the topic or forum its a WordPress page. When NOT using that code snippit i got the 404 page

    I don’t understand your sticky post on how to make a theme (I am assuming WordPress themes can be created into) compatibility with bbpress.

    for what I understand of that sticky since I am the author of my theme I go into the bbpress default theme and copy all the files out of there and paste them into my theme. This would over ride things like my css, functions and possibly other files. what would you suggest to do to get around this (instead of creating a child theme).

    So here is what I did – as I read the sticky like 10 times:

    I copied all the files, except for the style and the functions.php and pasted them into my theme. these are the files from the from the bbpress default theme and pasted into my current wordpress theme. I then added the php code snipit to my functions.php like the sticky states. I then activated it (the theme) and went to where the forums should be. I am now getting 404 errors.

    ideas?

    #108740
    SRobbins
    Member

    Hi Jared,

    So it was not on sadly… however.. what you said fixed it! THANK YOU!:D

    One more question while I have you in my thread. How do I add forums to the nav bar? Right now its got the default Home and Sample page. I thought that would be under Appearance > Menus. So I added a “custom link”(being that there is no check box for plugins). But I have a feeling this is for some kind of pull down menu and not the nav bar.

    BTW, is there a place for ‘noobies’ to go? Just googling these questions and not finding answers makes me feel like Im super noobie questions that are too noobie to be asked in the webs.

    Im moving from vBulletin forums so excuse my stumbling. Cheers!

    #108704

    In reply to: Forum Order…

    jabbamonkey
    Member

    When using BuddyPress with BBpress, it acts all screwy…

    [bbp-topic-index] and [bbp-topic-form] both show “BLOG ARCHIVES NOT FOUND” when I use those short codes:

    http://montecristoowners.com/topics/

    [bbp-login] and [bbp-lost-pass] don’t work at all. Just show the title of the page … with no content at all.

    [bbp-register] is the only one that works, pointing the user to registration page.

    #108703

    In reply to: Forum Order…

    Have you tried using one of the shortcodes to generate the forum index?

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

    It looks like your theme is displaying the forums with an archive view instead of using bbP’s forum view.

    #39864
    SRobbins
    Member

    I need a lot of help. I installed bbPress, and figured it would ask me configuration during the process… it did not.

    I have 2 problems:

    1) I dont know how to set up a link in my menu bar for my forum.

    2) I assumed it would ask me where I want to forums to exist to the outside world. I want them at http://www.mysite.com/forums. but I have no clue where it stuck them.

    the mysite.com is running wordpress right on it. A lot of the helpo I have found involves editing PHP code. While im a net geek I cant read PHP greek speak. :(

    Its a freash install so I dont need to worry about breaking thread links and the likes. Please help.

    #39858
    mweatherill
    Member

    I’ve added the following to my theme functions to include topics, posts and replies in search result:

    // Add Forums, Topics and Replies to search results
    function my_add_bbp_to_search( $post_type ) {
    $post_type['exclude_from_search'] = false;
    return $post_type;
    }
    add_filter( 'bbp_register_forum_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_topic_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_reply_post_type', 'my_add_bbp_to_search' );

    My frustration is that my search results are flooded with replies whilst I would prefer to only show each topic once. I’m willing to write a plugin to implement this “GROUP BY parent” logic but I’m not too sure how to approach the problem. Can anyone point me in the right direction for the filters that I need to intercept?

    #107821

    @WebEndDev

    Try adding this to the plugin:

    remove_action('genesis_after_endwhile', 'genesis_posts_nav');

    If that works then I will update the patch/plugin

    #107820

    Patch update. Still needs testers :)

    https://bbpress.trac.wordpress.org/ticket/1622

    #107818

    Glad you got it figured out :D

    For anyone who stumbles on this topic: the plugin linked to above has been tested with Genesis 1.7.1, WP 3.2.X, bbP RC 4, and *several* Genesis themes – so far I have found zero issues.

    The patch still needs more testing and tweaks, however. That’s next.

    #107817
    WebEndev
    Member

    @dave & @jared

    I was finally able to make it work. Let’s just say that BuddyPress complicated it somewhat, in combination with too many things going on in this site, in combination with my ineptitude. :)

    Jared – plugin works great – many thanks for your time and patience

    #107816
    David Decker
    Participant

    @WebEndev:

    I am so sorry for you! I hope I could help you out soon. I got mine working with Jared’s plugin patch – I just experimentet with his code line for the layout option and have all working like I want it.

    My above report you quoted was regarding the patch from John for bbPress core which was not working at that time (or the last time I tested it a few days ago…). So I am sorry if you got confused because of my report…

    Please have also a look here and especially for Nathan’s posts:

    https://bbpress.trac.wordpress.org/ticket/1622

    I hope this helps a bit right now. I am knee deep in important client work and might get back later here on…

    -Dave :)

    #107815
    WebEndev
    Member

    Hi Jared,

    I followed each of your suggestions yesterday, and was only able to get a full width layout using one method – create a page and use a bbpress shortcode. This leaves me with less than optimal control of the page.

    Every other method I tried resulted in a content-sidebar layout.

    I followed your advice and removed all bbpress template files from my child theme directory, removed all bbpress code from functions.php, and essentially reverted back to the bbpress plugin vanilla/’out of the box’, along with your extend plugin.

    What that resulted in was a content-sidebar layout….

    I assume that Dave (above post) is having the same layout issues based on this – “I assume the issue is from a wrong setting of the layout option?? Or some other function?”

    It seems that you are the only one to get it working…

    So… I am at a loss on this one…

    Thanks!

Viewing 25 results - 17,676 through 17,700 (of 32,499 total)
Skip to toolbar