Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,626 through 31,650 (of 32,432 total)
  • Author
    Search Results
  • #52873
    Null
    Member

    Hmm going to play with that, thx

    #52872

    There is a way I think (correct me if it’s wrong).

    Here’s an example:

    http://la-school.com/public/location-filter.txt

    #52871
    Null
    Member

    So in this case, there is no way to extend it?

    #50991
    mistainu
    Member

    i’m also facing the same problem, has anyone solved it? or will bbpress work a UTW integration? =P

    #52281
    spencerp
    Member

    It was no problem at all. ;) :) By the way, he also posted one over here sigh: https://bbpress.org/forums/topic/6/page/2?replies=48#post-2677

    Dang spammers! :(

    spencerp

    #52859

    In reply to: My forums template :)

    vaelrith
    Member

    Signature isn’t working most likely because you have the latest version of Avatar. The change you made in functions.php for signature need to be made in bb-avatar.php instead (in your my-plugins directory). Check out Line 34… that’s where you need to make the adjustement.

    No idea what that means… :(

    #52279
    Nicki Faulk
    Member

    Stalker? :)

    #52862
    spencerp
    Member

    Ah, ok.. I’ll have to try/test that then Josh.. thanks for pointing that out.. ;) :)

    spencerp

    #49483
    satellio
    Member

    I have made a .pot file, a fr_FR.po file and a fr_FR.mo file from version 561 in the bbPress Subversion trunk.

    http://svn.automattic.com/bbpress/trunk/

    svn co http://svn.automattic.com/bbpress/trunk/

    The localization files are based upon the previous French localization files for bbPress made by Luc St-Elie.

    https://bbpress.org/forums/topic/6#post-331

    • The bbPress 561 folder:

    http://sostomates.fr/projets/bbpress/bbpress.zip

    • The pot file:

    http://sostomates.fr/projets/bbpress/trad/bbpress.pot.zip

    • The French po file:

    http://sostomates.fr/projets/bbpress/trad/fr/fr_FR.po.zip

    • The French mo file:

    http://sostomates.fr/projets/bbpress/trad/fr/fr_FR.mo.zip

    See it in action at http://sostomates.fr/

    Comments welcome at http://sostomates.fr/bar/topic/20?replies=1

    #52748
    Nicki Faulk
    Member

    OK, who let the spammer in? :)

    #52870
    so1o
    Participant

    you can’t add code but can add functionality – IF it has filter hooks in for the function

    #1161
    chrishajer
    Participant

    I am recording this here only so that I don’t lose the information. My forum has been running for about a month and I have never had an issue logging out. Today only, one time, I logged out and got this error:

    bbPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]

    SELECT * FROM bbpress_online WHERE user_id = LIMIT 1

    Warning: Cannot modify header information - headers already sent by (output started at /htdocs/riverside/forum/bb-includes/db-mysqli.php:147) in /htdocs/riverside/forum/bb-includes/pluggable.php on line 168

    This the the URL from the address bar:

    http://www.example.com/forum/bb-login.php?logout

    I’ve never had that before and I cannot reproduce it. It happened only once and is now fine. I had not edited any files in the past couple of days or added any new plugins. The only thing possibly related is I upgraded from Firefox 1.5.0.x to 2.0.0.1 yesterday, and this was the first time logging out on this computer with that browser (Windows XP if it matters.) Maybe that’s somehow related?

    #1160
    chrishajer
    Participant

    Occasionally, a post will get flagged by Akismet as spam, and it’s because of the apparent limitation on links. Posts with 3 links do not get flagged, posts with 4 do. Is there a workaround for that, or barring that, can you whitelist specific posters so their posts are not checked by akismet or they are just passed through, like a whitelist?

    Looking through bb-includes/akismet.php I found this on line 121

    bb_trusted_roles() ... // Don't filter content from users with a trusted role

    How do I set specific users for a trusted role? In user admin, I see only administrator, moderator, member, inactive and blocked. Everyone is a member now.

    Also, I am integrated, if that matters.

    Maybe something in wp_usermeta (bbpress_capabilities or user_level)?

    Could I add ‘member’ to

    ./bb-includes/functions.php:1546: return apply_filters( 'bb_trusted_roles', array('moderator', 'administrator', 'keymaster') ); (knowing the downsides, whatever they may be?)

    Thank you

    #1159
    kuczek
    Member

    There are places, like in template-functions.php where you want to use singular/plural forms, it goes like :

    __ngettext( 'post', 'posts', $post_num )

    Im translating EN to PL using poEdit and I added there __ngettext keyword, after that it take for me ‘post’ string, but ‘posts’ was ommitted, how to take them all ?

    #1158
    Null
    Member

    Hi,

    Just wonderin IF this is possible and how.

    In template-functions.php around row 176 there is the following function:

    function get_bb_location() { // Not for display. Do not internationalize.

    and it has cases like:

    case 'index.php' :

    return 'front-page';

    break;

    I want to add my own case into this function, but how do I do this? I can do it manually ofcourse, but I want to do this using a plugin. Any ideas?

    Thx

    #52861
    ardentfrost
    Member

    I think he means he wants the ability to add new ones or take away some on his own, possibly through a nice interface. It’s not a bad idea.

    For now, though, if you want to change it, make a file in your my-plugins directory and put this in it:

    <?php

    function get_profile_info_keys_personal() {

    return array('user_email' => array(1, __('Email')), 'user_url' => array(0, __('Website')), 'from' => array(0, __('Location')), 'occ' => array(0, __('Occupation')), 'interest' => array(0, __('Interests')));

    }

    add_filter('get_profile_info_keys', 'get_profile_info_keys_personal');

    ?>

    Then you can add or take away whatever you want.

    However, you will need to know a little more about how other plugins work. For instance if you use my avatar plugin, you would need to add into that file 'avatar_loc' => array(0,__('Avatar URL')) (into that long line) and comment out part of my plugin.

    A plugin to do all of that automatically wouldn’t be hard, but would need to be done in such a way so that people can write plugins to interface it (so, for instance, I could interface it from my avatar plugin to make sure that the part I need is inserted into the line).

    I only mention that so that if anyone decides to tackle the plugin before I do, they’re sure to account for that ;)

    #52857

    In reply to: My forums template :)

    spencerp
    Member

    Nice one! I love it!!

    and remove the front-page.php changes so that it is more standard and release it to public whenever I change to a new theme. I don’t want other people to be using my theme at the same time I am =D

    Awww, damn, damn, damn it.. lol! Just kidding..! =P Either way you release it, will be fine by me.. whee~~

    spencerp

    #1155

    Topic: My forums template :)

    in forum Themes
    vaelrith
    Member

    I made a theme for my forums, and found it rather easy. It was mostly just all css, and a few changes to the front-page.php file.

    http://zenhelix.us.to/forums/

    I’m using a few plugins also:

    • Allow Images
    • bb-avatar
    • bb-limit-latest-discussion
    • bb-memberlist
    • bb-postcount
    • bb-privatemessage
    • bb-signature – this one isn’t working for some reason, but i didn’t really look into it
    • display-name
    • forum-moderators – don’t know if this one is working either
    • notification
    • onlinelist

    Thanks to all who made those :)

    I’ll make the theme more user-friendly and remove the front-page.php changes so that it is more standard and release it to public whenever I change to a new theme. I don’t want other people to be using my theme at the same time I am =D

    #51720
    Nicki Faulk
    Member

    Thank you, devils_adv. :)

    #51718
    Nicki Faulk
    Member

    Thanks, spencerp! :)

    #52855

    Ehm … donno where exactly should I get errors?

    I installed this file .. I can post … I can login .. I can access the Portal-Configuration … =)

    Everything seems to work for me.

    #52198
    spencerp
    Member

    Um, I don’t see why it’d be a problem though.. but, it’s always better safe then sorry. ;) :) However, someone made a WordPress theme, based on the WordPress.org/WP support forums theme.. so.. I dunno.. we’ll have to wait and see what the Uppy Ups say I guess.. =P

    spencerp

    /If it’s a no-go, it might be because they’d want their own “signature” forum theme.. who knows though.. =P

    #51717
    spencerp
    Member

    I love it!! ;) :) You did an awesome job on the theme/forums there.. ;) :)

    /Get’s in line for downloading a copy of it, once she’s going to share it.. LoL! ;) :)

    spencerp

    /By the way, your link still stands on my main site: spencerp.net … under one of the links sections.. ;) :) I haven’t been there in a while though, but will stop in again then.. I promise! ;)

    #52420
    spencerp
    Member

    Oh yeah, I agree totally about how it could “slow down” a forum. ;) I’m not worried about that really, I’m specifically asking if/for this to be possible with bbPress, so I don’t have to use those *other* forum softwares though.. =P

    I guess I’ll have to wait on what Josh comes up with, I think he’s planning on doing something about this then.. whee!

    spencerp

    #51716
    Nicki Faulk
    Member

    Thank you, ardentfrost. :D

    re: version – Whoops! Right you are, my bad. :)

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