Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,376 through 13,400 (of 32,508 total)
  • Author
    Search Results
  • #139098
    bbp-fan
    Participant

    No, unfortunately not. 🙁 Also not with ! important.
    Although these are exactly the two titles that I want to enlarge! The only that works is the solution with inherit, but that just increases all fonts in the forum and I do not want that. It also destroys the layout. I’m certainly not a CSS professional, but I have changed so much and it all worked. Why does this one not work?? I really do not understand what’s going on.

    Is there any way to ask one of the bbpress-people?

    #139097

    WP 3.7.1, BP 1.8.1, bbPress 3.4.1. Forum is within a Group.

    I’ve recently been seeing Internal Server Errors when trying to make new forum posts and replies. After clicking the Submit button it takes about 40 seconds and then the error appears. Interestingly, the UTL in the address bar changes to that of a recent post.

    I have checked the server logs and see these 2 lines:

    [warn] mod_fcgid: read data timeout in 40 seconds
    [error] Premature end of script headers: index.php

    This is a recent development and, to the best of my recollection, I haven’t changed anything.

    Any insights would be much appreciated.

    Cheers

    #139095
    squid1974
    Participant

    Following is my loop-forums.php – I still don’t understand where the title is coming from…

    
    <?php
    
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    
    <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
    	<li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?> </li>
    			<li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
    			<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li><!-- .bbp-header -->
    
    	<li class="bbp-body">
    
    		<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
    
    		<?php endwhile; ?>
    
    	</li><!-- .bbp-body -->
    
    	<li class="bbp-footer">
    
    		<div class="tr">
    			<p class="td colspan4">&nbsp;</p>
    		</div><!-- .tr -->
    
    	</li><!-- .bbp-footer -->
    
    </ul><!-- .forums-directory -->
    
    <?php do_action( 'bbp_template_after_forums_loop' ); ?>
    
    #139092
    squid1974
    Participant

    Hi all,

    I can’t find where the title output is coming from. I want to wrap it in a <h1>. In the default templates it starts with <div id="bbpress-forums"> and the title’s output is before that. But where is it coming from? I can’t find it.

    P4p3Rc1iP
    Participant

    Alright, so just making a php scrip with this:

    <?php mail(‘MyEmailAddress@domain.com’,’Subject of the e-mail’,’This is the body of the e-mail!’); ?>

    sends me an e-mail. This leads me to believe the problem is indeed not with my host but with WP/BBP…

    Lynq
    Participant

    You need to get that code error resolved before worrying too much about the email issue, get it resolved then see if the email issue still persists.

    Some troubleshooting tips:

    Disable plugins one by one to find the error
    Switch to a standard theme

    Good luck!

    P4p3Rc1iP
    Participant

    Also when users try to recover password, they see the same wp-login.php page displaying just code. I this an issue with the server not being able to send emails or something?

    #139073
    Stephen Edgar
    Keymaster

    Are you using the WXR Importer?

    There was a ‘Google Summer of Code’ project recently and the WordPress importer was forked and updated, if you have issues with the standard version maybe give that a try.

    Details and links can be found via https://make.wordpress.org/core/author/frederickding/

    #139065
    AlexKach
    Participant

    Yes you are right ability to put swf into the wordpress forum is crucial. I’ve got how to do it. Looking stupid but it works. Here is the code:

    <object width=”399″ height=”270″>
    <param name=”movie” value=”http://dev4ata.com/aa/Seasons.swf”&gt;
    <embed src=”http://dev4ata.com/aa/Seasons.swf&#8221; width=”399″ height=”270″>
    </embed>
    </object>

    here is the result:
    http://dev4ata.com/?topic=woman-is-angel&paged=3#post-12575

    #139064
    rahman.mahfuz
    Participant

    I was also using a Child Theme of Woothemes Canvas Theme. In my case, it was resolved using the following (I found this solution in this site – http://www.pootlepress.co.uk/2013/06/65-tips-tricks-and-css-tweaks-for-woothemes-canvas/):

    Fix for BBPress and Canvas (5.2 and higher)
    ———————————————

    Matty Cohen from WooThemes provided the fix for this one 🙂

    Add a file called “bbpress.php” into your child theme. This file can be downloaded here: https://gist.github.com/mattyza/1b01583441b11c8d04d0
    Add the following code in the designated area of your “functions.php” file: https://gist.github.com/mattyza/f210cadb7f70188d513d

    #139063
    Jgonl
    Participant

    I figured I should go where the code and may assert.
    Thank you again

    #139056
    Jgonl
    Participant

    Where to put the code?

    #139055
    FreeWPress
    Participant

    Try add this in your css:

    .bbp-forum-title,
    .bbp-topic-title {
       font-size: 16px;
       font-weight: bold;
    }
    #139053
    bbp-fan
    Participant

    Hi Robin,
    no, unfortunately, that also does not work. It changes the title in the blog, not the bbpress-forum.

    It’s absolutely crazy.
    I just made ​​some changes to the existing CSS in my child-theme to see if the css file is ever used. But EVERYTHING works. Only with these two bbp-titles (forums und topics) nothing works.
    I’ve just tried the following:

    . bbp-forum-header a.bbp-forum-permalink,
    . bbp-topic-header a.bbp-topic-permalink,
    . bbp-reply-header a.bbp-reply-permalink {
    font-size: 18px;
    }

    Nothing happens.
    But: Somewhere the size of this fonts must still be defined!! (???)

    Apparently no one of the bbpress programmers reads here in the forum. Too bad. 🙁
    I give up now.

    Thank you, that you were so kind and patient!

    #139052
    Robin W
    Moderator

    I just took a look at my forum

    On a single topic display, my css is from line 575

    #content .entry-title {
        color: #000000;
        font-size: 21px;
        font-weight: bold;
        line-height: 1.3em;
        margin-bottom: 0;
    }

    and when I view a topic title in a list of forums it is from line 475

    #content, #content input, #content textarea {
        color: #333333;
        font-size: 16px;
        line-height: 24px;
    }

    Have you tried either of those?

    It is frustrating that I can’t directly see what you’re looking at 🙂

    #139050
    KatieKat
    Participant

    I know this has been asked before and have searched endlessly through the support threads but I cannot get any of the code supplied to work.

    Is there any way to have a minimum topic and minimum reply length. I want to stop users posting short comments especially on replies and restrict them to a minimum of 50 characters.

    #139045
    ralcus
    Participant

    I had an issue with the profile pages 404’ing.

    In my case it was down to the ‘Forum Root’ i had set in the forum settings. I set a ‘Forum Root’ with a preceeding / like this ‘/forum’.

    I then ticked the ‘Prefix all forum content with the Forum Root slug (Recommended)’ box.

    This resulted in rewrite rules for the user pages like this
    [/forum/users/([^/]+)/?$] => index.php?bbp_user=$matches[1]

    which did not correctly match. I removed the proceeding slash from my ‘Forum Root’ so it looked like this ‘forum’ and then the rewrite rules that were created looked like this:
    [forum/users/([^/]+)/?$] => index.php?bbp_user=$matches[1]
    (no proceeding slash) and it worked.

    Maybe the ‘Forum Root’ should have any proceeding slash removed by default to account for this scenario?

    #139037
    Stephen Edgar
    Keymaster

    Run each of the Repair Tools one by one 🙂
    https://codex.bbpress.org/repair-forums/

    #139031
    Stephen Edgar
    Keymaster

    Did you import the users twice?

    Presumably you should see user1 & imported_user1 in wp-admin user panel?

    You should be able to delete imported_user1 and it will prompt you to attribute everything to user1 via a dropdown selector.

    #139019
    Robin W
    Moderator

    Yes, and I totally agree, the documentation is woeful, unfortunately those that know the answers won’t update, and the rest of us work out bits that function, but are never sure whether these are the best ways.

    Anyway onto your question.

    bbPress is a plugin, and out of the box it works well with twentyten, and I understand twentyeleven.

    Beyond that you’ll need to style it.

    This consist of two elements :

    Functionality
    Styling

    Functionality

    I create a page called “forums”, and then put whatever forum text at the top followed by the forum shortcut [bbp-forum-index]

    See http://www.gospbc.co.uk/forums/ for an example

    Then loading a plugin called bbPress WP tweaks adds a forum sidebar to your widgets area.

    I have loaded this with a login widget, forum list, recent topics and recent replies, as well as some other stuff from my website. See link about for what is in there.

    This then gives you a basic forum area.

    Then onto

    styling
    bbPress using the default bbpress.css as it style doc unless you tell it otherwise

    You can customise look and feel – fonts, colours, background quite easily by using one of two methods, knowing what to change is the hard part !

    If you have an existing child theme, you can override the bbpress default for elements by adding them to your own child theme style.css BUT you need to put !important into them to prevent the bbpress plugin from loading later and overwriting them with the default

    As an example if you wanted to change the font-size of the forums list you’d put the following into your css

    #bbpress-forums .bbp-forums-list li {
    	font-size: 11px !important;
    	}

    The alternate method, and perhaps better if you want to make lots of changes, is to copy the default bbpress.css from /wp-content/plugins/bbpress/templates/default/css
    to /wp-content/themes/%your-theme%/css/

    you can then edit it there to your hearts content, and you don’t need the !important bit.

    OK so how do I know what to edit?

    You’ll need to get familiar with using something like firebug with firefox. This lets you examine sections of your website and see precisely what css element is styling it.

    http://www.youtube.com/watch?v=tdIk2PztcL0 gives the start of a tutorial on this

    When I get a moment, I’ll start to add this to the bbpress documentation.

    I only started with WordPress and bbPress in March, and am still learning the basics !

    #139016
    thirtyfivemill
    Participant

    Guys, I’ve searched goodness knows how many threads, read the two standard documentation posts and I cannot for the life of me fathom how to activate a simple bbpress theme. Every thread I read tells of others with the same problem or notes that the documentation is out of date.

    Has anyone written a concise and easy to follow step my step instruction post on how to install and activate a theme using the current release of bbpress? Or a video? I just can’t figure how I can spend an entire day googling and searching the site for something which virtually every new user would look for within the first phase of bbpress installation and setup? Have a I missed it?

    As far as I’m aware I’ve done everything asked for in these two posts:

    http://codex.bbpress.org/theme-compatibility/

    http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    yet having followed them to letter as best I could I can’t quite see how the newly installed “blue static” is to be called into play as functions.php is calling for the default theme?

    The two posts above seem to get you about 90% there and then fail to explain the last few steps required to actually make everything work. Or it could be I’m going senile very early in life, in which case please for give me but could someone help me anyway? 🙂

    Many thanks in advance for any help you might offer.

    #139015
    Daniel Lemes
    Participant

    Anywhere in your theme (i put on a custom page template), use this:

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("bbp_role");

    …where “bbp_role” can be “bbp_keymaster”, “bbp_participant”, etc. This worked for me.

    https://codex.wordpress.org/Function_Reference/remove_role

    #139014
    Daniel Lemes
    Participant

    At least i found how to remove this annoying roles.

    Anywhere in your theme (i put on a custom page template), use this:

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("bbp_role");

    It was the only way to remove bbp_keymaster and bbp_participant roles that keep appearing even after uninstall bbPress.

    phendyr
    Participant

    Hi folks,
    newcomer to bbpress, and I appreciate anyone’s time/effort to help resolve my question. I’m trying to write a php script that will display the most recent 3 topic titles/excerpts from the bbpress forum, onto the homepage of my website.

    Existing posts I’ve found so far are from several years ago, and so if there’s something that exists already, I would greatly appreciate getting pointed in the right direction.

    Thanks again.

Viewing 25 results - 13,376 through 13,400 (of 32,508 total)
Skip to toolbar