Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,026 through 22,050 (of 32,481 total)
  • Author
    Search Results
  • #84720

    In reply to: Plugins You Want !!!

    Dailytalker
    Member

    @Il Gatteo

    Regarding smilies…how about this smilies:

    http://www.dailytalk.ch/forum/stammtisch/ddd/

    You need the bbpress smilies plugin and the smilies you want. Than you can replace the ugly wordpress-bbpress smilies with the smilies you want. Its easily done.

    Regarding polls: Take the plugin “bbpress Polls”.

    What I need is a much better BB_code toolbar Plugin and a facebook connect plugin….

    #84719

    In reply to: Plugins You Want !!!

    Il Gatto
    Member

    I have many ehehe

    from most important to least important:

    1) Better BBCode (like PhpBB, VBulletin or any other forum) + Quoting (“user says”)

    2) Better MULTILANGUAGE SUPPORT!!! (this would rock – like qtranslate in WP)

    3) Advertising manager (a port of the popular Advertising Manager plugin in WP would do)

    4) User profile pages (with many customizable profile fields, etc)

    5) User photo galleries

    6) Better moderation tools

    7) Some social networking tool like Facebook connect, OpenID connect, Twitter feeds, etc.

    8) Better Smilies

    9) Better User Avatar System (Bavatars does a neat job though)

    10) Better Integration with WordPress (sometimes sucks)

    11) Customizable Forum icons

    12) User can post Polls / Surveys

    13) Event calendars…

    #85011
    Marius-
    Member

    That entire code` should I find those #codes in the stylesheet and plase the // infront of?

    Are you saying that I dont need to delete anything from the php files if I use this code. I just let everything be, and place that in the CSS?

    I tried putting it in Firebug, and nothing happened.

    #85042

    email me ashishsainiashfame[at]gmail[dot]com

    You can see my bbPress resource page here – http://blog.ashfame.com/bbpress/

    #84459

    email me ashishsainiashfame[at]gmail[dot]com

    paulhawke
    Member

    Getting back to what @frooyo asked at the start…

    Since the future is that bbPress will be a plug-in of WordPress, does that still allow bbPress itself to have plugin capability? Because essentially then, any plugin of bbPress would be a plugin of plugin to WordPress.

    Plugins would be managed in a single interface. They would use the regular WordPress functions to add admin-area functionality, and to add action hooks and insert themselves into the filter processing. The issue is which actions and which filters are registered in a given plugin. As bbPress is migrated to being a plugin the developers will make sure that it will broadcast its own actions, separate from WordPress, when it makes sense to, and share action/filter hooks when it makes sense. For instance, I could see the “talk like a pirate” plugin for WordPress being shared between bbPress and WordPress on a given site.

    In addition to action and filter hooks being distinct between the two systems, or shared in certain cases, it’s entirely possible to write code that a plugin registers with, separate from the main WordPress. Take for instance the current “Topic Icons” plugin that allows other plugins to register new “rules” on how to apply icons. This capability allowed the “Topic Icons” plugin to support skinning the “Support Forums” icon set without ever needing to be coded into the core “Topic Icons” plugin – people who dont run “Support Forums” never need activate that piece of code. What I’m getting at here is that one plugin can register and talk to another – there just has to be a little care about how its done; if bbPress becomes a WordPress plugin, there’s nothing to stop it having its own sub-set of plugins specific to it.

    How would the Admin interface look for bbPress within WordPress

    Its very easy to add a new top-level menu item in the admin interface, its just not something plugin writers normally do. In the case of bbPress, I could see a “forum” menu being added that then contains a sub-menu of management pages specific to bbPress. That said, we get user and theme management for free from the main WordPress.

    @bobtheman – you asked an interesting question

    on a side note, this sorta makes you want to ask yourself, will every project that automattic picks up be transformed into a worpdress plugin?

    It’s been said that “when all you have is a hammer, all the worlds problems look like a nail”

    The fact is, WordPress is a thoroughly versatile foundation to build upon. To quote another software engineering saying, “it isnt code re-use the second time some code gets used – that’s just a happy accident. Code re-use doesnt happen until the third and subsequent time.”

    What do I mean here? Simply this: the foundations of WordPress (user management, theming, admin, plugins, etc) are great. They make a solid basis for building from. BuddyPress started down that road and by a “happy accident” made use of the features. Now we are looking at bbPress and saying “wow – code re-use!” but there are large slabs of code that will not be used when you’re a bbPress user/admin. The thing which needs to happen is to look, now that a third (WP, BP, bbP) project is building on the same backend, and refactor the truly common code into a modular WP-Core that is lean-and-mean, and the additional functionality builds upon. We have an opportunity to drive the architecture of WordPress into a better place as bbPress becomes a plugin.

    For instance, what if I want to swap out and run my WordPress against Microsoft Active Directory for all the user management thereby gaining single-signon in a corporate shop? Impossible right now, but if the core is more modular, maybe it would be possible. If the core were more modular, then an install of bbPress need not drag the entire WordPress codebase along with it.

    #85008
    Marius-
    Member

    To be more specific. I use Kakumei theme, so what files include tag codes?

    I know post-form.php, front-page.php probably has them. But which others?

    Is it safe for me to just delete those lines from these files? Or should I do something else?

    #85006
    johnhiler
    Member

    Tags is part of the bbPress core, so you can’t just turn them off by deactivating a plugin.

    There are two ways to do it that I’m aware of:

    1) Remove the tag code from your templates:

    Tags only appears in a few places in your templates though, so it shouldn’t be too hard to remove!

    https://trac.bbpress.org/browser/trunk/bb-templates/kakumei

    Tag code appears in the following template files:

    tag-simple.php

    tags.php

    tag-form.php

    topic-tags.php

    topic.php

    There are descriptions of each template file here:

    https://bbpress.org/documentation/themes/

    2) Hide the tag fields in your stylesheet:

    https://bbpress.org/forums/topic/remove-tags

    Good luck!

    #33122
    Marius-
    Member

    I want to get rid of Hot Tags. Im not just talking about the menu on the left, but completely remove it.

    Remove:

    -Hot tags menu

    -Listed tags in topics

    -Tag box in reply-form

    Is there an easy way to do this?

    I now have 100 members on my forum, and nobody uses it, and its just ugly.

    Is tags a widget, or is it so hard coded into wordpress that I have to edit loads of files to get it away?

    Should I bother removing this now, or will this be easier with an updated bbpress, thats perhaps coming sooner than I happen to know?

    #77435
    talatorre
    Member

    aprendedor

    This is how I understand the code:

    function pages_table() {

    global $bb; //calls global variable

    // Compute the name of the table we need to query

    $table = $bb->wp_table_prefix; //this calls the wp prefix from the wordpress integration settings, ex: wp_

    if ($bb->wordpress_mu_primary_blog_id != “”) //checks for a WPMU id in the WP integration settings

    $table .= $bb->wordpress_mu_primary_blog_id.”_”; //appends the id, ex: wp_1

    $table .= “posts”; //appends “posts”, ex: wp_posts or wp_1posts

    return $table;

    }

    To answer your questions the code works no matter which type of WP flavor you are using

    bobtheman
    Member

    “My concern is that by making bbPress a plugin of WordPress, it’s DRASTICALLY moves bbPress away from the original goals because we already know that 1) bbPress would be *more* code, 2) much more complicated, 3) definitely slower given you have to load now WordPress and 4) fundamentally, this is not putting the user first.

    Just my 2 cents … also, thanks in advance for answering my questions above “

    I agree, making bbpress a plugin to WP is not in the best interest of bbpress. If this happens, our existence and success would be contingent on wordpress. The moment bbpress becomes a wp plugin, we are no longer a forum solution but rather a wordpress forum solution and we limit ourselves to just that.

    #84975
    bobtheman
    Member

    @kevinjohngallagher

    thanks, you have a great weekend also. hopefully you can attend next time :)

    #33106

    I used the default kakumei theme to create my own layout and everything works fine except for the following the “post_author_link,” and “post_author_title_link.” No matter what thread I have opened the tags always display the text “Anonymous Unregistered.” (example) I guess there’s sort of code that’s supposed to preface those tags, but I can’t figure out what it is. Any suggestions?

    p.s. Don’t let the name fool you, my website is safe for work.

    …I’m new to BBpress, so I hope this isn’t a stupid question. (I can’t find the relevant code in any of my template files.)

    P.S. my username/url is meant to be taken figuratively.

    #84838
    Anonymous User
    Inactive

    Hi all,

    my first test shows that the trunk version of bbPress breaks ‘BB Anonymous Posting’, ‘Post Meta for bbPress’, ‘Human Test for bbPress’ and ‘bbPress-WordPress syncronization’.

    And the new “Login-Less Posting” doen’t work in my installation.

    So I will do more testing tomorrow … :(

    #84942
    chengdu-living
    Participant

    I added that bit to .htaccess and it doesn’t seem to have changed anything. Perhaps it takes time to take effect? Here’s what my .htaccess looks like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^([^.:]+.)*chengduliving.com/bbpress.?(:[0-9]*)?$ [NC]
    RewriteRule ^(.*)$ http://www.chengduliving.com/forum/$1 [R=301,L]

    # END WordPress

    #84966

    In reply to: read only forums?

    johnhiler
    Member

    Ah yah, this plugin doesn’t seem to work in 1.0:

    https://bbpress.org/plugins/topic/read-only-forums/

    Your best bet is to ask or hire someone to upgrade the plugin to support 1.0? The number of changes needed is probably fairly low…

    Or there’s always the ultra-hacky solutions! :-)

    1) If your entire forum is read-only, you could hide the “Add New” link from your template, and only share it with people you want to post into your forums!

    2) If you only want specific forums to be read-only, you could turn them into a “Category”. Then nobody can post into those forums… but when you want to post, you could just change it from a Category back into a forum temporarily.

    #84962

    In reply to: Function include error

    kadr
    Member

    oh, and because of the code I am using to explain what my problem is, my message on this board get’s all messed up…

    sorry ’bout that…

    #33099
    kadr
    Member

    Hey,

    I changed this line in my theme:

    <p><?php _e(‘Allowed markup:’); ?> <?php allowed_markup(); ?>.
    <?php _e(‘You can also put code in between backtick ([…] ) characters.’); ?></p>

    to this line

    <p><?php _e(‘Allowed markup:’); ?><?php allowed_markup(); ?>`. <?php _e(‘ ‘); ?></p>

    And then I got this error on the forum:

    Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /domains/lijstblanco.nl/DEFAULT/bbpress/bb-includes/functions.bb-template.php on line 45

    So I changed it back, but the error remains!

    Any idea what to do now?

    #84931

    In reply to: adding photos

    chrishajer
    Participant

    OK, that’s fine. To get buttons, you need something like BB Code Lite or Comment Quicktags to get the button toolbar.

    https://bbpress.org/plugins/topic/bbcode-lite/

    https://bbpress.org/plugins/topic/quicktags-4-bbpress/

    https://bbpress.org/plugins/topic/bbcode-buttons/

    #84599
    johnhiler
    Member

    Use a program like Beyond Compare to compare (or “diff”) the default theme versus your custom theme:

    http://www.scootersoftware.com/moreinfo.php

    That should quickly identify the changes between the two…

    EDIT: I must’ve left this comment *just* after you edited your previous comment! Glad it worked out for ya… :-)

    #84598
    thion
    Member

    I know something’s wrong with my theme, that’s why I’m asking about important things that changed in new version of bbPress ;). Where’s that change log for Thyme Mint…

    <b>Update</b>

    Found it, fixed it! Turns out that what worked in previous versions doesn’t work in new one, I’m talking about this:

    <?php bb_profile_admin_form(); ?>

    This works, in previous versions I was using this:

    <?php bb_profile_admin_form('input'); ?>

    This doesn’t work :).

    #78493
    chrishajer
    Participant
    #78491
    chrishajer
    Participant

    The define statement should look like this:

    define( 'BB_LANG', 'nl_NL' );

    if your file is named nl_NL.mo in the my-languages/ directory

    The format for the name of that file is

    language code_underscore_country code.mo so nl_NL.mo and in the config you drop the .mo

    More info about Dutch for bbPress here: https://bbpress.org/forums/topic/dutch-translation#post-56700

    #78490
    kadr
    Member

    Ok, Still no luck.

    The right folder should be:

    my-languages in the root folder of my bbpress install. (same directory as were the config file lives for example).

    I changed the name of the file to nl.mo

    At the bottem of my config file I now have this line:

    define( 'nl.mo', '' );

    Is this all correct?

    If so, then why doesn’t it work?!

Viewing 25 results - 22,026 through 22,050 (of 32,481 total)
Skip to toolbar