Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 630 total)
  • @pcwriter

    Participant

    Note that this patch is for BP1.2.9

    @pcwriter

    Participant

    @nuhammadrid and anyone else experiencing this odd behavior:

    Brajesh’s patch works just fine, but it requires a slight modification to bp-core-templatetags.php:

    Replace this (line 131):
    `if ( isset( $_REQUEST ) && !empty( $_REQUEST ) )
    $search_terms = $_REQUEST;`

    with this:
    `if ( !is_search() && isset( $_REQUEST ) && !empty( $_REQUEST ) )
    $search_terms = $_REQUEST;`

    @pcwriter

    Participant

    @nuhammadrid

    Brajesh just posted a possible solution at BuddyDev:
    http://buddydev.com/forums/topic/wp-search-results-page-kills-bp-member-widgets#post-9892

    I’m going to try it tomorrow ‘cuz I’m off to bed right now, zzz……

    @pcwriter

    Participant

    @nuhammadrid

    Yeah, I had found both those posts during my search for a solution, but neither of them even hints at one :-(
    Brajesh Singh’s Global search results page does not create this conflict however. I think I’ll post over at BuddyDev to see if he has any bright ideas (he often does) and post back here if I get anywhere. Thanks!

    @pcwriter

    Participant

    How about these…
    find
    explore
    ask
    query

    @pcwriter

    Participant

    @funmi-omoba

    You’re right, it won’t work ‘cuz there are typos in the code… sorry, my bad :-(

    Find this in members-loop.php (around line 30)
    `

    <a href="”>

    `

    …and replace with this:
    `

    <a href="”>
    <a class="button" href="”>View Profile

    `

    Then add this to your child-theme’s style.css
    `#members-list .item-title a.button {float:right;}`

    I just tested it and it works fine. Remember to respect the file structure in your child-theme: members/members-loop.php

    @pcwriter

    Participant

    Sorry, that line should be:
    `<a class="button" href="View Profile`

    @pcwriter

    Participant

    @funmi-omoba

    In members-loop.php, simply add the following inside `

    `
    `<a class="button" href="`

    Then in style.css of your child-theme, add
    `#members-list .item-title a.button { float:right; }

    You’ll wind up with a button styled just like all other buttons in your theme, linked to each member’s profile, sitting nicely on the right side. Edit the styling if you don’t want it on the right :-)

    @pcwriter

    Participant

    I’ve used TDO-Mini-Forms for front-end posting and it works well. There’s also Gravity Forms if you want to go the premium route.

    @pcwriter

    Participant

    This exercise has proven to be beyond my knowledge and abilities at the moment.

    Consequently, I rethought the intended use of the stream on my site and realized that updates & replies in it should remain a fast-and-easy, shoot-from-the-hip, Twitter-type text-only affair, while more involved comments & replies to blog posts & forum topics should be made in their respective posts & topics.

    So I disabled activity stream commenting for blogs & forums, limited the character count in stream updates, and customized & styled the visual editors in post-form/forums/comments/replies.

    I’m happy with the result :-)

    @pcwriter

    Participant

    @boonebgorges

    Thanks for the tip, I’ll look into their documentation to see if anything similar exists. JS is still a whole new world for me ;-)

    @pcwriter

    Participant

    Odd… clicking the “Edit Topic” link leads to a “Page not found” error. So here’s my edit:

    EDIT – The site I’m working on is http://kwitterz.com if you want to take a look. :-)

    @pcwriter

    Participant

    @hnla I can always count on you to set me straight when I don’t think things through :-)


    @frizzo
    What hnla said ;-)

    @pcwriter

    Participant

    @frizzo

    Browser history has nothing to do with Buddypress. Check your browser settings.

    @pcwriter

    Participant

    @pcwriter

    Participant

    @gregfielding

    Just tested the snippet by @nuhammadrid above with a dropdown select and it works perfectly.

    I found this old trac ticket (pre 1.2.6) but maybe checkboxes/radio buttons are stilla bit buggy with xprofile_get_field_data

    @pcwriter

    Participant

    :-)

    @pcwriter

    Participant

    @gregfielding

    Try using boolean values instead. If you want “Some other sidebar” to display if the box is checked, then the value should be “1”. Worth a try…

    @pcwriter

    Participant

    Watch out! I goofed in the post above: I forgot to enclose the quotes in backticks so they display properly.

    Your double-quotes should look like this: `”`
    NOT this: “

    @pcwriter

    Participant

    @yoursocialbox

    Seeing code at the top of a page is usually a result of improperly formatted opening/closing tags. Here are some things to check in your bp-custom.php:
    – Make sure you’ve copied the code exactly as in the post above.
    – Check the double-quotes; make sure they are straight quotes ( ” ) not curly ones.
    – Be sure your bp-custom.php file content begins and ends with the proper tags: an opening “ tag at the very bottom.

    The part of the code where you put your own URL is where you see `”/about”`. Change that to the page slug you want to redirect to (the page slug is what comes after your domain name). For example, if you want to redirect to http://example.com/my-redirect, change it to `”/my-redirect”`.

    Hope this helps! :-)

    @pcwriter

    Participant

    @pcwriter

    Participant

    @pcwriter

    Participant

    @simon_sais

    The link 4ella gave for the front-end post form at BuddyDev is in a premium forum, you need to be a subscriber to the site to gain access. I am a member (so is 4ella) and can attest that the plugins, themes, code snippets and help that the site owner provides is nothing less than extraordinary. The front-end post form that he is working on should allow posting to the main blog, the user’s own blog(s), as well as groups the user is a member of. It should also support custom post types/taxonomies. A beta of the plugin should be released within the next few days. :-)

    You could also check out Quick Post Widget which supports custom taxonomies. The latest version is shortcode enabled so you can add the post form in any post/page.
    https://wordpress.org/extend/plugins/quick-post-widget/

    @pcwriter

    Participant

    @sunflowermom

    Hang on. I think I led you a bit astray with Buddypress Links. It does what you want, yes, but it creates links to already existing web pages/sites/videos/images/etc. You are however limited to only one display image, but it fetches all available images automatically and gives you the choice of which to use as the avatar. You can see an example of it working here: http://buddylite.com/links/

    Creating a custom post type would link back to the author’s BP profile, just like any blog post. Basic CSS rules could then be added to your theme’s style.css to display the entries in a directory-like fashion on an archive page.

    Another solution altogether could be to simply add a front-end post form like Quick-Post-Widget that allows posting only to a category you create specifically for this purpose (Businesses). Then create a menu item linking to that category archive in WP custom menus. Your theme’s archive.php template can be customized to display posts in that category in any directory-like fashion you prefer (grid, list, etc.). Finally, a category-specific search plugin could be used in your theme allowing users to specify the “Businesses” category you created.
    https://wordpress.org/extend/plugins/quick-post-widget/
    https://wordpress.org/extend/plugins/search.php?q=category+search&sort=

    @pcwriter

    Participant

    @acha5066
    You’re welcome :-)

Viewing 25 replies - 26 through 50 (of 630 total)
Skip to toolbar