Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 6,976 through 7,000 (of 32,522 total)
  • Author
    Search Results
  • #171511

    In reply to: Forums Page Layout

    internetgal
    Participant

    Hey, Pascal –

    I followed up with the theme developer and they pointed me back to the plugin developer.

    Any idea on what is causing the layout issue or where I can look to find the code that is causing the problem?

    Thanks!
    Brandi

    #171506
    Tristan
    Participant

    What file do you insert that code into?

    Tristan
    Participant

    I’ve been searching for a solution on this for hours, to no avail, and it seems like such a simple thing:

    All I want to do is have my website show other users’ basic info when I click their name in a forum post.

    For example, if I write a forum post, another user should be able to click on my name and see the profile info that I’ve added to my profile in the backend–e.g. “Contact Info” and “About Yourself” (email address, website, biographical info)–on a page on my site.

    Right now, when they click on my name, or when I click on another forum user’s name, it sends to our 404 page.

    What gives? Pretty much any site I’ve ever used that has multiple users allows you to click their name to see their bio. It seems insane that WordPress/bbPress doesn’t have this basic feature. And I haven’t even been able to find a plugin or any kinds of codes to make this happen. I’ve found all kinds of plugins that allow you to add additional user fields (like social media info) or prettier front-end login pages, but nothing that just displays another user’s contact/bio info.

    Thanks in advance for your help.

    #171501
    Robin W
    Moderator
    #171498
    mikehende
    Participant

    Thanks, I have already installed and activated the plugin but is there an easy user friendly tutorial for a site owner [not a coder] to setup and have the interface show on a page please?

    #171496
    Robin W
    Moderator

    Hey TK – love this layout – and hate that your commentary got lost – any chance you could give us some code and hints that would let others share this great work.

    I’m happy to help if stuff needs putting together eg i’m happy to write connecting sentences for non-experts if you do one liners for someone who knows what they are doing, and post stuff on the documentation part of bbpress etc.

    Would be a real shame for a great looking site not to become better used !!

    Feel free to contact me via my website if easier http://www.rewweb.co.uk

    #171493
    Robin W
    Moderator

    The user can do this by editing their profile.

    The do that by clicking their name or avatar anywhere on the site.

    Now that is not obvious, so

    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#3-adding-an-amend-profilepassword-to-the-login-widget

    #171489
    Robin W
    Moderator

    which ‘shortcode plugin’ ?

    #171486
    Robin W
    Moderator

    Bumping actually has the opposite effect – as most mods look for posts with 0 replies, so by replying to your own post, we only get round to them later !

    start with

    Step by step guide to setting up a bbPress forum – Part 1

    #171480
    Robin W
    Moderator

    ok, now that you have explained what it is, I understand and can help !

    In the code is

     // NOTICE! Understand what this does before running.
            $post_id = bbp_insert_topic($topic_data, $topic_meta);
            bbp_stick_topic($post_id , true);                         // Making it super sticky !

    If you had done this – ie Understand what this does before running.
    you would have known the answer –

    sticky sticks a topic to the top of the forum it belongs in.

    super-sticky sticks a topic to the top of all forums

    #171477
    AlamSyed
    Participant

    To insert a topic in a parent forum with given id. But after successful insertion the topic shows up in other forums and doesnt remain inside the parent forum. The code is a standard way to insert a topic in bbpress programmatically.

    I am just trying to learn this so I can build my website. Thanks for your attention.

    1. http://hookr.io/functions/bbp_insert_topic/
    2. https://github.com/rmccue/bbPress/blob/master/bbp-includes/bbp-topic-functions.php etc.
    #171476
    Robin W
    Moderator

    I answer q’s across many forums, and don’t have the time to work out what it is trying to do so what’s the purpose of the code then?

    #171474
    AlamSyed
    Participant

    WITHOUT THE CODE – what is the problem ? None !
    WITH THE CODE – what is the problem ? Topic shows up in outside parent forum !

    Robin W
    Moderator

    no sorry I still don’t know what exactly your issue is.

    WITHOUT THE CODE – what is the problem?

    #171449
    TKServer
    Participant

    Thanks @netweb for the comments. I worked a LONG time on that home page layout. I posted a rather lengthy commentary here describing how I got it to work, but sadly that post never appeared.

    So it does work if I clean off bbp_reply_id(); but I guess I could save a couple of lines of code by using bbp_get_reply_id();.

    #171447
    Stephen Edgar
    Keymaster

    How about using bbp_get_reply_id ? I think that one is not echoing…

    Correct 🙂

    Throughout much of bbPress this is true, more often than not if there is a function bbp_some_thing there will be a sister function bbp_get_some_thing, the functions with bbp_get_ will always just get the value for you to use, and the functions without it will echo the returned value.

    AlamSyed
    Participant

    Ok the issue is simple. Inserting a topic using the code I have shown I can get the correct child-parent relationship into a forum. However the same topic shows up in a different forum other than the parent and that feels like a bug. Without the code, there is no problem at all if the topic is created from the front end.

    #171441
    Robin W
    Moderator

    I suspect it is a theme issue.

    But if you have created a page and put the shortcode in and that works, then why is this not the solution?

    ps whilst your link is probably fine, MacAfee advised me that it was a suspect site, so I didn’t view your png

    Robin W
    Moderator

    sorry but I am not sure what exactly the issue is.

    It would seem that

    Without your code you have problem a

    and with your code you have problem b

    is that it, AND IF SO can you state your problem without the code you added?

    #171436
    Pascal Casier
    Moderator

    Hi,
    Just some ideas:
    – Did you try with a standard WP theme (to make sure it’s not your theme) ?
    – Do you have more then 1 shortcode on that page ?

    If the site is public, a URL would be great…

    Pascal.

    #171418
    kieranw7261
    Participant

    Hi all,

    I have used the shortcode plugin to show the 5 most recent postings on another page. I want to edit the styling of this so it is more just the text rather than excess spacing. Is there a way to set this up?

    I don’t want the forum header to show, I don’t want it to be so spaced, I don’t want the Viewing 2 topics view to show. So just the title of the topic, who it was started by, when it was added and preferably when it was last posted.

    Current view

    #171414
    Adri Oosterwijk
    Participant

    @robin-w: thank you for your reply. I’m sure it could work. However using this solution forces me to create a function for every language I add.


    @casiepa
    : Goeiemorgen, daar zijn we weer! Thanks for helping out. I have achieved a lot of what I want but the breadcrumbs remains. (for reference, see this topic on WPML: https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/).

    As a result of this thread I have an English forum AND a Dutch page displaying the forum with a shortcode with only one set of topics. Exactly what I want.

    For the breadcrumbs I tried to create a solution with an onclick event and then navigate back in the history but that is not reliable. When a user is entering a topic from, let’s say a google search result page and then clicking the breadcrumb link they are send back to the google page.

    I imagine something like this:

    The English page for the forum has the slug: supportforum (for example)
    The Dutch page for the forum has the slug: helpforum (for example)

    On the forum index page no breadcrumbs are needed.
    On the topics page I only want a link back to the forum index for the appropriate language.
    So the ‘solution’ must not link back to the forum slug but to the page where the index lives.
    I have absolutely no idea how to achieve this.

    The outputted link has to be something like this:

    http://www.my-site.com/forumpage-slug/

    For the other languages:
    http://www.my-site.com/language-code/localized-forumpage-slug

    In my case English is the default language and Dutch is the translation.
    The urls should be:

    http://www.my-site.com/supportforum/ -> for the default English language.
    and
    http://www.my-site.com/nl/helpforum -> for the Dutch language forum page.
    and
    same way for every other language added.

    I hope this description make sense.

    HTH

    Regards,

    Adri

    #171408
    iso2013
    Participant

    Hi. I recently installed bbPress along with the Material Gaze theme. I’m having a problem – the /forums/ page shows a line of gibberish with no clickable links. Here is a screenshot: http://s13.postimg.org/w1elw7g07/Untitled.png

    I did try creating a new page with the [bbp-forum-indexx] tag (with 1 x) which worked flawlessly.
    So here are my questions:
    1. Is there a way to use a custom page (and put that shortcode there) for the forum main?
    2. Is there a way to fix the forum index?

    Thanks!

    #171404

    In reply to: bbpress sidebar

    Pascal Casier
    Moderator
    #171403
    Pascal Casier
    Moderator

    Hi,
    Did you check item 26 in the codex ? https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/
    Pascal.

Viewing 25 results - 6,976 through 7,000 (of 32,522 total)
Skip to toolbar