PDA

View Full Version : some questions about cross domain authentication, custom queries, etc...


krike
09-07-2009, 07:33 AM
vbulletin.com send me here to ask my questions

I have some non-vb (php & mysql) pages and I would like to query the database to display some info in the footer of vbulletin.

do I use templates for this? but I'm not sure how or if this is possible.

site: http://blog.cmstutorials.org/forums
see footer where it says latest tutorials, will be queried from http://cmstutorials.org (http://cmstutorials.org/)
btw: they all share the same database


the reason why I want to do this is because I'm going to (or try to) import the styles and functions from the forum into my nonvb pages (less work for me). a quick question about that, is a different domain going to be a problem for the authentication? found this but can't register to download http://www.codeketchup.com/showthread.php?t=909

I've allready read the how-to api and I could import the global.php using the absolute path (var/home/xxxx/forums/global.php). but I don't know how to display the header and footer of my theme in a regular php file, or make sure that when you login to the forum you are logged in the non vb pages

thanks anyway for your help :)

Marco van Herwaarden
09-07-2009, 09:35 AM
Please see our Article section on creatig custom pages.

PS You should NOT use an absolute path when calling global.php.