Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2007, 04:07 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vbulletin show header and footer external pages

I want to give our member a file and image hosting but I want to avoid using the same server I run the forum on.

Is it possible to host a page on a different server but show the header and footer (maybe even navbar) on external pages ?
Reply With Quote
  #2  
Old 12-01-2007, 11:46 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am very interested in this as well. I'd like to have my vBulletin header with navbar on a wordpress main page.
Reply With Quote
  #3  
Old 12-01-2007, 11:48 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it is correctly tied in (not sure if you can do that from different servers or how to), you can use the templates, if not, the HTML code is located within the templates (but a lot of editing would be required to remove and replace phrases) and such or you can use the view source.
Reply With Quote
  #4  
Old 12-01-2007, 11:51 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They would be on the same server in my instance.

My main page: http://gridironfans.com/
My forum: http://gridironfans.com/forums
My blog: http://gridironfans.com/nflblog
Reply With Quote
  #5  
Old 12-01-2007, 11:54 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBlueman View Post
They would be on the same server in my instance.

My main page: http://gridironfans.com/
My forum: http://gridironfans.com/forums
My blog: http://gridironfans.com/nflblog
A custom script could be code to fetch templates and such from your vbulletin installation (and phrases and such) and completely integrate it. Since paths must be edited and such... I wrote one once for one of my sites. I don't have the code anymore.

You need to rewrite paths and such in the files (wish vBulletin would allow for things like FORUM_ROOT constants in vBulletin so that you could define them and than expand vBulletin without having it say it can't find the file (which bugged the heck out of me)), which I think I did for maybe 7 things... But just including classes and function files should do the trick for you. Allowing you to access all of your vBulletin.
Reply With Quote
  #6  
Old 12-01-2007, 11:58 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like this is way over my head....I wonder if anyone would want to tackle that on. I can only imagine how much it would cost to hire someone.

Bummer...
Reply With Quote
  #7  
Old 12-02-2007, 12:01 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, it would require a very minimal knowledge of PHP and vBulletin's code. All you have to do is do something like this:

PHP Code:
require('/full/path/to/includes/class_vbulletin.php');

$vbulletin = new vBulletin
Now that code will probably not work (wrote it without actually thinking of file names... But then, while it is running, find any PHP errors / warnings that occur (usually file could not be found at location blah blah), go to that line in the class file and hard code your file paths. Just keep track of these because this makes updating a PITA since you have to add those hard coded file paths manually.

This is why I think a definable FORUM_ROOT variable would be a really really really really nice feature.
Reply With Quote
  #8  
Old 12-02-2007, 12:06 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow...I am embarrassed to say I don't know what you posted meant. I am a novice when it comes to this and to be honest with you putting my site together was a lot of hit and miss and many a night of "Uh oh...I messed up my site!".

Thank you for your replies though. Maybe they can help someone with a little more knowledge than myself who wishes to do this on their site.
Reply With Quote
  #9  
Old 12-02-2007, 12:19 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBlueman View Post
Wow...I am embarrassed to say I don't know what you posted meant. I am a novice when it comes to this and to be honest with you putting my site together was a lot of hit and miss and many a night of "Uh oh...I messed up my site!".

Thank you for your replies though. Maybe they can help someone with a little more knowledge than myself who wishes to do this on their site.
I probably didn't explain very well. I will write a true post up right now for you. Be back in a bit with a better explanation.
Reply With Quote
  #10  
Old 12-02-2007, 12:20 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, much appreciated!

--------------- Added [DATE]1196562561[/DATE] at [TIME]1196562561[/TIME] ---------------

BTW.....another modification uses something like this to call files from vbulletin:

Quote:
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a>
It's from the Wordpress/vBulletin integration mod.

Again....I have no idea what I am talking about and this probably isn't a help. I was just throwing it out there, seeing if it would be relevant at all.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13634 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete