Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 651 through 675 (of 2,086 total)
  • Author
    Search Results
  • #162629
    Robin W
    Moderator

    it’s in

    /includes/forums/template.php

    lines

    1987, 1995, 2007, 2017

    You could probably filter it by

    
    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'This forum contains %1$s and %2$s, and was last updated by %3$s %4$s.' ) {
    	$translated_text = 'This elephant contains %1$s and %2$s, and was last giraffed by %3$s %4$s.';
    	}
    if ( $translated_text == 'This forum contains %1$s, and was last updated by %2$s %3$s.' ) {
    	$translated_text = 'This elephant contains %1$s, and was last giraffed by %2$s %3$s.';
    	}
    if ( $translated_text == 'This forum contains %1$s and %2$s.' ) {
    	$translated_text = 'This elephant contains %1$s and %2$s.';
    	}
    if ( $translated_text == 'This forum contains %1$s.' ) {
    	$translated_text = 'This elephant contains %1$s.';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    in your functions file

    Functions files and child themes – explained !

    Robkk
    Moderator

    looking forward to your template or codex changes

    I just updated the codex article and put an example template to look and study off of.

    It is not just copy and pasting the template into a file and it working, you have to study it and read the comments in the code and find similarities in your index.php file. Then you can create a bbpress.php file from your index.php file.

    If I add the short-code to a custom page using the page.php code it works

    Yes I know but it is just that page, you need all of the bbPress forum pages. Using shortcodes like that means you would have to put a topic shortcode for every topic you have in a bunch of pages. And that is not what either of us are looking for , right??

    It doesnt matter if the default forum uses index.php or page.php – it doesnt work.

    Yes it does, and you have to edit the new bbpress.php file.

    I have sequentially copied pages.php and index.php and made them bbpress.php and each time I can see that the default forum is using it, and each time it doesnt work

    Its not as easy as just renaming it.

    So i guess I need a generic index.php that will work (which I think you said you were producing) OR some workaround so the generic forums page doesnt appear in the directory path

    Was busy with other stuff , but yes i uploaded an example template to look over and compare to your index.php. You cannot just copy and paste , you have to look at the simple code and read how it works in the comments i left in the code.

    Prabin
    Participant

    @robkk , thanx for your reply. The user role value in database is not updated. So I had to change the value directly from database to each user. That’s not a solution though.

    #162343
    PinkishHue
    Participant

    As it’s been a few years since this topic was started I just wondered if there was any updated thoughts on this?

    It feels like the world of the web is at a point where immediate posting, P2 style, is becoming a must-have feature (or at least a prefer-to-have feature).

    Perhaps it’s still as complicated as it was 4 years ago, but perhaps not? Would love to know people’s thoughts or suggestions.

    Thanks 🙂

    #162000
    Hard Seat Sleeper
    Participant

    What’s the easiest way to edit my forum home page to display the most recently updated forum topics?

    #161774

    In reply to: Freshness Incorrect

    Robkk
    Moderator

    did this happen when you updated to 2.5.7??

    some people have somewhat similar issues and i wonder if its a new bug.

    if it is i will report it.

    #161728
    Fred_L
    Participant

    Did you use a plugin or your own coding? Would you be willing to share the url of the migrated forum? I’m looking to do the same > migrating from Joomla Kunena to WP bbPress. Since you posted 1 yr and 5 mo. ago do you have any updated suggestions or warnings on how to best accomplish this migration successfully? We have 5,000+ registered users, 11 categories and 44,000+ posts. Many thanks in advance!!

    #161677
    Robkk
    Moderator

    i agree with these

    Posts Count & Join Date Under Username – just post count and join date on profile.

    “Report” Option – It would be good for moderation.

    Attachments – but just using the Add Media button , ive been messing with this lately.

    Things that should be a plugin

    Private Responses – kind of a toss up , its not hard to create though. or are you talking about Private messages??

    “Like” button – bbPress has a favorites option , like buttons per reply should just be a plugin, there are nice options for plugins though.

    dictate if there are “new” or “unread” posts – there is a lot of options in plugins for this and they are quite different too, it really depends if its good for users to have an option on what they want or what.

    Ability to “Quote” users – we have threaded replies as an alternative. it could be a feature in the future , but i think it should stay in plugin territory for now.

    things that are easily possible to create in my opinion

    Icons for Subcategories that help to differentiate between subcategories – simple css

    “New” icons for new posts – show icon from date of creation.

    “Sticky” icons for stickied posts – simple css

    “Hot” icons for posts that are popular -show the label when a reply level hits

    Ability to Rename bbpress specific vernacular (IE “Last Post” in place of “Freshness”) – put the templates in your child theme / create a custom language file for your site/ custom function.

    Format Categories vs SubCategories in Traditional Forum Style – there is three ways you can have this functionality.

    Signatures – you can create a custom text description box in your profile and then just show it after your reply content with a function.

    things that are already in bbPress

    Sort Forum by Recently Updated, Most Replies, Most Viewed, Etc. – bbPress views does this.

    Basic editor for responses including format help – the default quicktags seem basic

    #161676
    N3gATiVE
    Participant

    Hello

    This is forums main page https://www.jkyog.org/forums/
    and this is a sub-forum https://www.jkyog.org/forums/forum/yoga-meditation-2/

    In Sub-forums Freshness is: 1 week, 2 days ago and in main forums page it display 4 weeks ago with some other random user..

    When users are posting non stop then Freshness is coming correct but if i delete any spam replay, or if we don’t post anything from long time then main forums page Freshness will change itself into some random user and time..

    Tried couple of things like:

    All plugins disable expect bbpress
    Caching disabled
    Recalculate everything from Tools
    Changed theme to default / All plugins, wordpress version etc updated to recent version

    But no success will appreciate if someone can provide solution or hint!

    Thanks.

    #161674
    j0n4h
    Participant

    More functionality without plugins and options to change certain aesthetics would be, in my opinion, pretty routine for a forum codex.

    Now I realize that these options are all viable in bbpress, however, not everyone has the time necessary to learn how to implement these things themselves. Many of these things I already have in my forums, but now without extensive research in addition to plugins designed to enable such desired functionality. The thing is, though, should I really need a plugin to allow for signatures or post count?

    If you’re interested, this is a list I would recommend for bbpress to be more competitive out of the box and more user friendly:

    Out-of-the-Box Recommendations:


    Functionality:

    • Ability to Rename bbpress specific vernacular (IE “Last Post” in place of “Freshness”)
    • Posts Count & Join Date Under Username
    • Ability to Change Default Titles & Permissions for Usernames
    • Icons for Subcategories that help to differentiate between subcategories & also dictate if there are “new” or “unread” posts in certain categories
    • “New” icons for new posts
    • “Sticky” icons for stickied posts
    • “Poll” icons for posts containing polls
    • “Hot” icons for posts that are popular
    • Sort Forum by Recently Updated, Most Replies, Most Viewed, Etc.
    • Attachments
    • Private Responses
    • “Like” button
    • Signatures
    • Ability to “Quote” users
    • Basic editor for responses including format help
    • “Report” Option

    Aesthetic:

    • Different color names or title icons for easy recognition between staff & general members
    • Option to change colors of backgrounds to differentiate between posts or headers and posts
    • Format Categories vs SubCategories in Traditional Forum Style

    I also completely understand this may not be within the parameters that the bbpress developers have in mind for this product. They may only be interested in providing the foundation for such things, though without these features, this product is not a feasible option for a comprehensive community forum project for a layman such as myself.

    #161656
    iprg
    Participant

    Hello, I am not able to switch to HTML tab in the editor during editing of topics/replies… (When I enter it through dashboard) It simply does not react to clicking…. Another buttons also do not suddenly react – so I am unable to link a word/fraze with an URL (my forum is here: http://www.fotoguru.cz/fotoforum/)
    It seems to me that it happened after I updated to the latest version of WP…
    Or might there be another issue? I tried to deactivate anything I could think of but did not help…
    Thanks! Jan

    #161557
    23creative
    Participant

    you’re welcome mate. my code actually changed quite a bit form what I posted here. the tag list is pulled from wp-admin > Topics > Topic tags

    updated code below

    //change the seclected terms to string and return
    function restrict_topic_tags( $terms, $topic_id, $reply_id ) {
        if(isset($_POST['bbp_topic_tags'])){
            $bbp_topic_tags = filter_input(INPUT_POST, 'bbp_topic_tags', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
            return returnFormattedTags($bbp_topic_tags, $topic_id);
        }else{
            return $terms;
        }   
    }
    add_filter( 'bbp_new_reply_pre_set_terms', 'restrict_topic_tags' );
    
    //change the seclected terms to string and return
    function restrict_new_topic_tags( $topic_data ) {
       //$bbp_topic_tags = $data   = filter_input(INPUT_POST, 'bbp_topic_tags', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
       if(isset($_POST['bbp_topic_tags'])){
            $bbp_topic_tags = filter_input(INPUT_POST, 'bbp_topic_tags', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
            $topic_data['tax_input'] = array('topic-tag'=>checkTags($bbp_topic_tags)); 
       }
       return $topic_data;
    }
    add_filter( 'bbp_new_topic_pre_insert', 'restrict_new_topic_tags' );
    
    //change return the correct tag on a form error submission, we might need to go through the spam check here. But lets see how this goes
    function loadPostTagArray( $topic_tags ) {
       if( $topic_tags == 'Array'){
            if ( bbp_is_post_request() && isset( $_POST['bbp_topic_tags'] ) ) {
                $bbp_topic_tags = filter_input(INPUT_POST, 'bbp_topic_tags', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
                $topic_tags = returnFormattedTags($bbp_topic_tags); 
            }
       } 
       return $topic_tags;
    }
    add_filter( 'bbp_get_form_topic_tags', 'loadPostTagArray' );
    
    function returnFormattedTags($topicTags){
        foreach ($topicTags as $key => $topicTag){
          if($key > 0) $terms .= ', ';
          $terms .= esc_attr( strip_tags( $topicTag ) );
        }
       return $terms;
    }
    
    function checkTags($selectedTags){
        $tags = get_categories( array('hide_empty'=> 0,'taxonomy' => 'topic-tag'));
        $toReturn = array();
        foreach($tags as $tag){
            if (in_array($tag->name, $selectedTags)) {
               $toReturn[] = $tag->name;
            }
        }
        return $toReturn;
    }
    
    function displayTagElements($selectedTags, $userRole, $task){
        $html = array();
        $tags = get_categories( array('hide_empty'=> 0,'taxonomy' => 'topic-tag'));
        $selectedTagsArray = explode(', ', $selectedTags);
        if($userRole != 'bbp_participant' || $task != 'edit'){    
            $html[] = '<select class="chzn-select" multiple="multiple" name="bbp_topic_tags[]" id="bbp_topic_tags">';
                foreach($tags as $tag){
                    $selected = '';
                    if (in_array($tag->name, $selectedTagsArray)) {
                       $selected = 'selected="selected"';
                    }
                    $html[] = '<option '.$selected.' value="'.$tag->name.'">'.$tag->name.'</option>';
                }
            $html[] = '</select>';
        }else{
            $html[] = $selectedTags;
        }
        return implode('',$html);
    }
    #161500
    loen010
    Participant

    LS,

    Since the last update of wordpress (4.1 -> 4.2) there are no more problems with my site.
    I updated bbpress to 2.5.7 and it is working fine.

    Thanks for your time and support

    Alex

    #161497
    OliverEggertsen
    Participant

    Hello Robkk,

    Yes, i have followed the guides and the language in settings > general is set to danish.

    It has worked before but it changed as i updated the site, so i can’t seem to figure out what the problem is.

    landshark
    Participant

    Hello I am in the process of converting a simplepress forum to bbpress.

    The first issues I have noticed is that the date and time of some posts is not being carried over and is defaulting to the time of the conversion. However this is not on all post, only a percentage, approximately 860 topics of a total 5029. One thing I have noticed is that all the topics witout updated date/times do not have any responses to the original post, although there are posts with correct date/times that have no responses if that makes sense.

    I have run all the repair functions and the only one I am having trouble with is “Recalculate the position of each reply” which seems to stop (timeout?) and go to a white page.

    Any insight as to what may be going on?

    sharongraylac
    Participant

    Thanks, Robkk,

    Please see updated post above.

    Thanks again!
    Sharon

    Dan & Jennifer
    Participant

    Hi there!

    We’re trying to move our forums from a custom Q&A platform to bbPress… very glad there is now an importer! 🙂

    So I copied example.php to myimport.php, changed the class name, and updated the tables/columns that apply (the ones that exist in the old database).

    And ran the import…

    But I keep running into import errors for fields that don’t apply as they don’t exist in the other database, like forums_table.the_reply_count

    So for a field that just does not exist in the old database, what’s the proper syntax for “ignore this”? 🙂

    For example, this one…

    
    // Forum topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums_table',
    			'from_fieldname' => 'the_topic_count',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		);
    

    I looked for this on the importer codex page, but just don’t see it. 🙂

    Thanks!
    Dan

    #160792

    In reply to: Topics are not adding

    davidnsfw
    Participant

    It shows “This forum contains 2 topics and 1 reply, and was last updated by admin 13 minutes ago.”

    But again it does not appear there.

    pazzaglia
    Participant

    Unfortunately, with the upgrade to WordPress 4.x these little snippets no longer work – I read elsewhere that bbpress search had some updates which likely render these snippers useless. : (

    If anyone has the updated code, I would really appreciate it!!

    Ciao,

    L

    #160470
    Stephen Edgar
    Keymaster

    Hmmm…. I’m assuming in that case then you have no other parts (or major parts at least) missing from the DB schema you posted in the original post? e.g. No topic_title table listing the topics separately.

    If that is the case you’d now want to ignore those mappings I posted, rather remap them to the the topic and reply sections instead of the forums section.

    This is now where we add some limiting SQL expressions to separate your topics from replies.

    In the Example.php file at the end of the topics section you’ll see:

    
    // Setup any table joins needed for the topic section
    $this->field_map[] = array(
    	'from_tablename'  => 'replies_table',
    	'from_fieldname'  => 'the_topic_id',
    	'join_tablename'  => 'topics_table',
    	'join_type'       => 'INNER',
    	'join_expression' => 'USING replies_table.the_topic_id = topics_table.the_topic_id',
    	'from_expression' => 'WHERE forums_table.the_topic_id = 0',
    	'to_type'         => 'topic'
    );
    

    We’ll modify that to the following:

    
    // Setup any table joins needed for the topic section
    $this->field_map[] = array(
    	'from_tablename'  => 'forum_table',
    	'from_expression' => 'WHERE forums_table.Forum_Parent = 0',
    	'to_type'         => 'topic'
    );
    

    Similarly at the end of the replies section, we change that join expression to:

    
    // Setup any table joins needed for the topic section
    $this->field_map[] = array(
    	'from_tablename'  => 'forum_table',
    	'from_expression' => 'WHERE forums_table.Forum_Parent != 0',
    	'to_type'         => 'reply'
    );
    

    Now assuming I’ve got the logic correct in understanding your Forum_Parent/Forum_Ancestor what equals 0 and what does not equal 0 then we should be good to go 🙂

    So the topics join expression is limiting the queries for your ‘thread starter’ topics, then in the reply section expression we ignore those previously ignored topics already imported and are assuming the remaining entries in the table are replies to those topics. The Forum_Ancestor of each reply should then point to the “parent topic ID’ mapping.

    I think that’s it, one thing you’ll notice is that we also are not actually creating any forums to import the topics into, all the topics will import without being allocated to a forum, this can be bulk updated later, actually we can set a default forum for topics and relies, I’ll get back to you on that bit of code that I can’t remember of the top of my head right this second 😉

    #160271
    mrbrooks89
    Participant

    1,i have several problems atm i am using bbpress and buddypress one i have a random yellow block on my forum page

    http://lexmotoownersclub.com/forums/

    2, my topics show up under all parents ie lexmoto adrenaline show stay under lexmoto adrenaline and not show up under all category

    3, This forum contains 1 topic, and was last updated by Profile photo of ADMINB ADMINB 1 day, 16 hours ago. want this removed

    i have tried changing themes and also pluging im no good at messing around in code noobie here
    thanks 🙂

    wenlujon
    Participant

    in the notice text area of a forum, there’s message:
    “This forum contains xxx topics, and was last updated by”
    and there’s an avatar before the user, how to remove that?

    also, that’s the case for a topic, how to remove that?
    “This topic contains xxx replies, has xxx voice, and was last updated by”

    BTW,
    I managed to remove some avatars in other areas through this:

    
    .widget_display_topics  .bbp-author-avatar { display: none ! important; }
    .bbp-topic-started-by .bbp-author-avatar { display: none ! important; }
    .bbp-topic-freshness-author  .bbp-author-avatar { display: none ! important; }
    <code></code>

    reference:

    bbPress Styling Crib

    #159942

    In reply to: Request: Voting

    Robkk
    Moderator

    I was OK with ‘BBpress Like Button’, except for the lack of a ‘most liked’ widget,

    this plugin is having issues now?? you should contact the developer.

    I have installed the ‘GetShopped Support Forum Plugin’ from Github – does anyone have experience with this?

    yes in the past , the plugin is quite buggy now

    use this updated version that says it also has a voting feature now.

    https://github.com/dtbaker/bbPress-Support-Forums

    nolimit966
    Participant

    Hi,

    I have noticed the message at the top of the forum which counts the total number of replies in that particular forum.

    ‘318 replies’

    I have tried <?php bbp_topic_reply_count() ?> but its showing ‘0’

    How do i use the total number of replies count – id like to put it on the ‘topics’ page too.

    Thank you

    #159731
    Ziga Sancin
    Participant

    I’m seeing some weird freshness bugs on a bbpress installation (version 2.5.5). I’m using a different forum structure (a forum index, subforums, etc. – a traditional phpBB layout), so the bug is even more visible to the general public, but it’s certainly not the cause of these bugs, because I can easily reproduce the bug just by clicking on the trash link in the frontend or WordPress Admin and looking at the postmeta database.

    I’ve tried using the admin tool to recalculate freshness, but it makes the whole situation worse. So, I have to manually change the freshness postmetas of all forums and subforums. 🙁

    I’ve encountered at least three different bugs:
    – wrong freshness set for parent forum and subforums after trashing a post
    – wrong freshness set for forums and subforums after using freshness recalculation via admin tools
    – no updated freshness set for parent forum and subforums after untrashing a post

    This seems like a blocker to me. How can I help? Are those bugs covered inside bug #2414 or bug #1925?

Viewing 25 results - 651 through 675 (of 2,086 total)
Skip to toolbar