Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,526 through 14,550 (of 32,585 total)
  • Author
    Search Results
  • #132161
    Gettinitdone
    Participant

    I am looking to display additional profile fields I created with s2member.

    I opened user-profile.php.

    I think I need to write more of these lines and edit them to call on the additional s2member profile fields:

    “

    <p class=”bbp-user-description”><?php bbp_displayed_user_field( ‘description’ ); ?></p>

    <?php endif; ?>“

    I have not yet located the s2member code to add to above code.  If anyone has accomplished this, please let me know.

    #131812
    stevendo
    Participant

    After digging into the source code of search, I found that it uses SQL’s LIKE for searching. So…no fulltext search.

    I searched on the Web and it looks like Sphinx can give me a solution, though it requires extra setup and configuration. MySQL 5.6.4 will add supports of fulltext search for InnoDB as well.

    SydneyDesigner
    Participant

    I’m testing bbPress 2.3-rc1 with BuddyPress 1.7-rc1 on WP3.5.1 and may have encountered an issue with bbp_get_topic_id().

    Can bbp_get_topic_id() be used to get the main topic id from a Buddypress group>forum>topic+replies page?
    If yes, then how? (a quick code line example please)
    If not then how else should this be done?

    Thank you.

    Fee
    Participant

    The ‘Private: …’ is added by WP in wp-includes/post-template.php inside of the function get_the_title(). bbpress uses this function in it’s own function bbp_get_forum_title() to generate the title -> ‘Private:’ is appended first time. When the theme now calls the_title() ‘Private:’ is appended again.

    I adjusted bbp_get_forum_title() now: Add two filters, the first removes the ‘Private:’ from all Breadcrumbs and so on, the second appends ‘Private Forum:’ to the forum title.

    function bbp_get_forum_title( $forum_id = 0 ) {
    $forum_id = bbp_get_forum_id( $forum_id );
    add_filter( 'private_title_format', function(){ return '%s'; } );
    $title    = get_the_title( $forum_id );
    add_filter( 'private_title_format', function(){ return __( 'Private Forum: %s', 'bbpress' ); } );
    return apply_filters( 'bbp_get_forum_title', $title, $forum_id );
    }

    Could one of the devs please take a look if this would be an option for you? I hardcoded it for now…

    #131727
    Kaenim
    Participant

    Hi everyone. I’m in the process of migrating my website from phpBB to bbPress. In modifying the template, I feel like I’m pretty limited to what I can change without getting into modifying core files.

    Basically, this is what my phpBB forum looks like –

    And this is how my bbPress looks like right now –

    I want to retain the look of the former, but in the archive-forum.php template file, the only code that is being called in that area is “bbp_get_template_part( ‘content’, ‘archive-forum’ );”

    It looks like bbp_get_template_part() is calling the entire thing, whereas I’m used to phpBB giving me individual tags – I guess their equivalent to what you’d call shortcodes? – for the category name, the forum name, number of posts etc to place them precisely where I want them in the template.

    So what am I missing? What file can I modify, or what functions could I call, that would allow me that same level of control?

    Hopefully this is coherent. I’m pretty new to using bbPress – and BuddyPress, and WordPress… – so I feel a bit mentally fatigued from learning these systems, lol. Any help would most certainly be appreciated. Let me know if anything needs clarification, and thanks in advance to anyone who reads this wall of text. Cheers.

    #131704
    Sam Rohn
    Participant

    make a new page and add the register shortcode to that page, then add the url for that page to the widget

    `[bbp-register]`

    more shortcodes here

    https://codex.bbpress.org/shortcodes/

    #131701
    allg33k
    Participant

    What’s the short code you used? I’m haveing a simular issue. I can see this page: http://mydomain.com/?post_type=forum and my individual forums. But not http://b1ker.com/forums

    #131689
    lincolnthree
    Participant

    Okay, a little more information. It seems like there are 914 topics in the bb_topics table, and when i query for the last topic that was imported, I find it:

    mysql> SELECT * FROM bb_topics WHERE topic_title like '%How get the original%' ORDER BY topic_start_time DESC;
    +----------+---------------------------------------------+-------------------------------------------+--------------+-------------------+-------------------+------------------------+---------------------+---------------------+----------+--------------+------------+--------------------+--------------+-------------+-----------+
    | topic_id | topic_title                                 | topic_slug                                | topic_poster | topic_poster_name | topic_last_poster | topic_last_poster_name | topic_start_time    | topic_time          | forum_id | topic_status | topic_open | topic_last_post_id | topic_sticky | topic_posts | tag_count |
    +----------+---------------------------------------------+-------------------------------------------+--------------+-------------------+-------------------+------------------------+---------------------+---------------------+----------+--------------+------------+--------------------+--------------+-------------+-----------+
    |      914 | How get the original Request URI from JSF ? | how-get-the-original-request-uri-from-jsf |          650 | ceefour           |               650 | ceefour                | 2012-08-04 11:25:22 | 2012-08-04 19:27:20 |        1 |            0 |          1 |               3909 |            0 |           3 |         4 |
    +----------+---------------------------------------------+-------------------------------------------+--------------+-------------------+-------------------+------------------------+---------------------+---------------------+----------+--------------+------------+--------------------+--------------+-------------+-----------+
    1 row in set (0.00 sec)

    However, when I query for something else that should exist. One of the newer posts that was not imported: (http://ocpsoft.org/support/topic/get-encoded-url-in-filter) I come up with nothing:

    mysql> SELECT * FROM bb_topics WHERE topic_title like '%get encoded%' ORDER BY topic_start_time DESC;
    Empty set (0.00 sec)
    
    mysql> 

    How is it that this topic clearly exists and shows up on the website, but it would not exist in the bb_topics table? Answering this seems like it would lead to the root cause of this migration problem.

    Thanks again for all of your help,

    Lincoln

     

    #131679
    eddiemoto
    Participant

    On an interesting side note, I added the short code for the index and it seems to work. Is this the proper way or did it just work because it was a shortcode.

    (Worked for the default theme, not Canvas. Canvas just displays some non-formatted HTML)

    Jerry
    Participant

    I have the same problem- firefox only. On user profile pages Topics Started and Replies Created do not appear- only the title. I added this code from a bbPress forum (3 months, 3 weeks ago) to my WP style.css file:

    .bbp-user-section {
    overflow: auto;
    }

    and this code:

    #bbpress-forums .bbp-user-section ul.bbp-topics {float: left !important;}

    and both together and no change

    I have spent time on the forums, but maybe there is a solution somewhere that I missed.

    Thank You

    WP 3.5.1
    bbPress 2.2.4
    Thematic Theme

    #131640
    Stephen Edgar
    Keymaster

    You can use a widget in your sidebar https://codex.bbpress.org/widgets/
    Or create a page with some shortcodes https://codex.bbpress.org/shortcodes/

    #131633
    mchelles
    Participant

    No if I use that code, no 404. To clarify, the 404 is when you click on the “View Posts” Link, not the profile page itself. I think I need a loop to call the author ID, which is where I am getting stuck.

    Thanks for any ideas you may have!

    #131390
    Stephen Edgar
    Keymaster
    #131385
    IPBri
    Participant

    I have tried to upgrade my install of bbpress from 1.0.2 to 1.2 (so I can migrate to the plugin version) several times now and I only get a white page. I verified my versions…

    Wordpress 3.5.1
    PHP – 5.3.3
    MySQL – 5.1.61

    I disabled all my bbpress plugins, copied over all the files, made sure my template files (custom theme) and my bb-config.php file were still there. I only get a white page after the upgrade. Page source says there is zero code in the page. I have seen other posts with this problem, but have not seen a resolution to the issue.

    Am I missing something?

    #131381
    horiamar
    Participant

    I tried to use the bit of code postet here above by Anointed.
    I put it in the functions.php file of my buddypress theme.
    It didn’t have any effect…

    On the other hand, I found a plugin that does the job, but just partially:
    https://wordpress.org/extend/plugins/orbisius-bbpress-enhancer/
    (Orbisius bbPress enhancer)

    This plugin works fine, but it allows me to change only the COMMENTS authors, not also the REPLIES authors.

    (forums in bbPress consist hierarchically in: FORUM > TOPIC > COMMENT > REPLY)

    I Would be grateful if any coding specialist among you would tell me what to do with the codes above, to get them working (for comments AND replies).

    hariharakumar
    Participant

    I have installed bbpress forum on my blog http://www.geekspage.org/ , created new forums and topics. I can view topics and forums, but i cant see forum index page.

    I have created a new page with name Forums to see if it works, but it didnot help.

    Used the shortcode [bbp-forum-index] it works on other pages but it did not work on Forums page. I have created a test page and used the shortcode it works fine, here is the test page link test. Shortcode didnot work on Forums page, here is the link forums

    I dont know what to do please help me.

    #131360
    Lynq
    Participant

    Do you still get a 404 using this code: http://pastebin.com/i6g8VCE4

    venom_
    Participant

    Hi! I have solution of this problem.
    Open file `/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php` and find there this lines of code:
    `
    function bp_core_set_avatar_constants() {
    global $bp;

    if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
    define( ‘BP_AVATAR_THUMB_WIDTH’, 50 );

    if ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
    define( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    `
    Just replace 50 to required size.

    P.S. Sorry for my English…

    #131255
    Stephen Edgar
    Keymaster

    There is a new shortcode and widget for bbPress stats in the upcoming bbPress 2.3

    #131243

    bbPress search has been implemented from scratch in bbPress 2.3 release. The new search does not piggyback off of WordPress search (which is what happens when you add the code above) and works extremely well.

    Version 2.3 is actually in RC1 right now and is very stable, so you could upgrade to that and it would give you the new search feature.

    bbPress 2.3 – Release Candidate 1

    My recommendation would be to give 2.3 RC1 a whirl. Of course since it is RC1, do a backup before upgrading 🙂

    #131116

    In reply to: space after last topic

    You need to edit that page where you are using the shortcode. Below it you likely have a bunch of empty lines (delete those) which are being converted to empty paragraphs.

    #131111

    Dunno why that wouldn’t work.

    Threw this code in firebug and it works just fine.
    `table.forum-table tr.odd td {
    background:red;
    }`

    #131064
    clickmac
    Participant

    https://wordpress.org/ and see this guide in installing it https://codex.wordpress.org/Installing_WordPress

    and you can get live help here just sign up and post in the forums

    #131058
    Nazaire
    Participant

    I’m wanting to edit the css of bbPress to tweak the appearance of my forums, specifically the font size. I’m running WordPress 3.5.1, bbPress 2.2.4, and using a twentytwelve-child theme. My forums are at

    I found the “bbPress Custom CSS File” plug-in but according to the description I do not need it.

    ** This plugin is for bbPress 2.1.x. If you are using bbPress 2.0.x please upgrade. If you are using bbPress 2.2, read below.**

    bbPress 2.2+: As of bbPress 2.2 this plugin is NOT needed. bbPress will auto-detect the CSS file if it exists in the right location.

    Copy the CSS file from wp-content/plugins/bbpress/bbp-themes/bbp-default/css/bbpress.css to wp-content/themes/[yourtheme]/bbpress.css.

    Following the instructions above I have copied the bbpress.css file from the bbpress plugin’s css folder to “wp-content/themes/twentytwelve-child/bbpress.css”. When I go into the WordPress dashboard under appearance-edit the bbpress.css is available for editing.

    So assuming I have the bbpress.css file in the right place (if I don’t please instruct me where I need to put it for editing), which line of code in the bbpress.css file do I need to edit to change the font size on my forums.

    Any assistance in this matter will be greatly appreciated. Thanks.

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