This thread is not the place for custom development support.
Feel free to start a new thread here: https://xenforo.com/community/forums/xenforo-development-discussions.34/
Feel free to start a new thread here: https://xenforo.com/community/forums/xenforo-development-discussions.34/