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
  #72  
Old 03-27-2006, 11:56 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if I will have time to get to that any time soon, but I agree it would be helpful.
Reply With Quote
  #73  
Old 03-27-2006, 02:00 PM
unenergizer unenergizer is offline
 
Join Date: Nov 2004
Location: Texas, YE HAW
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
I don't know if I will have time to get to that any time soon, but I agree it would be helpful.
Well, im bored in school and I guess I can do it. Though, dont expect to make it a plugin. But we will see what happens. If I can do that, then I'll send amykhar the syntax, let her take a look at it, then decide what to do with it.

unenergizer
Reply With Quote
  #74  
Old 03-27-2006, 07:50 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UNEnergizer
Well, im bored in school and I guess I can do it. Though, dont expect to make it a plugin. But we will see what happens. If I can do that, then I'll send amykhar the syntax, let her take a look at it, then decide what to do with it.

unenergizer
that'd be great!
Reply With Quote
  #75  
Old 04-24-2006, 06:38 AM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, when ever i enable page for any section am getting this...

Quote:
Page generated in 0.72093 seconds with 45 queries (2 queries for uncached templates) [Server Loads: 0.03 0.07 : 0.07]
Uncached templates: forumhome_forumbit_level1 (1)
Uncached templates: forumhome_forumbit_level2 (4)
Reply With Quote
  #76  
Old 04-24-2006, 11:54 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soulface
OK, when ever i enable page for any section am getting this...
Did you read the first post of the thread?
Reply With Quote
  #77  
Old 04-24-2006, 05:14 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UNEnergizer
Well, im bored in school and I guess I can do it. Though, dont expect to make it a plugin. But we will see what happens. If I can do that, then I'll send amykhar the syntax, let her take a look at it, then decide what to do with it.

unenergizer
how's this coming along?
Reply With Quote
  #78  
Old 04-27-2006, 07:14 PM
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Location: Denmark
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Yes. In forumdisplay.php find

Code:
($hook = vBulletinHook::fetch_hook('forumdisplay_start')) ? eval($hook) : false;
Add after:
Code:
$page=1;
Yes, I know this part could be a plugin. When I figure out how to make the rest a plugin, it will be.
Just downloaded and installed on VB 3.5.4.
Can't get my subs to show, only category on page 2.
Tried this fix, but gives Parse error?
Reply With Quote
  #79  
Old 04-27-2006, 07:35 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mariannet
Just downloaded and installed on VB 3.5.4.
Can't get my subs to show, only category on page 2.
Tried this fix, but gives Parse error?
That code was from before when this was a code mod. It's now a product and that doesn't apply.

You have to set EACH forum to the right page. It doesn't inherit from the categories at this time.
Reply With Quote
  #80  
Old 04-27-2006, 07:42 PM
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Location: Denmark
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
That code was from before when this was a code mod. It's now a product and that doesn't apply.

You have to set EACH forum to the right page. It doesn't inherit from the categories at this time.
Thank you very much, it did it
Reply With Quote
  #81  
Old 05-19-2006, 05:36 PM
TeaTree TeaTree is offline
 
Join Date: May 2005
Location: England
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

All installed but I can't find the URL To page 2-

Anyone able to help please ??

Many Thanks
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:49 PM.


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.04627 seconds
  • Memory Usage 2,313KB
  • 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_code
  • (8)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