Could you add a way to edit the custom fields for profiles? Or give a way to order them how we like? Currently if I want to add another one after the first or second I have to delete them all up to the one I want to add it after. And the last field I add doesnt have a delete option. If there is an easy way to change these in the sql I would do that, but last time I tried to mess with that it screwed it all up. Thanks.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x
Introducing weights requires bigger changes than adding "ORDER BY field" in the queries in the code from Your_Account/userinfo.php. At least you can then get the job done by choosing an appropiate name (or numbering) for your fields.
Not tested, not even tried. Just the way I think it can be done.
if (can_admin('members')||$owninfo){
$result = $db->sql_query("SELECT field, langdef, type FROM ".$user_prefix."_users_fields WHERE section = 2 OR section = 3");
} else {
$result = $db->sql_query("SELECT field, langdef, type FROM ".$user_prefix."_users_fields WHERE section = 2");
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/5.0.24/5/9.1 CVS
All times are UTC
This forum is locked: you cannot post, reply to, or edit topics. Forum Index
⇒ Requests Page 1 of 1