Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,501 through 7,525 (of 32,508 total)
  • Author
    Search Results
  • #168212
    Robkk
    Moderator

    I cannot see the forums but I do see it in the source code??

    Does this only happen in your currently active theme??

    #168211
    Robkk
    Moderator

    Here is a function to show the You Are Here: text.

    function rkk_breadcrumb_text() {
        $args['before']  = '<div class="bbp-breadcrumb"><p><span class="bbp-breadcrumb-text">You Are Here: </span>';
        return $args;
    }
    add_filter('bbp_before_get_breadcrumb_parse_args', 'rkk_breadcrumb_text');

    You may have to edit this function later if bbPress shows their breadcrumb items in a list though.

    #168198
    lissyhunnybee
    Participant

    Hello everyone, I am new to bbpress and slowly working my way around lol

    I’ve modified template.php to add the text “You are here:” to the breadcrumbs to match the breadcrumbs for the rest of my site, but I’d prefer to use a function to make these changes instead. The problem is I cannot wrap my head around the proper code and nothing I have found through searching has worked so far.

    Can someone help me with this please?
    My site: http://www.lissyhunnybee.com/discussions/

    I have the latest versions of both wordpress and bbpress and am using the Darling theme which is a child theme of Genesis/Studio Press.

    Thanx in advance 🙂

    #168183
    GTAtherton
    Participant

    I have just re-installed bbPress after looking at several alternatives as although it was the first I tried it seemed to be incompatible with the custom template I am having to use.

    Link to screenshot

    I looks to me that the forum needs a wider page in order to organise its components properly as they are jumbled up. The forum does work in that I can enter text – it is just a bit of a mess. I might even suggest styling is very minimal

    I have tried making a full width page (no sidebars) and then substituting page name into ‘Forum root’ and it seemed to work BUT the forum was loaded with sidebars as before so no improvement.

    I have read of a somewhat complex solution involving child templates and monifying style sheets but that seems dreadfully long winded and prone to error for a WP non-coder such as myself.

    Is there an easier way to prevent sidebars from loading?
    Or is there a way I can generate a page eminating from a different template on which I can load bbPress? The latter might give me a nicer forum styling too.
    Is there a way to load the forum into an existing page via html/Js code for example – as an iFrame perhaps?

    Thanks for any help – if it has to be the most difficult way then please say!

    #168180
    Boscol99
    Participant

    Hey,

    My site and forums were working fine, but then the specific forum pages started getting a 404. I reset permalinks through backend and then manually, but it is still happening. I shut off all plugins and turned on one by one, but same issue. If I use the shortcode on a post it works. I tried s different slug as well, but no luck. Any ideas what I am missing? My site is http://www.capecodchatter.com
    The forum index is http://capecodchatter.com/forums/ which works fine, but all the specific forums are 404. I appreciate the help.

    #168177
    Robkk
    Moderator

    Hopefully this guide helps you. It lists some help for an import getting stuck and also ways to optimize the import process.

    Import Troubleshooting

    #168176
    Robkk
    Moderator

    You add the php code snippet to your child themes functions.php or in a functionality plugin that can hold custom code snippets to fix this issue if you have a port number in the urls while using xampp server.

    ERROR: Are you sure you wanted to do that?

    #168173
    Robkk
    Moderator

    Yeah its all good.

    Oh, if you are just not going to use the breadcrumbs you can just display: none; instead.

    #168172
    neilgee
    Participant

    I just got this issue but it only occurred when upgrading a site to PHP 5.6(previously on 5.4).

    Warning: in_array() expects parameter 2 to be array, null given in /home2/tabbangy/public_html/tabban/wp-content/plugins/bbpress/includes/common/functions.php on line 1446

    I did have Yoast SEO installed but on deactivation the error still persists ( i don’t have NEWS SEO).

    Reverting back to 5.4 clears the error.

    #168170

    In reply to: Random Unsubscribe

    Robkk
    Moderator

    The emails magically stopping and topics being automatically being unsubscribed is a weird issue. Only thing I could think is that a user may not know that they are unsubscribing their own topics without knowing, or something or someone has run a process to bulk unsubscribe a users topics.

    Does it happen to all subscriptions for the user, or just a few?
    Any plugins that modify bbPress’ subscriptions?

    Have you done some plugin troubleshooting, to see what may be causing the issue??

    Troubleshooting

    #168167
    Robkk
    Moderator

    I say since I think you are trying to set up hiarchal forum and category layout, insert this loop-forums.php file into your child theme instead of what you did.

    https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout/blob/master/loop-forums.php

    If you want to try to add the hook into the bbp_list_forums() function, you have to filter the output put the hook before every list item.

    bbp_list_forums

    #168165

    In reply to: Random error

    Robkk
    Moderator

    Is this the type of error you are getting in the red notice?? It might be translated different if you have a different language for your forum.

    Just make sure you have some content in your message to a topic.

    null

    Go through some troubleshooting. See if it could be custom php code snippets that could be causing the issue in a child theme functions.php or in a separate plugin.

    Troubleshooting

    #168163
    Robkk
    Moderator

    @shawnsauce

    Was the forum ever in a BuddyPress private or hidden group??
    Did you ever use another private group plugin and make that group with the forum private?
    Has the forum ever a private or hidden forum??
    Does this only happen in your current theme?
    Have you tried disabling all plugins except bbPress to see if the issue persists?
    Have you tried running the repair tools one at a time in the WordPress backend in Tools > Forums.

    Troubleshooting

    Also I am testing with this theme and I am not getting this issue, I think there must be some setting somewhere that is making the forum not be visible in the search results.

    #168161
    desert-rover
    Participant

    I’m trying to use wp_query in a plugin. One that allows me to export data to csv and I wanted to use the query to combine all the bbPress custom post types. Which I was able to do, but I also wanted to add a filter on the date and not sure how to do that.

    This worked here to get ALL the forum data exported:

    ‘post_type’ => array) ‘forum’,’topic’,’reply’ )

    The plugin just gave me a field to enter that so I didn’t need the rest of the php code.

    #168159
    Robkk
    Moderator

    You can use a bunch of IDs and classes for that simple search button, I went with this. It seems to work if you add !important for the :hover css.

    #bbp-search-form #bbp_search_submit {
        text-indent: 0;
        background: none;
        background-color: #1e73be;
        color: #fff;
        width: auto;
        height: auto;
        border-radius: 0;
        margin-top: 0;
    }
    
    #bbp-search-form #bbp_search_submit:hover {
        background-color: #000 !important;
    }
    #168155
    Pascal Casier
    Moderator

    Hi,

    Did you try something like this ?

    #bbp_search_submit.button {
       background-color: #1e73be;
       ...
    }

    Just guessing, cannot try it myself here.

    Pascal.

    #168153
    gene-stevo
    Participant

    WP: 4.3.1 bbPress: 2.5.8 Theme: Jolene
    Hi Folks,
    I’m trying to tweak the colours of a site I’m building as a “learn WP” excercise and I cant find out how to change the colour of the Search button on my forums page.
    I have Custom CSS installed and I’ve entered this to control the Up and Over states of the SUBMIT button:

    #bbpress-forums .submit {
        background-color: #1e73be;
        color: #FFFFFF;
        float: center;
        vertical-align: middle;
        border-radius: 4px;
        height: 35px;
        width: 120px;
        font-size: 14px !important;
    }
    #bbpress-forums .submit:hover{
        background-color: #82D646;
        color: #FFFFFF;
        float: center;
        vertical-align: middle;
        border-radius: 4px;
        height: 35px;
        width: 120px;
        font-size: 14px !important;
    }

    I’ve also got this to control the colour of the SEARCH button but adding the :hover at the end of a copy of the original CSS, at the end of the id name doesn’t work.

    #bbpress-forums #bbp-search-form input[type=submit], 
    #bbpress-forums #bbp-search-form input[type=submit] {
        text-indent: 0;
        background: none;
        background-color: #1e73be;
        color: #fff;
        width: auto;
        height: auto;
        border-radius: 0;
        margin-top: 0;
    }

    Any Ideas greatly received. The Forums page is here if MEMBERS PAGES password requested it is… ccc

    #168148
    Pascal Casier
    Moderator

    Hi desert-rover,

    Are you looking for a database query to run directly towards the database ? Or are you looking for a piece of PHP code using bbPress and wordpress functions ?

    Pascal.

    #168143
    desert-rover
    Participant

    I understand the concept of WP_Query but am not anywhere near enough of a coder to write one. I need help writing a query that will call up all the replies in a certain month and year, and include the topic and forum the reply is attached to. Can anyone help me with that?

    #168134
    Pascal Casier
    Moderator

    Hi Rourke,
    Not sure I understand your question, but if you want to list all forums, this is a loop I have in one of my plugins:

    	if ( bbp_has_forums() ) {
    		while ( bbp_forums() ) {
    			bbp_the_forum();
    			$forum_id = bbp_get_forum_id();
    			$forums_title = bbp_get_forum_title($forum_id);
    			array_push($all_forums_ids, $forum_id);
    			<...>
    			// Check for subforums (first level only)
    			if ($sublist = bbp_forum_get_subforums($forum_id)) {
    				$all_subforums = array();
    				foreach ( $sublist as $sub_forum ) {
    					<...>
    				}
    			}					
    			$i++;
    		} // while
    	} // if

    Hope it gets you in the right direction,
    Pascal.

    parmaker
    Participant

    I just transferred the whole site, which is housed under a non-bbpress-like CMS package, into bbpress by the built-in tool.

    Every thing looks fine.

    But I have yet to put them in production because of one reason:

    Let’s think about the following:

    1. a visitor landed my home.
    2. he/she went to a forum.
    3. the forum shows topic index and a paginator on top or bottom of topic index box, based
    4. on the max of lines configured.
    5. the visitor travelled back and forth in site the forum by clicking the paginator. for ex, if the forum has 100 topics and max line is configured as 15, then paginator links would be 1,2,3,4,5,6,7.
    6. supposed that the visitor clicked 3-pgnator before clicked 5th topic.
    7. that is, the visitor is reading the 35th topic and replies if any.
    8. at this time the vistor changes mind to go to 2nd page.
      so the visitor go back to the previous topic index before clicking 2-pgnator link.

    Now the visitor grumbles. the topic view page(the one described at 6.) shoud have got the topic index and paginator below the topic view. So we dont need to do extra clicks.

    This scenario is totally from the customers’ view point. Unfortunately, there are some tools in the world prviding such features, and they asked the site builder to implement that feature.

    Because old system has it and the bbpress out of box does not, i do not think the request is wrong.

    I have tried to find a solution, but not. for ex, i put
    echo do_shortcode(‘[bbp-single-forum id=$f_id]‘);
    at the bottom of conent-single-topic.php

    Then looked great, but problem is:

    In case that said above 6., the 3th topic index should be shown but shows 1st page, which is not getting sync’ed with the current topic’s position.

    so i have to look into source code.

    As far as I learned from it, bbp-single-forum short code is the very candidate, I guessed. But no clue to me.

    display_forum function is out of control by myself, I guess.

    Hopefully, some help or idea is in need. Or, let me know what I missed or overthought.

    Thanks.

    #168127
    parmaker
    Participant

    Maybe similar with me.

    bbpress.org support forum’s landing page shows elegantly topic titles and paginator at the bottom. That’s good. Now we are clicking the paginator a couple of time, i.e we are in page #4, where clicked a topic.

    Then we can see a lead topic and replies if any. So if we want to next pages, we should get out of the topic and back to the previous, then we click again paginator to go further.

    From the view point of bbpress, it is so natural. But little bit redundant transactions were. If the topic view can duplicate the single forum topic index into bottom part, it might be to cut down one transaction from visitor. (customers complain redundant click, they dont care how, but developer cares)

    up to this point, only one statement – echo do_shortcode(‘[bbp-single-forum id=$forumid]‘) is enough to put at the bottom of conent-single-topic.php

    But problem is that it always shows from the very first page. If i am reading a topic of 5th page, the above shortcode should get synced, but still shows from very first.

    display_forum of BBP short code class does not show any clue to this issue.

    my straight guess is bbp developers consider kind of a heavy burden to mysql because entire topic-typed posts should be read for every single topic view.

    In real world out of bbpress, their forum package provide such features.

    One reason that i wrote this, to ask around you what I missed or now mislead, and better idea.

    If you think this repl is not related to this topic, i am sorry.

    sk90
    Participant

    How can I change the freshness parameter of Recent Topics in the Forum Index, which appears by pasting the shortcode [bbp-forum-index]?

    Right now it says No Topics for all the forums I have (please see link: http://mavipamumb.ns36.interactivedns.com/forum/ ). I want it to show the date of the last topic or post in that forum.

    Please let me know if it can be done.

    Thank you.

    #168098

    In reply to: Registration problem

    Robkk
    Moderator

    This could be your host adding an extra security layer to your website. You may need to contact their support team.

    Following this guide could help too.

    https://codex.wordpress.org/Login_Trouble

    #168094
Viewing 25 results - 7,501 through 7,525 (of 32,508 total)
Skip to toolbar