Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,476 through 18,500 (of 32,505 total)
  • Author
    Search Results
  • #105699

    1. Change the forums base to something else. I am running it perfectly fine over at testbp.org by changing the base to ‘discussion’

    2. The reason for the double ‘forum’ is because your root slug is ‘forum’ and the forum slug is ‘forum’ and you’re choosing to include the root slug.

    3. Don’t remove the forum slug. :)

    Widgets should work anywhere you have a widgetable area. Since your theme is mostly custom, you’ll want to research how widgets work, insert your sidebar, etc…

    #100598

    Don’t use “add_theme_support()” unless your theme actually supports it. :)

    add_theme_support() doesn’t automatically add bbPress support to your theme, but the opposite – it tells WordPress and bbPress that your theme already supports bbPress. If you don’t have a /bbpress folder in your theme full of bbPress template files, then your theme does not support bbPress.

    There isn’t a core updater yet, but there will be soon. These questions are all answered numerous times in the sticky topic at the front of these forums.

    #105698

    Don’t use “add_theme_support()” unless your theme actually supports it. :)

    add_theme_support() doesn’t automatically add bbPress support to your theme, but the opposite – it tells WordPress and bbPress that your theme already supports bbPress. If you don’t have a /bbpress folder in your theme full of bbPress template files, then your theme does not support bbPress.

    There isn’t a core updater yet, but there will be soon. These questions are all answered numerous times in the sticky topic at the front of these forums.

    #38501
    Rick Lewis
    Member

    I am posting here some info from the plug in topic per the request.

    First, you can not have group forums activated and use this at the same time. Atleast I couldn’t. The base for the group forums is FORUMS. Note the S so if you try and use Forums for your page and/or forum base you are not going to get the BBP forum.

    I had to turn the global group forum directory off and use forum as the base in order to get the links pasted the forum index page to work. Otherwise all links redirected to my homepage.

    Currently though I have this structure —

    index page – using shortcode

    http://crosseyedgaming.com/forum/

    the other links have a double forum/forum

    http://crosseyedgaming.com/forum/forum/welcome-committee/

    If I remove the forum slug it changes those links to

    http://crosseyedgaming.com/forum//welcome-committee/

    Outside that things seem to be working ok. Probably need to clean up the look a little.

    How do I get the widgets working on these pages so I can list recent posts and so on?

    One last question, is using the alternated page template and theme support a better option?

    I appreciate the help.

    #95376

    @Rick – Can you create a new topic with these questions please? They are starting to pertain specifically to helping you with your site, and not with bbPress. Thanks :)

    #95375
    Rick Lewis
    Member

    I just wanted to give some feedback on what I have experienced while trying to figure out the issues with links not working.

    first, you can not have group forums activated and use this at the same time. Atleast I couldn’t. The base for the group forums is FORUMS. Note the S so if you try and use Forums for your page and/or forum base you are not going to get the BBP forum.

    I had to turn the global group forum directory off and use forum as the base in order to get the links pasted the forum index page to work. Otherwise all links redirected to my homepage.

    Currently though I have this structure —

    index page – using shortcode

    http://crosseyedgaming.com/forum/

    the other links have a double forum/forum

    http://crosseyedgaming.com/forum/forum/welcome-committee/

    If I remove the forum slug it changes those links to

    http://crosseyedgaming.com/forum//welcome-committee/

    Outside that things seem to be working ok. Probably need to clean up the look a little.

    How do I get the widgets working on these pages so I can list recent posts and so on?

    One last question, is using the alternated page template and theme support a better option?

    I appreciate the help.

    #98170

    In reply to: Just a Community

    Snat
    Member

    Many thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.

    Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.

    #103270

    In reply to: Just a Community

    Snat
    Member

    Many thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.

    Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.

    #95374
    Mr.bishop
    Member

    @jjj – I must say I’m incredibly impressed with bbPress, and what you have here. I eagerly want to use the bbPress / BuddyPress plugin combo in conjunction with a few wordpress sites that I work on.

    Do you have any idea what a rough timeframe on launching the plugin would be?

    Also, what could I do to help move the process along? I don’t code myself but I do work with guys that do. We figure its a waste of time to get a bbPress standalone working only to have the plugin released soon after.

    #95370

    The header that I am using is a modified version of the default theme header file that came with wordpress. It should be in the same location and called by the same name as the default header file. I am sort of a noob at code but I thought because my header file appears at on the index/home page when the website loads that things were working. By “appropriate call to” do you mean the “get_header” php command?

    Secondly, the entire theme is located in the wp-content folder within a default theme sub folder. That is why there is no reference. Again, I am probably really confused by what you mean so it is probably something I am doing wrong.

    The entire site may be a hack job, because it is my first, but up to this point everything has worked flawlessly, including all of my plugins.

    I suspect there is a simple solution to preventing the WP css from overriding bbP css but I haven’t figured it out yet.

    #95369

    @Daily Anarchist – Your theme doesn’t use a conventional WordPress header, and it’s missing the appropriate call to

    wp_head();

    which is how WordPress themes load dynamic content in the

    <head>

    of the page.

    There is also no reference anywhere in your source to a wp-content folder, which is where your theme and any related plugins should be loading from. With something that’s this outside of the norm, you’re going to run into lots of incompatibilities with many plugins as you go. I’m actually pretty happy that bbPress looks as good as it does considering there’s no CSS applied to it at all. :)

    As a general note going forward to everyone, if you have site specific questions please post up new topics and tag them ‘plugin’ so that we keep this sticky focused on the bbPress plugin, and not supporting your sites. Thanks :)

    #95357

    It’s a fresh install with the 3167 changeset. I’m not quite sure what you mean by “check out the child theme functions.php to grab the code.”

    I’m kind of a perpetual noob so bare with me. =)

    Also, if I do already have the function.php code installed, could it be that my site’s css is overpowering the plugin’s css?

    #95356

    DA,

    Looks like your missing the CSS. Check out the child theme functions.php to grab the code.

    bbpress uses gravatars for forum icons. No additional plugin is needed.

    #100556

    I’ll do my best to keep things error free going forward. :)

    Feeds are coming soon too, so be on the look-out.

    #105656

    I’ll do my best to keep things error free going forward. :)

    Feeds are coming soon too, so be on the look-out.

    #100555
    tooltrainer
    Member

    Yep working great, no errors, no issues, it “just works”. =)

    Was able to open my site’s doors to my first members today and the forum is seeing activity. No turning back now! LOL

    Thanks again J3 ;)

    Jonathan

    #105655
    tooltrainer
    Member

    Yep working great, no errors, no issues, it “just works”. =)

    Was able to open my site’s doors to my first members today and the forum is seeing activity. No turning back now! LOL

    Thanks again J3 ;)

    Jonathan

    #100589
    zaerl
    Participant

    Locate the function bb_insert_post in file functions.bb-posts.php, then find the line:

    $ip_address = $_SERVER['REMOTE_ADDR'];

    The real (*cough*) IP of the user can be retrieved with this function:

    function get_real_ip()
    {
    $ip = '';
    $u = 'unknown';

    if(($ip = getenv('HTTP_CLIENT_IP')) && strcasecmp($ip, $u)) {}
    elseif(($ip = getenv('REMOTE_ADDR')) && strcasecmp($ip, $u)) {}
    elseif(($ip = getenv('HTTP_X_FORWARDED_FOR')) && strcasecmp($ip, $u)) {}
    elseif(isset($_SERVER['REMOTE_ADDR']) && ($ip = $_SERVER['REMOTE_ADDR']) && strcasecmp($ip, $u)) {}
    else return $u;

    return $ip;
    }

    #105689
    zaerl
    Participant

    Locate the function bb_insert_post in file functions.bb-posts.php, then find the line:

    $ip_address = $_SERVER['REMOTE_ADDR'];

    The real (*cough*) IP of the user can be retrieved with this function:

    function get_real_ip()
    {
    $ip = '';
    $u = 'unknown';

    if(($ip = getenv('HTTP_CLIENT_IP')) && strcasecmp($ip, $u)) {}
    elseif(($ip = getenv('REMOTE_ADDR')) && strcasecmp($ip, $u)) {}
    elseif(($ip = getenv('HTTP_X_FORWARDED_FOR')) && strcasecmp($ip, $u)) {}
    elseif(isset($_SERVER['REMOTE_ADDR']) && ($ip = $_SERVER['REMOTE_ADDR']) && strcasecmp($ip, $u)) {}
    else return $u;

    return $ip;
    }

    #95353
    Rick Lewis
    Member

    The instructions r-a-y mentioned above worked.

    I had at one point removed the Forum Base blug altogether. Putting it back as forum and creating a forum page using the shortcode created the page for the index.

    Would like to know what other shortcode options there are??

    thanks for the help. Good to have a forum index now to start building on.

    http://crosseyedgaming.com/forum/

    #95352
    Rick Lewis
    Member

    ” Don’t move anything, don’t add anything, and use shortcodes and adjust your CSS as needed. “

    This is where I am at right now.

    I thought I would try [bbp-forum-index]. I created a page Forum and used that code. I still got the same page as I did all other ways. Goes directly to one of the forums and then list the other forums below it. Says Blog archive across the top.

    Now when I create /forums (note the s) that page goes to my home page and not a page at all.

    I did a re-save of the permalinks and so on but still not seeing a forum homepage of any kind.

    I can only guess that I have something crossed up somewhere beings others have this working.

    EDITING __ I did not see the above posts prior to posting this. Going to review and make a change on my site and see how it goes. Thank you for the help.

    #100371

    In reply to: Custom topic Fields

    whitehats
    Member

    No one has tried anything like that before? :(

    #105471

    In reply to: Custom topic Fields

    whitehats
    Member

    No one has tried anything like that before? :(

    #100553
    tooltrainer
    Member

    Rockstar! =) Uploading new build now…

    Jonathan

    #105653
    tooltrainer
    Member

    Rockstar! =) Uploading new build now…

    Jonathan

Viewing 25 results - 18,476 through 18,500 (of 32,505 total)
Skip to toolbar