Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 6,551 through 6,575 (of 32,505 total)
  • Author
    Search Results
  • Valery Kondakoff
    Participant

    The issue seems to be related to ‘bbl-author-avatar’ class. But I still can not find any reasons, why avatar suddenly ‘jumps’ to the upper left on small screens…

    The only (ugly) workaround I found until now is to hide avatars on the small screens:

    @media screen and (max-width: 375px) {
        .bbp-author-avatar {
          display: none; 
        }
    }

    Any other ideas? Thank you.

    #173904
    Robkk
    Moderator

    @bethannon1

    You can put this bbPress default themes CSS from the plugin into a folder called css in your child theme and edit the css file to your liking.

    https://codex.bbpress.org/themes/theme-compatibility/

    #173899
    Bet Hannon
    Participant

    Hi Pascal! Thanks for your quick reply!

    Unfortunately, no — these forums are locked down to only approved users.

    The CSS is in /plugins/bbpress/templates/default/css/bbpress.css, line 896:

    /* =Stickies
    -------------------------------------------------------------- */
    
    .bbp-topics-front ul.super-sticky,
    .bbp-topics ul.super-sticky,
    .bbp-topics ul.sticky,
    .bbp-forum-content ul.sticky {
    	background-color: #ffffe0 !important;
    	font-size: 1.1em;
    }
    

    I need to change that background color. But I’m not a CSS ninja, and I’m not sure how to override that !important from the default plugin CSS. This is when adding a 2nd !important to trump the first would be handy. 🙂

    Pascal Casier
    Moderator

    Hi, you see this message because your debug is on. This specific message is not a real a minor issue, but it could mean you have somewhere access control issues.

    See https://codex.bbpress.org/bbp_setup_current_user/was-called-incorrectly/

    Pascal.

    #173892
    Bet Hannon
    Participant

    I need to override the default CSS color for
    .bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky

    But the default color declaration has an !important in it. What’s the best way to fix this so my color will display? I know I could hack the plugin CSS, but that’s not the best option. 🙂

    #173884
    Stephen Edgar
    Keymaster

    Yeah, I’m actually thinking it might be best to require the user (me) to manually move the images directory from the old site to the new site. Then, maybe just use the xenForo URL to the image to display it in the post. It “should” be safe since xenForo reduced the images based on admin settings when they were originally uploaded. Just some random thoughts from a guy not looking at import code. 😉

    I can add a “generic” that would change [ATTACH=full]872[/ATTACH] to generic URLhttps:/example.com/attachment/872, you could then manually change thehttps:/example.com/attachment/part of that to anything you want for examplehttp://surveyorconnect.com/attachments/` and have that folder on your server serve up the attachments from there?

    I’m wondering if https://bbpress.dev4press.com would actually cure some of the bbcode issues automatically.

    We actually use a pretty comprehensive BBCode library already during import it converts a huge amount of common BBCode code to native HTML for us, I think you’d find there are only a handful of custom BBCode’s not covered by this library and is why I add them manually.

    p.s. I haven’t packaged up a new release with the changes just yet, but you can always get the latest version (with the above updates) from:

    https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/XenForo.php

    At the bottom of that page is a link to download the file in “original format” and that will get you the file, the link is dynamic and changes each revision so that’s why no direct link.

    #173877
    skilletin
    Participant

    Thanks for your reply!

    I have already found a solution to one of the other topics there for the same problem. At fault was the code inside Function.php – the function who exclude pages from search results. I remove it and now everything working fine. Thanks!

    #173873
    Wendell
    Participant

    I’m not quite sure what to do with attachments as bbPress import system does not yet support attachments ¯\_(ツ)_/¯

    Yeah, I’m actually thinking it might be best to require the user (me) to manually move the images directory from the old site to the new site. Then, maybe just use the xenForo URL to the image to display it in the post. It “should” be safe since xenForo reduced the images based on admin settings when they were originally uploaded. Just some random thoughts from a guy not looking at import code. 😉

    I’m wondering if https://bbpress.dev4press.com would actually cure some of the bbcode issues automatically.

    Also I’ve added support for YouTube, Daily Motion and Vimeo BBCode conversion

    Sweet!

    I’ve added some styling to the quotes now, so it wraps that quotes in “blockquote” and cites the authors name, e.g “wendellh wrote:”

    That’s perfect. The post and member numbers are really just useless information at that point anyway. I don’t see any real importance in providing the links back to the quoted posts either. I mean, it would be really cool, but not a big deal.

    Ah, I didn’t know about these types of posts, I’ve now done this, for topics/threads replies/posts that were “soft deleted” these are now imported with bbPress/WordPress “pending” status.

    Thank you!

    #173865
    Pascal Casier
    Moderator

    Okay, next step (based on previous issues), in between every step, try the email sending:
    – Disable the asynchronous plugin
    – Switch to a default theme like Twenty Fourteen
    – Make sure you have NO custom code that you added in your template or function.php that could block

    Pascal.

    #173860

    In reply to: Sub Forum List Style

    Pascal Casier
    Moderator

    Hi,
    You probably better work on the li directly:

    #bbpress-forums .bbp-forums-list li {
    }

    Did you have a look at https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#1-change-how-the-forum-list-displays ?

    If you need something more, please paste the link of the site here and explain what you are looking for.

    Pascal.

    #173857
    Stephen Edgar
    Keymaster

    Probably the most noticeable issue after the import are the attachments. They are basically a number with opening and closing ATTACH bbcodes.

    I’m not quite sure what to do with attachments as bbPress import system does not yet support attachments ¯\_(ツ)_/¯

    I could add some code to “hide” the BBCode whilst still keeping it as a refernce?

    Also I’ve added support for YouTube, Daily Motion and Vimeo BBCode conversion

    Then there are the quotes to other posts. These simply just come in as text and the post IDs don’t match those in bbpress. In xenForo, the quoted posts link back to the post that was quoted.

    I’ve added some styling to the quotes now, so it wraps that quotes in “blockquote” and cites the authors name, e.g “wendellh wrote:”

    For now we can’t link to the quoted post, this is on my radar to do but requires some pretty big changes, maybe bbPress 2.8.

    I’ve also noticed that soft deleted posts (only viewable by mods and admins) in xenForo are coming in as public posts.

    Ah, I didn’t know about these types of posts, I’ve now done this, for topics/threads replies/posts that were “soft deleted” these are now imported with bbPress/WordPress “pending” status.

    #173853
    gdelle
    Participant

    Im trying to create a sub forum list style.

    Ive tried the bbstyle plugin and the various codes I found searching here.

    Only one to work at all was this. But its not what I want. The theme is Kleo with bbpress/buddypress.

    .bbp-forum-info a.bbp-forum-link {
    display: block;
    }

    Robkk
    Moderator

    @valery-kondakoff

    Use this CSS to remove the box shadow for links in bbPress.

    #bbpress-forums a {
      box-shadow: none;
    }
    #173846
    madflute
    Participant

    Hi, I am new to WP so appreciate your patience.

    I need to have BBP subscribers notified of new forum/topic and/or replies but not sure how to make it work. I’d had thought the fact each Forum has “Subscribe” option made me think it would notify by email out of the box.

    SMTP is working. In fact, bbPress Notify (No-Spam) works, but it sends out to hardcoded recipients, not subscribers who chose to subscribe specific Forum.

    Added issue here is I have 2 private groups. So the notification really has to be subscribers choice per Forum.

    WP4.4.2
    BBP 2.5.8
    So far I have
    AsynCRONous bbPress Subscriptions 2.1
    bbP Manage Subscriptions 1.2.0
    bbP private groups 3.1.9
    bbP Toolkit 1.0.6
    bbPress Notify (No-Spam) 1.10
    Better Notifications for WordPress 1.3.9.5
    topic subscribe 1.0

    I understand the bbPress Notify has paid plugins to respect the private group and user opt-out, but this is a non-profit organization and everything is coming out of my pocket.

    Hope someone could point me to a right direction. Here is the URL
    http://jazztokyo.org/forums/
    but you won’t see all the forums in the private groups.

    Thank you in advance.

    P.S., yes it is reproducible with TwentySixteen.

    -Hiro

    #173845
    berkelmudez
    Participant

    @tharsheblows I don’t know if it matters but just letting you know that your code fixed this for me! thanks!

    #173842
    Wendell
    Participant

    Hey Stephen,

    I really appreciate your help! 🙂

    Probably the most noticeable issue after the import are the attachments. They are basically a number with opening and closing ATTACH bbcodes. For example:
    [ATTACH=full]872[/ATTACH]
    In xenForo, this links to attachments/photo-jpg.872

    Then there are the quotes to other posts. These simply just come in as text and the post IDs don’t match those in bbpress. In xenForo, the quoted posts link back to the post that was quoted. For example, here is an imported post with a quote:
    http://surveyorconnect.com/portal/index.php/forums/topic/july-2015-photo-submittal/#post-1647874
    and here is the original post in xenForo:
    http://surveyorconnect.com/threads/july-2015-photo-submittal.323039/#post-331560

    I’ve also noticed that soft deleted posts (only viewable by mods and admins) in xenForo are coming in as public posts.

    I realize I may be asking for too much, but I figure it doesn’t hurt to ask. 😉 I do understand though if it’s just not possible. I’ll keep looking around for other bbcodes as well.

    Thanks!

    Valery Kondakoff
    Participant

    Pascal, thank you for helping me!

    By misaligned I was meant that the avatars are not on the same line as the user name. Your code solves this issue:

    img.avatar.avatar-14.photo {
     margin-bottom: 0px !important;
    display:inline;
    }

    There is a side-effect though: the avatar gets underlined if you use ‘display:inline;’. If there is a way to remove the underline? ‘text-decoration: none’ does not seems to work.

    Here is a link to the test forum with your code applied: http://rugby-forum.ru/wp3/forums/forum/test-forum/

    Thank you!

    Pascal Casier
    Moderator

    And
    display:inline;
    will show on 1 line… all depends what you want.

    Pascal Casier
    Moderator

    What do you mean with ‘misaligned’ ? Where do you want them ?

    This will already get it away from the text:

    img.avatar.avatar-14.photo {
      margin-bottom: 0px !important;
    }

    PS. Next time please include the link to you site because for CSS we always need to see the site itself.

    Pascal Casier
    Moderator

    Hi, welcome back.
    If your subsite is on the same server, towards the same MySQL or MariaDB… then for the performance it will probably not help a lot.
    Why not trying to go to the root of the issue and try to reduce the 10s loading to at least 8s so that the extra 2s from bbPress are not adding extra ?

    Please note that WordPress requirements/recommendations are on https://wordpress.org/about/requirements/

    Some things to check first:
    – Have you run all the repair tools of bbpress after import to be sure your structure is optimized ?
    – Have you deactivated any not-needed plugin ? Is your theme ready for bbPress ?
    – Are you using any cache mechanism to improve speed where possible ?
    – Did you try to run performance tools like the P3 plugin performance profiler to narrow down the possible slow parts ?
    – What score do you get on gtmetrix.com ? Or what did the pingdom tools indicate ?
    – Is it for all people in the world the same ? Check with sucuri performance.
    – Some further reading: https://codex.bbpress.org/getting-started/improving-performance/

    If it would come to database queries, also check these plugins:
    https://wordpress.org/plugins/query-monitor/
    https://wordpress.org/plugins/query-monitor-bbpress-buddypress-conditionals/

    Then of course there are a list of performance improvements that can be done on caching, offloading, … with plugins like W3 Total cache, batcache, WP Super Cache or other. Also check autoptimize and using cloudflare.

    Also note that in the upcoming bbPress v2.6 (hopefully before the end of this year), a lot of focus went on possible performance issues.
    Hope it helps,
    Pascal.

    #173824
    Stephen Edgar
    Keymaster

    Awesome 🙂

    If you look at the phpBB and SMF importers they have near the end of the file a bunch of regular expressions for converting custom BBCode into native HTML for WordPress.

    Get me a list of what you want copied from the SMF/phpBB importers to Xenforo and I’ll add them.

    If you need more, or tweaks to them happy to help out here also.

    #173821
    Wendell
    Participant

    Tried the import again and saw some results I hadn’t seen before. The last several lines of the conversion said something about converting anonymous posts. That’s the first time it’s ever done that and it seems to have worked great. 🙂

    Now I just have to find a way to convert all of the xenForo bbcode into something that will work in bbpress (such as image attachments).

    Thanks for the help!

    #173801
    Pascal Casier
    Moderator

    Can you just paste the code snippet ? To comment on that.
    Thanks, Pascal.

    #173797
    Pascal Casier
    Moderator

    Hi,
    Check the source code of my bbP Manage Subscriptions. It might give you the correct things you need.
    Pascal.

    #173794
    Kineta
    Participant

    This seems like it should be easy, but I’m really having trouble finding documentation.

    I’ve got as far as getting the forum subscription ids (bbp_get_user_subscribed_forum_ids( $user_id)) but am struggling to get an outputted list of forum titles & links. That’s all I want – putting it into a shortcode to add to a widget.

Viewing 25 results - 6,551 through 6,575 (of 32,505 total)
Skip to toolbar