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 06-11-2004, 04:33 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Here's What I Want -- Need Help Implementing

Okay, so I've drafted (on paper) some layout ideas for the next version of my web site and I've come up with something I'd like to implement. I'm going to need your help, though.

Essentially, when people come to my domain, AviationForum.org, I want them to see the forumhome in the middle and some dynamic sideblocks, similar to the side blocks found in portal software (I was hoping to base my design around vBindex). Not news in the middle. I have little reason to devote the majority of my home page to site news. It would be perfect, however, if I could replace that with the forumhome.

Ideally, I would have the forumhome sandwiched by a welcome block, who's online, a site nav (menu) block, a latest threads block, a shoutbox, a poll, another block I will design and implement for a "featured image," and a sponsors block.

I could easily construct this block system via vBindex or any of the portal systems, but I couldn't get the forums in the center like I want without help. How would I go about doing this? Ideally, I'd like the blocks to travel with users throughout all of the forums so that, for example, the shoutbox would always be available for a shout no matter where they were. I'm more flexible on this option, however.

I'm no ludite, but I've seen a lot of short, techy responses on the forums. If someone could provide me with a more fleshed out, easy to understand explanation for how this would now be implemented, how it might be implemented in the future, and what problems it might present, I would be very appreciative.
Reply With Quote
  #2  
Old 06-12-2004, 01:34 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not too difficult, but you should consider the queries that will be called then.

If you have dynamic elements on the sides of your forum for each page, e.g. shoutbox, poll, latest threads, member of the day, featured image, sponsors.. and the data from each section is being retrieved by a query to the database.. you're looking at 6 additional queries separate of those made by the forum, at least. Things like "latest threads" require more than just one query, since the check permission function also does other queries.

Maybe this is why not too many sites have implemented this layout.

Although, this isn't to say it's not entirely impossible, to a feasible degree.

SitePoint forums makes use of showing related articles in some of its forums:
http://www.sitepoint.com/forums/forumdisplay.php?f=34 (see the right section)

So how would you go about adding dynamic tables to the left and right, of every page? Just like $header and $footer are applied to every full HTML page in vBulletin, e.g. forumhome, you could create a $left_panel and $right_panel that would be placed before the $header, then restructure the tabling in the templates (the dirty part) to accomodate these left and right panels.

This of course still requires you to go throughout each page and add those variables. If you could add them into the header template, maybe that is the better solution?

Unfortunantly I don't have the time to write any code at the moment to help you.
Reply With Quote
  #3  
Old 06-12-2004, 03:48 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds complicated.

I was hoping to be able to use vBindex to power this. Could I somehow put the vBindex code in the header?
Reply With Quote
  #4  
Old 06-12-2004, 03:53 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't know, I've never used vBindex.

Now that I think about it, I've done what you are trying to accomplish with a project I was working on last year. I had side panels from the header template, that showed on every page.

If I can find the code, I'll post it.
Reply With Quote
  #5  
Old 06-13-2004, 05:48 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #6  
Old 06-15-2004, 04:09 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At your leisure, Velocd. Just bumping the thread.
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 01:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03650 seconds
  • Memory Usage 2,209KB
  • Queries Executed 13 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete