Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,651 through 31,675 (of 32,432 total)
  • Author
    Search Results
  • #51715
    ardentfrost
    Member

    btw, you’re using memberlist .73c, not .73a ;)

    #51714
    ardentfrost
    Member

    Very nice looking. Glad you’re using a few of my plugins :) Theming bbpress isn’t so easy yet, but it’s doable and you certainly did a good job.

    #52853
    chrishajer
    Participant

    That php error is usually caused by white space/blank lines before the <?php or after the closing ?>. I would check for that first.

    #51713
    Nicki Faulk
    Member

    Yeah, I know that once theming ability is added to bbPress, I’ll probably be fixing several things on this theme! LOL

    But hey, it’s yet another toy for me to muck up, I mean, play with. :D

    #1154
    Null
    Member

    Hi,

    My plugin has a post form. It works all great, but seems to conlfict with every other post form from the forum. Only the form from my plugin works, all others (like posting a reply) will generate errors.

    If tried to resolve this by adding an hidden field:

    <input type=”hidden” name=”portalforum” value=”1″ />

    so this form is only used when value is 1:

    if ($_POST['portalforum'] == 1)

    This seems to resolve the problem, but ow i get another error:

    Warning: Cannot modify header information – headers already sent by etc etc

    Any ideas of how to fix this? Or to only use the form when in the admin area?

    Thx

    #51711
    Nicki Faulk
    Member

    Thank you, Trent. :D

    I just may do that. I’m still working out little kinks here and there (mostly spacing issues), but I’ll definitely share here when I’m finished (or at least satisfied LOL!).

    :)

    #994
    Nicki Faulk
    Member

    I’ve tried to match it up as close as possible to the main site without looking too “off” and feel that I’ve done a pretty good job. :)

    http://www.nowwerecookin.org/bbpress/

    You’ll need a p/w and username: test/test

    Plugins used:

    • Allow Images 0.7.1
    • Avatar .73a
    • bbEmoticons version 0.72
    • Memberlist .73a
    • Google Sitemap Generator .6
    • BBPress Private Messaging 0.73
    • Use Display Name 0.7.2
    • Online List 1.3-fix
    • WordPress Integration .7

    (all plugs found via these forums :))

    Feedback would be greatly appreciated. I’ve checked on Firefox 2.0 and IE 6.0 but would love to hear from users of other browsers! :)

    Thanks in advance, and a huge thanks to those who’ve posted these plugins, as well as the FAQ and other solutions. Skinning this thing has been a bear, but everything else has been relatively easy as pie. :D

    #52744
    Nicki Faulk
    Member

    Very nice! :)

    Worked perfectly the first time. One tiny detail I would add: users whose bbpress install is in a directory named anything other than “forums” will need to change the RewriteRule in order to reflect the correct path. I almost missed that part. :)

    #52640
    chrishajer
    Participant

    Thanks :)

    #52639
    skrimpy
    Member

    Chris – I’d be glad to. I opened post.php (found in bb-templates or in my-templates) and modified it by placing <?php post_sig(); ?> into the code.

    my finished code section looked like this:

    <div class="threadpost">

    <div class="post"><?php post_text(); ?><?php post_sig(); ?></div>

    <div class="poststuff"><?php _e('Posted:'); ?> <?php bb_post_time(); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php post_ip_link(); ?> <?php post_edit_link(); ?> <?php post_delete_link(); ?></div>

    </div>

    I then saved and uploaded this into my-templates.

    I’m going to try and do some more customizing to get the sigs to look just the way I want them to on my forums. I’ll post if I’m successful ;)

    #52743
    spencerp
    Member

    YES! Once again gerd damn-its, testing a bunch of crap out the arse.. for Josh there.. it’s FINALLY working both ways now.. whee!!

    http://spencerp.net/forums/

    http://spencerp.net/forums/mlist/

    http://spencerp.net/forums/mlist.php

    Now, maybe, hopefully, some time soon here.. I’ll be able to actually work on MY theme’s for the blogs… because I’m already 7 months behind on the crap.. sigh.. =P

    spencerp

    /It’s fun though.. being the guinea pig .. of a bbpress plugin pimp! lmao

    #52742
    ardentfrost
    Member

    Ok, it’s updated. You should download version .73c (for a small change) then add this in your .htaccess file if you need to have the rewrite rules in that location:

    RewriteRule ^mlist/ /forums/mlist.php? [L,QSA]

    #52739
    ardentfrost
    Member

    .73b is on my download page ( http://faq.rayd.org/memberlist/ )

    And I never said you were attacking my skill. If you don’t like the error message that you should never see, then change it. Again, it is open source. Just open mlist.php that you put in your root directory; it’s at the end of the file.

    And it sounds like you are having a similar problem as spencer. He turns on permalinks and it works for everything except my plugins, whereas my plugins work fine for myself and others who have permalinks on.

    If the problem persists, you can either turn off pretty permalinks until I figure out what the problem is, or you can change the function on line 100 in bb-memberlist.php in your my-pluins directory to this:

    function bb_get_memberlist_link( $tag = '' ) {

    global $bb;

    if ( $bb->mod_rewrite )

    $r = bb_get_option('uri') . "mlist.php" . ( '' != $tag ? "?$tag" : '' );

    else

    $r = bb_get_option('uri') . "mlist.php" . ( '' != $tag ? "?$tag" : '' );

    return apply_filters( 'get_memberlist_link', $r );

    }

    #52738
    Nola1974
    Participant

    I wasn’t talking about your programming skill, I was commenting that saying “f’ed in the A’ isn’t a very appropriate thing to put in code that will be appearing on other people’s sites. I didn’t mean for it to be a personal attack.

    I have pretty permalinks turned up, but not sure if my .htaccess file is working like it should. WHenever I add new plugins, they dont seem to work with pretty permalinks. (pm, mlist etc…) I tried going to bb-admin/rewrite-rules.php but it just redirects me to the main page. Perhaps bb-press is assuming I’m in a bbpress directory?

    there’s a .73b? I’m running .73 currently. I’ve looked all over the site and cant find a mention of downloaing a .73b version.

    #52735
    Nola1974
    Participant

    Hmm. I keep getting taken to ‘mlist’ instead of mlist.php

    Then, when I change it to mlist.php in the plugin, I get

    Oh Snap! Your memberlist got F'd in the A

    Real professional.

    #52276
    Nicki Faulk
    Member

    Yes, I’m integrated. :)

    #52274
    Nicki Faulk
    Member

    Not sure why, but I had to make these changes to get the PM links to work for me:

    if ( $bb->mod_rewrite )

    $r = bb_get_option('uri') . "message" . ( '' != $tag ? "$tag" : '' );

    to

    if ( $bb->mod_rewrite )

    $r = bb_get_option('uri') . "message.php" . ( '' != $tag ? "$tag" : '' );

    and

    if ( $bb->mod_rewrite )

    $r = bb_get_option('uri') . "pm" . ( '' != $tag ? "$tag" : '' );

    to

    if ( $bb->mod_rewrite )

    $r = bb_get_option('uri') . "pm.php" . ( '' != $tag ? "$tag" : '' );

    Works great though! :)

    EDIT: I get this error when I add the pm_user_link bit to my post.php

    “bbPress database error: [Table ‘CENSORED_DB_NAME’ doesn’t exist]

    SELECT * FROM bb_users WHERE ID = 1″

    I never could figure out why I was getting that, so I just deleted that bit, but otherwise seems to be working fine.

    #52637
    skrimpy
    Member

    figured it out ;) I have it working now. I needed to mod post.php

    #50190
    skrimpy
    Member

    I also had this issue noticed by a user of my forum running IE6. I changed the code as said above and he reported the pink gone. The screenshot he sent doesn’t show alternating grey and white topics/forums as my screen shows (I’m running firefox). It’s all solid white.

    Has anyone been able to further address this issue with IE6?

    #49811

    In reply to: FAQ

    Nicki Faulk
    Member

    GREAT FAQ!

    The Permalinks solution fixed my problems in a jiffy!

    (Silly me, I re-installed 3 times before *finally* finding the FAQ … no more turkey for me! :))

    #49480
    satellio
    Member

    @pompilos and lstelie

    I guess the change password bug (and general user-account editing bug) in the translated versions are triggered by the translation of this line in the bbpress/bb-includes/functions.php file:

    $profile_menu[0] = array(__('Edit'), 'edit_profile', 'edit_users', 'profile-edit.php', 'edit');

    If you translate 'Edit' by 'Editer' or 'Modifier', for example, users won’t be able to save their password change, and administrators won’t be able to save a role change for an user; the last part of the edit link — …/edit— will be changed to either …/editer or …/modifier. The page will display, but when you click on the save button, changes to the user’s profile won’t be saved.

    #52419
    lordcoder
    Member

    Ok if my PHP/MySQL knowledge is still good , the plugin must , on the first use , add a new collumn to bb_topics table ( named for example cat_id ) , and a new table titled bb_cats .

    On each use of the plugin , it must check if everything is good ( the collumn cat_id , the table bb_cats ) before continuing , and if not , it must display the default structure of the forum .

    To perform this last , there must be new template tags which can be ignored if the plugin installation is wrong , so the plugin needs its proper template file …

    We know that the goal of BBPress is to be light and fast , so if you code all the things above and use them on a plugin , BBPress will be slower , i think like PunBB …

    So my tip is ; don’t use categories , try to remove no useful forums , merge some forums if they are similar , and you’ill have a good order without categories .

    #52849
    lordcoder
    Member

    Ok , i see that my messages are incomprehensible ( normal , i am not a native english speaker ) , i ill try again ( my english will suck a little :P ) .

    I have this on my my-templates/footer.php :

    <?php if ( $bb_current_user->ID ) : ?>

    <li><h2 class="vcard">Profile</h2></li>

    <li>

    <?php profile_menu(); ?>

    </li>

    <?php endif; ?>

    My goal is to display the avaible profil options for the connected user if no other user’s profil is viewed .

    But it doesnt work until i dont go to another user’s profil and displays this error :

    Warning: Invalid argument supplied for foreach() in /home/httpd/bouazza/bouazza.franceserv.com/sbouazza/forums/bb-includes/template-functions.php on line 59

    And only one item is viewed , Profile , and it contains a bad link ( http://bouazza.franceserv.com/sbouazza/forums/profile/, without an user ID ) .

    But if i am viewing an user’s profil , the menu is correctly displayed , and allthing is fine .

    I Hope I can get more replys now .

    Thanks !

    PS : It will be great if we can speak here on this board in another language like French , German … espiecially for guys like me who ar’nt familiar with English :P .

    Bouazza .

    #49552
    chrishajer
    Participant

    The site issue and the database issues do seem like separate things. That was the first thing that caught my eye though (the URLs.)

    my database has bbpress_ tables (like bbpress_forums, bbpress_posts, etc) and wp_ tables (like wp_links, wp_users, wp_usermeta etc)

    My config.php (bbpress) has this for the DB stuff:

    $bb_table_prefix = 'bbpress_';

    $bb->wp_table_prefix = 'wp_';

    And mine just works with user integration like that. Is is possible that including the ‘http://dearauthor.com/wordpress/wp-config.php&#8217; is overwriting something? I didn’t have to include that, and just have the one other require there. Why is that included for yours (did you read something I didn’t maybe?)

    Looking at your original error:

    'dearauth_bbdb.wp_users' doesn't exist

    the table prefix there is set to dearauth_bbdb somehow. Maybe you forgot to close a quote or something? Or did you edit your config before posting it (i.e. it’s not the actual, but it’s edited without the same error maybe?) You didn’t post the MySQL and bbpress config stuff from the top of the config.php.

    Just guessing, but maybe we’ll get it.

    #49551
    JaneLitte
    Member

    I have tried that. It seems to me that it is not looking at either the right database (ie., the wordpress database is different than the bbpress database) or it needs to have the “bb_” prefix instead of the “wp_” prefix.

    i.e., when I change $bb->wp_table_prefix = 'wp_'; to $bb->wp_table_prefix = 'bb_';, I no longer get the error, but then I am also not getting the wordpress users either.

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