Search Results for 'code'
-
Search Results
-
We’re considering BBPress for user forums on our website. However, our website already has user registration (account system), and we will not have a separate registration for our forums.
Therefore, a key question is how easy it will be to integrate BBPress into an existing user registration/authentication system. A colleague looked through the BBPress code, and came up with mostly good news (see bottom).
The bad news, though, made me come here to see what the plans are for abstracting the user registration system in future versions. I imagine that our situation is quite common: no one wants multiple registration schemes on a single site (it’s bad enough how many we all have around the web!).
Note: we’ve been very satisfied with WordPress on many fronts, although not for user contributions, so no WordPress integration questions at all. And, yes, we looked at http://bbpress.org/documentation/integration-with-wordpress/
BAD NEWS, SPECIFICS:
The SQL queries that interact with the users table are interspersed across a dozen files or so. While this makes integration slightly more difficult, the real issue is that future updates to bbpress might become difficult if not impossible to merge. Given how forum packages are magnets for security
vulnerabilities, this might become a critical issue.
—
I don’t want to argue about security vulnerabilities; that’s not the issue. The point is: at what point will BBPress change how user information is distributed around the application and/or abstracted?
I checked Trac to see if the Timeline or Roadmap had any hints, but didn’t see anything.
Is this situation seen as a problem? Anyone else sharing the pain? Any insight?
GOOD NEWS, SPECIFICS: (accounts = our site registration system)
* The bbPress user table consists of 9 columns, 5 of which overlap with our generic user table, requiring only a ‘glue’ table to provide the extra columns
* There are no SQL JOIN’s with the user table (that I could find), making integration easier.
* Integration with accounts is possible and would take only a few hours.
* Customizing the look and feel would be no more difficult than it was to customizing WordPress.
* Disabling registrations is easy to do, which would force users to register via accounts.
John Roberts
OpenDNS
Topic: My first plugin (post count)
It’s a simple one.
It returns the post count of the user.
You can see it in action at http://www.rayd.org/forums2/ (you have to look at an actual topic)
You can download it from http://faq.rayd.org/bbpress_postcount/ (link is instructions how to use it, link at bottom instructions)
Is this something I can submit to bbpress? Or is me mentioning it here the equivalent of submitting it?
Topic: Plugin: Simple Onlinelist
Hi.
I really missed an onlinelist in bbpress, so i made a simple one myself. Dont expect anything special, it just tells who was online over the past 5 minutes.
Download it here.
See a demo here. (Login use: Test / test)
To Display the online list simply add
show_online_users();
wherever you want it in your template.Additional Features:
– Last online time on profile page:
profile_last_online();
– Current online users as number:
total_online_users();