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
  #62  
Old 03-16-2006, 02:19 PM
Lost_Prophet Lost_Prophet is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Lost_Prophet, that would take some doing because the page you are looking at isn't a forumdisplay page, it's the forumhome page. I think the easiest solution would be to pass the them you want to use in the link to the page.

http://www.hybrid-gamers.com/forums/...e=6&styleid=22 for example.

Don't know if it'll work like you want, but it's worth a shot.
Woo! :banana:
That works a treat, thank you
Reply With Quote
  #63  
Old 03-16-2006, 05:16 PM
Lost_Prophet Lost_Prophet is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah ... not quite as well as I'd hoped
The theme changes for me (as an admin), but then it switches that style permenantly.
And for the other users - who aren't allowed to change styles - it doesn't work at all
Reply With Quote
  #64  
Old 03-16-2006, 05:18 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Prophet, I did a stupid little mod that set the style on a per user basis. I'll bet you can modify that to set the style on a per page basis. I don't have time to do it for you, but I'm thinking it will work with a bit of tweaking.
Reply With Quote
  #65  
Old 03-16-2006, 06:18 PM
Lost_Prophet Lost_Prophet is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found it
Thanks, I'll have a go when I've got some time and see if I can make it work
Reply With Quote
  #66  
Old 03-19-2006, 07:08 PM
texasasl's Avatar
texasasl texasasl is offline
 
Join Date: Jul 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Amykhar as I posted above I already have isntalled succesfully that nice hack. I created already 18 pages with no problem at all. Everything is going perfect with the hack.
But I was wondering whether or not this could be much more precious.
That means how is possible each page (i.e ...../your site/forum.php?page=12 and ...../your site/forum.php?page=11---10---9, e.t.c) to be different. I mean how is possible each page to have each own background and each own appearance. I will be really appreciated if there is some good idea.
Reply With Quote
  #67  
Old 03-19-2006, 07:52 PM
Lost_Prophet Lost_Prophet is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

texasasl, see Amy's comment above - this is also what I am after.

The modification in question can be found here but I haven't managed to modify it in a way that works - then again I'm not particularly well versed in the way vBulletin works
Reply With Quote
  #68  
Old 03-20-2006, 09:38 AM
PJSkiboy PJSkiboy is offline
 
Join Date: Nov 2002
Location: Bowling Green, KY
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really hate to ask this, but in Amy's main post it simply says to add the page links into your navbar. I understand how to add a link to the navbar and all, but I am confused how you add a link to it to bounce back from page 2 to page 1.

Easy enough to use a page link from forumhome, but then when on page 2, won't it simply be the same page link going to page 2?

I'm just curious if someone could show me the code for a simple 2 page mod of this, if it's not asking too much.
Reply With Quote
  #69  
Old 03-20-2006, 11:46 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The links are in the format:

http://www.yoursite.com/forum/index.php?page=1

http://www.yoursite.com/forum/index.php?page=2

http://www.yoursite.com/forum/index.php?page=3

etc. you just put the links wherever you want them.
Reply With Quote
  #70  
Old 03-26-2006, 12:00 AM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amykhar, i know you're busy but i have a small request... but may not be simple, i don't know.

this mod totally works, but is it possible to designate which page the forum goes into on the forum manager page itself? this would be so much easier and faster then going into each forum.

possibly, put it next to the right of the "Display Order" entry area?

in other words, the Forum Manager currently looks like:



is it possible to change it to:



i plan on using this a lot and it would totally help!!
Reply With Quote
  #71  
Old 03-26-2006, 10:29 AM
Lost_Prophet Lost_Prophet is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^That would be an awesome addition, I have about 160 forums to moderate and that would increase ease of use
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:23 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.04833 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
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)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete