Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,276 through 18,300 (of 32,499 total)
  • Author
    Search Results
  • @kai920 – Please don’t bump topics, especially if they’re still on the front page.

    I’m against the idea of using wp_register(); since it redirects you to wp-login.php to sign-up instead of using a registration page in the theme. Also, the idea with community sites like bbPress and BuddyPress, is usually to keep members out of the admin area. Promoting them to enter it seems counter intuitive.

    #95502
    Syrehn
    Member

    Firstly I’m very glad to see this project going.

    I’ve been playing around with the beta, using beta 2 at the moment, and maybe it’s me doing something wrong but if I create a forum, and then create a category it will not allow me to create a topic under that category. Only under it’s main forum. Is this intentional?

    I’m very much looking forward to the final release of this plugin. Thanks! :)

    #100776

    Not really an optimal fix, since it’s still loading the sidebar. Ultimately if you want a custom theme, you need a custom theme. :)

    #105876

    Not really an optimal fix, since it’s still loading the sidebar. Ultimately if you want a custom theme, you need a custom theme. :)

    zaerl
    Participant

    Hi softinfo. What you’re trying to achieve can be very challenging cause bbPress developers haven’t included such feature in the software. On index.php topics are obtained with get_latest_topics, forums with bb_get_forums.

    The current page (for topics) is collected from a $_GET variable called page which have its own rule in the .htaccess which in turn is parsed by bb_get_uri_page (functions.bb-core.php) called from BB_Query::fill_query_vars (yargh).

    Now you must do the same thing with forums but in order to do this you must change too many core files and we don’t want our soul damned for eternity.

    I don’t have much time at the moment but I can give you some hints.

    You need a new page variable that should be different from the default (which is used for posts’ page) together with its own .htaccess rule: RewriteRule ^forum-page/([0-9]+)/?$ /forum/index.php?forum-page=$1 [L,QSA]

    You should create a new fake paginate function bb_latest_topics_pages for forums bb_latest_forums_pages, a fake get_page_number_links with /forum-page/%#% instead of /page/%#% and other things here and there.

    And last but not least you need a custom query (with a LIMIT) on the $bbdb forum query.

    As I said it can be very challenging and there’s room for a very interesting plugin but I don’t write plugins anymore because of the current fragile status of bbPress standalone.

    If you will try to write a plugin I will be happy to debug and/or code (a portion of) it.

    Anointed
    Participant

    @lykketrollet

    No, there is no way to manually change user permissions within the bbPress core. Well more specifically, not without a ton of hacking of the code.

    Someday, I am guessing there may be a bbPress plugin built for this purpose.

    I know I keep talking about the members plugin, and I do so because it is the perfect tool for the job at the moment. It really is built so well that you can set it once and ignore it.

    Who knows, maybe after seeing just how powerful and simple it is, you may just end up finding other great reasons to use it as well.

    *The real problem with having this in core would be group permission collisions. Meaning, if I use members to set permissions for a specific group and also have bbPress doing it then there can be problems if the permissions are not exactly matched up.

    **The opinions of this commentator do not necessarily reflect the views of the network :)

    Pomy
    Participant

    Hi zaerl, hope you’ll be fine, doing good and still helping people here…

    I’m using zaerl Visibility for private discussion. And I’m using one forum for per user. In other words, Whenever a user register, I create a forum for him….

    So when a user enter in forums he can view latest discussion and his private forum in front page something like


    Latest Discussion


    1 – Lasted Topic one —

    2 – Lasted Topic two —

    3 – Lasted Topic three —

    4 – Lasted Topic four —

    25 – Lasted Topic 25 —


    Main Theme


    1 – Private Forum Name & Descirption —

    So, Its a user view, but for Admin, I can see all forums

    Like


    Main Theme


    1 – Private Forum Name & Descirption for user 1 —

    2 – Private Forum Name & Descirption for user 2–

    3 – Private Forum Name & Descirption for user 3–

    4 – Private Forum Name & Descirption for user 4–

    100 – Private Forum Name & Descirption for user 100–

    So, for my view I can see a longest front page….. That’s why I want a pagination for forums, exactly like topics pagination…. Is it possible?

    Something like


    Main Theme


    1 – Private Forum Name & Descirption for user 1 —

    2 – Private Forum Name & Descirption for user 2–

    3 – Private Forum Name & Descirption for user 3–

    10 – Private Forum Name & Descirption for user 10–


    Next 10 forums || Previous 10 forums


    Also please see this screenshot for better understand what I’m taking about.

    Thank you so much,

    Kind Regards

    S.

    #95500
    tooltrainer
    Member

    Yep I’m just gonna sit tight. Like I said, no user has screamed about it or anything so, I’ll just accept it for a little while longer.

    Furious indeed… maybe they should rename this project “bbPress – the Faster & the Furiouser!” =)

    Jonathan

    #106249
    Giulio
    Member

    @Fartlek: ok, I’m sorry, you were right. Resolved with the Widget Logic plugin :)

    Thank you.

    #95498
    tooltrainer
    Member

    Please no one eh? Now that’s a novel approach! LOL Does this mean if someone likes it, you’ve failed? ;)

    Anyway, at least I know that I’m not missing something. I’ll go in and modify it as needed, or maybe hold off until beta 3. None of my users have mentioned it, but I noticed it and wanted to fix it.

    Thanks!

    Jonathan

    #95497
    Spiralspeaks
    Member

    @JJJ I installed it on a test site.. with 2 forum categories.. General Talk and Talk Happiness

    found a bug got

    site com/forums

    <br />
    <title> Happy People's Forum | Sitename </title><br />

    but it gives in title tag the archive mode and shows like this

    site com/forums

    <br />
    <title> Forum: Talk Happiness | Sitename </title><br />

    supposed to be this one:

    site com/forums

    <br />
    <title> Happy People's Forum | Sitename </title><br />

    and this “Forum: Talk Happiness | Sitename” should be only shown at

    site com/forums/forum/talk-happiness/

    <br />
    <title> Forum: Talk Happiness | Sitename </title><br />

    Archive Slugs

    Forums Base forums

    Topics Base topics

    Single Slugs

    Forum Prefix Yes Incude the Forum Base slug in single forum item links

    Forum slug: forum

    Topic slug: topic

    Topic tag slug: topic_tag

    Reply slug : topic_tag

    Reply slug:reply

    User base: user

    View base : view

    Permalink Settings

    Custom Structure: /post/%postname%/

    Another one…

    Case 1 If Forum Prefix is set to yes (this is ok)

    site//forums/forum/happy-talk/

    site/forums/topic/topicpost/

    site/forums/users/name/

    Case 2 If Forum Prefix is set to no (this is not ok)

    site/forum/happy-talk/

    site/topic/topicpost/

    site/users/name/

    when people directly go to site/forum/ they will be lost… 404notfound

    and I want to recommend this… its better to have this for forums links pages

    Forums Home › Talk Happiness › Why choose happiness with bbPress?

    (Structure: forum base, the forum board, the topic)

    not this one loosing forums base page.

    Website Home › Talk Happiness › Why choose happiness with bbPress?

    (Structure: website base, the forum board, the topic)

    bug in topic_tag

    site/forums/topic_tag/talk

    <br />
    <div id="topic-tag" class="bbp-topic-tag"><br />
    <h1 class="entry-title">Topic Tag: <span>talk</span></h1></p>
    <p> <div class="entry-content"></p>
    <p> <div class="bbp-breadcrumb"><p><a href="https://bbpress.org/">Home</a> › <a href="https://bbpress.org/forums/">Support Forums</a> › <span class="bbp-breadcrumb-current">Why choose happiness with bbPress?</span></p></div><br />

    it gives the latest topic on it..

    [edited:added this one bug in topic_tag]

    my next question is…

    is there a way to change all the head title tag to this formats to improve user experience… for wordpress and bbPress plugin:

    For Main Forum Base

    <br />
    <title> Happy People's Forum | Sitename </title><br />

    For forum categories

    <br />
    <title> Talk Happiness (Forum for single/Board for forum category)| Happy People's Forum </title><br />

    For forum post

    <br />
    <title> Why choose happiness with bbPress? |page#| Happy People's Forum </title><br />

    it is sometimes annoying to have the word “Forum:”, “Topic:” or “Topic Tag:” all the head title tag before every forum pages.

    Removing this “Forum:”, “Topic:” or “Topic Tag:” could help to market wordpress and combination of bbPress plugin… to be fantastic combination of blog&forum software..

    I found that vBulletin sites head title tag structure for forums gives more emphasis on why people will read it, why people should comment to it (# pages = means hot topic), and the brand for the website/forum site [when people search via google, yahoo or any search engine people sees good head title tag structure, more often people will click it and read it]

    Negosyo para sa mga “busy at mahiyain” – Page 31 – PinoyExchange

    why/why not go to Accenture? – PinoyExchange

    benefits and perks in accenture? – PinoyExchange

    sorry, asked questions… and i have to comment on how to improve bbpress plugin

    #95495

    Nope. Definitely not a bug; that’s the desired behavior.

    The thing about these breadcrumbs is everyone wants them to do something different, because everyone configures their sites differently. I’m aiming for a ‘please no one’ approach now. :)

    If you want to remove the home link, you’ll need to filter the breadcrumb with a custom function in your themes functions.php file, or write a plugin to remove the link or change the text. I’ve made it pretty easy to do, and it will be easier for Beta 3 which should be out in a few days.

    ideoplasm
    Member

    Hello,

    I have the BBpress WordPress Plugin version installed on my WordPress site, and have found that from installation defaults, the lowest ranking user-role that can view the private forums is ‘Moderator’. The trouble with this, is that Moderators can edit other people’s posts, and I do not want all Users that can read and post in the private forums to be able to edit each other’s posts! Is there an easy way to change this? Ideally I’d want WordPress ‘Contributor’-level users and above to be able to view the private forums. I’d also like WordPress ‘Subscriber’-level users to be able to read the public forums but not post to them, but his is not as important, so no real problem if it cannot be done.

    Sorry if this has been asked many times before, but I’ve read a bit about user-maps etc, but the discussions tend to be quite old and talking about the BBpress standalone, not the BBpress WordPress Plugin, so I am not sure if it works for the BBpress WordPress Plugin version(?). Just so you know, I am no kind of Coder – just an Animator – so am struggling with terminology etc. here.

    I hope someone can help!

    Thanks!

    #106521

    In reply to: Change "posting order"

    It would take a small plugin to piggy-back on top of bbPress. It would hook into the ‘bbp_has_replies_query’ filter, and switch the ‘order’ argument from ‘ASC’ to ‘DESC’.

    Or, you can drop something like this in your functions.php file. (Note: Not tested, so this code might not actually work.) :)


    function bbp_reverse_reply_order( $query = array() ) {

    // Bail if no query
    if ( empty( $query ) ) return;

    // Change the order
    $query = 'DESC';

    // Return the adjusted query
    return $query;
    }
    add_filter( 'bbp_has_replies_query', 'bbp_reverse_reply_order' );

    #95487
    kai920
    Member

    @Chrisdfr – if you are using the bbPress plugin (i.e. NOT the standalone), I would just download it directly from the WordPress backend by going to mysite.com/wordpress/wp-admin. Then Plugins > Add New > Search for ‘bbPress’ and Install :)

    #106514
    gloom
    Member

    Will do – thank you for the masterful quick response (and a working solution right off the bat :)

    My only other question in terms of bbPress is how to set it up so that new posts in particular categories are automatically added as new topics in respective parts of the forum.. but that’s not at all related to my original issue, so I’m breaking the thread here (feel free to point me in the right direction though :)

    #106513

    Score. :)

    Keep in touch and definitely report back anything else you find.

    #106512
    gloom
    Member

    I’m glad to report that this fixed all my issues with bbPress 2.0 beta 2b. :)

    #106510
    gloom
    Member

    Almost, yeah :)

    /%year%/%category%/%postname%/

    This is the .htaccess:

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^index.php$ – [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    #38658
    GeraldS
    Member

    To get the HTTP authentication plugin running with bbPress 1.0.3 I had to do a few tweaks. Here is the diff from the original file and my modifications:

    42c42,45
    < global $bb_submenu;
    ---
    > if (function_exists('bb_admin_add_submenu')) { // Build 794+
    > bb_admin_add_submenu(__('HTTP authentication'), 'use_keys', 'http_admin_page');
    > } else {
    > global $bb_submenu;
    44c47,48
    < $bb_submenu['plugins.php'][] = array(__('HTTP authentication'), 'use_keys', 'http_admin_page');
    ---
    > $bb_submenu['plugins.php'][] = array(__('HTTP authentication'), 'use_keys', 'http_admin_page');
    > }
    176c180
    < $user_exists = bb_user_exists( $user );
    ---
    > $user_exists = bb_get_user( $user, array('by' => 'login') );
    226c230
    < ?>
    No newline at end of file
    ---
    > ?>

    Hope this helps someone.

    Regards,

    Gerald

    #106271
    kai920
    Member

    I was able to get Comment Form Quicktags showing on bbP’s reply form by adding add_filter('bbp_get_reply_content', array(&$this, 'detect_start')); but not on the topic content form. I tried:

    add_filter('bbp_topic_content', array(&$this, 'detect_start'));
    add_filter('bbp_get_topic_content', array(&$this, 'detect_start'));

    What am I doing wrong?

    #95485

    Tools > Import

    :)

    #106485

    In reply to: here goes …

    @caming – Thanks for taking the time to search around and give it a go on your own. The missing piece to your puzzle can be found at the link below:

    https://codex.wordpress.org/Child_Themes

    Cheers

    #106416
    tooltrainer
    Member

    Yep agreed on all points. Hopefully though it’s the content that trumps all right? ;)

    Jonathan

    #106415

    The thing with mod_security is getting it dialed in. Since WordPress traditionally has a limited set of data entry points, I imagine we’ll see more of these issues arise. What surprises me is this hasn’t been an issue for BuddyPress yet, and everything within a BuddyPress site happens from within the theme. Glad you’ve got it sorted out though.

    I’ve gone through my fair share of forum transitions and they always manage to upset everyone. Forum software is not unlike any other *thing* in that the person interacting with it gets attached to the way it works at a behavioral level. When you move any 1 thing around, it upsets their workflow, and makes things difficult again. When you move everything around, it’s a nightmare, and rarely do forum users rejoice at the change.

    :) No worries, I try not to take anything personally.

Viewing 25 results - 18,276 through 18,300 (of 32,499 total)
Skip to toolbar