Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,901 through 10,925 (of 32,504 total)
  • Author
    Search Results
  • #150699

    In reply to: Help with styling css

    Robkk
    Moderator

    look at the bbpress default stylesheet , then look at your stargazer child themes bbpress stylesheet and see what you need.

    heres some code that you might need …i dont know right all that you need

    #bbpress-forums div.bbp-reply-content {
    margin-left: 130px;
    padding: 12px 12px 12px 0;
    text-align: left;
    }

    #bbpress-forums div.bbp-reply-author {
    float: left;
    text-align: center;
    width: 115px;
    }

    #150697

    In reply to: Text Color and Font

    desiamerican26
    Participant

    @robkk

    that’s ok friend. you already been helping a lot….If you can or someone else can help with this…..
    I myself trying to figure this out too

    add_filter( ‘bbp_kses_allowed_tags’, ‘ntwb_bbpress_custom_kses_allowed_tags’ );

    function ntwb_bbpress_custom_kses_allowed_tags() {
    return array(

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ‘title’ => true,
    ‘rel’ => true,
    ‘class’ => true,
    ‘target’ => true,
    ),

    // Quotes
    ‘blockquote’ => array(
    ‘cite’ => true,
    ),

    // Span
    ‘span’ => array(
    ‘class’ => false,
    ),

    // Code
    ‘code’ => array(),
    ‘pre’ => array(
    ‘class’ => true,
    ),

    // Formatting
    ’em’ => array(),
    ‘strong’ => array(),
    ‘del’ => array(
    ‘datetime’ => true,
    ),

    // Lists
    ‘ul’ => array(),
    ‘ol’ => array(
    ‘start’ => true,
    ),
    ‘li’ => array(),

    // Images
    ‘img’ => array(
    ‘class’ => true,
    ‘src’ => true,
    ‘border’ => true,
    ‘alt’ => true,
    ‘height’ => true,
    ‘width’ => true,
    ),

    // Tables
    ‘table’ => array(
    ‘align’ => true,
    ‘bgcolor’ => true,
    ‘border’ => true,
    ),
    ‘tbody’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘td’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘tfoot’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘th’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘thead’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘tr’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    )
    );
    }

    #150695

    In reply to: Text Color and Font

    desiamerican26
    Participant

    @robkk

    ehh I been trying this code last few days….I am not sure if this is what I did was right?
    Should I post the code here for you to see and check if it’s right?

    #150691
    Robkk
    Moderator
    #150686

    In reply to: Help with styling css

    gogitossj34
    Participant

    Ok, added in !important worked.
    Do you know what can help moving the avatar and name to the left and comment to the right like normal bbpress ? Or maybe just the code so that I can edit it myself.

    #150685

    In reply to: Help with styling css

    Robkk
    Moderator

    i guess this might work.

    li.bbp-header ul.forum-titles li.bbp-forum-info a.bbp-forum-title {
    color:#fff!important;
    }
    #150678
    desiamerican26
    Participant

    I also have Simple Meta Tags plugin and I just cheked that I have a code which I don’t think is right under my editor section….I been testing all of these but not a good result….

    #150676
    desiamerican26
    Participant

    Hello friends,

    There is an issue that I been encountering on my website while posting on facebook. It doesn’t show the image when I post on FB, but when I use the Facebook Debugger and scrape new info through it, then it works fine. I am not sure why it’s acting like that.

    I do have some plugins that might be causing the issue. I have Shareaholic Share but I deactivated the Meta Tags under that and then I have Facebook OGP, WordPress SEO

    Is there a way to have a better link posting on facebook or any social site without having that issue? Or some code that will work perfect without plugins or anything?

    Please help.

    Thank You
    Regards,
    Nik
    My Website: http://www.desi-american.com

    #150666

    In reply to: My impressions so far

    pfswss
    Participant

    Jimi, I was also disappointed when I installed BBPress and found it to be very unlike a forum I had known in the past. Out of the box it is too simplistic with several themes I tried it with. I just wanted a forum look but this does not seem possible unless you hire developers or are a really good coder with loads of time.

    I do appreciate the effort of the developers as an open source software. unfortunately I had the wrong impression from reading reviews of several wordpress solutions as they all pointed to this one as the best. To be blunt I would not like to try the worst ones.

    I have had a lot of issues, many plugins are not compatible and I still have nothing that looks remotely like a normal forum. I actually just searched to how to enable PM’s and that is when I found this post and another which says basically you need to install the Buddypress which is an overkill it seems.

    I do hope that BBPress will eventually cater to everyone’s needs but sadly I think I have to look at another solution and revert back to my PHPBB forum form 2 weeks ago. Then I will consider going with IP board or Vbulletin.

    Jimi, can you tell me why you stopped using IPB?

    #150665

    In reply to: Help with styling css

    Robkk
    Moderator

    if you mean like this http://thefastdiet.co.uk/forums/

    follow this topic https://bbpress.trac.wordpress.org/ticket/1958

    and read tharsheblows posts and take his code

    or read Bob1nz and go to his pastebin links and take his

    #150654
    Stephen Edgar
    Keymaster

    Oh! Looks like my bad, replace get_template_part('content'); with <?php the_content(); ?> πŸ˜‰

    #150653
    Stephen Edgar
    Keymaster

    Oh! Looks like my bad, replace what was get_template_part('content'); with <?php the_content(); ?> πŸ˜‰

    #150649
    A.I. Sajib
    Participant

    You mean replace bbpress.php file content with the archive.php content and then remove that line of code?

    I will try that and will let you know if that fixes the issue. Thank you for your help!

    #150648
    Stephen Edgar
    Keymaster

    If you write that code as a function you can then hook it to bbp_before_main_content

    #150647
    defcon1186
    Participant

    I’ve added renamed archived.php without get_template_part('content'); like bbpress.php in my child root, and now forum page won’t load… that’s pretty weird πŸ™‚

    #150646
    Stephen Edgar
    Keymaster

    A quick look at the “Track’ theme, it looks like if you copy archive.php to bbpress.php that will resolve most of your issues. (Source: archive.php)

    After you have done the above remove the following line from your bbpress.php copy:
    get_template_part('content');

    #150645
    Stephen Edgar
    Keymaster

    All of bbPress will sit within the ID id="bbpress-forums" which makes CSS styling even easier and is far from new, I think it has been there since bbPress became a plugin πŸ™‚

    A quick look at the “Track’ theme, it looks like if you copy archive.php to bbpress.php that will resolve most of your issues. (Source: archive.php)

    Edit: Do the above but remove the following line from your bbpress.php copy:
    get_template_part('content');

    #150644
    A.I. Sajib
    Participant

    I did actually. I tested on Tracks WordPress theme which happens to be free yet awesome theme. But on the forum topic page, for mysterious reasons, only the first post from the topic is visible. Posts from second and onwards don’t show up at all. A programmer would probably fix this in a moment but I’m not really a coder, so I’m looking for something else.

    Thanks for your help.

    #150643
    Stephen Edgar
    Keymaster

    Have you tried bbPress with your preferred theme?

    Give it a try, bbPress will work with most themes “out of the box”.

    If you want to start customizing your theme check out the docs

    Codex

    #150641
    Stephen Edgar
    Keymaster

    Hey @microdot, glad you found us after I closed down your other posts πŸ˜‰

    Check this out https://codex.bbpress.org/moderation-and-blacklisting/

    Also what setting do you have in WordPress discussion settings for:

    Before a comment appears Before a comment appears Comment must be manually approved

    I think that is most likely the culprit, what happens if you uncheck that?

    #150638
    Stephen Edgar
    Keymaster

    It looks like you’ve now added BuddyPress so this is null and void πŸ˜‰

    If you decide not to use BuddyPress let me know and I’ll take another look.

    Typically if you make a copy of page.php and rename it bbpress.php and it doesn’t work is because the themes page.php has some funky code, usually linking to custom templates for custom post types so is usually theme specific and alternatives can be to tyr the themes archive.php and or post the theme name here and we can have a look.

    #150635

    In reply to: phpBB Import Error

    Stephen Edgar
    Keymaster

    After you click stop and then start it should just continue on from where it left off.

    The issue will be though is that any topics in that range of (13601 – 13700) that were not imported before the conversion stopped will not be imported.

    These types of faults are typically due to some encoding issue in that post. Sometimes this is from an encoding conversion to UTF8 that was done at some point. Whatever it is, it’s nearly impossible to detect without setting a time limit on queries and bisecting the difference until we can narrow down the offending entry, and skip it. Because queries could naturally take a long time, and because it results in missed data, I’m not comfortable with this approach.

    The workaround is to find and delete the offending reply which is time consuming and tricky but the only way at this stage.

    Here’s how I do debug this and find the offending topics/replies:

    • Once the import hangs, click stop, take a note of where it was up to, e.g. Converting 11,299 – 11,300
    • Click start again and the import will continue from where it left off
    • If it hangs again, take note of where it was up to again
    • Once finished make a fresh copy of the source database
    • Now drop all the rows in the database that are not in the range of rows that failed during import
    • Perform a fresh import using this database with the “Rows Limit” setting set to 1
    • The import should hang on the offending topic/reply
    • Again, take note of the topic/reply it was up to
    • Click stop, click start again to continue on
    • Once you have your list of offenders and the import has finished delete these rows from this database and test again to make sure it completes without hanging
    • Now back in your full database (presumably a copy of the original) delete these same rows from the database and run the import again
    #150633

    In reply to: Topics Page template

    Stephen Edgar
    Keymaster

    You would want to remove the topic form from content-single-forum.php

    See this to get going on how to edit bbPress templates so you don’t lose your changes when bbPress is updated https://codex.bbpress.org/theme-compatibility/

    #150627
    Stephen Edgar
    Keymaster

    A standard bbPress User Profile Edit link should look something like this:

    http://example.com/forums/users/username/edit/

    Similar here on this site your edit profile link should be:
    https://bbpress.org/forums/profile/azafuel/edit/

    Users ‘can’ edit their profile in WordPress backend with the /wp-admin and that is because we are a WordPress plugin that uses WordPress’ users for bbPress so both are valid URL’s for user profiles.

    #150625
    Stephen Edgar
    Keymaster

    I added a couple of other plugins that do this a couple of days ago to the following page:

    Check them out and let us know if one (or more) do what you are after

    Feature Plugins Tracking

Viewing 25 results - 10,901 through 10,925 (of 32,504 total)
Skip to toolbar