![]() |
Brinnie,
Unless you paid for copyright removal, at the least, the copyright needs to read: vBulletin, Copyright ?2000 - 2005, Jelsoft Enterprises Ltd. You don't have to keep version information, but the rest is required by Jelsoft. :) |
Quote:
I'm buying the full version next week, so... anyone have sucess with this on Beta 4? |
Quote:
|
Quote:
|
Quote:
|
I don't think you need the select query. I mean, the custom fields get passed on by the POST method. They should already be somewhere in the script. Get the values from there.
|
You would think so, wouldn't you. But, if you look at the code, you'll see that what's passed in to the activation routine are two things: The username and the activation id.
Using the username, the code gets the userinfo BUT not all of it. It only gets what's in the user table. It doesn't get the profile fields. And, it never does a call to fetch_userinfo(). (Which would result in a query as well.) If I weren't doing this as a plugin, I would have changed the query to do a left join and get the profile field stuff. But, I'm doing this as a plugin and can't change the query. Hence, the second query. Amy |
Ah... Sorry, I did not notice that you were hooking it into the activation section. I thought you added the group right upon registration... :P
|
Nope. I don't want unactivated users in secondary user groups.
I figured it was safer this way for all concerned because not everybody understands how secondary usergroup permissions work. They could end up with some nasty surprises by putting somebody in a secondary usergroup that has priv to post, view attachments, or whatever. Yes, the answer is to severely limit secondary groups, but not everybody knows to do that. :) Amy |
I am getting a Parse error when the user tries to activate their account. Here is the plugin I used. Is everything OK? Anyone know the problem?
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
All times are GMT. The time now is 06:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|