Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,201 through 18,225 (of 32,506 total)
  • Author
    Search Results
  • #106859
    master5o1
    Participant

    Ok, I’ve enhanced the extra-bar deletion JS so that it finds them all and deletes all except the last one. Because, assuming that the post form is at the bottom and such….

    But it’s still dependant on the above action.

    Not sure how to get past that yet without more code reading…

    (The whole JS thing is really just a hack until I do find out where to hook it into properly).

    Will update the zip file in a moment.

    #106858
    master5o1
    Participant

    Yeah, I need to figure out some stuff about that. It’s because I’ve hooked it into this:

    add_action( 'bbp_template_notices' , array('bbp_5o1_toolbar', 'post_form_toolbar_bar') );

    I then delete it using javascript if the bbp-reply-form or bbp-topic-form textarea elements aren’t on the page.

    I’ll look for a way to fix it in a moment.

    #106872
    John Conners
    Participant

    Sounds like you want to check something like this:

    <?php if( bbp_is_forum() || bbp_is_topic() || bbp_is_reply() ) {
    echo "iam_forum";
    }
    ?>

    #38859
    caneblu
    Participant

    Hi, trying to integrate in my template BBP, but i need to made some special changes in sidebar.php when the user are in forum’s.

    to initial check i write in the sidebar.php

    <?php if( bbp_is_forum() ) { echo "iam_forum";

    }

    ?>

    but the echo is visible in every page/post not only in the forum… what’s wrong?

    #38858
    payamb
    Member

    hey guys, i’v installed and integrated these two friends.

    BBPress is recognizing wpmu users and allow to login but when i login with my super user in BBPress, i dont have any administration ability,

    i set the rules for wordpress super user in bbpress settings, but its not working, and i cant in anyway go to bb-admin and change any setting :(

    any suggestion ?

    thanks.

    #38853
    master5o1
    Participant

    I’ve just made a post toolbar that works with bbPress 2.0, and extends a bit of kses in WP (adds <span style=""> and image posting support).

    Link to zip: http://dump.master5o1.com/files/bbpress-post-toolbar.zip

    The toolbar looks like this with the Link panel open:

    http://dump.master5o1.com/files/images/toolbar.png

    (the Bold button in the screenshot has the :hover css applied)

    Under help, one can reach an ‘About bbPress Post Toolbar’ panel which states the version of the and that I made it (but no link).

    The extending of kses to allow <span style=””> in the allowable tags is necessary for the font sizing, colouring, underlining, strike-through, and text alignment.

    The options page in WP Admin has the following:

    Use customised smilies?

    Yes No (default)

    Allow embedding of Youtube videos?

    Yes (default) No

    Allow text-alignment buttons?

    Yes No(default)

    Allow images to be posted?

    Yes No(default)

    Link to zip: http://dump.master5o1.com/files/bbpress-post-toolbar.zip

    I have requested plugin hosting for WordPress Plugin Directory and I’m waiting for it to be approved, etc.

    In the mean time, any comments and feedback from testing, etc would be help.

    #38848
    engin1984
    Participant

    How to get topics first 100 or 150 characters in post link title (in front page) ?

    is possible to Gettting posts index while hovering post link?

    tried post_text, in frontpage.php but didn’t work:

    <a href="<?php topic_link(); ?>" title="<?php post_text(); ?>"><?php topic_title(); ?></a>

    #106530
    svedman
    Member

    The live example looks fine to you, or the code in a newer version than bbPress 2.0-beta-3 looks fine to you?

    The live example clearly says:

    “Dette forumet inneholder 0 topics og 0 replies.”

    “topics” and “replies” are English words and should be translatable. They aren’t.

    #106741
    Erlend
    Participant

    From where I’m standing, your opinion seems swayed in our favor already :D Anyhow, stay swayable!

    I of course agree, there is an abundance of fun ideas when threaded comments are added to the mix.

    I can run another cool use-case by you: I’ve always had big plans for DJPaul’s Achievements plugin. The one feature keeping me from implementing it in my community site is the lack of a visible in-forum reward, as we rely on BP’s forums much more so than the activity stream. With comments, the Achievements plugin could post awarded achievements as comments to the “instigating” post.

    As for nested comments in the average forum, I actually see it as a positive evolution. Yes, the goal is linear conversation, but anyone who’s spent some time on a forum knows that linearity is a fragile thing. Over the years, moderators have been given some good tools to stand their ground in the name of good practice, such as splitting, merging, and deleting of individual posts. I believe (single-level) nested comments are a fine addition to these tools, especially if moderators were given the ability to convert posts into comments, and vice versa.

    Lastly, though maybe you’ll think me odd for wanting to make this separation, I for one commonly make two-sided posts: “A personal gesture” + “Down to business”. In the case of this thread, I for one would not have minded entering my first paragraph as a mere comment to your post, and then make the rest of this post the actual on-topic reply. Actually, I think there’s a way of going about that without it seeming weird. I’ll try mock something up.

    Edit:

    Alright, here’s a mockup of my idea:

    https://i.imgur.com/sBzHj.png

    Call it like you see it ;)

    #106796

    This is a known issue, and one we’ll be fixing in the coming weeks. :)

    #106826

    In reply to: Optional Avatars

    You can turn avatars off completely in your WordPress Discussion settings. :)

    #106740

    So… A few thoughts on this as of today. My opinion on this is probably easily swayed, but it’s what I think now so I’m gonna roll with it… :)

    So topics and replies, are already hierarchical to each other; replies are children of their topic. Forums by their nature are meant to be focused topics of discussion. It’s possible that topics can grow very large in size, but the intent is to keep the conversation fairly linear. Any forking/branching/nesting of conversations most likely belongs in a separate topic.

    But…

    Since we’re using custom post types, we still have the whole comments API just laying around WordPress that we’re not using. If, you /really/ wanted to have threaded discussion, you could add comments to the post_type_supports for replies, and build a theme to make it work. This would allow all kinds of neat extra usages for comments that are semi-conventional to blog posts. Use comments as reply feedback, use them as “Like” comments, use them for hidden moderator notes, etc…

    Lots of fun ideas come to mind. :) Comments were also the natural choice FOR replies, just like taxonomies were the natural choice for Forums/Categories, but since they all lack revisions, attachments, taxonomies, etc, I opted to use another post type for them and leave comments for plugin authors and developers to play around with.

    #106801
    Steve
    Participant
    #106782
    Aphrodite
    Participant

    for me that was in subdomains :)

    Nothing appears at all…

    #106781
    Ryan Hellyer
    Participant

    Have you guys been attempting this with subdomains or just folders on your multi-site installs?

    This will be darn handy once we can use it on multi-site :) Actually, it’ll be darn handy before then too, but it’ll be super darn handy once we can use it on multi-site.

    #106650
    sureshsk
    Member

    Is there a private messaging plugin for bbPress 2.0 plugin branch?

    I’ve just downloaded bbpm and it won’t run, i’m presuming it’s only designed to work with standalone bbPress?

    Is there anything else recommended?

    buissness cards

    #95550
    Anonymous User 5853594
    Inactive

    @JJJ

    Will it become possible to use shortcodes from other plugins for WP?

    For example the Polldaddy’s shortcodes for embedding polls and such.

    #75846
    DuncanCox
    Member

    How and where to use this code?

    #106648
    Ricardo
    Participant

    Hi

    I’m a internet newbie, don´t know if its because english isn’t my primary language but what you need can be easily achieved with the example i gave before,

    you want useres and admins to contact each other right? everyone that registers is a user, anonymous that don’t register dont get the PM function so its all good :)

    am i missing something? user to admin and vice versa work “in theory”. i’m going to work now but i’ll test this tomorrow after work.

    #106527
    svedman
    Member

    This one is not resolved properly with regards to localization.

    In bbpress.pot, the original strings are:

    This forum contains %1$s and %2$s.

    This category contains %1$s and %2$s.

    Even translated, these phrases have hard-coded English words for topics and replies.

    topics and replies for these phrases are, in other words, not present in the bbpress.pot file, and cannot be translated.

    #106642
    Ricardo
    Participant

    Is there a private messaging plugin for bbPress 2.0 plugin branch?

    Not sure but since bbpress uses the wordpress “users data” won’t PM pluggins designed for wordpress work with bbpress?

    https://wordpress.org/extend/plugins/private-messages-for-wordpress/

    a link on the forum ponting to http://www.domain.com/wp-admin would take users to their outbox. Not a complete and integrated solution but i think it works untill a full pluggin is developed or we could ask that pluggin developer to create shortcodes that show on bbpress if there are new messages or not and a link to see them.

    #95548
    Spiralspeaks
    Member

    Bug I see Topic Tag: e-commerce

    Topic Tag: regras

    Home › Fórums › Topic Tag: regras

    Oh bother! No topics were found here!

    As seen also on this forum

    <code>
    ricardouk.com/forums/topic-tag/regras
    </code>

    using latest version…

    what happened???

    the first version of

    bbPress (Twenty Ten) 1.1 by WordPress and bbPress teams

    topic tag is ok

    but this one

    bbPress (Twenty Ten) 1.2 by WordPress and bbPress teams not ok

    Additional info:

    Tried to fix it I thought taxonomy-topic-tag.php

    but after edit

    Topic Tag: bbPress

    Forums › Topic Tag: bbPress

    no topics shown for Topic Tag: bbPress

    TristanOBAv
    Member

    Hi,

    I’m having trouble connecting to my database that I have set up. Firstly it looks like the first step of the install process is changing the forum database (causing the DB Error: cannot select’, as in this forum post:

    DB Error: cannot select

    I went ahead and changed the config file manually, but when this happens I get the ‘ERROR: Could not establish a database connection’.

    I have a feeling it is to do with leaving the MYSQL hostname as localhost. If so, where should I get the alternate hostname?

    Here is the config file:

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘Forum’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘XXXXXXXXXXXXXX’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘XXXXXXXXXX’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘localhost’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define(‘BB_AUTH_KEY’, ‘Y]YVAAW{KX<z8*H4,E`8t2%j#F{yFuz?6yZDR-|}Ot@m <P8|TKIpyaF]Mh_N*RO’);

    define(‘BB_SECURE_AUTH_KEY’, ‘lgS<S0vo^-ojBRp(_i6@9uUa<e|36aXV)_B|8#Eqb^M|=O|ZY{.(`-?wBu>NTOdV’);

    define(‘BB_LOGGED_IN_KEY’, ‘;:P+XoB4ti%4.!RhNcuE3|n_1~Va,oQ6>1%b9O>^A ;:{^XXzCi=G`f))q9 B{!u’);

    define(‘BB_NONCE_KEY’, ‘d44;tp-T)%z:p;fz}P{4PzGrdp8DfIt$g@O?}-)bqn_lE|@;L^sEIO75zC-(I#J@’);

    /**#@-*/

    /**

    * bbPress Database Table prefix.

    *

    * You can have multiple installations in one database if you give each a unique

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

    * Change this to localize bbPress. A corresponding MO file for the chosen

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    ?>

    Any help would be greatly appreciated, thanks in advance.

    Tristan

    #95546

    Thanks a lot, JJJ. :)

    #95545
    Ricardo
    Participant

    @JJJ

    will beta 3 fix things not fixed in svn till version 3327? Thats what im using and its not fixed.

    Edit; had another quick try and its working.

    heres what i done, i’m using a twenty ten child theme, activated the child theme, copied the contents of the bbp-twentyten folder (not the folder) to the child theme root with the exception of style,css, screenshot.png and functions.php.

    at the root of the child theme i created a functions.php file from “scratch” with the following:

    <?php

    add_theme_support( 'bbpress' );

    ?>

    and voilá its working, i did this steps so many times in the morning but now its working :)

Viewing 25 results - 18,201 through 18,225 (of 32,506 total)
Skip to toolbar