set conetions functions.
also change functions in forum, subforum etc'.
not tested