Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,676 through 1,700 (of 11,571 total)
  • Author
    Search Results
  • #197065
    Robin W
    Moderator

    not sure why that would be – bbp_get_forum_title just does a check and then executes get_the_title

    the full function is

    function bbp_get_forum_title( $forum_id = 0 ) {
    		$forum_id = bbp_get_forum_id( $forum_id );
    		$title    = get_the_title( $forum_id );
    
    		return apply_filters( 'bbp_get_forum_title', $title, $forum_id );
    	}

    It seems to work fine on my test site.

    Is there a particular circumstance or is it consistently wrong on your site?

    #197060
    Robin W
    Moderator

    I cannot replicate that on my test site, and from its positioning I suspect it is theme related rather than bbpress as it seems to be within after an <article> div that bbpress doesn’t use, and I cannot find ‘comments-area’ anywhere in the bbpress plugin.

    If you want to prove that, switch to a default theme and check that it disappears.

    #197041
    rgilman
    Participant

    Apologies for the delay in reporting back. I was able to modify the (style pack) latest activity widget to meet my needs. Thank you!

    Along the way I found what may be a bug. On line 255, bbp_get_forum_title($forum) gets the topic title but get_the_title($forum) gets the forum title.

    #196988
    conte001
    Participant

    Hey,

    I use the Woffice theme with bbpress forum. The widgets for latest topics and replys have two hover effects.

    1. Underlining of the link
    2. Moving the link a few pixels to the right.

    I want to remove the second one as it cause the link to sometimes jump around like crazy.

    Any ideas how I can do that?

    tekgazet
    Participant

    I want to limit the number of characters in the Topic Content Text Area in bbPress to a maximum limit (of say 500 characters). How can I do it?

    I tried to do it by using the maxlength attribute of textarea (bbp_topic_content) in the stylesheet file, but this attribute is not working (may perhaps be because this attribute was included in HTML5 version only). However, if I use this in Developer Tools in Chrome while inspecting the text area for Topic Content, it works fine; but that is only for testing and I am not able to make a permanent change by editing the source file or through any plugin.

    Other two methods could be javascript to check on local machine the number of characters being entered, but I understand that this can easily be cheated by disabling javascript. Moreover, I am not fully sure how to do it.

    Third method could be to use for action or filter hook. Can you please suggest me which hook to be used and sample code, if any?

    Thanks in advance.

    #196941
    wpturk
    Participant

    @robin-w , No, I realised this as my forum was already 2.6. I was wondering why users don’t answer the topics. After testing I saw that all subscriptions are gone, since I update tags of all topics.

    #196844
    mrwassen
    Participant

    One quick follow-up:

    I just realized there is an checkbox option for a user to subscribe to replies to an individual topic. I tested this and also in this case no reply email notification was received, so just to summarize the issues:

    1) user1 subscribed to a forum – user2 posts a new topic:
    new topic notification is sent out to user1 (good)

    2) user1 subscribed to a forum and user2 replies to a topic in that forum:
    reply notification not sent out to user1 (maybe good if 3 worked)

    3) user1 subscribed to a topic (checkbox) and reply posted by user2:
    reply notification email not sent out to user1 (not good)

    Thanks

    Dennis

    #196764

    In reply to: phpBB import (again)

    Gregg
    Participant

    Resolved!

    Grab a cup of coffee and a seat and I’ll tell you the story of how you might be able fix this. It may take several hours so be prepared…

    Situation I was in:
    Older version of phpBB 3.1v and wanting to port all topics, replies, and users to bbPress (latest version at the time). A handful of issues existed that were causing more trouble than they were worth. Host of the old site is GoDaddy. The new site is on WP Engine.

    Forum Stats (approx)
    Users: 2200
    Topics: 7800
    Replies: 22500

    Outcome:
    Successfully ported all topics, replies, and users to bbPress.

    Updated phpBB
    REMOVE ALL MODS, STYLES, anything that’s not a part of the out-of-the-box install. Then follow the upgrade instructions. Make backups (I kept a copy of the existing site on my local machine and duplicate database on the host). I found these instructions most helpful: https://www.phpbb.com/support/docs/en/3.2/ug/upgradeguide/upgrade31/

    The Issues
    There were two issues I ran into (in different flavors but it turns out they just stemmed from these two). 1st – utf8 formatting and 2nd missing fields. These issues are with the import and NOT the upgrade for phpBB. I was able to resolve those issues by making sure I followed the instructions on that link to the letter.

    The first error (I don’t remember the exact error string but it was either utf8mb4 or just utf8 but it simply means the database holds the data in an older format. The solution is to export the date from the database then create a new database and restore the data into it. By creating the new database the fields will use the proper format and when the restoration is complete this issue should be resolved.

    The second error was a little more mysterious – as in I’m not sure why it happened but essentially the import routine is looking for fields that don’t exist in the phpBB install even after I successfully updated it. The solution was to create the fields needed. How?

    How to create the fields to get rid of the missing field errors
    Note I created a copy of the functioning database on my phpBB install so I could screw it up and not hurt the functioning website. So here’s an example.

    The error I got basically said the script couldn’t find “users.user_from” in the database I was trying to import from. That’s not an exact quote but the gist. So I edited the copy of my database and added the missing field (user_from) to the table it was looking for it in (users) using datatype VARCHAR and length of 255 (all else was left to default). I had to do this about a dozen times between the users, topics, and forums tables.

    I should note I imported all of my users as well. I had to try this whole process several times. I’ve spent 40+ hours trying to figure this all out (I’m not that familiar with phpBB or bbPress) but the actual process once I figured out the issues – took about 6 hours – mostly waiting for the script to process the data. If your import bombs – read the error and look carefully at what it’s looking for or doesn’t like. Most likely it’s looking for something that’s not there.

    I was worried that the connections between topics and replies and users would somehow be messed up. But in the end, it looks like it all came out fine. I’m pretty sure I’ll find something amiss – that’s my cynical side but maybe I’ll be pleasantly surprised.

    Good luck!

    #196739
    engin1984
    Participant
    <!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" lang="en-US" prefix="og: http://ogp.me/ns#">
    <![endif]-->
    <!--[if IE 8]>
    <html class="ie ie8" lang="en-US" prefix="og: http://ogp.me/ns#">
    <![endif]-->
    <!--[if !(IE 7) | !(IE 8)  ]><!-->
    <html lang="en-US" prefix="og: http://ogp.me/ns#">
    <!--<![endif]-->

    testing some code…
    edit: YEP! Code tag is working .

    #196703
    Robin W
    Moderator

    I’m just a user who helps out here, and I haven’t tested it. Most authorities (eg Yoast, Wordfence) recommend holding off on 5.0 until 5.1 with bug fixes probably around January is likely to be released.

    I’ll do my test site then

    #196650
    Foliferous
    Participant

    Hi people,

    look here.

    I noticed that’s there one space in front of “Admin” here:

    This forum contains 2 topics and 2 replies, and was last updated by Admin 9 hours, 17 minutes ago.

    You can also see it on the right hand side under “Latest forum posts”.

    Best regards.

    #196645
    Robin W
    Moderator

    I am author of the style pack plugin, and 4.0.3 shouldn’t have anything that would affect your site, but please as a test, deactivate it and check that it is not causing any issue, you will not lose any settings, and as soon as you have looked you can re-enable it.

    Then come back

    #196611
    Wasca
    Participant

    I should also not that this is only happening in Chrome not Firefox. I’m seeing this in the console. (sanitized)

    Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
        at et_core_page_resource_fallback (https://mydomain.com/topic/test-video/embed/:12:160)
        at HTMLLinkElement.onload (https://mydomain.com/topic/test-video/embed/#?secret=HEI33yuPgo:158:289)
    et_core_page_resource_fallback @ (index):12
    onload @ VM2025 :158
    #196610
    Wasca
    Participant

    Testing a link back to this thread.

    Only Allow YouTube and Vimeo oEmbeds

    On my forum, this would have rendered the post here and not just created the heading.

    #196603
    Robin W
    Moderator

    you should have version 2.5.14 which is the latest authorised release.

    Download

    #196543
    PHC Solutions
    Participant

    I am currently testing the RC5 with a vBulletin 3 import and I am encountering fatal errors. Or should errors be indicated for a resolution?

    #196494
    calepwhoward
    Participant

    Here are the details:

    ~ WordPress 4.9.8
    ~ Travel Eye Pro theme
    ~ BBPress Version 2.5.14

    This issue is with a company Intranet so not accessible from the Internet.

    When a new topic is created via the Topic option in the WordPress dashboard subscribers are not notified. When a new Topic is created on the Forum page using the New Topic fields and editor subscribers are notified. I’ve tested this across multiple forums and this behavior is repeatable. I see the new topics in the forums regardless of where they’re entered but subscribers are only notified if the topic is created from the forum webpage. Have I missed a configuration step in WordPress or is this a bug?

    Thanks in advance for any help anyone can offer. Happy Monday!

    #196404
    msmohanish2017
    Participant

    I have installed the plugin suggested by you. I am trying to test it with two users(subscribers). I am still facing an issue that when a subscriber creates a Topic in the forum that topic is visible to another subscriber.
    I want if any new Topic or Reply is created, it should be held for moderation(pending for approval) and after approval only by Administrator, it should get displayed to the frontend.

    Please suggest.

    Thanks

    robertstaddon
    Participant

    Thank you, @robin-w!

    So I found found the cause of the bug. There is a typo on line 303 of the “bbpress/includes/topics/template.php” file in the latest version of bbPress (2.5.14). It tries to set the “post_status” query value to “readable”. This is an invalid value for “post_status”. What the programmer intended was to set the “perm” query value to “readable”.

    #196330
    longtall
    Participant

    Tearing my hair out here trying to change the content container to transparent. I’ve tried changing the bbpress.css file, putting custom css in the bbl style pack, but nothing seems to work.
    Really appreciate some help here as I don’t what else I can do.
    WordPress 4.9.8
    bbPress 2.5.14
    http://dftasmania.com/forums/topic/test-topic/
    Thanks in advance.
    Cheers
    Longtall

    #196323
    nemoprofeta
    Participant

    Hello,
    we are migrating our site which includes a bbPress forum. The migration process is pretty long. So we’d rather not close the forum for a long time.

    We’ll start the migration import the whole database. The rest of the process will take several days. This means that in the meantime new discussions will be added to the forum.

    We thought we could add those new discussions using the XML importer. But in our tests it didn’t work. The discussions don’t show up in the frontend. And when we try to fix them with the bbPress tools, they disappear.

    Is there a way to do it?

    #196318
    maxlevel
    Participant

    @robin-w 1 and 2 both yes and I will contact you.


    @odevbul
    Thanks, I already tested the above plugin as well as this
    bbPress Moderation By Ian Stanley

    The problem is that both plugins work for all forums and I need it for only one of my forums.

    #196309

    In reply to: Custom Fields

    Robin W
    Moderator

    you need to alter ‘post’ to topic and reply eg (untested)

    function adding_custom_meta_boxes( $post_type, $post ) {
        add_meta_box( 
            'my-meta-box',
            __( 'My Meta Box' ),
            'render_my_meta_box',
            'topic',
            'normal',
            'default'
        );
    add_meta_box( 
            'my-meta-box2',
            __( 'My Meta Box 2' ),
            'render_my_meta_box',
            'reply',
            'normal',
            'default'
        );
    
    }
    add_action( 'add_meta_boxes', 'adding_custom_meta_boxes', 10, 2 );
    #196307
    Robin W
    Moderator

    It could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #196283
    rgilman
    Participant

    Hi Robin, thanks for your response. It looks like (style pack) latest activity gets me close and will provide a great starting point and tutorial from a bbp master.

    Apologies for the lack of clarity in my initial post. Let me explain a bit more.

    I’m developing a site that builds on Commons In A Box. You can see more about what we are doing at https://github.com/ContextInstitute/bfcom. The readme and wiki are out-of-date in the details but the general direction is right.

    We are designing for a large number of BuddyPress groups, each with its own forum. It will be a private site with access only to registered users. Most users will be involved in only a subset of the groups/forums.

    Each user will have a personalized home page/dashboard. One of the features on that dashboard will be a listing of the most recent posts/replies in topics in all of the forums to which that user belongs. So we need to start from something like groups_get_user_groups( bp_loggedin_user_id() ) and then go into something like what you do in (style pack) latest activity.

    Having (style pack) latest activity as a starting point feels like a tremendous help.

    Thank you again. 🙂

Viewing 25 results - 1,676 through 1,700 (of 11,571 total)
Skip to toolbar