Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,576 through 3,600 (of 11,598 total)
  • Author
    Search Results
  • #162664
    Shmoo
    Participant

    That’s why I installed it.. Testing the code and by the time my forum is done bbPress 2.6 will be released I hope.
    But still, a missing core stylesheet?

    Some developer who has worked last on the code should’ve mentioned it don’t you think, maybe the developers have some fancy tool where they test/fork the alpha and beta versions with?
    I just downloaded the latest version (trunk) of the trac website.

    https://bbpress.trac.wordpress.org/browser/trunk ( bottom – download .zip )

    #162660
    saju746
    Participant

    Hello Friends, I need your help. How to get the latest reply on the top of the page. I tried a lot. But not got the solution. Where is the SQL has been written for getting the latest replies on top. Help me out please 🙁

    #162656
    Shmoo
    Participant

    Why is this topic not showing at index page? -test.

    #162640
    wplove3268
    Participant

    I’m implementing derricksmith01’s solution but I couldn’t find this file in the latest version of buddypress (Version 2.2.3.1):
    /buddypress/groups/single/plugins.php
    but found it here:
    plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php

    His solution worked (awesome!!!!) but only when I modified both my functions.php file in my child theme and the plugins.php file in the core files. The plugins.php mod will get erased with the next buddypress update. I tried recreating the same file structure to house the plugins.php file in my child theme:
    childtheme/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php
    but that did not work either.

    Any one know if derricksmith01’s fix is possible without changing a core file?

    #162630
    Robin W
    Moderator

    Great thanks – it should work, just I haven’t tested !

    aaronos
    Participant

    Hi there – thanks so much for your help so far. I did some more tests and I just cant get it to work (so looking forward to your template or codex changes.

    To summarise:

    1. I was only using WPtweaks to tell it which page to use as a template but no matter which one I told it to use – it didnt work. Have since de-activated

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

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

    4. 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

    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

    #162497
    Robkk
    Moderator

    did you copy it correctly I just tested it out and pasted it right from my functions.php file

    Im going to paste it again just in case it was me that forgot something.

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    #162495
    Robkk
    Moderator

    use this PHP function to resize the small avatars

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);

    The CSS you would have to use now is

    #bbpress-forums .bbp-author-avatar .avatar-24 {
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
    }

    and you can remove the first function i gave you to test with

    #162446

    In reply to: Searching by user

    Robkk
    Moderator

    @van24

    yeah i tested it and it seems to work good.

    and yes the PHP code snippets you can add to a child themes functions.php file.

    #162434
    Robkk
    Moderator

    @juggledad

    @robkk: Just to clarify something, the OR function_exists(‘is_bbpress’) was added (with some other code, to get around a bug that bbpress doesn’t seem to want to acknowledge or fix. see https://bbpress.trac.wordpress.org/ticket/2723

    Thanks for pointing that out, i did not know about that bug.

    Okay with this bug in bbPress you cannot use the WP conditional is_single() to affect all of the bbPress pages, since for some reason there is a bug for single user pages.Thanks for creating the trac ticket, I tested out and see that yes it does not work on user pages. Over the next few days/week i will check it out and see I can come up with a fix.

    But this bug is easily avoidable by creating a bbpress.php for your theme and just using the_content() instead of bfa_post_bodycopy() and removing OR function_exists('is_bbpress') from the bfa_post_bodycopy() function. The bbpress.php file also helps remove other post meta that might not be useful for bbPress forums instead of using CSS to hide them.

    The OR function_exists('is_bbpress') you can keep in bfa_get_options.php though as i do not see any problems with that.

    If there is something you can find on your end to fix the issue with your theme and bbPress then please drop an answer on this topic, because i haven’t looked and learned your theme 100% yet. Removing the function exists and creating a bbpress.php is the quickest solution to the problem that I could find.


    @kitfreeman

    This excerpt issue that you are seeing affects all of these areas

    category pages
    tag pages
    author pages
    archive pages
    search result pages
    and the home page

    which is where all the excerpt theme settings modify.

    #162427

    In reply to: Searching by user

    van24
    Participant

    Thanks Robkk! Let me know if/when you manage to test it. Would the php just be added to functions.php?

    #162422
    kylestubbins
    Participant

    I am a little confused on how and when updates are included in the released versions.

    Specifically, I am working on converting / importing a forum, but have run into errors, such as the sync table not being created. I do a Google search and find this –> https://bbpress.trac.wordpress.org/ticket/2650 which states that the problem has been corrected. Great!

    The problem is, the code shown here –> https://bbpress.trac.wordpress.org/changeset/5525 is not included with bbPress version 2.5.7, which is the latest release as of this writing. Lines 1023 through 1038 do not exist (just as an example as they are only comments… I picked this as it was easy to spot and just for reference).

    In fact, there are a bunch of things that are said to be fixed in the Trac (Thanks, Stephen), but they do not appear to be included with the official release of bbPress.

    Am I missing something?

    (Just a comment, but it would be nice to have version info in the headers of files as I cannot tell which version of converter.php is included with 2.5.7 without doing a diff on them and figuring it out from GIT.)

    #162408
    amckinnell
    Participant

    Hi Rob,

    i mean like does the issue show up in gmail?? why not try in ymail or outlook to see if the emails are just buggy in one place.

    Oh! I understand your question now (I thought you meant for sending the mail, which I think wordpress does). No, all my users can see it, so it’s happening in all email providers.

    if you havent already you might need to deactivate all plugins but bbPress in your test site.and hopefully see if that fixes anything.

    Okay. I’ll give that a shot. I think I tested that before, but I’m not sure now. I’ll try contacting siteground support about it again as well.

    Thanks for your help.

    Anne.

    #162404

    In reply to: Searching by user

    Robkk
    Moderator

    this has something to search by user.

    its not a plugin more of a file to put in a folder called bbpress in your child theme and some PHP code snippets but i will test it out to see if it works.

    https://github.com/MateuszNowicki/bbpress-Advanced-Search

    #162403
    Robkk
    Moderator

    I’m not even sure how I would go about setting up another email service. Hmmm…

    i mean like does the issue show up in gmail?? why not try in ymail or outlook to see if the emails are just buggy in one place.

    thats probably not it but you can try…

    if you havent already you might need to deactivate all plugins but bbPress in your test site.

    and hopefully see if that fixes anything.

    Before Posting

    other than that contact siteground support if you didnt already and see if they know anything.

    you can lead them to the topic you posted in this topic and also the links @jjj posted in his reply to that topic and maybe they can find something in your host setup.

    #162390
    amckinnell
    Participant

    Hi Rob,

    Thanks for your help. Here are the answers to your questions, as best I can!

    what is your host? Siteground

    mysql version ? Database client version: libmysql – 5.0.96 (Is this is right answer?)

    php version ? 5.4 (it wouldn’t load properly when I tried to update to 5.5)

    wp version ? live site is 4.1.5 – test site is 4.2.2 – it happens in both places

    do you use an exteranl service to handle email? not to handle these emails. Only mailchimp for my newsletters and stuff. I do have wpMandrill installed, but it is deactivated since it didn’t work quite right for me and I haven’t had a chance to get back to it.

    any plugins that affect the email process? I have autochimp to update my newsletter list automatically when new members sign up

    what email service are you using> maybe see if the issue persists in another email service. – I’m not even sure how I would go about setting up another email service. Hmmm…

    I am also using buddypress and s2member and a bunch of other plugins, but those are the biggies.

    Thank you so much for your help! I really appreciate it since I am over my head on this one.

    Anne.

    #162388
    Robkk
    Moderator

    hmmm that is odd. i did not find a css issue, so it must be something else.

    as a test try this to see if the avatars render correctly in the area if there is correct code.

    function rkk_topic_av() {
    	    	echo bbp_get_topic_author_link( array( 'size' => '48' , 'type' => 'avatar'));
    }
    add_action('bbp_theme_before_topic_title','rkk_topic_av');

    then give me the results then we will look over it more.

    Mr-B
    Participant

    Hi all
    Everything is latest versions.
    I have a problem where if bbPress is not activated, the feeds for a subcategory work fine, but as soon as I activate bbPress it “takes over” and the news feed on the same URL displays bbpress topic feeds.
    I tried disabling plugins / running some of the fix tools but does not seem to make a difference. Also have tried twenty-fourteen, no difference. Anyone else ever see this?

    Examples:
    without bbPress enabled, the KB or “knowledgbase” feed shows correctly:
    ===================================
    http://engdex.ch/kb/feed/
    Engdex.ch » Knowledgebase
    English speakers in Switzerland • free business directory and more
    Public Holidays in Switzerland 2015
    29 May 2014 08:10

    In Switzerland in each of the 26 cantons the public holidays are established independently,
    …. etc …
    ===================================
    With bbPress ENABLED the same knowledgebase feed becomes a forum one:
    http://engdex.ch/kb/feed/
    Engdex.ch » All Posts
    Forum guidelines
    21 June 2014 13:56
    Engdex Forum guidelines.

    Welcome! The Engdex forums are a place for seemly discussion about all things Switzerland and
    … etc etc..
    ===================================

    #162258
    viragohelpcom
    Participant

    I cant figure this one out. Linux based users can post but windows users cant. When they try to post it acts like it did as it bring them to the screen the says reply to this post. It even has the post title above like it made it but there is no content listed like when a normal post works. Then if you look it isnt there in the forum. Whats really weird is when I had attachments enabled it would put the image they tried to put to the post in the media library but no post appears just like regular posting. Ive personally tested this with several different computers at different people houses so it is not IP based problem. Hosting account has connections wide open. I removed all other plug-ins but still same problem. Deleted bbpress and reinstalled.. still same problem. Site is viragohelp.com. Please help I am at a standstill until I can get this resolved. Thanks in advance to anyone who replies.

    #162233
    Robkk
    Moderator

    @amalsh

    I double checked your function , and there is a couple of mess ups in the code.

    <p>
    <span style="text-decoration: underline; color: //color should be here
    <a class="hashtag" rel="nofollow" href="http://localhost/wordpress/forums/search/?bbp_search=%23000080">#000080</a> //color hex should not be in here
    ;”> //should end with </span>
    <em>
    <strong>
    <span style="font-size: 12pt;font-family: arial,helvetica,sans-serif">test</span>
    </strong>
    </em>
    </p>

    In some cases copying and pasting text from another website into the tinymce visual editor may show the html still , so it is recommended to use the last function mentioned in this post.

    Enable Visual Editor

    This function works , if im missing something I might update it for users that usually use tinymce advanced with it so that every button should work properly.

    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,
    		),
    		
    		// Div
    		'div' => array(
    			'class'     => true,
    		),
    		
    		// Span
    		'span'             => array(
    			'class'     => true,
    			'style'     => true,
    		),
    
    		// Paragraph
    		'p'          => array(
    			'dir'    => true,
    			'style'     => true,
    		),
    		
    		// 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,
    		)
    	);
    }

    This function only works before the post is published , it does not magically fix old posts that were already published. You probably would have to edit old posts then resubmit for it to fix , but I am not sure.

    #162211

    Topic: Forum Counts

    in forum Plugins
    Vignesh M
    Participant

    Hi there This my public page(http://test06.aachicargo.com/members/) I viewed all members on this page….. if someone enter onto my site to this page URL (http://test06.aachicargo.com/members/) means have to see who are all the members and let know each members how many topics,forums,replies created??

    For example….
    1. Jared Delprat
    Total Number of forums Published by user: 3
    Total Number of Topics Published by user: 5
    Total Number of Replies Published by user: 12

    2. Richard
    Total Number of forums Published by user: 8
    Total Number of Topics Published by user: 10
    Total Number of Replies Published by user: 24

    3. John
    Total Number of forums Published by user: 10
    Total Number of Topics Published by user: 13
    Total Number of Replies Published by user: 14

    so…………and so……
    This above example of method i want to view on that page..

    some forum users suggest me to used bbtopic count plugin. I also tried bbtopic count plugin but that plugin concept is when user enter logged onto his profile only view as all counts… but i don’t want that type…

    Please give me a solution..

    Advance Thanks!!!!!

    #162209
    Vignesh M
    Participant

    Hi @robkk i think u didn’t understand my questions see what i want is…This my public page(http://test06.aachicargo.com/members/) I viewed all members on this page….. if someone enter onto my site to this page URL (http://test06.aachicargo.com/members/) means have to see who are all the members and let know each members how many topics,forums,replies created??

    For example….
    1. Jared Delprat
    Total Number of forums Published by user: 3
    Total Number of Topics Published by user: 5
    Total Number of Replies Published by user: 12

    2. Richard
    Total Number of forums Published by user: 8
    Total Number of Topics Published by user: 10
    Total Number of Replies Published by user: 24

    3. John
    Total Number of forums Published by user: 10
    Total Number of Topics Published by user: 13
    Total Number of Replies Published by user: 14

    so…………and so……
    This above example of method i want to view on that page..

    some forum users suggest me to used bbtopic count plugin. I also tried bbtopic count plugin but that plugin concept is when user enter logged onto his profile only view as all counts… but i don’t want that type…

    did you understand? please give me a solution

    #162172

    In reply to: Topic Icons?

    Robkk
    Moderator

    @jerichox

    worked fine when i tested it out.

    The icon only should show to posts as new as 30 minutes from creation date the way you have it.

    #162168
    bennypowers
    Participant

    I’ve gone through the setup process as well as I can tell, but I get this error when replying to a test topic on the web.

    Catchable fatal error: Argument 2 passed to Falcon_Handler_Postmark::send_mail() must be an instance of Falcon_Message, string given, called in /home/gabrie37/public_html/jewishartistcenter.org/wp-content/plugins/Falcon-master/library/Falcon/Connector/bbPress.php on line 130 and defined in /home/gabrie37/public_html/jewishartistcenter.org/wp-content/plugins/Falcon-master/library/Falcon/Handler/Postmark.php on line 33

    the reply is posted, i can see it when i go back and refresh the page, but i don’t get any email.

    #162142
    tarnvogL
    Participant

    @robkk
    thank you!
    To give the usernames some custom css, I added a custom class into the loop-single-reply.php
    Here is the part of the code with the custom class (custom-forum-user)

    [...]	
    <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
       <div class="custom-forum-user"> 
    	   <!--- <?php bbp_reply_author_link( array( 'sep' => '<br />',  'show_role' => true ) ); ?> -->
    		<?php bbp_reply_author_link( array( 'sep' => '<br />', 'size' => 150 ) ); ?>
       </div>  <!--- custom-forum-user -->
    
    		<?php if ( bbp_is_user_keymaster() ) : ?> 
    [...]

    But the problem still appears, even when I am not loading my custom loop-single-reply.php. So I think it is not an issue of that.

    I also deleted the user links to their forum profile in my functions.php. But even this (I tested it) is not the cause of the problem with the lower case letters. This is everything I changed regarding the forum user names.
    What do you think can I do to fix this issue?

Viewing 25 results - 3,576 through 3,600 (of 11,598 total)
Skip to toolbar