Thread: vBindex
View Single Post
  #187  
Old 04-14-2002, 05:50 PM
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by The Piper
Hi,

I just installed both vBulletin and vbIndex, as I'm planning on using them both as the backend for my website (old version at http://www.pinkfloydfan.net and new test-version at http://209.51.137.172). I really like what vbIndex does, and I was thinking of using it to power all pages on my website.

So what I'd like to do was to use the header, footer and the left and right blocks in ALL of my pages, and the only thing that would change would be the center "window", where the latest threads and news are. But since vbIndex uses templates so much, I'm pretty lost as to how I should proceed to get what I want. I thought of using require's (as SSI's) as I'm doing right now on pinkfloydfan.net, but for all I tried, it doesn't work. So, could anyone please help me out?

Also, if this is possible, would it be too heavy on my server? I ask this because I think there are many MySQL queries and all, so is this a practical option? Sorry, but I'm really a beginner in both MySQL and PHP...

Thanks a lot and congrats el3m3nt for such a nice hack!!!! I've tried using phpNuke, postNuke and so many other portal scripts but never liked them. With your script I got exactly what I wanted.

Cheers,
Paulo
Yes this can be done very easily, I'll post the modifications you need to make to have a mulipaged vBindex site after, see My vBindex (in my sig) for an example of a multipaged version of vBindex.

As for server load etc, I'm no MySQL expert, but as long as the number of queries is <=30 (or there abouts) it should be fine.

This is what I've been lead to belive, someone may correct me on that
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01183 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete