cotonti.com : How to Parse user Extra Fields? https://www.cotonti.com Neueste Themenbeiträge Cotonti en Tue, 06 Oct 2026 06:47:42 -0000 scriptor merci for it :)]]> Di, 29 Jun 2010 03:02:10 -0000 urlkiller Di, 29 Jun 2010 02:52:34 -0000 scriptor ]]> Di, 29 Jun 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...]]>
Mo, 28 Jun 2010 23:57:37 -0000
scriptor Mo, 28 Jun 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]]>
Mo, 28 Jun 2010 06:04:26 -0000
scriptor So, 27 Jun 2010 16:57:03 -0000 urlkiller Sa, 26 Jun 2010 05:05:44 -0000 scriptor Fr, 25 Jun 2010 23:19:11 -0000