Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,626 through 17,650 (of 32,499 total)
  • Author
    Search Results
  • #108450

    In reply to: forums list

    Jaja..
    Member

    Why isn’t this working?

    <?php bbp_list_forums('forum_id' => '4'); ?>

    and this.

    <?php bbp_list_forums(array('forum_id' => '4')); ?>

    If i’m correct this should only load forum ID 4 correct?

    #108972
    Jaja..
    Member

    Something else i was thinking about..

    What if i make this loop-single-forum template file empty..

    <?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?>

    And after that i include a PHP code that says..

    If forum_ID = ‘2’ go get file loop-single-forum-2.php

    if forum_ID = ‘4’ go get file loop-single-forum-4.php

    if forum_ID = ’14’ go get file loop-single-forum-12.php

    Else die or loop-single-forum.php

    Would that help me out?

    #108791
    warezjasz
    Member

    http://testbp.org/discussion/

    How to do something like that, man, it looks A.W.S.O.M.E. :))

    Any guide, tips?

    #108969

    In reply to: Complete Noobasaurus

    Anointed
    Participant

    #1 are you running the old 1x vs. of bbpress or the new plugin?

    (I would suggest the plugin for sure as it’s the most updated)

    #2 if you are not then here is the page to find the download to the plugin

    https://bbpress.trac.wordpress.org/browser/branches/plugin

    *on the bottom of the page is the download link. Keep in mind that this is the most recent vs. and it changes almost daily until everything is finalized.

    You simply click that link, save the file to your computer, and then go to your wp installation. In there you will use ftp to go into your wp-content/plugins/ folder.

    #3 From there create a folder called bbpress inside the plugins directory.

    #4 Upload the plugin you downloaded to your plugins folder

    (browse the bbpress download and go into the folders until you see bbp-admin, bbp-includes, etc folders. You upload those into the bbpress folder that you created in your plugins folder)

    Structure should look like

    wp-content

    –plugins

    —-bbpress


    bbp-admin


    bbp-includes


    etc….

    #5 From there simply activate the plugin.

    There are other steps needed to get the forums working properly in wp and your theme, but the above instructions will at least get you going.

    #108923

    In reply to: Plugin Install

    If you can offer up some clarification, I’ll edit the post so it makes more sense. :)

    #39959
    AaronRighter
    Member

    So, I decided to work fairly hard and invest a lot of resources into creating a gaming website. I have been pretty impressed with indie games lately, and decided to start a nice area where I can highlight some of the better ones and maybe talk to developers and post things like great soundtracks and art.

    *Ahem* Apparently things have changed a little since I learned HTML in…1998 lol That being said I feel pretty stupid and have some very basic questions to ask. If these answers are somewhere on the bbPress site I apologize, I did some cursory perusing of the forums and didn’t find what I needed and because I’m on a bit of a time crunch decided a post would be quicker.

    From what the internet tells me WordPress is a nice content managing/blogging platform and bbPress is the way to go if I want a forum. I have downloaded and activated both the bbPress and bbPress Integration plug ins through my WordPress.

    My question is…where is it? Do I have to FTP any files onto the server? Is there a link somewhere I’m missing? Any (very patient) help would be appreciated. Thank you =)

    #108971
    Jaja..
    Member

    I’ve got this..

    (changed all linking files by adding a -4)

    <?php while ( bbp_forums() ) : bbp_the_forum(); ?>

    <?php bbp_get_template_part( ‘bbpress/loop’, ‘single-forum-4’ ); ?>

    <?php endwhile; ?>

    Problem is i have to tell bbp_forums to only get and show forum ID 4.

    I would like to list every forum ID on it’s own template like this:

    My new Forum

    Install (forum-ID=2)

    troubles (forum-ID=4)

    plugins (forum-ID=14)

    Now i have given each forum it’s own ID and own template file by duplicating the original template file that bbPress uses for every forum ID and adding an it’s unique forum ID number behind it.

    Everything is going fine the right files are been read the only problem i face is i can’t find a way to say only export forum ID-4 in ID-4 template file.

    Now i get this on my homepage.

    My new Forum

    install (forum-ID=2)

    install (forum-ID=2)

    install (forum-ID=2)

    troubles (forum-ID-4)

    troubles (forum-ID-4)

    troubles (forum-ID-4)

    plugins (forum-ID=14)

    plugins (forum-ID=14)

    plugins (forum-ID=14)

    I think i have to do something with WP Query’s i think?

    But where, who and when?

    Would be very nice if somebody knows the answer to this.

    #108950
    jloosli
    Member

    I’m having the same problem…I installed bbPress about two months ago and it worked right out of the box, then I got going on other things and just came back to work on it again and I can’t get the forums to display. If I go to the forum page, it has the title; but before, there was a listing of forums and I could navigate through to the topics. I’ve tried using the shortcodes and they work fine, but I’d like to get things working through the standard hierarchy (e.g. forums, topics, etc.).

    I’ve cleared the cache, flushed the permalinks, and changed the name of all the slugs (they’re currently changed back to the default names), uninstalled, then reinstalled the plugin (but didn’t delete settings from the database). Also, I know I’ve updated the plugin at least once since first installing it.

    Some sample pages:

    http://powerofmoms.com/forums/ (should show listing of all forums, but just get blank page)

    http://powerofmoms.com/forums/forum/general-discussion/ (should show topics for this particular forum. Shows description text, but no listing of topics)

    I haven’t made any changes at all to the template yet…just wanting to get things working again. Any suggestions?

    Gautam Gupta
    Participant

    Yes, if I remember correctly, groups are created as forums internally in bbPress and are sub-ordinate or children of a parent forum created by BuddyPress. When you’re done with your import, you can easily move out all of the forums from that parent and do a recount. Sorry for the late reply. :)

    #106092
    Jaja..
    Member

    This is what i did and worked for me.

    I do have a WP Multi-site installation but i don’t think it’s different on a normal WP install.

    *My root

    wp-content > themes > <first theme> <second theme> <twenty ten> <twenty eleven>

    First theme is the theme i was using on my WordPress website.

    After that i created an empty folder called second theme

    I copy-/pasted all files from the bbPress plugin folder into the empty second theme folder i just created.

    From:

    *plugins > bbpress > bbp-themes > bbp-twetyten > All files and folders from here (without the bolded bbp-twentyten folder)

    Now if you go into your style.css in the second theme folder you see that this one is empty and it says it will call the css > bbpress.css from the functions.php file. <– now also inside that second theme folder.

    But at the top of this style.css file you see some theme info it just looks like some regular junk-talk (theme info) but it really isn’t junk-talk but very important, at the last line of code it says template name: (twenty ten) (if i remember correct) If you change that to (first theme) in my case and save it you’re done.

    Now it will load first theme as a main theme and second theme as your child theme (with your bbPress files inside)

    It’s very cool because if you add a new page from your admin you can also pick different bbPress page templates.

    Example, you can create a new page and add from the template drop down menu (right-side sidebar) the login bbPress page template and you will get a login-page.

    This is all i did and it worked out for me, the add theme support function i never added because it’s also inside the functions.php file in your second theme folder.

    Hope this will help somebody here.

    #108888
    master5o1
    Participant

    Which, I assume would be copying the existing shortcode function, modifying it to see fit.

    #108887
    master5o1
    Participant

    You could create your own custom shortcode that does it.

    #108958
    Jaja..
    Member

    I found something..

    https://codex.wordpress.org/Function_Reference/add_action

    Only trying to find where those functions are.. they aren’t in my functions.php

    ??

    So they call a function by the plugin DO_ACTION PHP code but i can’t find the template that lists all those actions-/functions.

    #108907

    In reply to: jDate and Jalali dates

    amirsaam
    Member

    Thanks!

    I have a PHP class for jDate but I saw something in the core cause of that I asked. Now I must make a plugin for jDate :-)

    But your Docs are not very good and it’s hard to make it!

    About regrading, you made vr.2 a plugin cause of that I get mistake :-D

    We will wait! but if you add Automatic Update to bbPress for the first step it will be intresting! Can we port the WP one tp bbP?

    امیرسام

    #108906

    In reply to: jDate and Jalali dates

    I don’t see anything in bbPress core regarding jDate, and am unfamiliar with what it is. PHP has some jd functions for handling/converting Julian dates, but I’m afraid I cannot teach you PHP – it must be learned. :)

    Regarding bbPress 1.0/1.1, we are still actively creating/supporting/maintaining all previous versions. Thanks for the offer, but we have everything under control. :)

    #108945
    xps20
    Member

    I am not a coder so I do not understand how to flush.

    All I came across from a search was to add,

    $wp_rewrite->flush_rules();

    but I wouldn’t know where to start on where to add that code, or if that is even the right line of code.

    Thanks for replying btw.

    #106845
    WhiteRau
    Member

    as a quick addendum, i didn’t actually delete the code. i just commented out the PHP contents, like so:

    <?php //get_sidebar(); ?>

    that was if something changes and i still need the sidebar, i’ll know where they all were to begin with. :)

    WR!

    #106844
    WhiteRau
    Member

    i’m trying to do the same thing right now. looks like you’re going to have to search through each PHP file in the bbPress theme and remove the following code:

    <?php get_sidebar)(); ?>

    it’s the only way that i can think of… which is neither fast nor easy. :(

    WR!

    #39935
    Jaja..
    Member

    I think i’m starting to understand how to build your own forum themes,

    But i have a question,

    What does <?php do_action( 'bbp_template_notices' ); ?> do for my theme?

    I’m not very good at PHP and i have search but there is none template_notice.php file also i can’t find any filter of function called like this inside a template file, so i was just asking myself what it would do for my theme?

    #106089
    Jaja..
    Member

    Just wondering

    If i want to add bbPress to my own theme, this topic tells me to add the add_theme_support( 'bbpress' ); to my functions.php <– the functions of my own WordPress theme.

    Because if you copy-/paste the files from the bbPress plugins folder to my wp-content > themes > theme folder it also has a functions.php file.

    What about two functions.php ?

    #107334
    Jaja..
    Member

    Same as above i would like to see a codex how to use those all PHP codes.

    I often can understand the WP Codex and build unique themes because i can view the codex and work thing out.

    Now i would like to create my own bbPress theme and forum layout-/display but i don’t have a codex to view what options i can use.

    Shortcodes are great but not the most flexible.

    #108885
    Anointed
    Participant

    I see, you are using shortcodes, so my idea doesn’t work then.

    Personally, I like to have complete control over every template in my theme, so I bring over all the bbpress files into my current theme and modify from there.

    As I don’t use shortcodes, I’ll have to let someone else chime in and help you out.

    #39936
    lglions
    Member

    I installed 2.0.5Rc5 for my WP installation (latest stable) and encountered that when I see the list of the forums the_title I have in my template is set to the name of one of the forums instead of being “Forums”.

    I am new here and sorry in advance if I’m logging this problem in a wrong place.

    Also I would like to learn where can I get(buy) themes for the forums that look like the one here. Styling it myself is fun, buit I’d rather reuse. :)

    #107333
    sulliwane2
    Participant

    Hi,

    Is there a way to make the shortcode [bbp-topic-index] displaying only a certain amount of topics ?

    Something like [bbp-topic-index n=$number]

    Thank you,

    Sulliwane.

    ps: your plugin is just awsome…really awsome, thank you so much

    #39933
    nikoza
    Member

    Hello there,

    I think my question will be very easy for most people here but I am really having a hard time to make it work. I read your post about theme compatibility many times but I am still missing something.

    I installed the bbpress 2.0 rc plugin in my wordpress 3.2.1 and I also looked over the internet for a bbpress theme (not sure if it is compatible with bbpress 2.0 though). What I did was:

    First Time:

    A) I uploaded the custom theme I found over the internet.

    B) I copyied all the files from bbp-twentyten into the custom theme folder

    The result is that I cannot find my theme in the theme directory in order to activate it.

    Second Time:

    A) I uploaded the custom theme I found over the internet.

    B) I copyied the folder bbp-twentyten from “/bbpress/bbp-themes/” into the wp-content/themes. My custom theme was also the wp-content/themes

    The result is that I cannot find my theme in the theme directory in order to activate it.

    In both case I added the add_theme_support( ‘bbpress’ );

    Can you please give some me some help cause I feel very stupid.

    N.

Viewing 25 results - 17,626 through 17,650 (of 32,499 total)
Skip to toolbar