PDA

View Full Version : vbcms hooks and variables


yjeanrenaud
08-06-2012, 06:49 PM
Hi,

I am using some regexes to change common mistakes in posting links, e.g. to zune oder itunes. but this won't work in comments or articles on vbcms

what'd be the equivalent to newpost_process and editpost_update_process
and what's $post['message'] in here?

BirdOPrey5
08-08-2012, 03:23 PM
In CMS articles I use $view->pagetext (where I would use $post['message'] in a post) on the hook vbcms_article_populate_end.

yjeanrenaud
08-08-2012, 06:41 PM
thanks, works great. but conflicts with vb optimise caching. hmm