The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
after their email, ip addie has been confirmed that they are not banned.
This would be a very useful hack to me as I have a few stirring up some trouble. Can somebody look into this? My users and I would be very greatful. Thanks. |
|
#2
|
||||
|
||||
|
You mean someone who's followed the link in the confirmation email, basically?
|
|
#3
|
||||
|
||||
|
Alright, if you're referring to people who haven't activated their account via the email link yet, try this:
Open index.php and find this: Code:
$getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE userid=$numbersmembers[max]");
Code:
$getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE usergroupid != 3 ORDER BY joindate DESC LIMIT 1");
|
|
#4
|
|||
|
|||
|
Would this work for any usergroup, I.E. newest moderator?
|
|
#5
|
||||
|
||||
|
Nope...but, then again, how often do you make a member who just registered a Moderator?
I was just going for a quick-as-heck fix for this guy.
|
|
#6
|
|||
|
|||
|
Actaully, not very often, but we do have a "Respected Members" usergroup that we add someone to quite often, and I would like to be able to do this. By the way, where have you been? You posted quite a bit on my forum for a little while, but then left.
|
|
#7
|
||||
|
||||
|
I don't know that that would interfere...I think it'd be okay. It should display the most recent member who isn't still pending via the email link. Are you saying you want a simple line of code to display the most recent member of a certain usergroup, INSTEAD of the most recent member, period?
|
|
#8
|
|||
|
|||
|
Yup, that's what I am saying. Do you think you could write a hack for that?
|
|
#9
|
||||
|
||||
|
Should be real, real easy. What usergroupid would it involve? That's all I really need to know.
|
|
#10
|
|||
|
|||
|
Great!
The usergroup ID is 8.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|