Results 1 to 6 of 6

Thread: Vbulletin

  1. #1
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default Vbulletin

    Im trying to figure out how to pull my indexu template using vbulletin.

    Wondered if anyone has done this and could point me in the right direction.

    for instance, I want my vbulletin to include all of indexu's functions to enable the template to display properly, question number one, where or what file do I modify to do this? Could I just add
    PHP Code:
    include("../application.php"); 
    to vbulletin's global.php?

    Question number two, how would one go about calling indexus header and footer? Could I do it by modifying vbulletins index.php file? And add
    PHP Code:
    DisplayTemplate($theme_path "header.html");


     
    DisplayTemplate($theme_path "footer.html"); 
    on my configuration vbulletin lives in a directory within indexu, i.e.; ../indexu/forums

    Im really not interested in user integration.

    At first I created a custom page with vbulletin embedded as an iframe, then scraped that idea and embeded as an object. This worked fine and displayed the header and footer.
    But for instance, if I displayed the latest active thread on indexus index.html http://www.vbulletin.com/forum/showthread.php?t=158895
    then clicked the url I was taken straight to vbulletins index.php, this obviously defeated the whole idea and I was stuck again.

    Any ideas, am I on the right track

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You could just do an include and use the full path of the indexu header and/or footer. If you use variables then it gets more confusing.

  3. #3
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    could you be more speciffic please bruce

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    I don't know how much more specific I can get, use an include with the full path is pretty specific already.

    <? include('your/path/to/the/indexu/header.html') ?>

  5. #5
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    what type of include is
    PHP Code:
     <? include

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    If you can use short tags, that's a php include

    otherwise use <?php

Similar Threads

  1. Integration with vbulletin 3.6.x?
    By Giorgiotave in forum v5.x
    Replies: 2
    Last Post: 07-08-2007, 01:31 PM
  2. vbulletin 3.5 and IndexU
    By bgray in forum v5.x
    Replies: 22
    Last Post: 02-17-2007, 09:13 AM
  3. Integration with Vbulletin 3.0.7
    By DistributorTalk in forum Pre-Sales Questions
    Replies: 1
    Last Post: 04-06-2005, 08:18 PM
  4. How about vBulletin?
    By cesarvn in forum v5.x
    Replies: 4
    Last Post: 01-27-2005, 05:26 PM
  5. Vbulletin
    By cogimo in forum v5.x
    Replies: 5
    Last Post: 04-24-2004, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •