Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,376 through 13,400 (of 32,503 total)
  • Author
    Search Results
  • 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.

    #139012
    inspirationally
    Participant

    Allright, found it in single-forum-content.php –

    <?php if ( !bbp_is_forum_category() && bbp_has_topics( array( 'meta_key' => '_bbp_language', 'meta_value' => 'German' ) ) ) : ?>

    should work

    #139008
    inspirationally
    Participant

    After moving my bilingual 200,000 posts forum from Woltlab to bbPress, I realized, that the completely English forum with English forum descriptions etc. is too difficult for some of the German members, so I would like to somehow filter the German topics.

    Already before importing, I created a custom field bbp_language and when creating the topic, they can chose a language, so that in the topic overview, you can see either of the flags – see http://deppheads.com/forums/new-posts/

    With qTranslate, I can add German Forum descriptions, but maybe there is an easier possibility with just adding such a field to the Forum descriptions, not the whole site. I will have to write a little custom fields plugin for that.

    I have no idea yet, how to set the language…if to display one language only or all – if it is in the profile, Cookie, if it is a little extra-URL like /de/ or a drop down?!?

    My bigger problem is, how can I make, in the sub forums, that only threads with German or only English threads will be shown? Is there some filter / hook that I can use?
    Any file or function or short code?

    Like in „normal WordPress“ it would be

    
    <?php query_posts('meta_key=bbp_language&meta_value=German‘);  ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    #139005
    Robin W
    Moderator

    and that class is the one you tried to change, it is on line 166 of bbpress.css

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	background: none;
    	border: none;
    	font-size: 16px;
     	line-height: 1em;
     	margin: 8px 0;
    	padding: 0;
    	text-transform: none;
    }
    #138993
    bbp-fan
    Participant

    I have just seen in the source code that the line that I want to change is
    a class = "bbp-forum-title"
    Apparently the LINK class is defined anywhere else?

    #138988
    Robin W
    Moderator

    Ok, you can add the following to it

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	font-size: 16px !important;
     	}

    16px is what it is currently set to, just alter the 16px to whatever size you want

    h3 by the way is “heading 3” there are a number of different heading sizes that bbpress sets and uses, that are separate from your main themes h3

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