Info
- 63 posts
- 7 voices
- Started 5 years ago by ardentfrost
- Latest reply from _ck_
- This topic is not a support question
Plugin - Member List
-
- Posted 5 years ago #
Here's one I hope you all enjoy.
This plugin and helper files allows you to link to a member list page, which by default displays the username, user title, home page, join date (with some easier-to-read formatting), and I left in some commented out code for post count if you have my post count plugin installed (if not, you might want to delete those lines from memberlist.php).
Additionally, you can click the colum title for Username and Join Date and get the list sorted by that column. Furthermore, if you click the same column again, it sorts it by the column in descending order.
Lastly (and the coolest part in my opinion), admins will see an extra part to the table that will allow you to delete users (as many or few at one time as you want). Users without the ability to delete users will not even be able to see the added cells or submit button.
To see the member list in action, visit http://www.rayd.org/forums/ (the link is at the top). You won't be able to see the cool admin parts of the table, of course ;)
To download the plugin, visit http://faq.rayd.org/memberlist/
-
- Posted 5 years ago #
By the way, currently all members will be displayed onto one page. I plan to release another version in the future that limits the number of users listed per page.
-
- Posted 5 years ago #
That is just a great plugin Ardentfrost! You have now just about completed off every single reason why people stay with phpBB with plugins for bbPress and opens the doors to functionality and users we didn't have before.
Best part about plugins is that you get to choose how bloated you want your forums. That being said, I doubt having all the plugins in this forum would even hinder performance at all!
Great job!
Trent
-
- Posted 5 years ago #
Thanks ;)
I think private messages is another big factor keeping people away. I've been working on it, but it's a decent size task. Every new plugin I do, though, teaches me more I need to know about bbpress to get pm's working. Doing the member list taught me some very important things. Maybe I can get it done in the next week.
-
- Posted 5 years ago #
It works, but it does give me an error at the top of the page:
Warning: Invalid argument supplied for foreach() in /var/www/forum/my-plugins/bb-memberlist.php on line 54Ideas?
Trent
-
- Posted 5 years ago #
hmm, that's strange... gimme a minute, going to add in an if statement. Odd I don't get that error though
-
- Posted 5 years ago #
what page do you get that error? main page or memberlist page?
-
- Posted 5 years ago #
mlist.php is where I get the error only. I am not calling the plugin anywhere but on that page.
Trent
-
- Posted 5 years ago #
did you not get the link? are you just pointing to mlist.php?
use the bb_memberlist_link() to get to the page, not just directly.
use it like this:
<a href="<?php bb_memberlist_link(); ?>">Member List</a> -
- Posted 5 years ago #
YES!! I was just going to ask about this, thanks!!
spencerp
-
- Posted 5 years ago #
I just updated the file. Retry it please.
-
- Posted 5 years ago #
The error is gone. Thanks for that! Problem I have (not your problem) is that I can delete the users off your list, but because of the integration with WP, I still have to delete the users in there as well. Great idea though!
Trent
-
- Posted 5 years ago #
aww, sorry it doesn't work with the integration. You can probably add a little something to it and do it though. I just don't have mine integrated so can't test it.
-
- Posted 5 years ago #
Ah dang, mine is with the integration too.. and being that I'm not a coder.. I'll probably have to wait until something is worked out then.. :(
spencerp
-
- Posted 5 years ago #
it still works spencer, it just doesn't delete the user in both places. For normal users, however, there is no difference.
You can still use whatever way you use now to delete users.
-
- Posted 5 years ago #
Oh! Ok.. awesome! Once my host's server gets back online again.. I'll implement it! Thanks again! ;) :)
spencerp
-
- Posted 5 years ago #
I just tried it, and for some reason.. the link is taking me to a 404 page..
http://spencerp.net/forums/Everything was done, per the READ ME file.. Any thoughts?
spencerp
/Even styled it, and located it where you have on your forums mentioned above lol. =P -
- Posted 5 years ago #
Spencer. That memberlist link is creating the following for you:
http://spencerp.net/forums/mlist
It needs to create the following link:
http://spencerp.net/forums/mlist.php
Not sure if that is a bug, but I just manually called mlist.php myself, so I didn't pick that up.
Trent
-
- Posted 5 years ago #
the /mlist is supposed to work. I don't know why it doesn't work for you spencer. Maybe it only works if you have pretty permalinks enabled?
For some reason Trent's /mlist just goes back to the main page.
That is so weird. And that means that sorting doesn't work for you guys.
I'll try to work on this. I have no idea why this works for me. Do you guys have pretty permalinks enabled?
-
- Posted 5 years ago #
That would be why. Neither of us has pretty permalinks enabled. Not sure why we don't though.... :-)
Trent
-
- Posted 5 years ago #
well, dang, now I gotta figure out how to deal with if you don't have that enabled ;)
Did you enable it? I want to test the plugin out on your site
-
- Posted 5 years ago #
I don't want the permalinks on my forum. If you need to test it with them on, then maybe Spencer will (Here is the link for directions).
http://bbpress.org/documentation/faq/
I would assume be the one test without permalinks on if I could!
Thanks,
Trent
-
- Posted 5 years ago #
Trent, can I email you a file to try out?
-
- Posted 5 years ago #
yeah for sure.
You know the address....
Trent
-
- Posted 5 years ago #
sent
-
- Posted 5 years ago #
That works for me! Working now....I will check the call on the main page now, but sorting works.
Trent
-
- Posted 5 years ago #
sweet, ok, going to update the download. Let me know how the call goes.
-
- Posted 5 years ago #
Other than my formatting....it works great!
Trent
-
- Posted 5 years ago #
Original download is now updated. The only file changed is the bb-memberlist.php in the my-plugins (spencer).
-
- Posted 5 years ago #
Trent, you have my post count plugin installed, you should enable post counts on the member list page ;)