![]() |
To do this, change the query in the hack to:
[sql]$DB_site->query("SELECT * FROM `" . TABLE_PREFIX . "profilefield` WHERE `required` = '1' AND `title` NOT LIKE 'Age'");[/sql] Just replace "Age" with the title of whatever profilefield you want to exclude. Find these titles in the AdminCP Profile Field Manager. |
Quote:
I dont even know where to look for the name of the birthday location. Just so you know I am talking about the birthday users have to answer when they register. |
It seems like the Birthday is not listed in the profilefield table, at which point what you are asking is impossible without adding further queries.
Not to mention me having no idea how it would be done. And I also have to wonder, why would you want to exclude birthdays? If you have it mandatory on register, then it will already be filled out, and wont trigger this mod. |
Quote:
(I dont know why people on vb always doubt a question... but ok) so your looking at around 5000 users with this field blank. and around 7000 or so that do have it. But the profile page does not have it available. (next hack installed) But hey this hack is doing what it says.... awsome. so you have to do a db query to STOP the year result in this hack? maybe we are not hitting each other. Jan 3rd 1980 <--- The year on the site I wanted to use your awsome hack with has the year un editable. so the field is there. |
Quote:
Thanks bro. |
Well the thing is, if the Birthday is not listed as a Required profilefield in that table, it will be ignored automatically :)
|
Its not that is why I responded as I did remember?
how could I make your code work with the position of the field in the database? Thanks in advance. |
Finally found this thing... I knew I saw it somewhere! Now I suppose I should install per the "cleaned up" code, huh...
|
/me clicks install with Revan's revised code.
|
excellent hack!!!! exactly what i have been looking for since i changed to vb.
this should be standard.............. |
All times are GMT. The time now is 12:49 PM. |
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:
|