Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

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

    It’s easy to combine post types and taxonomies, but it’s difficult to come up with a UI that makes sense for both. Search the WordPress codex on how to combine post types and taxonomies. There are a few good examples out there.

    #108975

    Those topics were created via the WordPress dashboard. The post status is hard coded into the meta box, and password protected content is only loosely supported in bbPress 2.0. Someone is currently making a plugin that blocks admin posting which will prevent this in the future.

    #107335
    Jamie Marsland
    Participant

    Hi,

    I have the same problem as elmalak.

    I would like to use a page to put my shortcode in – however if you do this then the links all revert back to the default forum slugs?

    Jamie

    #108909

    In reply to: jDate and Jalali dates

    amirsaam
    Member

    umm… John I now see the about/domains page :-( I am sorry to say I’ve submit < bbPress.iR > for our team :-( Can we continue using it?

    #106683

    In reply to: Swedish for 2.0 plugin

    Look at the bottom of the screen where it says export :-) 

    #108966
    msalexander
    Member

    how can i attach my desired signature in bbpress forum there is no any option its profile.can you guide me in this regard?

    __________

    Computer Science Programs

    #108908

    In reply to: jDate and Jalali dates

    amirsaam
    Member

    John I’ve question about that the Date function must be in ThemeFunctions or no, that is in bbPress Core and I need to convert that to jDate function?

    We coded a plugin that with found jDate in somewhere will convert it into Jalali date but I don’t know we must with require_once function include the core or no, the theme must have the jDate… :)

    And can you say when will you work on the perevius versions? And when the stable 2.0 come (cause of that we need to prepare to support it too!)?

    Thanks…

    AmirSaam امیرسام

    #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!

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