Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Split ForumHome Page into Multiple Pages Details »»
Split ForumHome Page into Multiple Pages
Version: 1.5, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 07-13-2005 Last Update: 01-26-2006 Installs: 115
 
No support by the author.

What it does is to allow you to take some forums off your Forum Home page and display them on a second instance of the forumhome page.

This is useful if you have a long list of forums and have some forums like archives that your users don't need to access very often.

This mod differs from Kirby's (Andreas's) in that his allows you to limit the NUMBER of forums shown per page. Mine allows you to select the specific forums to show.

I have not tested it, but I believe this will allow you to use any number of forumhome pages. You could do one per category if you show chose.

This is now a product. No code changes are required on your part. Please note that if you have microstats installed, it will yell about an uncached template. The template is not uncached. It doesn't exist. It is not creating extra queries. I am not sure how to suppress that error at this point.

My thanks to Kirby for pointing the way on how to make the functions_forumlist part of this mod a plugin instead of a code change.

Demo:

Page One
Page Two

Instructions:
1. Install the product.
2. Go to each forum and set which page to display it on. 1,2,3 etc. I have only tested 1 and 2.
3. Create links to the other instances of forumhome. Put these links where you would like them to be - in your navbar, side panel, header, tabs, whereever. Example links are the demo links posted above.
4. Contribute something to this site. Help somebody with a question or release some code of your own. Keep the giving circle going.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-19-2005, 08:49 PM
dan35's Avatar
dan35 dan35 is offline
 
Join Date: Jul 2004
Location: California
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we choose a different skin for the 2nd page?
Reply With Quote
  #23  
Old 11-19-2005, 09:47 PM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strike my previous question, however, how do I edit the syntax to have more then 2 pages? I tried to throw an elseif in there but I'm not very php literate yet.
Reply With Quote
  #24  
Old 11-20-2005, 01:37 AM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Detomah
Just wanted to say a big thanks for this one, i'd been pondering for quite a while how I was gonna achieve a spilt forum as I have well over 400 categories to my forum and it's been confusing a lot of my users recently.

Now thanks to the help of this hack, i've done it and got it split into 6 different pages.

So thanks a lot.
Would you mind sharing this? This is exactly what I'm looking for.
Reply With Quote
  #25  
Old 11-20-2005, 04:55 AM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strike that... I also tinkered until I figured it out. All is spiffy now
Reply With Quote
  #26  
Old 11-20-2005, 12:38 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RetroDreams
Strike that... I also tinkered until I figured it out. All is spiffy now
Yeah I was going to reply to you, but saw this first.

I was away for 5 days otherwise I would of been able to help you out.
Reply With Quote
  #27  
Old 11-20-2005, 08:48 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hate to be a pain but can I get a lil better instructions? i tried and it dont seem to be working for me.
Reply With Quote
  #28  
Old 12-17-2005, 12:28 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump?
Reply With Quote
  #29  
Old 01-15-2006, 09:35 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I got it to work but I have 3 problems/Questions
1. will this make it harded for spiders to navagate
2. can I add a third page? ifso how whats the codes.
3 when im on page 2 it still shows a link for page 2 instead of changing to page 1

any help would be apreciated
Reply With Quote
  #30  
Old 01-26-2006, 01:33 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have made significant changes to this gang. It is now a product. You can set which page to put a forum on in the admincp in the forum settings section. Forums default to page 1.

I believe, but have not tested, that this works for multiple pages - not just 2. No tinkering required.

Amy
Reply With Quote
  #31  
Old 01-26-2006, 04:19 PM
Southpaw Southpaw is offline
 
Join Date: Nov 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot amykhar!
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 03:08 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.08308 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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