Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-08-2009, 02:55 AM
djcaseanova djcaseanova is offline
 
Join Date: Apr 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Single Forum Format??

Okay, I want people to go to my forum and see only the threads created. I do not want sub forums or really any forum for that matter. Simply when they go to the /forums/ url, the first thing I want them to see is all the posts and threads.

I had it setup where I had separate forums and sub forums under them, but I am trying to remove all the sub forums and having a single forum format.

Can anyone tell me an easy way to do this? I have a single forum I was testing with, but when you log in you are still required to click on the "forum" before being able to see the posts under it even though there is only one category... I don't want this.

Anyone help?? Thanks!!
Reply With Quote
  #2  
Old 06-08-2009, 03:42 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about just creating your own page which is how you want it - with only threads and no forums?
Reply With Quote
  #3  
Old 06-08-2009, 03:43 AM
djcaseanova djcaseanova is offline
 
Join Date: Apr 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I am unsure on how to do that I guess?
Reply With Quote
  #4  
Old 06-08-2009, 03:52 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may help - [How-To] vBulletin API Basics: Creating Custom Pages & Misc.

Basically, you want to remove any code that you don't need from the index.php page and copy it to the new page. Same with the template. It's gonna take some trial and error playing around.
Reply With Quote
  #5  
Old 06-08-2009, 06:06 PM
djcaseanova djcaseanova is offline
 
Join Date: Apr 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks for your time!!

I figured out how to do it. I did not have any luck simply with the .htaccess, but I did with the index.php recode. And in case anyone else is looking for a way to create it, do the following:

Once you've isolated it down to one forum, you can remove index.php and use a mod_rewrite to redirect index.php to forumdisplay.php?f=x, where x is your forum id.

Assuming if you're using Apache based web server and have mod_rewrite enabled, add this to your .htaccess file should do the trick:

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index.php$ forumdisplay.php?f=X [R] 
</IfModule>
To be on the safe side, you may also wish to create an additional index.php file with these contents:
Code:

Code:
<?php
header('Location: forumdisplay.php?f=X');
?>
Don't forget to replace X with your forum id.
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

Forum Jump


All times are GMT. The time now is 12:53 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.05930 seconds
  • Memory Usage 2,192KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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