Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,526 through 14,550 (of 32,519 total)
  • Author
    Search Results
  • #130674
    Oazar
    Participant

    Hello,

    I am trying to get the po and mo files to work so as to translate the forum into French.
    I followed the codex :

    – got both po and mo files from bbpress server,
    – renamed them to bbpress-fr-FR.po and same for the mo file,
    – uploaded them to wp-content/languages/bbpress folder, as well as into wp-content/plugins.bbpress/languages.
    – my wp-config file asks for french as well
    – changed languages folder permissions to 777

    I cleared my cache about 100 times, but well, no results, eveything is still in English.
    really don’t know what to try next.
    may you help ?

    thanks !

    #130456

    In reply to: Codex Spam

    Stephen Edgar
    Keymaster

    That is rather sneaky… @JohnJamesJacoby has now removed them.

    As for an SOP I think this thread is it for now… (Also ping @JJJ on Twitter or #IRC)

    #130453

    In reply to: Codex Spam

    @mercime
    Moderator

    @chipbennett reported this to JJJ. Thanks.

    #130452

    In reply to: Codex Spam

    Chip Bennett
    Participant
    #130451
    Chip Bennett
    Participant

    Just noticed this:

    http://codex.bbpress.org/on-line-income/

     

    What’s the SOP for dealing with/reporting such?

    #130445

    In reply to: Add forum roles

    Edit the file in wp-content/plugins/bbpress/includes/core

    the file to edit is called capabilities.php

    Incorrect; *never* edit any files in bbPress’s directory; you’ll lose those edits when software updates come in.


    @anallabres
    – Research how WordPress’s actions/filters/plugins work. It’s a little dizzying at first, but a few lines of code can get you up and running.

    #130436

    In reply to: Date format in spanish

    LChambers
    Participant

    Please try this code instead:

    add_filter ( ‘bbp_get_reply_post_date’, ‘act_fecha’, 10, 6);
    add_filter ( ‘bbp_get_topic_post_date’, ‘act_fecha’, 10, 6);

    function act_fecha( $result, $reply_id, $humanize, $gmt, $date, $time ) {
    $date = get_post_time( get_option( ‘date_format’ ), $gmt, $reply_id, $translate = true );
    $result = sprintf( _x( ‘%1$s at %2$s’, ‘date at time’, ‘bbpress’ ), $date, $time );
    $return $result;
    }

    The above code would now work.

    Via ayudawordpres.com/foros

    #130434
    Jerry
    Participant

    I would like to remove ‘You may use these HTML tags and attributes:…’

    I am using the Thematic Theme 1.0.2.1
    and bbPress plugin 2.2.4

    I put this code in my themes style.css file:

    .form-allowed-tags{
    display:none;
    }

    This removed ‘Your account has the ability to post unrestricted HTML’ when I am logged in as admin.

    Everything I have found in forums about removing ‘You may use these HTML tags and attributes:…’ refer to the Twenty Ten theme, and files and code I can’t find.

    Thank You

    leanderbraunschweig
    Participant

    The code got stripped! Can you post again?

    #130405

    In reply to: Date format in spanish

    alfredo49
    Participant

    There is a problem with that code when using latest post bbpres widget

    “last post was 43 years ago” when the last post was 6 days ago

    Regards

    shortoldtree
    Participant

    Thank you so so much fontadoni for the detailed reply. Works perfect fine. I had no idea what shortcodes were; my bad, should have read the documentation properly. Also, thanks for explaining how to use these shortcodes on the required page!

    fontadoni
    Participant

    Hey there,

    The answer might be a no brainer for others that have been using the plugin version of bbpress for a while, but just like you I just migrated from the standalone version and suddenly I felt completely lost as I was used to editing the php templates for everything. I probably missed this explanation as it’s been a while since I visit bbpress.org.

    Here’s the deal. You need to use the shortcodes provided here: https://codex.bbpress.org/shortcodes/

    That’s the short answer. What I didn’t know was that you need to add these shortcodes on the page you create in WordPress for your forums. So, say you have your forums at yoursite.com/forums. You need to create a page in wordpress called “forums”, after you have done that, you can add the shortcodes on the page to customize bbpress to your liking (others can correct me if I’m wrong as I just recently figured this out).

    So adding [bbp-forum-index], will display your entire forum index. Then you would need to add [bbp-topic-index] to display the most recent 15 topics across all your forums with pagination.

    What I still have not been able to figure out is that when you add the login tag [bbp-login] on the homepage (not the sidebar), there’s no option for login out once you’re logged in. If you find the answer for this, let me know. Hope this helps.

    #130376
    Sudeep Acharya
    Participant

    Hi,

    I have installed the bbpress plugin along with buddypress, it’s working but strange thing is happening.
    Here is my forum but when I add the bbcode to display it, it gives me a weird look. Please check.

    Please be kind enough to tell me where I have gone wrong.

    Regards,
    Sudeep Acharya

    Stephen Edgar
    Keymaster

    @unsalkorkmaz Congrats… There is some neat code in your theme…

    #130370
    wpmhweb
    Participant

    Hello,

    I am trying to modify the default bbPress theme and it is driving me crazy. What’s the best way to figure out which specific file a need to edit to add or remove code?

    Thank you!

    Unsal Korkmaz
    Participant

    And theme got approved 🙂
    https://themes.trac.wordpress.org/ticket/11702

    That means theme code is checked by theme reviewers and its trustworthy. You can download from WordPress.Org soon. Meanwhile  you can explore theme or download from http://theme.firmasite.com/

    #130335
    jtong80
    Participant

    I used the login shortcode, but it doesnt let me logout after signing in. Is there a logout shortcode?

    #130324
    E-SOL
    Participant

    I am a new WP (version 3.5.1) user, and I don’t know much about html and other codes. I have set up WP with help from firends, and I have managed to create a forum myself with bbPress (version 2.2.4).
    It looks good, but my problem is that when I return from a topic to my main forum page the title of the page changes to the first topic in the list.
    As a work-around I found a solution that suggested creating a new wp page and adding “[bbp-forum-index]“. This works and looks good, but when I click on Forum to go back to my main forum menu, I am returned to the bbPress main forum menu where the title is wrong. How can I return to my own WP forum page after visiting a topic?
    Is there and address or a code string I can add somewhere in the plugin program? – or perhaps it isn’t that easy? Can anyone please help me?

    #130323
    jtong80
    Participant

    Bump for any help. The URL is aeris.com/forums. I created a new page for this, but the featured image that is supposed to be in the top section gets overwritten by the default template. Is there a way to modify the php so I can put an image in the top section that works on all pages?

    Also the login button is all the way to the right using the login shortcode. How do I move it to the left?

    #129844
    #129841
    jtong80
    Participant

    Ok, I created a new page at aeris.com/aercloudforums and put in the shortcode for login and forum. As you can see with the login shortcode, the signup button ends up all the way to the right. How do I move it to the left with everything else that defaulted to the left?

    Also, when i change the url to aeris.com/forums, it then gets overwritten by bbpress to the standard forum page. How do I make it so I don’t lose the forums structure in the url, but make my new page the one that loads at aeris.com/forums?

    #129834
    Guzman
    Participant

    Hi there,

    I installed bbpress for a Service and Therapy Dog programs for certain Therapy Volunteer members to communicate with each other in this type of forum. I’m tightening up the nuts and bolt on this forum, but one of the members has point on a matter.

    This is what she (Heather a.k.a. mheather54) said,

    “.…i can go straight to the post from my email link (email notification), i still need to log in if i want to post (which is a good thing), but it would be nice if, when i log in, it redirects me back to the post i was reading, or at least to the therapy volunteer forum.  instead, it takes me all the way out to my word press profile.

    Reply link to T.V. member mheather54: http://pawsteams.org/tv-forum/forums/topic/forum-placement/#post-95

    Is there a way that I can re-direct the user back to the post when they log-in to reply to topic??? Also, I noticed that when I log-in, it sends me to my dashboard instead of the actual forum.

    What I have running under the hood of WP:

    • WP version 3.5.1
    • bbPress version 2.2.4

    WP Theme: Twenty Twelve version 1.1

    WP Plugins that are active:

    • Akismet version 2.5.7
    • bbPress version 2.2.4
    • bbPress Notify version 0.2.1
    • Captcha Code version 2.1
    • Hello Dolly version 1.6
    • Login LockDown version 1.5
    • Ultimate TinyMCE (free) version 4.1
    • WordPress Importer 0.6

    Here’s the link to the landing page: http://pawsteams.org/tv-forum/

    I would greatly appreciate your help! 🙂

    Warmest Regards,

    David G

    #129831
    Debely
    Participant

    Hi everyone

    I’ve bee banging my head for a couple of days with my bbpress forum. There is a problem with the sidebar on the forum page as you can see here http://tricksforaffiliates.com/?post_type=forum . The sidebar location is before the main page instead of next to it. It works ok everywhere else.

    I’ve tried to find where the problem lies. At first I called the forum via a page with the link to option and could remove the sidebar from page.php but of course that made it disappear everywhere else too. I checked the bbpress php files and usually appears before the footer call not after header. I don’t know if that tells me anything.

    I also tried finding something with firebug but to no avail. I am able to remove the dash and the page looks ok, but the problem is cause I can’t figure out which document the code refers to and don’t know where to search for a problem.

    Any help would be greatly appreciated.

    Wordpress version: 3.5.1
    bbPress version: 2.2.4
    Site: tricksforaffiliates.com

    #128796
    talkingD0G
    Participant

    WordPress version: 3.5.1
    bbpress version: 2.2.4
    http://cchfh.org/test

    I created a user role called Board using “members” plugin and assigned all roles shown here for participant (http://codex.bbpress.org/bbpress-user-roles-and-capabilities/#participant)

    I set the WordPress General settings, New User Default Role, to Board.

    I set the Default role for the Forum to Participant.

    I created a test user account which is set to Board and Participant. When I login with that account and go to the test page the forum doesn’t show up. But it does show up with my Admin role account.

    What am I doing wrong?

    AllenPayne
    Participant

    Well here’s what i’m trying to do..

    I want to show an images below usernames in my bbpress forums, based on the WordPress role of each forum poster.

    Here’s what i figured out so far:

    – I found out that i need to edit loop-single-reply.php to show something under username.
    – I figured out (i think :P) that bp_get_reply_author_id() is the string that gets the details of the bbpress poster.

    Now here’s what i got so far:

    global $current_user;
    bp_get_reply_author_id();
    switch (true) {
    case ( user_can( $current_user, “subscriber”) ):
    echo ‘image’;
    break;
    case ( user_can( $current_user, “contributor”) ):
    echo ‘image’;
    break;
    case ( user_can( $current_user, “administrator”) ):
    echo ‘image’;
    break;
    }

    My code doesn’t work. I cannot get it to show an image based on the WP role (not bbpress) of the user. Can anyone help?

Viewing 25 results - 14,526 through 14,550 (of 32,519 total)
Skip to toolbar