#1 (permalink)  
Old 06-10-2008, 04:19 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
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
Code:
Content visible to License Owner only.
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
Code:
Content visible to License Owner only.
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
Reply With Quote
  #2 (permalink)  
Old 06-10-2008, 04:48 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
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.
Reply With Quote
  #3 (permalink)  
Old 06-10-2008, 05:17 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

could you be more speciffic please bruce
Reply With Quote
  #4 (permalink)  
Old 06-10-2008, 05:27 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
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') ?>
Reply With Quote
  #5 (permalink)  
Old 06-10-2008, 05:54 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

what type of include is
Code:
Content visible to License Owner only.
Reply With Quote
  #6 (permalink)  
Old 06-10-2008, 10:00 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

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

otherwise use <?php
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

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

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 02:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate