Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Sep 2009, 09:33
krike's Avatar
krike krike is offline
 
Join Date: Jul 2008
Real name: Christophe
some questions about cross domain authentication, custom queries, etc...

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
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
__________________

If you run a tutorial blog, then visit the CMS tutorial site and submit your tutorial
http://cmstutorials.org

Reply With Quote
  #2  
Old 07 Sep 2009, 11:35
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Please see our Article section on creatig custom pages.

PS You should NOT use an absolute path when calling global.php.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:15.

Layout Options | Width: Wide Color: