bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Plugin - Member List

(62 posts)
  • Started 1 year ago by ardentfrost
  • Latest reply from cocotrp
  • This topic is not a support question
  1. Sorry....where do I enable that?

    Trent

    Posted 1 year ago #
  2. There's some commented out code in memberlist.php in your templates folder. Just take out the comments (I wrote some words in there too)

    Posted 1 year ago #
  3. I figured that out shortly after posting....*sigh*

    Thanks,

    Trent

    Posted 1 year ago #
  4. Ok....last request! How about option to sort by post count as well (if applicable!)

    Trent

    Posted 1 year ago #
  5. I thought about that, but there's two things: 1. post count is another plugin altogether... not too big of a deal, making a function that is commented out by default is easy to do. 2. Post count isn't a db entry, so to do it I'd have to sort results after I got them (whereas now I do it all with SQL queries).

    I do hope to add it in at a later time, I just gotta figure out the best way to do it first :)

    Posted 1 year ago #
  6. Hi guys, sorry.. was offline for a bit there. I didn't have pretty permalinks enabled, and still don't. But, after uploading those new files of your's. It seems to be working fine now..

    http://spencerp.net/forums/

    Would you like me to try with pretty permalinks enabled then too, or..? Please let me know ok, I'll test it. ;) :)

    spencerp

    Posted 1 year ago #
  7. Not really important right now anyways! Love the plugin! I just hid it a little bit by putting it in a sticky post because I find that spammers love to register just to get a link on an actual page. That is annoying and really distorts the memberlist. I might even call it by a different name and make it so .htaccess blocks it from hitting the search engines.

    The joys of spammers.

    Trent

    Posted 1 year ago #
  8. spencer, I have permalinks enabled and it works for me, trent doesn't and it works for him now too (and you too), so I think that bug is fixed.

    Trent, I know what you mean... that's why that deletion part of the plugin is so cool ;) I can delete all spam users in literally a few seconds.

    Posted 1 year ago #
  9. Yup, it works for me if I have pretty permalinks, and no pretty permalinks set. I did exactly as said on here:
    http://bbpress.org/documentation/faq/#pretty-permalinks

    And she's working.. see it in action here:
    http://spencerp.net/forums/
    http://spencerp.net/forums/mlist

    YAY!! Thanks again!! ;) :)

    spencerp

    Posted 1 year ago #
  10. glad it works :D

    And spencer, since you have my post count plugin also, you can uncomment those lines in memberlist.php :D

    Posted 1 year ago #
  11. Awesome!! Done!.. You're the greatest, whee!! :D
    http://spencerp.net/forums/mlist

    spencerp

    Posted 1 year ago #
  12. Sorry Ardentfrost. One more thing. If someone puts a URL for a website that is stupid long (spammers of course), it will make the memberlist go outside of the page. Is there a way to limited the characters that the website can be when listed in the memberlist?

    Trent

    Posted 1 year ago #
  13. Good point, I'll see what I can do. It'll probably be a css fix (can set table widths in there).

    Posted 1 year ago #
  14. using it right now, and it's working great! Thanks a ton for this.

    Posted 1 year ago #
  15. Trent: I'll be updating memberlist soon to add a couple features, but I need to talk to you about fixes for wp integration (I think there are 2 that need to be applied, but I need your input and testing). IM me when you read this.

    Posted 1 year ago #
  16. yogaboat
    Member

    Hi - I downloaded v.73c of this plugin and have a couple of questions about directories and where to put the link.

    1. I created a my-plugins and a my-templates directory in the root of my bbpress directory, and uploaded the files as directed in the README file. Is that correct, or do those new my- directories go someplace else?

    2. Into which file would I insert the link to the member list?

    Thanks for your patience with this bbpress newb.

    Posted 1 year ago #
  17. On my server I have a subdirectory called "forums" and the my- folders went into that directory. That's the same directory I unzipped the bbpress files to. Other folders in that directory are bb-admin, bb-cache, bb-images, etc...

    I put my link in the file front-page.php in my-templates (it's initial home is bb-templates, you have to copy it over into my-templates and change it). I just stuck it under the "Views" section (you can see the result on http://www.rayd.org/forums/ but you have to login) or you can do what Spencer did and put it in your header so the link can be seen on every page (you can see that on http://spencerp.net/forums/ and you don't even have to login). The only thing about putting it in the header is you need to surround it with div tags and using css to place it.

    Posted 1 year ago #
  18. You uploaded the files to the right place! bbPress will try and see if a file is located in those 2 directories before defaulting back to the bb-templates/ directory!

    As for the link to thte member list page, most people have been adding that in their 'views' section of front-page.php. Copy front-page.php from /bb-templates/, edit the file to include the link, re-upload into my-templates/

    That way, if it doesn't work (the way you edited it), you can delete front-page.php from my-templates and bbPress will use the original again in bb-templates! Nice eh!

    Trent

    Posted 1 year ago #
  19. yogaboat
    Member

    Thanks guys! Y'all are a huge help to way unpolished hacks like myself. :)

    Posted 1 year ago #
  20. yogaboat
    Member

    eeek. me again. I have bbpress installed in a folder called 'bbpress' (not 'forum') in my root directory. (Site is here: http://navfm.org/bbpress) The members link shows up fine in the Views list, but takes me to this error:

    "The requested URL /forums/mlist.php was not found on this server."

    I do have pretty permalinks enabled, if that matters. I tried to find where it calls the /forums directory in the plugin files but don't know what I'm looking for exactly.

    Posted 1 year ago #
  21. I would go to front-page.php and check that the code you entered for the link is /bbpress/mlist.php and not /forum/mlist.php because you would of had to enter the link yourself.

    Trent

    Posted 1 year ago #
  22. yogaboat
    Member

    The only bit of code I changed in front_page.php was adding this line:
    <li class="view">">Member List

    ?php if ( $bb_current_user->ID ) : ?>
    <div id="viewdiv">
    <h2><?php _e('Views'); ?></h2>
    <ul id="views">
    <?php foreach ( get_views() as $view => $title ) : ?>
    <li class="view"><a href="<?php view_link(); ?>"><?php view_name(); ?></a></li>
    <?php endforeach; ?>
    <li class="view"><a href="<?php bb_memberlist_link(); ?>">Member List</a></li>
    </ul>
    </div>
    <?php endif; else : // $forums ?>

    I'm sure it's something simple but i don't know php. :(

    Posted 1 year ago #
  23. yogaboat
    Member

    Sorry, that was supposed to read, "adding this line:
    <li class="view"><a href="<?php bb_memberlist_link(); ?>">Member List</a></li>"

    Posted 1 year ago #
  24. Make it simple for now until Ardenfrost can answer! Change that line to:

    <li class="view"><a href="http://navfm.org/bbpress/mlist.php">Member List</a></li>

    Just add in your actual URL (hardcode it!)

    Trent

    Posted 1 year ago #
  25. yogaboat
    Member

    That I can do! (I wasn't sure if I should delete any <?php ....> stuff, but that works!) Thank you very much for your help and patience!

    Posted 1 year ago #
  26. yogaboat
    Member

    This was like one of those light bulb times for me - like years ago when I realized you could have an image link inside an href tag. Now I know you can have a php snippet inside one as well. It's the little things. :D Thanks again -

    Posted 1 year ago #
  27. since I use the function bb_get_option('uri') to build the link, I have no clue why it would be showing up as /forums instead of /bbpress for you. I assume it's correct in your config.php file?

    Posted 1 year ago #
  28. lol, that is the way it seems to work!

    Trent

    Posted 1 year ago #
  29. yogaboat
    Member

    arden, here's what's in the config file:
    $bb->domain = 'http://navfm.org';
    $bb->path = '/bbpress/'

    Is that what you mean?

    Posted 1 year ago #
  30. yeah, so, this is what's in functions.php (core file)

    function bb_get_option( $option ) {
    global $bb;
    switch ( $option ) :
    case 'uri' :
    return $bb->domain . $bb->path;
    break;
    ...

    So, all it does it return those exact two things you posted concatenated together. It makes no sense for the developed link to have a /forums/ in it.

    Posted 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

Code is Poetry.