Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 1,101 through 1,125 (of 1,687 total)
  • Author
    Search Results
  • #120528
    dyspersion media
    Participant

    For anyone else who comes here trying to programmatically display the forum index list, you can call shortcodes like this:


    echo( bbpress()->shortcodes->display_forum_index() );

    For what it’s worth, I don’t know why a function called “list_forums” would display *sub* forums. I would think that would be a function named “list_sub_forums” but, oh well. At least there’s a work around. It’s also worth noting that this might not be the best way to do this. I haven’t done much testing (I’ve done none).

    Cheers!

    #120509

    In reply to: User registration

    Stephen Edgar
    Keymaster

    Try creating a page and use the [bbp-register] shortcode or use a login widget in a sidebar.

    fuzzybee
    Participant

    Thanks, John, those are very helpful.

    I managed to insert all the postmeta and I had a successful migration with plain PHP and MySQL a while back.

    I suppose there is not off documentation in place yet and I’m just need to read codes, I think.

    1 thing comes across as odd though: I’m using 2.1.2 and I seem to find the _insert_function‘s inside ...wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php and so on instead of what you mentioned?

    Are you speaking in terms of some older version bbPress?

    #120380
    Stephen Edgar
    Keymaster

    Create a new WordPress page and pick and choose some shortcodes from the following URL and add them to that page… https://codex.bbpress.org/shortcodes/

    #120333
    caneblu
    Participant

    Hi@all
    dont know if is my installation or not.. After upgrading BBpress 2.2 editor users (role author) can’t use Editor because is not available and tabs Visual and HTML also not working .
    As administrator works fine…
    I have on my theme some shortcodes integrated into MCE. Just try to deactivate it but no success. If i shutdown BBPress all works back.
    Any suggestions?

    #120289
    lucianoippolito
    Participant

    *** UPDATE ***

    I was able to fix it. My problem was I was pasting the URLs in visual mode and wordpress converted it in hyperlinks. Pasting the URL in HTML mode fixes the problem.

    Thank you for your help,
    Luciano

    #120288
    lucianoippolito
    Participant

    Thank you for your responses but I haven´t been able to fix the problem yet.

    Unfortunatelly the embeeding is not working even using just the image or video url. It is only showing hyperlinks to the URLs.

    As suggested by the codex embeds page I used the [embed]…[/embed] shortcodes with the same results.

    By the way, I have wordpress “Auto-embeds” and bbpress “Auto-embed Links” checked

    Any other idea on how to fix this problem?

    if necesary you can use this test user:Username: ricardo2012
    password: 123***

    Thank you again,Luciano

    #120218

    As an admin on your site, you have the ability to post unfiltered HTML. There should be a warning above the post box that says this.

    Regular user’s HTML is filtered to prevent malicious code from peeking through, and it’s possible images and/or specific attributes aren’t allowed on your installation, and they are getting filtered out.

    Stephen Edgar
    Keymaster

    Add the [bbp-topic-index] shortcode to your page.

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

    #120195
    Jennifer M. Dodd
    Moderator

    Embed Media means you don’t have to copy all of that HTML to post an image. It should be enough to just paste the link the the relevant image or video. See https://codex.wordpress.org/Embeds.

    #120181
    lucianoippolito
    Participant

    Hello,

    My users are not able to publish photographs in the forum by embeeding their flickr html code into new threads ( it looks like bbpress deletes the html code ). Example of the code :

    <a href=”http://www.flickr.com/photos/josue_arzate/7982828578/&#8221; title=”Milpa Alta por Josué Arzate Ontiveros, en Flickr”><img src=”http://farm9.staticflickr.com/8036/7982828578_9b9bd93c21.jpg&#8221; width=”500″ height=”332″ alt=”Milpa Alta”></a>

    I have “Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies.” checked.

    The code embeeds perfectly when I do it (administrator) but is not working with my users.

    Does anyone knows how can I fix this?

    Thank you for your help,
    Luciano

    wp 3.4.2
    bbpress 2.1.2
    buddypress 1.6.1
    my site: http://www.luchotv.com

    #119811
    hummingbirdmeadow
    Participant

    WordPress version – 3.4.2
    bbPress version – 2.1.3
    Website – kidbusinessowners.wordpress.com/

    Alright I am, well, almost completely clueless on how all of this stuff works. I downloaded the WordPress today and the bbPress. My main reason for trying WordPress is because I want to have a forum. I don’t understand, I’ve created a user with both WordPress.com and WordPress.org and I can make my blog with the .com but I downloaded the stuff on the .org. How do I link up the download with my website? Does it require an extensive knowledge of scripting codes (which, as you can tell, I’m not extremely good at)? Thank you!

    #119660
    Gary3000
    Participant

    You can add it to the page via bbPress shortcodes.

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

    #119518
    Stephen Edgar
    Keymaster

    I had been down this path before and now have a patch and the key to it indeed was as you mentioned the before_link and after_link.

    The patch is here with example code that should help you out rather that that ^^^ up there 😉

    #119517
    Stephen Edgar
    Keymaster

    I’m not sure why it is doing that, have you modified or using custom bbPress templates with your theme?

    > How can I disable the redirection after the registration? It’s very
    > annoying if the user the a login registration form with different
    > design.
    What about using the bbPress shortcodes for Login/Register? https://codex.bbpress.org/shortcodes

    #119455
    Shmoo
    Participant

    Create a new page and use the [ shortcodes ]

    https://codex.bbpress.org/shortcodes/
    (bottom)

    #119454
    Shmoo
    Participant

    Step 4:

    The code is a bit messy.
    Here is the code in Pastebin.

    http://pastebin.com/0iA4ReV9

    Change the default to the NEW and you’re done.

    #119453
    Shmoo
    Participant

    Alright guys i’ve got a solution,

    Please note, i have ZERO PHP skills so this probably isn’t the best solution on earth but i think it’s a good work-around to get the job done ‘easy’..

    If some PHP developer reads this topic and thinks, damn this guy is going crazy with all his copy-/pasting stuff please feel free to modify this code..

    What did i do:
    First i opened up the Core template file of bbPress where the Breadcrumbs function is made.
    I have copied the code and pasted inside a new PHP document, made some simple HTML changes before and after the urls and called this new template file inside my Theme’s functions.php

    Last i called my custom Breadcrumb PHP code just to make sure my code is loaded and not the default bbPress code..

    Here you go.
    When your done it should look like this structure..
    http://i46.tinypic.com/33z93lg.png

    Nothing too fancy but the only difference, it’s made by a HTML List , like it should be in 2012 because a Breadcrumbs is a navigation and not just 5 URLs behind each other.
    http://twitter.github.com/bootstrap/components.html#breadcrumbs

    Step 1:
    Paste all this code into a new empty PHP document and call it breadcrumbs.php
    When your done drop this file into your Themes include folder.
    wp-content / themes / [ your-theme-name ] / inc / * here *
    http://pastebin.com/bWdPEXa5

    Step 2:
    Open your theme functions.php file and add this code to it.
    http://pastebin.com/nJ9pZinq

    Step 3:
    Open the bbPress or WordPress stylesheet and add those few lines of CSS to it.
    http://pastebin.com/KyPuknTw

    Step 4:
    Inside the bbPress template files you often find this line of PHP code, it calls the default Breadcrumb function:

    Change that line to this one and your done..

    __( '', 'bbpress' ), ) ); ?.>

    • without the dots before and after the -> .?.

    Hope this helps..

    #119448
    Shmoo
    Participant

    What can i do to overwrite a bbPress Core function and develop my own function..

    Let say i want to overwrite the default bbPress breadcrumb tag.

    I found the Core code inside a Core-template and i pasted this code inside a new PHP document changed all the bbp_ names of all functions to bbp_shmoo_ > Saved it.

    Loaded this new file from the inc. folder into my themes functions.php with the require_once tag..

    Change the PHP code inside my forum template from bbp_breadcrumb(); to bbp_shmoo_breadcrumb(); but this doesn’t work, why does it break my theme ?

    I need a before_link and after_link array.

    This is what a breadcrumb looks like, by default made with a List because it’s a navigation.
    http://twitter.github.com/bootstrap/components.html

    #119425
    dwbroad
    Participant

    I have created a forum and can register a new user and log in using the short codes. I can also go to the forum page and post new topics, etc.

    http://www.davidbroad.co.uk/flac/forums/forum/forum/

    My only problem is when the user is logged in and on their Dashboard page when they click ‘Topics’ or ‘Reply’ in the ‘Right Now in Forums’ box they get this message:

    You do not have sufficient permissions to access this page. apart from this it seems to be working, but this is obliviously going to confuse some users..

    I’m using WordPress 3.4.2 and bbpress 2.1.2

    Thanks,

    David

    • This topic was modified 12 years ago by dwbroad.
    • This topic was modified 12 years ago by dwbroad.
    #119383
    zaerl
    Participant

    Maybe the email has been catalogued as spam. It is a common problem especially if you are using a shared host or something similar. The admin can activate the user in the admin area at http://example.com/wp-admin/users.php

    The activation codes are unique.

    #119365

    In reply to: Shortcode not working

    Shmoo
    Participant

    Looks like single-topic-tag ID isn’t a supported short code.

    It’s [bbp-single-tag id=12] or [bbp-topic-tag id=12]

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

    Gary3000
    Participant

    Just as the title says, I’m curious to know how the current main page at bbpress.org/forums/ is set up. Ideally, I’d like to have my forums main page set up in exactly the same fashion.

    Am I correct in assumming that it’s done as a Page (“forums” being the slug) with the bbPress shortcode “[bbp-topic-index]” as its content?

    I notice for Latest Topics it lists 28 topics, however in the bbPress Codex listing of shortcodes, it says that particular shortcode only lists 15 of the most recent topics. How does one go about configuring it to show more (or less) than the default of 15?

    The other thing I’m curious about is how one gets the nicer “Forums” sidebar widget. The one on bbpress.org/forums/ is styled with a header containing “Forum” and “Topics” column headers, and then a striped list of the Forums with the associated topic counts. In the current public version of bbPress (2.1.2), the “Forums” widget only shows a straight, plain list of the Forums — no header/columns, and no topic counts. Is the widget used on bbpress.org/forums/ from the current SVN of bbPress, or was it customized specifically for bbPress?

    #119235

    In reply to: No bb-load in download

    Stephen Edgar
    Keymaster

    Have you looked at these two docs to help get you started?

    https://codex.bbpress.org/theme-compatibility/ and https://codex.bbpress.org/shortcodes/

    (The thread that you linked to above is out of date as it is only relevenet to the old stand alone bbPress and not the current plugin bbPress 2.x )

    ffadler
    Participant

    MTPrower

    You stated my exact problem which I am currently having. I am a noob. But I can usually google search my way out of any problem. (Which led me here, but with no answer) I see that the “forums base” archive slug field is used in the breadcrumb for bbPress. When I click on the link in the breadcrumb, it takes me to the archive page….not what I want my users to be able to do at all. I want them to be able to get back to a forum index from anywhere inside bbPress.


    I setup a WP page and used the bbPress shortcodes to give me a Forum index; which is the main portal to all of the topics and posts on my site.

    However, once a forum/topic is selected by a user, the bbPress *.php takes over and the pages are dynamically generated ( i guess ). How do I send people back to the forum index WP page from anywhere inside bbPress? I would prefer the breadcrumb worked or at least could be redirected to the WP page. Linking me to an archive page does NOTHING for any user, when trying to get back to an index.

    Hope that was descriptive enough to workout a solution. Thank you.

    http://www.sailhavasu.com/event-forum/ <- WP Page with bbPress short codes creating a forum "index"

    http:www.//sailhavasu.com/bbpress/forum/hpcc-2013/ <- bbPress page where the breadcrumb "Forums" links to an archive page. Would rather it linked to an index; either a WP page or a dynamically created bbPress page with an actual index. (Note: "bbpress" is what I named the Forums base Archive Slug; another issue that appears weird to a noob.)

Viewing 25 results - 1,101 through 1,125 (of 1,687 total)
Skip to toolbar