this has happened to me as well. Two new users have registered and have IDs 99999999 and 1000000000. They appear to be spam though so I was very worried that they’d somehow managed to hack their user id from the front end??? Highly unlikely though.
I am wondering if the conversion from phpBB to bbpress has anything to do with it? ( https://bbpress.org/forums/topic/47?replies=12 )
Did you use this wittmania? I did, and these are the first users to register since the migration. I will investigate a bit further over the next few days when i get the chance….
Have you tried registering again and logging in as that user?
When you are integrated with bbPress, it uses the wp_user table for users. It shouldn’t have done anything to your WP install just integrating with bbPress. That is strange. I don’t think I have ever seen this one. Even with both integration plugins, registering in either program I can’t replicate this. Anyone else seeing this as well?
Trent
I would like to force users to register via the WP blog that my bbpress install is integrated with. Is there any fast and easy way to do this?
I know I could probably crawl through the code and hard code the link so it goes to the WP registration screen instead, but I was hoping someone might have a different suggestion. Also, forcing them to log in through wordpress would be kind of nice as well.
Call me crazy, but I’m still a little cautious about running registration and login through the BBpress side.
I have recently integrated a bbpress install with an existing wordpress blog/site. The WP blog had three users prior to the integration, and all three made it over to the bbpress install with no problems. However, today a new user registered on the WP side and her ID defaulted to 999999999.
I proceeded to register a “dummy” user, just to see what happened. The next registration ticked up to user ID #1000000000. While I doubt that this will lead to any serious problems, it seems silly to me to have user IDs starting around ONE BILLION, when even 1,000 would be plenty high enough for my lil’ ol’ site. Having McDonald’s-esque “XX billions served” sized numbers seems to fly in the face of the “Code is poetry” mantra.
Any ideas as to what’s going on here?
Hi,
sorry for the late reply, but the instruction given to me were not all the clear, I apparently was looking for a solution that wasn’t the one that would work for us.
To sum up the info I have, user authentification will not rely on BBpress authentification, but on our own user table (login and password) called by a simple htaccess file.
AuthUserFile /home/login/.htpasswd
AuthGroupFile /dev/null
AuthName "Private"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
So our users will not need to register a new account to get access to BBpress (that is intended to be private only) and they’ll just use their existing account.
We might use cookies to allow easy naviguation between BBpress, WordPress and the login page (that will contain a load of other things)
I haven’t seen any tips on wordpress forum either. Maybe my eyes were not wide open at the time ?
Can it simply be done without rewriting the whole login process ?
Well if you really want it. I have some time to kill so i think, i will try to do this. Before i start i need to know some detail.
Your wordpress using custom db prefix?
Your bbpress using custom db prefix?
Do you need stats like “Registered Users count” and “Post count”? Or you just want “Most Popular Topics”?
I was able to register and post. If you can’t see your post or mine, check the bb-admin/ => content => akismet and make sure we weren’t filtered through that. If we were, stop by users and the bozos to make sure we weren’t nailed there either.
Trent
That’s it! Enough!
I have modified to have no fields, and to link directly to the centre column.
<form class=”leftlogin” method=”post” action=”<?php bb_option(‘uri’); ?>bb-login.php”>
<p><?php printf(__(‘Log In‘), bb_get_option(‘uri’).’bb-login.php’) ?></p>
<p><?php printf(__(‘Register‘), bb_get_option(‘uri’).’register.php’) ?></p>
</form>
Thanks for your help MacWise. Someday, someone with more patience will solve the problem.
Hello macwise
That didn’t really work. The second field has disappeared. It almost seems like it is underneath the first field.
It will do an initial click on the username. But than that ability disappears, even with a refresh.
I’m thinking the easiest way to manipulate this problem is to have just two links. The “Register” is already linked to register.php. How would I link the “log in” to login.php? This way I would avoid the width problem where the action would then flip to the center column.
I tried this but it didn’t work:
<form class=”login” method=”post” action=”<?php bb_option(‘uri’); ?>bb-login.php”>
<p><?php printf(__(‘Register or log in‘), bb_get_option(‘uri’).’register.php’, bb_get_option(‘uri’).’login.php’) ?>:</p>
</form>
Shweet! Here it is, ready for download. Please try it out and let me know what you think. This plugin allows custom profile fields on the following pages:
register.php
edit-profile.php
It also displays the information on the profile.php page, and possibly others.
Here’s the link:
ra_custom_profile_keys.zip
I haven’t looked at the code, but my guess is that since the dates are stored in the DB as GMT, and the time functions display times as “time elapsed since” that this is expected. Where are you seeing the actual times displayed?
I just registered a new user. I get “Member since: March 5, 2007 (7 minutes)” and “user [profile] registered 7 minutes ago” in the profile page and the admin page respectively. The memberlist plugin shows the time as the time on the server: 03/05/07 at 02:52:44 AM (when it was actually 1:52 AM where I am.) In the database, it’s stored as 2007-03-05 07:52:44
Where are you seeing the GMT and what functions does it affect?
Also, I am using .80 with WP integration (for users anyway) and not using any plugins for the user timezone or anything like that. How about you?
ok…i have kinda worked out my own fix that’s a lot messier than pravins…just printing from the send mail function.
The password works and yeah…
I have the password printed at the top of the page but that’s ok..
They are line numbers.
Index: register.php
=============================================
tells you the filename.
http://www.dustyant.com/articles/running-bbpress-on-sourceforge
That link has the patch file without wrapping.
Argh! Ok, I tried it but on the first one (bb-includes/registration_functions.php) Gedit could not find the
bb_send_pass( $user_id, $password );
phrase so I could not change it to
#bb_send_pass( $user_id, $password );
…all other things worked fine in what was found…
My experience on the register page is that is is the notification or the timezone plugins. It will be a plugin though for sure. Test out which one and then we can fix that for you.
Trent
When a user wants to register I have this:
bb_get_user needs a numeric ID
in the html view of source the last thing is </fieldset> …
Can someone help me find out what this is?
http://forum5o1.awardspace.com/
I want to test pravin’s print password thing… but I have no idea whether it works…and no, this was happening before pravin’s fix…
That fix removes the function that emails the username and password, and displays it on screen instead. If you look at the patches, the lines with a – in front are removed, and the lines with the + are added.
i don’t quite get what the ‘fix’ in that thread does.
This thread is related:
https://bbpress.org/forums/topic/82?replies=8#post-349
Looks like 3 days ago member:pravin was trying to see if this would work with .81. Maybe you can post in that thread or contact that member?
You see, I have no SMTP server (or what ever is required to email the password), so the registration email will not send. This is a problem because then no one can register (and get their password)
In bix I just printed the password (directly from the function that sends the password) to the top of the registration page (after submitting the details). I have not since been able to do this in desmond, and thus can only add users by the admin-add-user plugin.
Can anyone help me?
Page numbers – say a thread has more than 30 replies and falls onto the second page, it’s very irritating having to click the thread’s name and then click again to get to the second page. Next to the page’s name you should simply have the page numbers displayed and clickable, hopefully in a smart way (say showing the first few and the last few). You can see it on this forum, too: say I want to read the second page of posts in the Plugin: Forum Restriction thread, I have to click on the name and then on the second page. Is there maybe even a plugin to list the page numbers next to the page name in the thread listing?
In WordPress you have hooks that let you take actions through your plugin when they’re called, right? I guess bbPress does the same. I specifically want to create an Identicon avatar on registration – it’s not essential, just something I’d like to do. How do I register my plugin to work on that hook, and what hook do I use? Just a list of hooks would be helpful.
I got it. One thing I found out is that people can register with the same email address for multiple accounts. So they don’t necessarily need multiple email accounts. So that’s not an issue.
I understand the want to not make them log out and back in. Maybe it’s something someone will consider as a plugin, a “fast user switcher” or something …
It’s not so urgently documentation I want, more a list of available things. Hooks, too – for example, I’d like to make something happen when the user registers, but I don’t have any idea where I can look for available hooks (or template tags, for that matter).
OK, here it is. Notice though that the selection box is added using evil ways. You may be all well and good if you don’t add it, though. More info in the README.
A few modifications and it will become a nice plugin that saves the user preferred theme in the db and id not annoying (and only works for registered users when logged in). Will that be useful to anyone?