What i want is "real" integration
What do you think is a "real" integration? I didn't get it from your posting.
Actually, I didn't get the point what your posting or question is about.
Did you come here just to say you are disappointed, because you don't know how to work the script out?..
I'm actually disappointed, too, to waste my time on reading such messages. Sorry.
P.S. $clonePath is not hardcoded, nor any other path or URL is hardcoded. If you would be more professional you would pay attention it can be re-defined in the script, which includes miniBB's index.