cotonti.com : How to Parse user Extra Fields? https://www.cotonti.com Son konu mesajları Cotonti en Sun, 01 Nov 2026 08:28:46 -0000 scriptor merci for it :)]]> Sal, 29 Haz 2010 03:02:10 -0000 urlkiller Sal, 29 Haz 2010 02:52:34 -0000 scriptor ]]> Sal, 29 Haz 2010 02:29:01 -0000 urlkiller
1. first make a plugins that hooks in the right place (user.details.tags)
2. then make a mysql query that reads the correct field. ($my_user_row['hobbys'])
3. now you need a parse array like this:

/* SQL QUERY IS HERE */

$t->assign(array(
    'MYPLUG_HOBBYS' => sed_parse($my_user_row['hobbys']),
));

hope that helps a bit...]]>
Pzt, 28 Haz 2010 23:57:37 -0000
scriptor Pzt, 28 Haz 2010 21:24:17 -0000 urlkiller
plugins can have hooks, hooks are there for hooking in to system routines.
so you could make a plugins that hooks into the right one and there you have to add a tag array and the parse command.

you can read about that topic here: http://www.cotonti.com/docs/en/plugins/hooks?highlight=HOOKS]]>
Pzt, 28 Haz 2010 06:04:26 -0000
scriptor Paz, 27 Haz 2010 16:57:03 -0000 urlkiller Cmt, 26 Haz 2010 05:05:44 -0000 scriptor Cum, 25 Haz 2010 23:19:11 -0000